From patchwork Mon Mar 14 08:01:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 8577171 Return-Path: X-Original-To: patchwork-linux-arm@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 B6B71C0553 for ; Mon, 14 Mar 2016 08:04:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DF67E2044C for ; Mon, 14 Mar 2016 08:04:49 +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 7592820461 for ; Mon, 14 Mar 2016 08:04:48 +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 1afNSy-0004bT-K0; Mon, 14 Mar 2016 08:03:04 +0000 Received: from mail-pa0-f67.google.com ([209.85.220.67]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1afNSu-0004XA-GR; Mon, 14 Mar 2016 08:03:01 +0000 Received: by mail-pa0-f67.google.com with SMTP id q6so14074753pav.0; Mon, 14 Mar 2016 01:02:39 -0700 (PDT) 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=QU2tBb6U2AuZKJLzNjLw5oNjSMpSdejfeBAE9yrZHjY=; b=gX4F+Ul+pUB3hYBd9jOAUL79mc8ddqaMtI+Nu73MPzJSBQBCXi5iitqKGqFmjdwn69 FWYoj6uzBLPt5QKmmpJxvpFre9oNyPJHf0OKH5ZCj3tPp5jz/dfw56vgLNbCG85EQYD8 CG8EHE91RSnMrIFHP0YIpEIK8gznRZbSiPwGLRxhfjKY9DYGJ7l1hlpiN898Egtxko4E GeoY75v6lxCaaHwL8l8l1iBkVAVYydD1ilFK9yyCCYN9EI6mKNOfNxTMSEquqztsYBiq GAv6FelKMUCktmJLGU7qnvOrHAkpAomijArf6WoLz+4OqKSiiiWAe+t6gIk2UjfYav8E ivNg== X-Gm-Message-State: AD7BkJIm+7XD9tVjONd7n5TVr4HuqVGnDjiVq3Pcm8UJTuNOT3rWThyqUkevkjtWV+NmQA== X-Received: by 10.66.250.163 with SMTP id zd3mr35745765pac.119.1457942559567; Mon, 14 Mar 2016 01:02:39 -0700 (PDT) Received: from localhost.localdomain ([104.37.5.155]) by smtp.gmail.com with ESMTPSA id 79sm29864427pfq.65.2016.03.14.01.02.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Mar 2016 01:02:38 -0700 (PDT) From: Caesar Wang To: Heiko Stuebner , "David S. Miller" , Rob Herring Subject: [PATCH v3 1/9] net: arc_emac: make the rockchip emac document more compatible Date: Mon, 14 Mar 2016 16:01:52 +0800 Message-Id: <1457942520-12859-2-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1457942520-12859-1-git-send-email-wxt@rock-chips.com> References: <1457942520-12859-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160314_010300_588309_82871BDD X-CRM114-Status: GOOD ( 11.84 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Pawel Moll , sergei.shtylyov@cogentembedded.com, Alexander Kochetkov , netdev@vger.kernel.org, Ian Campbell , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Kumar Gala , linux-arm-kernel@lists.infradead.org, keescook@google.com, leozwang@google.com, Caesar Wang MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 the 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 Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: netdev@vger.kernel.org Cc: "David S. Miller" Cc: Alexander Kochetkov Acked-by: Rob Herring --- Changes in v3: - %s/he/the - Add the Cc people 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