Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1380702

[PATCH 3/3] phy: rockchip-emmc: adapt binding to specifiy register offset and length

Path csiph.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From Kishon Vijay Abraham I <kishon@ti.com>
Newsgroups linux.kernel
Subject [PATCH 3/3] phy: rockchip-emmc: adapt binding to specifiy register offset and length
Date Sun, 17 Apr 2016 09:00:01 +0200
Message-ID <roOQx-8vj-5@gated-at.bofh.it> (permalink)
References <roOQx-8vj-3@gated-at.bofh.it>
X-Original-To <gregkh@linuxfoundation.org>
X-Mailer git-send-email 1.7.9.5
MIME-Version 1.0
Content-Type text/plain
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 43
Organization linux.* mail to news gateway
X-Original-Cc <kishon@ti.com>, <linux-kernel@vger.kernel.org>
X-Original-Date Sun, 17 Apr 2016 12:27:12 +0530
X-Original-Message-ID <1460876232-568-4-git-send-email-kishon@ti.com>
X-Original-References <1460876232-568-1-git-send-email-kishon@ti.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1380702

Show key headers only | View raw


From: Heiko Stuebner <heiko@sntech.de>

The emmc-phy occupies a contiguous set of 8 registers inside the general
register files, so the reg property should specify this.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 .../devicetree/bindings/phy/rockchip-emmc-phy.txt  |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt b/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt
index 461e958..555cb0f 100644
--- a/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt
+++ b/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt
@@ -4,7 +4,7 @@ Rockchip EMMC PHY
 Required properties:
  - compatible: rockchip,rk3399-emmc-phy
  - #phy-cells: must be 0
- - reg: PHY configure reg address offset in "general
+ - reg: PHY register address offset and length in "general
    register files"
 
 Example:
@@ -12,12 +12,14 @@ Example:
 
 grf: syscon@ff770000 {
 	compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
+	#address-cells = <1>;
+	#size-cells = <1>;
 
 ...
 
 	emmcphy: phy@f780 {
 		compatible = "rockchip,rk3399-emmc-phy";
-		reg = <0xf780>;
+		reg = <0xf780 0x20>;
 		#phy-cells = <0>;
 	};
 };
-- 
1.7.9.5

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 3/3] phy: rockchip-emmc: adapt binding to specifiy register offset and length Kishon Vijay Abraham I <kishon@ti.com> - 2016-04-17 09:00 +0200

csiph-web