All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: rockchip: add i2c-bus subnode to edp
@ 2016-10-20  8:07 ` Tomeu Vizoso
  0 siblings, 0 replies; 12+ messages in thread
From: Tomeu Vizoso @ 2016-10-20  8:07 UTC (permalink / raw)
  To: linux-kernel
  Cc: Tomeu Vizoso, Randy Li, Jon Hunter, Heiko Stuebner, Rob Herring,
	Mark Rutland, Russell King, linux-arm-kernel, linux-rockchip,
	devicetree

Add an empty 'i2c-bus' subnode to the edp node just so that the I2C core
doesn't attemp to parse the 'ports' subnode as containing i2c devices.

This is to avoid spurious failure messages such as:

i2c i2c-6: of_i2c: modalias failure on /dp@ff970000/ports

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Randy Li <randy.li@rock-chips.com>
Cc: Jon Hunter <jonathanh@nvidia.com>
---
 arch/arm/boot/dts/rk3288.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index 2f814ffeb605..94f4b7eecca2 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -1075,6 +1075,11 @@
 				};
 			};
 		};
+
+		i2c-bus {
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
 	};
 
 	hdmi: hdmi@ff980000 {
-- 
2.7.4

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

end of thread, other threads:[~2016-10-22  3:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-20  8:07 [PATCH] ARM: dts: rockchip: add i2c-bus subnode to edp Tomeu Vizoso
2016-10-20  8:07 ` Tomeu Vizoso
2016-10-20 13:45 ` Heiko Stübner
2016-10-20 13:45   ` Heiko Stübner
2016-10-20 13:47   ` Tomeu Vizoso
2016-10-20 13:47     ` Tomeu Vizoso
     [not found]     ` <6083453f-08e1-643a-9638-1db38c704aa5-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2016-10-21  8:25       ` Heiko Stuebner
2016-10-21  8:25         ` Heiko Stuebner
2016-10-21  8:25         ` Heiko Stuebner
2016-10-21  8:32         ` Randy Li
2016-10-22  3:52         ` ayaka
2016-10-22  3:52           ` ayaka

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.