[PATCH v4] arm64: dts: rockchip: update mipi cells for RK3399

Brian Norris briannorris at chromium.org
Wed Nov 29 10:47:55 PST 2017


From: Nickey Yang <nickey.yang at rock-chips.com>

We might include additional ports in derivative device trees, so the
'port' node should have an address, and the parent 'ports' node needs
/#{addres,size}-cells.

v4:
 * keep #{address,size}-cells in both 'ports' and 'port at 0' nodes
 * separate from the rest of the series, since this is mostly
   independent of the driver refactoring

Signed-off-by: Nickey Yang <nickey.yang at rock-chips.com>
Signed-off-by: Brian Norris <briannorris at chromium.org>
---
 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index d340b58ab184..c6dae25a3f23 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -1652,7 +1652,11 @@
 		status = "disabled";
 
 		ports {
-			mipi_in: port {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			mipi_in: port at 0 {
+				reg = <0>;
 				#address-cells = <1>;
 				#size-cells = <0>;
 
-- 
2.15.0.531.g2ccb3012c9-goog




More information about the Linux-rockchip mailing list