From patchwork Fri Aug 1 15:03:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 4663551 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 401A7C0338 for ; Fri, 1 Aug 2014 15:03:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 55AF9201F4 for ; Fri, 1 Aug 2014 15:03:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 19686201E4 for ; Fri, 1 Aug 2014 15:03:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751736AbaHAPDy (ORCPT ); Fri, 1 Aug 2014 11:03:54 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:63402 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751071AbaHAPDx (ORCPT ); Fri, 1 Aug 2014 11:03:53 -0400 Received: by mail-wi0-f175.google.com with SMTP id ho1so1546667wib.2 for ; Fri, 01 Aug 2014 08:03:52 -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; bh=Y8VVslWzlLBxTw2hsMVHMldzCxOy/jzFtcqzgSs58wY=; b=l5C27S3SMfke/xzqilHERaxsV3RCkIymmx8qkLRewyPK/UUv7z37l8i6v0ALrKtd5W H+NkFiZHS6+jlmpGV2a/3KYvR7JYHuKo8I5/F+35WNmQDrO7si6cOpBvQgRGmEwrDr/f NYuIrZe5sA0Hvtq4ODBn71NJrX0Ac3K20ASj6yGRME8+6wvuELUBMC5/R1meb3CJgTId ndoxaGX9RnSegc9e/MXt82Jggji6JqwOtvGKLsVm75MS3aIWAcwYkknc0WBfLfpAujZM 0mGjqkl9SiDNlVFZI+rZoVkD6o34ctLOBK5YNm1igVboO80VwZBS31EZWXTdtChiMpQl o+Mw== X-Received: by 10.194.57.132 with SMTP id i4mr8613154wjq.6.1406905432252; Fri, 01 Aug 2014 08:03:52 -0700 (PDT) Received: from groucho.site ([46.166.186.217]) by mx.google.com with ESMTPSA id ez1sm9494661wib.15.2014.08.01.08.03.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Aug 2014 08:03:51 -0700 (PDT) From: Ulrich Hecht To: davem@davemloft.net Cc: netdev@vger.kernel.org, linux-sh@vger.kernel.org, horms@verge.net.au, magnus.damm@gmail.com, Hisashi Nakamura , Ulrich Hecht Subject: [PATCH net-next] net: sh_eth: Add r8a7794 support Date: Fri, 1 Aug 2014 17:03:00 +0200 Message-Id: <1406905380-25068-1-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 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 --- Hi! I have broken this patch out of a larger series of patches comprising changes to other drivers which this patch does not depend on. Please consider including this patch in net-next. CU Uli 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);