Home
last modified time | relevance | path

Searched +full:wui +full:- +full:maps (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/dts/arm/nuvoton/npcx/
Dnpcx7.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include "npcx7/npcx7-alts-map.dtsi"
9 /* NPCX7 series mapping table between MIWU wui bits and source device */
10 #include "npcx7/npcx7-miwus-wui-map.dtsi"
12 #include "npcx7/npcx7-miwus-int-map.dtsi"
14 #include "npcx7/npcx7-espi-vws-map.dtsi"
15 /* NPCX7 series low-voltage io controls mapping table */
16 #include "npcx7/npcx7-lvol-ctrl-map.dtsi"
24 cpu-power-states = <&suspend_to_idle0 &suspend_to_idle1>;
27 power-states {
[all …]
Dnpcx9.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include "npcx9/npcx9-alts-map.dtsi"
9 /* NPCX9 series mapping table between MIWU wui bits and source device */
10 #include "npcx9/npcx9-miwus-wui-map.dtsi"
12 #include "npcx9/npcx9-miwus-int-map.dtsi"
14 #include "npcx9/npcx9-espi-vws-map.dtsi"
15 /* NPCX9 series low-voltage io controls mapping table */
16 #include "npcx9/npcx9-lvol-ctrl-map.dtsi"
24 cpu-power-states = <&suspend_to_idle0 &suspend_to_idle1>;
27 power-states {
[all …]
Dnpcx4.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include "npcx4/npcx4-alts-map.dtsi"
9 /* npcx4 series mapping table between MIWU wui bits and source device */
10 #include "npcx4/npcx4-miwus-wui-map.dtsi"
12 #include "npcx4/npcx4-miwus-int-map.dtsi"
14 #include "npcx4/npcx4-espi-vws-map.dtsi"
15 /* npcx4 series low-voltage io controls mapping table */
16 #include "npcx4/npcx4-lvol-ctrl-map.dtsi"
18 #include "zephyr/dt-bindings/reset/npcx4_reset.h"
26 cpu-power-states = <&suspend_to_idle0>;
[all …]
Dnpcx.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <arm/armv7-m.dtsi>
10 #include <zephyr/dt-bindings/adc/adc.h>
11 #include <zephyr/dt-bindings/clock/npcx_clock.h>
12 #include <zephyr/dt-bindings/flash_controller/npcx_fiu_qspi.h>
13 #include <zephyr/dt-bindings/gpio/gpio.h>
14 #include <zephyr/dt-bindings/i2c/i2c.h>
15 #include <zephyr/dt-bindings/pinctrl/npcx-pinctrl.h>
16 #include <zephyr/dt-bindings/pwm/pwm.h>
17 #include <zephyr/dt-bindings/sensor/npcx_tach.h>
[all …]
/Zephyr-latest/dts/bindings/gpio/
Dnuvoton,npcx-gpio.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Nuvoton, NPCX-GPIO node
6 compatible: "nuvoton,npcx-gpio"
8 include: [gpio-controller.yaml, base.yaml]
19 wui-maps:
23 Mapping table between Wake-Up Input (WUI) and 8 IOs belong to this device.
27 For example the WUI mapping on NPCX7 GPIO8 would be
28 wui-maps = <&wui_io80 &wui_io81 &wui_io82 &wui_io83
31 lvol-maps:
34 Mapping table between Low-Voltage controllers and 8 IOs belong to
[all …]
/Zephyr-latest/dts/bindings/input/
Dnuvoton,npcx-kbd.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nuvoton,npcx-kbd"
8 include: [kbd-matrix-common.yaml, pinctrl-device.yaml]
17 pinctrl-0:
20 pinctrl-names:
23 wui-maps:
27 Mapping table between Wake-Up Input (WUI) and KSIs.
29 For example the WUI mapping on 8 KSI pads would be
30 wui-maps = <&wui_io30 &wui_io31 &wui_io27 &wui_io26
33 row-size:
[all …]
/Zephyr-latest/soc/nuvoton/npcx/common/
Dsoc_dt.h4 * SPDX-License-Identifier: Apache-2.0
24 * @param prop lowercase-and-underscores property name
36 * @param prop lowercase-and-underscores property name
45 * type is 'phandle-array' to handle "clock-cells" in current driver.
73 * @param i index of clocks prop which type is 'phandle-array'
98 * @brief Length of 'clocks' property which type is 'phandle-array'
101 * @return length of 'clocks' property which type is 'phandle-array'
143 * @brief Get phandle from "name" property which contains wui information.
146 * @param name property 'name' which type is 'phandle' and contains wui info.
156 * @param name property 'name'which type is 'phandle' and contains wui info.
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_npcx.c4 * SPDX-License-Identifier: Apache-2.0
12 #include <zephyr/dt-bindings/gpio/nuvoton-npcx-gpio.h>
36 /* Mapping table between gpio bits and wui */
50 ((struct gpio_reg *)((const struct gpio_npcx_config *)(dev)->config)->base)
64 const struct gpio_npcx_config *const config = dev->config; in npcx_gpio_enable_io_pads()
65 const struct npcx_wui *io_wui = &config->wui_maps[pin]; in npcx_gpio_enable_io_pads()
67 if (io_wui->table == NPCX_MIWU_TABLE_NONE) { in npcx_gpio_enable_io_pads()
68 LOG_ERR("Cannot enable GPIO(%x, %d) pad", config->port, pin); in npcx_gpio_enable_io_pads()
83 const struct gpio_npcx_config *const config = dev->config; in npcx_gpio_disable_io_pads()
84 const struct npcx_wui *io_wui = &config->wui_maps[pin]; in npcx_gpio_disable_io_pads()
[all …]