All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] arm64: dts: rockchip: update mipi cells for RK3399
@ 2017-11-29 18:47 ` Brian Norris
  0 siblings, 0 replies; 11+ messages in thread
From: Brian Norris @ 2017-11-29 18:47 UTC (permalink / raw)
  To: heiko
  Cc: mark.rutland, David Airlie, dri-devel, Philippe Cornu,
	Laurent Pinchart, zyw, Brian Norris, linux-rockchip, Nickey Yang,
	mka, xbl, hoegsberg, robh+dt, Vincent Abriou, hl, Doug Anderson,
	linux-kernel, Yannick Fertre

From: Nickey Yang <nickey.yang@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@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@rock-chips.com>
Signed-off-by: Brian Norris <briannorris@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@0 {
+				reg = <0>;
 				#address-cells = <1>;
 				#size-cells = <0>;
 
-- 
2.15.0.531.g2ccb3012c9-goog

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-12-04 16:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-29 18:47 [PATCH v4] arm64: dts: rockchip: update mipi cells for RK3399 Brian Norris
2017-11-29 18:47 ` Brian Norris
2017-11-29 20:52 ` Doug Anderson
2017-11-29 20:52   ` Doug Anderson
2017-12-04 10:05 ` Heiko Stuebner
2017-12-04 13:22 ` Laurent Pinchart
2017-12-04 13:22   ` Laurent Pinchart
2017-12-04 13:46   ` Heiko Stuebner
2017-12-04 13:46     ` Heiko Stuebner
2017-12-04 16:36     ` Laurent Pinchart
2017-12-04 16:36       ` Laurent Pinchart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.