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: 549586 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id DF2FA1402D4 for ; Sat, 28 Nov 2015 09:06:38 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=cogentembedded-com.20150623.gappssmtp.com header.i=@cogentembedded-com.20150623.gappssmtp.com header.b=s55F9GAI; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755341AbbK0WGa (ORCPT ); Fri, 27 Nov 2015 17:06:30 -0500 Received: from mail-lf0-f41.google.com ([209.85.215.41]:34255 "EHLO mail-lf0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755306AbbK0WG2 (ORCPT ); Fri, 27 Nov 2015 17:06:28 -0500 Received: by lffu14 with SMTP id u14so141713840lff.1 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=Zj0JejptVbE1OuoPzyi5nwxmFOCqVL4Kx+7ShCMiB9QMqq/VBpQ7jtTQZU3tzIEWX7 T2zANxHviNwFsrB2qeGu38bBYoI//yshcBD2k3QxTIB6Of04t9fsOtfvB+YahHvcgEr+ TzFB7WIB/ICSGgKT2vqtxahFLHuprYnwG/5lenXRIuwhzZZSIEqJ+1uXeQrzZ7ip5oT7 0puSKbRTWEsLsnA4xJRgwjgGr5OUngICku2y8/0AN8wwm9PjZb1de8GlKQzMRmcovCVT pcGyaL4MHJNr9X4oSaiNjNhS4WEgn4eXvq5BaE1+83J29dekp3z6tT2F+LeOOG4onA3V wWeg== X-Gm-Message-State: ALoCoQlJQcW6voyx3bXj6XGeeTDZO/R4eHGa7IJdhDG/ZbMGZtNQDKSn4pX71T+4PPB3LgVH7KxQ 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 netdev" 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 }, { }