zephyr/include/drivers
Wealian Liao 5a9bc389f0 driver: gpio: nct38xx: Add NCT38XX gpio driver support
NCT38XX series, which are i2c-based chips, support a different number
of GPIO functionality. For NCT3807, it has 2 GPIO ports on the same i2c
device address. For NCT3808, it has 2 GPIO ports on different i2c
device addresses. This commit adds NCT38XX GPIO driver support &
provides the interrupt handler for the share alert pin.

The following is NCT3807 devicetree node example:
```
&i2c0_0 {
	nct3807_0: nct3807@70 {
		#address-cells = <1>;
		#size-cells = <0>;
		compatible = "nuvoton,nct38xx-gpio";
		reg = <0x70>;
		label = "NCT3807_0";

		gpio@0 {
			compatible = "nuvoton,nct38xx-gpio-port";
			reg = <0x0>;
			label = "NCT3807_0_GPIO0";
			gpio-controller;
			#gpio-cells = <2>;
			ngpios = <8>;
			pin_mask = <0xff>;
			pinmux_mask = <0xf7>;
		};

		gpio@1 {
			compatible = "nuvoton,nct38xx-gpio-port";
			reg = <0x1>;
			label = "NCT3807_0_GPIO1";
			gpio-controller;
			#gpio-cells = <2>;
			ngpios = <8>;
			pin_mask = <0xff>;
		};
	};
};
```

Signed-off-by: Wealian Liao <WHLIAO@nuvoton.com>
2021-11-20 08:00:38 -05:00
..
adc
bluetooth
clock_control include/driver/clock_control: stm32: Remove STM32_PLL_PREDIV1 2021-11-03 16:19:06 -04:00
console
dma
ec_host_cmd_periph
flash
gpio driver: gpio: nct38xx: Add NCT38XX gpio driver support 2021-11-20 08:00:38 -05:00
i2c/slave
ieee802154
interrupt_controller Microchip: MEC172x: eSPI driver 2021-10-26 09:27:20 -04:00
led
misc
modem modem: hl7800: remove NEWLIB_LIBC dependency 2021-11-09 11:19:02 +01:00
pcie include/pcie: Add PTM API 2021-11-04 11:06:02 -04:00
pm_cpu_ops
rtc
sensor
timer
uart
usb
virtualization
adc.h
bbram.h
cache.h
can.h drivers: can: Add get_max_filters API 2021-10-28 13:56:58 -04:00
clock_control.h
counter.h
dac.h
disk.h
display.h
dma.h
ec_host_cmd_periph.h
edac.h
eeprom.h
emul.h emul: Add data and parent pointers to emulators 2021-10-05 19:21:39 -04:00
entropy.h
espi_emul.h emul: Add data and parent pointers to emulators 2021-10-05 19:21:39 -04:00
espi_saf.h
espi.h
flash.h
fpga.h
gna.h
gpio.h drivers: gpio: add combined drive strength flags and mask 2021-11-11 07:20:12 -05:00
hwinfo.h
i2c_emul.h i2c: emul: Add get_config function 2021-11-02 16:46:33 +01:00
i2c.h i2c: Add get_config to I2C API 2021-11-02 16:46:33 +01:00
i2s.h
ipm.h
kscan.h
led_strip.h
led.h
lora.h lora: asynchronous packet reception 2021-10-26 15:48:09 +02:00
mbox.h drivers: mbox: Introduce MBOX driver class 2021-10-27 18:27:21 +02:00
mdio.h
peci.h
pinctrl.h drivers: pinctrl: add support for dynamic pin control 2021-10-25 15:26:47 -05:00
pinmux.h
pm_cpu_ops.h
ps2.h
ptp_clock.h
pwm.h
regulator.h
sensor.h drivers: sensor: Const sensor trigger data in trigger handler 2021-10-27 15:09:35 -04:00
spi_emul.h emul: Add data and parent pointers to emulators 2021-10-05 19:21:39 -04:00
spi.h spi: Fixing documentation for groups of macros 2021-11-19 11:50:38 +01:00
syscon.h
uart.h uart: add API support for wide data 2021-11-09 19:44:38 -05:00
video-controls.h
video.h
watchdog.h