zephyr/include/dt-bindings/gpio
Henrik Brix Andersen d4023b3c1b drivers: gpio: move non-standard dts flags to be soc specific
Reserve the upper 8 bits of gpio_dt_flags_t for SoC specific flags and
move the non-standard, hardware-specific GPIO devicetree flags (IO
voltage level, drive strength, debounce filter) from the generic
dt-bindings/gpio/gpio.h header to SoC specific dt-bindings headers.

Some of the SoC specific dt-bindings flags take up more bits than
necessary in order to retain backwards compatibility with the deprecated
GPIO flags. The width of these fields can be reduced/optimized once the
deprecated flags are removed.

Remove hardcoded use of GPIO_INT_DEBOUNCE in GPIO client drivers. This
flag can now be set in the devicetree for boards/SoCs with debounce
filter support. The SoC specific debounce flags have had the _INT part
of their name removed since these flag must be passed to
gpio_pin_configure(), not gpio_pin_interrupt_configure().

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2022-03-10 13:46:34 -05:00
..
andestech-atcgpio100.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
atmel-sam0-gpio.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
atmel-sam-gpio.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
espressif-esp32-gpio.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
gpio.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
ite-it8xxx2-gpio.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
nordic-nrf-gpio.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
nxp-kinetis-gpio.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
semtech-sx1509b.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
snps-designware-gpio.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
ti-cc13xx-cc26xx-gpio.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00