[PATCH v3] ARM: dts: Add SPI CS on exynos5250-snow

Michal Suchanek hramrach at gmail.com
Tue Jul 28 01:45:55 PDT 2015


Although there is only one choice of chipselect it is necessary to
specify it. The driver cannot claim the gpio otherwise.

Signed-off-by: Michal Suchanek <hramrach at gmail.com>
Acked-by: Javier Martinez Canillas <javier at osg.samsung.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>

--
 - don't move unrelated line
 - use symbolic GPIO_ACTIVE_HIGH
---
 arch/arm/boot/dts/exynos5250-snow.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index b7f4122..2d6a976 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -688,6 +688,7 @@
 	status = "okay";
 	samsung,spi-src-clk = <0>;
 	num-cs = <1>;
+	cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>;
 };
 
 &usbdrd_dwc3 {
-- 
2.1.4




More information about the linux-arm-kernel mailing list