driver: gpio: npcx: Support GPIO_VOLTAGE_1P8 flag
This CL configures low-voltage (1.8V) detection via GPIO driver with GPIO_VOLTAGE_1P8 flag. It also adds support for this flag in pin_get_config() function. Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
This commit is contained in:
parent
a5fee4c6de
commit
9267655f42
12 changed files with 267 additions and 52 deletions
|
@ -81,7 +81,7 @@
|
|||
0x400a5000 0x2000>;
|
||||
reg-names = "scfg", "glue";
|
||||
#alt-cells = <3>;
|
||||
#lvol-cells = <4>;
|
||||
#lvol-cells = <2>;
|
||||
label = "SCFG";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue