From patchwork Fri Nov 27 22:06:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7715601 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7FC549F39B for ; Fri, 27 Nov 2015 22:06:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8BF2F2068E for ; Fri, 27 Nov 2015 22:06:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9C10C20689 for ; Fri, 27 Nov 2015 22:06:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755319AbbK0WG3 (ORCPT ); Fri, 27 Nov 2015 17:06:29 -0500 Received: from mail-lf0-f45.google.com ([209.85.215.45]:34865 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755264AbbK0WG2 (ORCPT ); Fri, 27 Nov 2015 17:06:28 -0500 Received: by lfdl133 with SMTP id l133so140769629lfd.2 for ; Fri, 27 Nov 2015 14:06:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :mime-version:content-transfer-encoding:content-type; bh=LF8pepC+rkxRFRqOS2URzi8aKxFltV1P0eqXl4i93Qc=; b=s55F9GAIBwuQMHDlel8C16klScRzJ3q2X/aKVwmI9U8LAAedUHKU5XNMZNndoqr7kN iSrswMKi2y1O4NgdolktduNyBThwUstmyBdAT7MklebeK9aY9562Gwh+Kx/vwh0ccMpM WoD04J7fVto8YZukjyuHB+xI7IPBLbe6Z0BIGQFO73yDeuwIsLcpHhaicp3owUzN3//e X8ogZJstfBi1AlgtSleKgsNU12Cap8ZW1N9v6hwoe4wPWre/uzowlTzcMcqq3RTpf3DI B6vglA/usNcnJ7wdkYFvwCKqCnSIsJrmyuRsaOaAvLfMPAWUf+JDv0EIFcd8s3lVFuhe FFNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:mime-version:content-transfer-encoding:content-type; bh=LF8pepC+rkxRFRqOS2URzi8aKxFltV1P0eqXl4i93Qc=; b=DUTH70RoRno5rcFGkUaNXxJRoS6MHQ82yNLZf126QMo+7WBkFeKzKBfT71lVDcbgMd s+Jz2tkA+K9N7Y7SGehahpxGQzSlpmLgBlOzDkxfGPjEDP1yZWVq3Pg+yC0wBVLYy61g Th48hdOS8qlA79Uindhb49KcJ5JvriTc6fPsLiV/RPtjcHxVjH81ZicDKL8V6I8zWXjg btqQICpdmxolqxCRjPmmtjHGLoUwJIaV4hhQUQNHiIPqW9GGUza82IzOLsz7nqhiTX8C z1IXiYtdKMVMIHw//wqgDx6voQXe/x2pczKkhOsqm+6tFD8ulZQMgB/M1E+GcRBQFYUE FPKw== X-Gm-Message-State: ALoCoQle304IZUGW9rGxfvYjPI221NiAUdWbyQYWVUeoIX3PFC1akOCMugk8h04e8dR36LJhybLq X-Received: by 10.112.172.138 with SMTP id bc10mr20010913lbc.74.1448661986620; Fri, 27 Nov 2015 14:06:26 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.81.43]) by smtp.gmail.com with ESMTPSA id s185sm5280715lfe.24.2015.11.27.14.06.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Nov 2015 14:06:25 -0800 (PST) From: Sergei Shtylyov To: netdev@vger.kernel.org Cc: linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Subject: [PATCH] ravb: add R8A7791 support Date: Sat, 28 Nov 2015 01:06:24 +0300 Message-ID: <6051623.qN4lqSyZKg@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.2.6-200.fc22.x86_64; KDE/4.14.13; x86_64; ; ) MIME-Version: 1.0 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_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,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 Add support for yet another ARM member of the R-Car family, R-Car M2, also known as R8A7791. Signed-off-by: Sergei Shtylyov --- The patch is against DaveM's 'net-next.git' repo but I wouldn't mind if it's applied to 'net.git' instead. :-) Documentation/devicetree/bindings/net/renesas,ravb.txt | 1 + drivers/net/ethernet/renesas/ravb_main.c | 1 + 2 files changed, 2 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: net-next/Documentation/devicetree/bindings/net/renesas,ravb.txt =================================================================== --- net-next.orig/Documentation/devicetree/bindings/net/renesas,ravb.txt +++ net-next/Documentation/devicetree/bindings/net/renesas,ravb.txt @@ -5,6 +5,7 @@ interface contains. Required properties: - compatible: "renesas,etheravb-r8a7790" if the device is a part of R8A7790 SoC. + "renesas,etheravb-r8a7791" if the device is a part of R8A7791 SoC. "renesas,etheravb-r8a7794" if the device is a part of R8A7794 SoC. "renesas,etheravb-r8a7795" if the device is a part of R8A7795 SoC. - reg: offset and length of (1) the register block and (2) the stream buffer. Index: net-next/drivers/net/ethernet/renesas/ravb_main.c =================================================================== --- net-next.orig/drivers/net/ethernet/renesas/ravb_main.c +++ net-next/drivers/net/ethernet/renesas/ravb_main.c @@ -1655,6 +1655,7 @@ static int ravb_mdio_release(struct ravb static const struct of_device_id ravb_match_table[] = { { .compatible = "renesas,etheravb-r8a7790", .data = (void *)RCAR_GEN2 }, + { .compatible = "renesas,etheravb-r8a7791", .data = (void *)RCAR_GEN2 }, { .compatible = "renesas,etheravb-r8a7794", .data = (void *)RCAR_GEN2 }, { .compatible = "renesas,etheravb-r8a7795", .data = (void *)RCAR_GEN3 }, { }