From patchwork Mon Nov 30 22:01:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7730231 X-Patchwork-Delegate: horms@verge.net.au 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E387EBEEE5 for ; Mon, 30 Nov 2015 22:01:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 21FEA2060A for ; Mon, 30 Nov 2015 22:01:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0CFB0205B3 for ; Mon, 30 Nov 2015 22:01:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754921AbbK3WB2 (ORCPT ); Mon, 30 Nov 2015 17:01:28 -0500 Received: from mail-lf0-f49.google.com ([209.85.215.49]:33833 "EHLO mail-lf0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754890AbbK3WB1 (ORCPT ); Mon, 30 Nov 2015 17:01:27 -0500 Received: by lffu14 with SMTP id u14so216457794lff.1 for ; Mon, 30 Nov 2015 14:01:25 -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=e/cLeVppoE/CITH/tJq4ZSdBC62T92bujQUdnJyHBlM=; b=SeBtL1sUx7IplCz8dAlf6VlRwb3Q8gLskuJKIDuX1M60jQ+QqhGa/iz/SEvETwDDvH i0fawqE+n6X5RU669/4dOYjxynjJFQTOvqcHnIipH398LUlPdxmJFZ2FOOLsJDBIs67g lwYTw5t8Tq7vFJSI7rfKK40WAJ7zCADzkl7cxE5RpTwDH+NWyGJwLNBPB2B73eKJkfVV OySqYr7lD/QNef1uuWS2g1coDlv6UqNaKgenymTvmYoAoQD7o557b2YuPW/R0sNbRgI4 AJedMeri5xwYgsJ/BrxwZHsAkp6erdBfNNPBfo1RP/Zg6W6DEIFqutffDoXwPFhrDiV9 1tzw== 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=e/cLeVppoE/CITH/tJq4ZSdBC62T92bujQUdnJyHBlM=; b=FwWAhjGs5Mf/RqGKLnepHu/2iA5mqRkjzn6dyFvnvMeMr1ZAGnns5Nsuh7uPXGgu56 /nu+tO6qopnTttCZhk2YKqIAi5fnqCrKAfDJUwLRNqmSjZd0VfKdzXNFoBu4pwITDZou TzURNrEQu6DYDZdwcbLZ89WGiYuDE9YdjWwl82rhSubJunm9EXkWXLbt0YrvlKur3DEA LydIetcSHFoFt1kRm+5YN0oUhHnqXRLcfll94RkLwnItUh+KkVeZFCycj7dXbIvNp6vv s0td77J7Ak4yrPlwTMClWKovEad4D+5dFwEEaB6iL+5CWYxuX2VGFVrQ+ApTFMZF8hpA QEtQ== X-Gm-Message-State: ALoCoQnsUp1O2DaFtrI7hHazx8JrhxjHtj4xNpKoKJjUnrCW+RJW64pOTz0cQKCkvy1HbT56/jay X-Received: by 10.25.21.151 with SMTP id 23mr21333704lfv.165.1448920885382; Mon, 30 Nov 2015 14:01:25 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.84.81]) by smtp.gmail.com with ESMTPSA id rm5sm7538167lbb.20.2015.11.30.14.01.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Nov 2015 14:01:24 -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 v2] ravb: add R8A7791 support Date: Tue, 01 Dec 2015 01:01:18 +0300 Message-ID: <1661514.u50jDu7LON@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=unavailable 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-W, 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. :-) Changes in version 2: - fixed the SoC name in the changelog. 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 }, { }