From: Krzysztof Kozlowski <k...@kernel.org>

[ Upstream commit 1ed7f6d0bab2f1794f1eb4ed032e90575552fd21 ]

The device tree schema expects SPI controller to be named "spi",
otherwise dtbs_check complain with a warning like:

  spi-gpio-0: $nodename:0: 'spi-gpio-0' does not match '^spi(@.*|-[0-9a-f])*$'

Signed-off-by: Krzysztof Kozlowski <k...@kernel.org>
Tested-by: Jonathan Bakker <xc-rac...@live.ca>
Link: https://lore.kernel.org/r/20200907161141.31034-25-k...@kernel.org
Signed-off-by: Sasha Levin <sas...@kernel.org>
---
 arch/arm/boot/dts/s5pv210-aries.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi 
b/arch/arm/boot/dts/s5pv210-aries.dtsi
index 8a98b35b9b0de..3762098233c0c 100644
--- a/arch/arm/boot/dts/s5pv210-aries.dtsi
+++ b/arch/arm/boot/dts/s5pv210-aries.dtsi
@@ -545,7 +545,7 @@ poweroff: syscon-poweroff {
                value = <0x5200>;
        };
 
-       spi_lcd: spi-gpio-0 {
+       spi_lcd: spi-2 {
                compatible = "spi-gpio";
                #address-cells = <1>;
                #size-cells = <0>;
-- 
2.25.1

Reply via email to