dt: spear320: Make it work
cover dt: spear320: Make it work
The sdhci compatible does neither match the documentation nor the implementaion in the drivers and the i2c1 is missing an interrupt assignment.
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 1/2 dts: spear: Fix sdhci compatible
Make it match the bindings and the implementation.
--- arch/arm/boot/dts/spear320.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/spear320.dtsi +1 -1
@@ -48,7 +48,7 @@ }; sdhci@70000000 { - compatible = "st,sdhci-spear"; + compatible = "st,spear300-sdhci"; reg = <0x70000000 0x100>; interrupts = <10>; interrupt-parent = <&shirq>;
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [patch 1/2] dts: spear: Fix sdhci compatible
Quoted 12 lines · Thomas Gleixner
Make it match the bindings and the implementation.
Signed-off-by Thomas Gleixner <[email protected]>--- arch/arm/boot/dts/spear320.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index:
linux/arch/arm/boot/dts/spear320.dtsi
===================================================================
arch/arm/boot/dts/spear320.dtsi line 54
Quoted 8 lines
arch/arm/boot/dts/spear320.dtsi +1
-1@@ -48,7 +48,7 @@ }; sdhci@70000000 { - compatible = "st,sdhci-spear"; + compatible = "st,spear300-sdhci"; reg = <0x70000000 0x100>; interrupts = <10>; interrupt-parent = <&shirq>;
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 2/2 dts: spear: Add missing i2c1 interrupt
In reply to Thomas Gleixner--- arch/arm/boot/dts/spear320.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/spear320.dtsi +5 -0
@@ -123,6 +123,11 @@ status = "disabled"; }; + i2c1: i2c@a7000000 { + interrupts = <21>; + interrupt-parent = <&shirq>; + }; + gpiopinctrl: gpio@b3000000 { compatible = "st,spear-plgpio"; reg = <0xb3000000 0x1000>;
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [patch 2/2] dts: spear: Add missing i2c1 interrupt
Quoted 10 lines · Thomas Gleixner
Signed-off-by Thomas Gleixner <[email protected]>--- arch/arm/boot/dts/spear320.dtsi | 5 +++++ 1 file changed, 5 insertions(+)Index:
linux/arch/arm/boot/dts/spear320.dtsi
===================================================================
arch/arm/boot/dts/spear320.dtsi line 129
Quoted 7 lines
arch/arm/boot/dts/spear320.dtsi +4
-0@@ -123,6 +123,11 @@ status = "disabled"; }; + i2c1: i2c@a7000000 { + interrupts = <21>; + interrupt-parent = <&shirq>; + };
Isn't this already available ?
i2c1: i2c@a7000000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,designware-i2c";
reg = <0xa7000000 0x1000>;
interrupts = <21>;
interrupt-parent = <&shirq>;
status = "disabled";
};--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [patch 2/2] dts: spear: Add missing i2c1 interrupt
Quoted 21 lines · Viresh Kumar
Quoted 10 lines · Thomas Gleixner
Signed-off-by Thomas Gleixner <[email protected]>--- arch/arm/boot/dts/spear320.dtsi | 5 +++++ 1 file changed, 5 insertions(+)Index:
linux/arch/arm/boot/dts/spear320.dtsi
===================================================================arch/arm/boot/dts/spear320.dtsi line 129
Quoted 7 lines
arch/arm/boot/dts/spear320.dtsi +4
-0@@ -123,6 +123,11 @@ status = "disabled"; }; + i2c1: i2c@a7000000 { + interrupts = <21>; + interrupt-parent = <&shirq>; + };Isn't this already available ?
Quoted 9 lines
i2c1: i2c@a7000000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,designware-i2c";
reg = <0xa7000000 0x1000>;
interrupts = <21>;
interrupt-parent = <&shirq>;
status = "disabled";
};Oops yes, did this against an older tree and did not notice the duplicate. So nothing to do here.
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html