From patchwork Sun Mar 13 09:07:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 8573261 Return-Path: X-Original-To: patchwork-linux-rockchip@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 23F679F44D for ; Sun, 13 Mar 2016 09:08:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 50702202E5 for ; Sun, 13 Mar 2016 09:08:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A37E20263 for ; Sun, 13 Mar 2016 09:08:34 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1af20n-0000h9-Se; Sun, 13 Mar 2016 09:08:33 +0000 Received: from mail-pa0-f66.google.com ([209.85.220.66]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1af20g-0000eM-K4; Sun, 13 Mar 2016 09:08:27 +0000 Received: by mail-pa0-f66.google.com with SMTP id q6so11917199pav.0; Sun, 13 Mar 2016 01:08:06 -0800 (PST) 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:in-reply-to :references; bh=2PMpdyHIrgGbQ3RbeQ04fRXSLhTGlau7ADXaMA7OsOI=; b=aQmc7bEdTT8jXUgUXMjrrEaIru8APuHJgka+IM0g2gX+ZBYi5ydSNw5SXgflXQkiqC 4MunFMk8ykUzhrDxkRZAVUJDSuytSo8q9yvBsg3qEBx6795PcJDiBwgrYxAdSm1nDdDn K9nBuktHzGrZTU6NEvGLSj5jQEcrs1Xg6dvdEHoIOaWQcxdmtd19UxVyVZPsnXD5MApA wHl4D0BMt4RViLx44ofGgbYVHuXOzXZ+UfIBqqBp7cr1Yk1mf3qXE1qAfNYp6ued9ZU6 SMOJTav+QuZ7B06QfBHtCkGR233BNRzUBvNjFBOYj+/4cvqTPt9pAazZP1XvUCDUKywb BrQQ== X-Gm-Message-State: AD7BkJIDENuUgorQmWVYahLJabarSwYQ/pLTdsu4PrshnvH1fVBPsZP7wktSYFs5tmU6gg== X-Received: by 10.67.5.9 with SMTP id ci9mr28899800pad.101.1457860085989; Sun, 13 Mar 2016 01:08:05 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id qh8sm24187964pac.40.2016.03.13.01.08.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 13 Mar 2016 01:08:04 -0800 (PST) From: Caesar Wang To: Heiko Stuebner , "David S. Miller" , Rob Herring Subject: [PATCH v2 1/9] net: arc_emac: make the rockchip emac document more compatible Date: Sun, 13 Mar 2016 17:07:34 +0800 Message-Id: <1457860062-5514-2-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1457860062-5514-1-git-send-email-wxt@rock-chips.com> References: <1457860062-5514-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160313_010826_816179_D6C404FD X-CRM114-Status: GOOD ( 11.43 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Pawel Moll , sergei.shtylyov@cogentembedded.com, Ian Campbell , netdev@vger.kernel.org, Kumar Gala , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, keescook@google.com, leozwang@google.com, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 the rk3036 SoCs to match driver for document since he emac driver has supported the rk3036 SoCs. This patch adds the rk3036/rk3066/rk3188 SoCS to compatible for rockchip emac ducument. Also, that will suit for other SoCs in the future. Signed-off-by: Caesar Wang --- Changes in v2: - change the commit and remove the repeat the name 'rockchip'. Documentation/devicetree/bindings/net/emac_rockchip.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/emac_rockchip.txt b/Documentation/devicetree/bindings/net/emac_rockchip.txt index 8dc1c79..05bd7da 100644 --- a/Documentation/devicetree/bindings/net/emac_rockchip.txt +++ b/Documentation/devicetree/bindings/net/emac_rockchip.txt @@ -1,8 +1,10 @@ -* ARC EMAC 10/100 Ethernet platform driver for Rockchip Rk3066/RK3188 SoCs +* ARC EMAC 10/100 Ethernet platform driver for Rockchip RK3036/RK3066/RK3188 SoCs Required properties: -- compatible: Should be "rockchip,rk3066-emac" or "rockchip,rk3188-emac" - according to the target SoC. +- compatible: should be "rockchip,-emac" + "rockchip,rk3036-emac": found on RK3036 SoCs + "rockchip,rk3066-emac": found on RK3066 SoCs + "rockchip,rk3188-emac": found on RK3188 SoCs - reg: Address and length of the register set for the device - interrupts: Should contain the EMAC interrupts - rockchip,grf: phandle to the syscon grf used to control speed and mode