]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: of: Handle the Freescale SPI CS
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Dec 2018 14:22:47 +0000 (15:22 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 31 May 2019 10:27:11 +0000 (12:27 +0200)
commit952dd0b367412ed1e5c24592a9895bcbad410d5d
treeb1c9b4cbdf1a369eef30970d10749d0e9c538cf3
parentee70d6146b8fac793905c58eac7030243c86057e
gpio: of: Handle the Freescale SPI CS

The Freescale SPI chipselects are special: while everyone else
is using "cs-gpios" the Freescale platforms just use "gpios".
Fix this by responding with "gpios" when asking for "cs-gpios"
in a freescale device node, so we hide this pecularity from
the SPI core.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c