zephyr/dts
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
..
arc
arm dts: arm: gigadevice: add support for gd32f450ik 2021-11-18 17:42:57 +01:00
arm64 board: arm64: refine the dts of fvp-baser-aemv8r 2021-10-25 19:21:20 -04:00
bindings driver: gpio: nct38xx: Add NCT38XX gpio driver support 2021-11-20 08:00:38 -05:00
common
nios2
posix
riscv ITE: drivers/serial: add the UART driver for the PM callback function 2021-11-16 21:23:42 -05:00
sparc
x86 dts/x86: Enable PTM root device 2021-11-04 11:06:02 -04:00
xtensa boards: xtensa: add ledc support to the esp32 board 2021-11-07 05:36:42 -05:00
Kconfig
binding-template.yaml