]> Git Repo - linux.git/commitdiff
ARM: dts; gta04: SPI panel chip select is active low
authorH. Nikolaus Schaller <[email protected]>
Wed, 23 Dec 2020 10:30:21 +0000 (11:30 +0100)
committerTony Lindgren <[email protected]>
Wed, 30 Dec 2020 08:48:07 +0000 (10:48 +0200)
With the arrival of

commit 2fee9583198eb9 ("spi: dt-bindings: clarify CS behavior for spi-cs-high and gpio descriptors")

it was clarified what the proper state for cs-gpios should be, even if the
flag is ignored. The driver code is doing the right thing since

766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors")

The chip-select of the td028ttec1 panel is active-low, so we must omit spi-cs-high;
attribute (already removed by separate patch) and should now use GPIO_ACTIVE_LOW for
the client device description to be fully consistent.

Fixes: 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors")
CC: [email protected]
Signed-off-by: H. Nikolaus Schaller <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
arch/arm/boot/dts/omap3-gta04.dtsi

index 003202d129907b4a6a88ca0c29ca784a39b2862e..7b8c18e6605e406339776d88b6e3b1b35213fac4 100644 (file)
                gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
                gpio-miso = <&gpio1 18 GPIO_ACTIVE_HIGH>;
                gpio-mosi = <&gpio1 20 GPIO_ACTIVE_HIGH>;
-               cs-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
+               cs-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
                num-chipselects = <1>;
 
                /* lcd panel */
This page took 0.066346 seconds and 4 git commands to generate.