Commit 76a40765 authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Andy Gross

ARM: dts: qcom-apq8064: disable i2c by default at soc dtsi

This patch marks all the gsbi i2c node at soc level dtsi, so that kernel
would not assume that its enabled and result in pin conflicts when gsbi
is used for UART or SPI.

Without this patch we see below pin conflict.

apq8064-pinctrl 800000.pinctrl: pin GPIO_20 already requested by
 12450000.serial; cannot claim for 12460000.i2c
apq8064-pinctrl 800000.pinctrl: pin-20 (12460000.i2c) status -22
apq8064-pinctrl 800000.pinctrl: could not request pin 20 (GPIO_20)
 from group gpio20  on device 800000.pinctrl
i2c_qup 12460000.i2c: Error applying setting, reverse things back
i2c_qup: probe of 12460000.i2c failed with error -22
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent 60cc43fc
...@@ -461,6 +461,7 @@ gsbi1_i2c: i2c@12460000 { ...@@ -461,6 +461,7 @@ gsbi1_i2c: i2c@12460000 {
clock-names = "core", "iface"; clock-names = "core", "iface";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled";
}; };
}; };
...@@ -489,6 +490,7 @@ gsbi2_i2c: i2c@124a0000 { ...@@ -489,6 +490,7 @@ gsbi2_i2c: i2c@124a0000 {
clock-names = "core", "iface"; clock-names = "core", "iface";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled";
}; };
}; };
...@@ -514,6 +516,7 @@ gsbi3_i2c: i2c@16280000 { ...@@ -514,6 +516,7 @@ gsbi3_i2c: i2c@16280000 {
clock-names = "core", "iface"; clock-names = "core", "iface";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled";
}; };
}; };
...@@ -538,6 +541,7 @@ gsbi4_i2c: i2c@16380000 { ...@@ -538,6 +541,7 @@ gsbi4_i2c: i2c@16380000 {
clocks = <&gcc GSBI4_QUP_CLK>, clocks = <&gcc GSBI4_QUP_CLK>,
<&gcc GSBI4_H_CLK>; <&gcc GSBI4_H_CLK>;
clock-names = "core", "iface"; clock-names = "core", "iface";
status = "disabled";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment