ARM: dts: qcom-apq8064: disable gsbi6 i2c by default at soc dtsi
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 18 Sep 2017 10:04:37 +0000 (12:04 +0200)
committerAndy Gross <andy.gross@linaro.org>
Wed, 11 Oct 2017 20:52:34 +0000 (15:52 -0500)
This patch marks gsbi i2c node at soc level dtsi, so that kernel
would not assume that its enabled and result in pin conflicts on
some boards like IFC6410 which do use these pins for uart.

Without this patch we see below pin conflict:
apq8064-pinctrl 800000.pinctrl: pin GPIO_16 already requested by
 16540000.serial; cannot claim for 16580000.i2c
apq8064-pinctrl 800000.pinctrl: pin-16 (16580000.i2c) status -22
apq8064-pinctrl 800000.pinctrl: could not request pin 16 (GPIO_16)
 from group gpio16  on device 800000.pinctrl
i2c_qup 16580000.i2c: Error applying setting, reverse things back
i2c_qup: probe of 16580000.i2c failed with error -22

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-apq8064.dtsi

index d08f3db..ed6d6b3 100644 (file)
                                clocks = <&gcc GSBI6_QUP_CLK>,
                                         <&gcc GSBI6_H_CLK>;
                                clock-names = "core", "iface";
+                               status = "disabled";
                        };
                };