mirror of https://gitee.com/openkylin/linux.git
Revert "ARM: dts: nomadik: Fix polarity of SPI CS"
This reverts commitfa9463564e
. Per Linus Walleij: Dear ARM SoC maintainers, can you please revert this patch. It was the wrong solution to the wrong problem, and I must have acted in stress. Andrey fixed the real bug in a proper way in these commits: commite5545c94e4
"gpio: of: Check propname before applying "cs-gpios" quirks" commit7ce40277bf
"gpio: of: Check for "spi-cs-high" in child instead of parent node" Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
c983f102c6
commit
fbe8758f93
|
@ -213,13 +213,12 @@ spi {
|
||||||
gpio-sck = <&gpio0 5 GPIO_ACTIVE_HIGH>;
|
gpio-sck = <&gpio0 5 GPIO_ACTIVE_HIGH>;
|
||||||
gpio-mosi = <&gpio0 4 GPIO_ACTIVE_HIGH>;
|
gpio-mosi = <&gpio0 4 GPIO_ACTIVE_HIGH>;
|
||||||
/*
|
/*
|
||||||
* This chipselect is active high. Just setting the flags
|
* It's not actually active high, but the frameworks assume
|
||||||
* to GPIO_ACTIVE_HIGH is not enough for the SPI DT bindings,
|
* the polarity of the passed-in GPIO is "normal" (active
|
||||||
* it will be ignored, only the special "spi-cs-high" flag
|
* high) then actively drives the line low to select the
|
||||||
* really counts.
|
* chip.
|
||||||
*/
|
*/
|
||||||
cs-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
|
cs-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
|
||||||
spi-cs-high;
|
|
||||||
num-chipselects = <1>;
|
num-chipselects = <1>;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue