android_kernel_xiaomi_sm8350/drivers/of
Anton Vorontsov b908b53d58 of/gpio: Implement of_get_gpio_flags()
This adds a new function, of_get_gpio_flags, which is like
of_get_gpio(), but accepts a new "flags" argument.  This new function
will be used by the drivers that need to retrieve additional GPIO
information, such as active-low flag.

Also, this changes the default ("simple") .xlate routine to warn about
bogus (< 2) #gpio-cells usage: the second cell should always be present
for GPIO flags.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-12-03 21:04:05 +11:00
..
base.c of: Add helpers for finding device nodes which have a given property 2008-11-19 16:05:00 +11:00
device.c OF-device: Don't overwrite numa_node in device registration 2008-10-31 16:12:01 +11:00
gpio.c of/gpio: Implement of_get_gpio_flags() 2008-12-03 21:04:05 +11:00
Kconfig spi: Add OF binding support for SPI busses 2008-07-25 22:34:40 -04:00
Makefile spi: Add OF binding support for SPI busses 2008-07-25 22:34:40 -04:00
of_i2c.c of/i2c: Fill the archdata for I2C devices 2008-12-03 21:03:56 +11:00
of_spi.c of/spi: Support specifying chip select as active high via device tree 2008-10-20 23:34:01 -05:00
platform.c