[3/3] arm: spear13xx: Fix spics gpio controller's warning

Message ID 9d8521e3990be6789f1ed3d5757b57c65483117b.1515650104.git.viresh.kumar@linaro.org
State Accepted
Commit f8975cb1b8a36d0839b6365235778dd9df1d04ca
Headers show
Series
  • [1/3] arm: spear600: Add missing interrupt-parent of rtc
Related show

Commit Message

Viresh Kumar Jan. 11, 2018, 5:58 a.m.
This fixes the following warning by also sending the flags argument for
gpio controllers:

Property 'cs-gpios', cell 6 is not a phandle reference in
/ahb/apb/spi@e0100000

Fixes: 8113ba917dfa ("ARM: SPEAr: DT: Update device nodes")
Cc: stable@vger.kernel.org # v3.8+
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

---
 arch/arm/boot/dts/spear1310-evb.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.15.0.194.g9af6a3dea062

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Olof Johansson Jan. 12, 2018, 2:07 a.m. | #1
On Thu, Jan 11, 2018 at 11:28:53AM +0530, Viresh Kumar wrote:
> This fixes the following warning by also sending the flags argument for

> gpio controllers:

> 

> Property 'cs-gpios', cell 6 is not a phandle reference in

> /ahb/apb/spi@e0100000

> 

> Fixes: 8113ba917dfa ("ARM: SPEAr: DT: Update device nodes")

> Cc: stable@vger.kernel.org # v3.8+

> Reported-by: Arnd Bergmann <arnd@arndb.de>

> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

> ---



Applied to next/dt.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/arm/boot/dts/spear1310-evb.dts b/arch/arm/boot/dts/spear1310-evb.dts
index 84101e4eebbf..0f5f379323a8 100644
--- a/arch/arm/boot/dts/spear1310-evb.dts
+++ b/arch/arm/boot/dts/spear1310-evb.dts
@@ -349,7 +349,7 @@ 
 			spi0: spi@e0100000 {
 				status = "okay";
 				num-cs = <3>;
-				cs-gpios = <&gpio1 7 0>, <&spics 0>, <&spics 1>;
+				cs-gpios = <&gpio1 7 0>, <&spics 0 0>, <&spics 1 0>;
 
 				stmpe610@0 {
 					compatible = "st,stmpe610";