]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.14.21/arm-spear13xx-fix-spics-gpio-controller-s-warning.patch
fixes for 4.19
[thirdparty/kernel/stable-queue.git] / releases / 4.14.21 / arm-spear13xx-fix-spics-gpio-controller-s-warning.patch
1 From f8975cb1b8a36d0839b6365235778dd9df1d04ca Mon Sep 17 00:00:00 2001
2 From: Viresh Kumar <viresh.kumar@linaro.org>
3 Date: Thu, 11 Jan 2018 11:28:53 +0530
4 Subject: arm: spear13xx: Fix spics gpio controller's warning
5
6 From: Viresh Kumar <viresh.kumar@linaro.org>
7
8 commit f8975cb1b8a36d0839b6365235778dd9df1d04ca upstream.
9
10 This fixes the following warning by also sending the flags argument for
11 gpio controllers:
12
13 Property 'cs-gpios', cell 6 is not a phandle reference in
14 /ahb/apb/spi@e0100000
15
16 Fixes: 8113ba917dfa ("ARM: SPEAr: DT: Update device nodes")
17 Cc: stable@vger.kernel.org # v3.8+
18 Reported-by: Arnd Bergmann <arnd@arndb.de>
19 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
20 Signed-off-by: Olof Johansson <olof@lixom.net>
21 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22
23 ---
24 arch/arm/boot/dts/spear1310-evb.dts | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27 --- a/arch/arm/boot/dts/spear1310-evb.dts
28 +++ b/arch/arm/boot/dts/spear1310-evb.dts
29 @@ -349,7 +349,7 @@
30 spi0: spi@e0100000 {
31 status = "okay";
32 num-cs = <3>;
33 - cs-gpios = <&gpio1 7 0>, <&spics 0>, <&spics 1>;
34 + cs-gpios = <&gpio1 7 0>, <&spics 0 0>, <&spics 1 0>;
35
36 stmpe610@0 {
37 compatible = "st,stmpe610";