Home
last modified time | relevance | path

Searched full:kso (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/dts/bindings/pinctrl/
Dite,it8xxx2-pinctrl-func.yaml42 If KSO[17:0] is in KBS mode, setting 1 selects open-drain mode,
44 If KSO[15:0] is in GPIO mode, then this bit is always disabled.
49 If KSI[7:0]/KSO[15:0] is in KBS mode , setting 1 enables the internal
50 pull-up (KSO[17:16] setting internal pull-up by GPIO port GPCR register).
51 If KSI[7:0]/KSO[15:0] is in GPIO mode, then this bit is always disabled.
57 (include KSO[17:16]), otherwise setting pin configure to keyboard scan
58 mode for KSI[7:0] and KSO[15:0] pins.
Dite,it8xxx2-pinctrl.yaml94 kSI[7:0] and KSO[15:0] pins only support 3.3V.
/Zephyr-latest/drivers/gpio/
Dgpio_kscan_ite_it8xxx2.c21 /* KSI[7:0]/KSO[15:8]/KSO[7:0] port gpio output enable register (bit mapping to pin) */
23 /* KSI[7:0]/KSO[15:8]/KSO[7:0] port gpio control register (bit mapping to pin) */
25 /* KSI[7:0]/KSO[15:8]/KSO[7:0] port gpio data register (bit mapping to pin) */
27 /* KSI[7:0]/KSO[15:8]/KSO[7:0] port gpio data mirror register (bit mapping to pin) */
29 /* KSI[7:0]/KSO[15:8]/KSO[7:0] port gpio open drain register (bit mapping to pin) */
49 /* KSI[7:0]/KSO[15:8]/KSO[7:0] pins don't support open source, 1.8V and 5.0V mode */ in gpio_kscan_it8xxx2_configure()
113 /* KSI[7:0]/KSO[15:8]/KSO[7:0] pins only support 3.3V */ in gpio_kscan_it8xxx2_get_config()
DKconfig.it8xxx224 IT8XXX2 support 8 KSI pins and 18 KSO pins, all of them can be configured
26 KSI[7:0] and KSO[15:0] pins are configured to GPIO mode by
28 KSO[17:16] corresponds to GPC5 and GPC3 pin, so they can be configured to
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_ite_it8xxx2.c46 * KSI[7:0]/KSO[15:8]/KSO[7:0] port gpio control register
50 /* KSI[7:0]/KSO[15:8]/KSO[7:0] port control register */
53 * KSO push-pull/open-drain bit of KSO[15:0] control register
58 * KSI/KSO pullup bit of KSI[7:0]/KSO[15:0] control register
243 * If KSI[7:0]/KSO[15:0] is in KBS mode , setting 1 enables the internal in pinctrl_kscan_it8xxx2_set()
244 * pull-up (KSO[17:16] setting internal pull-up by GPIO port GPCR register). in pinctrl_kscan_it8xxx2_set()
245 * If KSI[7:0]/KSO[15:0] is in GPIO mode, then this bit is always disabled. in pinctrl_kscan_it8xxx2_set()
263 * If KSO[17:0] is in KBS mode, setting 1 selects open-drain mode, in pinctrl_kscan_it8xxx2_set()
265 * If KSO[15:0] is in GPIO mode, then this bit is always disabled. in pinctrl_kscan_it8xxx2_set()
289 /* Set a pin of KSI[7:0]/KSO[15:0] to pullup, push-pull/open-drain */
[all …]
/Zephyr-latest/dts/bindings/input/
Dite,it8xxx2-kbd.yaml38 kso-ignore-mask:
42 Bitmask of KSO signals to ignore, this can be used to instruct the driver
43 to skip KSO signals between 0 and (col-size - 1) that are used as GPIOs.
Dite,it8801-kbd.yaml17 Switching the pin to KSO alternate function.
19 kso-mapping:
/Zephyr-latest/drivers/input/
DKconfig.it880113 IT8801 support 8 KSI pins and 19 KSO pins [22:11] [6:0],
14 KSO[22:18]can be configured to GPIO mode.
Dinput_ite_it8801_kbd.c31 /* KSO alternate configuration */
61 /* Tri-state all outputs. KSO[22:11, 6:0] output high */ in kbd_it8801_drive_column()
64 /* Assert all outputs. KSO[22:11, 6:0] output low */ in kbd_it8801_drive_column()
67 /* Selected KSO[22:11, 6:0] output low, all others KSO output high */ in kbd_it8801_drive_column()
156 /* Switching the pin to KSO alternate function (KSO[21:18]) */ in kbd_it8801_init()
161 LOG_ERR("Failed to configure KSO[21:18] pins"); in kbd_it8801_init()
169 /* Start with KEYBOARD_COLUMN_ALL, KSO[22:11, 6:0] output low */ in kbd_it8801_init()
172 LOG_ERR("Failed to set all KSO output low (ret %d)", ret); in kbd_it8801_init()
DKconfig.npcx17 bool "Select quasi-bidirectional buffers for KSO pins"
21 Select quasi-bidirectional buffers for KSO pins to reduce the
Dinput_ite_it8xxx2_kbd.c41 /* KSI[7:0]/KSO[17:0] keyboard scan alternate configuration */
81 /* Set KSO[17:0] output data, disable global interrupts for critical section. in it8xxx2_kbd_drive_column()
165 * For KSO[16] and KSO[17]: in it8xxx2_kbd_init()
167 * Bit[x] = 1b: Enable the open-drain mode of KSO pin in it8xxx2_kbd_init()
169 * Bit[7:6] = 00b: Select alternate KSO function in it8xxx2_kbd_init()
170 * Bit[2] = 1b: Enable the internal pull-up of KSO pin in it8xxx2_kbd_init()
181 * Enable the internal pull-up and kbs mode of the KSO[15:0] pins. in it8xxx2_kbd_init()
182 * Enable the open-drain mode of the KSO[17:0] pins. in it8xxx2_kbd_init()
186 LOG_ERR("Failed to configure KSI[7:0] and KSO[17:0] pins"); in it8xxx2_kbd_init()
190 /* KSO[17:0] pins output low */ in it8xxx2_kbd_init()
Dinput_xec_kbd.c87 /* KSO output controlled by the KSO_SELECT field */ in xec_kbd_drive_column()
90 /* Keyboard scan disabled. All KSO output buffers disabled */ in xec_kbd_drive_column()
Dinput_npcx_kbd.c175 * Select quasi-bidirectional buffers for KSO pins. It reduces the in npcx_kbd_init()
/Zephyr-latest/tests/drivers/build_all/input/
Dit82xx2_evb.overlay23 /* GP00, GP01, GP21, GP22, GP23 can be configured as alternate KSO pins */
25 kso-mapping = <0 1 20 3 4 5 6 17 18 16 15 11 12>;
/Zephyr-latest/dts/bindings/mfd/
Dite,it8801-mfd.yaml33 kso-mapping = <0 1 20 3 4 5 6 17 18 16 15 11 12>;
/Zephyr-latest/drivers/mfd/
Dmfd_it8801_altctrl.c35 /* Func2: KSO or PWM setting */ in mfd_it8801_configure_pins()
/Zephyr-latest/soc/ite/ec/common/
Dpinctrl_soc.h22 * kSI[7:0] and KSO[15:0] pins only support pull-up, push-pull/open-drain.
23 * GPIO group pinctrl pins (include KSO[17:16]) support impedance,