From patchwork Fri Jul 25 14:40:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 4623631 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1E854C0338 for ; Fri, 25 Jul 2014 14:41:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 192E92018A for ; Fri, 25 Jul 2014 14:41:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1669920179 for ; Fri, 25 Jul 2014 14:41:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752237AbaGYOlV (ORCPT ); Fri, 25 Jul 2014 10:41:21 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:49264 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751955AbaGYOlV (ORCPT ); Fri, 25 Jul 2014 10:41:21 -0400 Received: by mail-wg0-f51.google.com with SMTP id b13so4202302wgh.10 for ; Fri, 25 Jul 2014 07:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=0ka0TYvtdfgrIG1+c4vCrszW0VsoZPnPQlfJ3E/NO2s=; b=I6dLIKEOSERfHsb/vAFTpMdFdcLmimehDLihZ0UtjiCuDdzGBgljdQlVOXmchT3tCq JPKY7rQb5pG7GEnCbty6CRwxUZTGPnuJH9EZhI/MwqsxUcM2HAT7FTsuo64/qAxteAmO cw/+VTf02bmCipEsK+2zcG8BhnUqGHdrbctkjeqFEylBQW8pZvGrG2xVl9qp9Sr4Wf5l oD+I8BrbIywDVZY60iwcOgn+4Y2p2mksmQdx2TRrLT0/8N/OP17u4O9h+NCBI5rQCxjr YrMqMFy9hjydBlOcBxTffOL8SeKiPMjUBkC+dWn5VaAgn+PYWCpNZn2UN3NWZ8bYS8dp omeA== X-Received: by 10.180.94.166 with SMTP id dd6mr5594900wib.33.1406299279290; Fri, 25 Jul 2014 07:41:19 -0700 (PDT) Received: from groucho.site ([109.201.152.240]) by mx.google.com with ESMTPSA id h13sm25821761wjs.2.2014.07.25.07.41.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jul 2014 07:41:18 -0700 (PDT) From: Ulrich Hecht To: linux-sh@vger.kernel.org Cc: magnus.damm@gmail.com, Hisashi Nakamura , Ulrich Hecht , netdev@vger.kernel.org Subject: [PATCH 1/6] net: sh_eth: Add r8a7794 support Date: Fri, 25 Jul 2014 16:40:45 +0200 Message-Id: <1406299250-23975-2-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1406299250-23975-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1406299250-23975-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hisashi Nakamura Signed-off-by: Hisashi Nakamura [uli: added bindings documentation] Signed-off-by: Ulrich Hecht Cc: netdev@vger.kernel.org --- Documentation/devicetree/bindings/net/sh_eth.txt | 1 + drivers/net/ethernet/renesas/sh_eth.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/sh_eth.txt b/Documentation/devicetree/bindings/net/sh_eth.txt index e7106b5..34d4db1 100644 --- a/Documentation/devicetree/bindings/net/sh_eth.txt +++ b/Documentation/devicetree/bindings/net/sh_eth.txt @@ -9,6 +9,7 @@ Required properties: "renesas,ether-r8a7779" if the device is a part of R8A7779 SoC. "renesas,ether-r8a7790" if the device is a part of R8A7790 SoC. "renesas,ether-r8a7791" if the device is a part of R8A7791 SoC. + "renesas,ether-r8a7794" if the device is a part of R8A7794 SoC. "renesas,ether-r7s72100" if the device is a part of R7S72100 SoC. - reg: offset and length of (1) the E-DMAC/feLic register block (required), (2) the TSU register block (optional). diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index 7622213..ef2c9ce 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -2752,6 +2752,7 @@ static const struct of_device_id sh_eth_match_table[] = { { .compatible = "renesas,ether-r8a7779", .data = &r8a777x_data }, { .compatible = "renesas,ether-r8a7790", .data = &r8a779x_data }, { .compatible = "renesas,ether-r8a7791", .data = &r8a779x_data }, + { .compatible = "renesas,ether-r8a7794", .data = &r8a779x_data }, { .compatible = "renesas,ether-r7s72100", .data = &r7s72100_data }, { } }; @@ -2978,6 +2979,7 @@ static struct platform_device_id sh_eth_id_table[] = { { "r8a777x-ether", (kernel_ulong_t)&r8a777x_data }, { "r8a7790-ether", (kernel_ulong_t)&r8a779x_data }, { "r8a7791-ether", (kernel_ulong_t)&r8a779x_data }, + { "r8a7794-ether", (kernel_ulong_t)&r8a779x_data }, { } }; MODULE_DEVICE_TABLE(platform, sh_eth_id_table);