blob: 08cedb8d2ab97a3f0bce5b195cbb015eebadcdac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
menuconfig PLATFORM_EC_IOEX
bool "IO expander support"
depends on I2C
help
Enable support for IO expanders subsystem.
This will allow to use CrOS EC calls to ioex_* functions. It supports
both CrOS EC ioex drivers and Zephyr GPIO drivers.
if PLATFORM_EC_IOEX
config PLATFORM_EC_IOEX_INIT_PRIORITY
int "IO expander init priority"
range 0 99
default 52
help
Sets the priority of function that initializes
the IO expander subsystem
config PLATFORM_EC_CONSOLE_CMD_IOEX
bool "Enable shell commands for IO expander"
depends on SHELL
help
Enable shell commands for IO expander.
It will enable ioexget and ioexset commands in EC console
that allow to get and change values of IO expanders pins.
config PLATFORM_EC_IOEX_CROS_DRV
bool
help
Enable support for CrOS EC IO expander drivers
config PLATFORM_EC_IOEX_CCGXXF
bool "Cypress CCGXXF"
select PLATFORM_EC_IOEX_CROS_DRV
help
Enables driver for Cypress CCGXXF IO expander (built inside PD chip)
config PLATFORM_EC_IOEX_IT8801
bool "IT8801"
select PLATFORM_EC_IOEX_CROS_DRV
help
Enables support for IT8801 IO expander with keyboard matrix controller
config PLATFORM_EC_IOEX_NCT38XX
bool "Nuvoton NCT38xx"
select PLATFORM_EC_IOEX_CROS_DRV
help
Enables support for IO expander built inside Nuvoton NCT38xx TCPC
config PLATFORM_EC_IOEX_PCA9675
bool "NXP PCA9675PW"
select PLATFORM_EC_IOEX_CROS_DRV
help
Enables support for NXP PCA9675PW IO expander
config PLATFORM_EC_IOEX_PCAL6408
bool "NXP PCA(L)6408"
select PLATFORM_EC_IOEX_CROS_DRV
help
Enables support for NXP PCA(L)6408 IO expander
config PLATFORM_EC_IOEX_TCA64XXA
bool "TI TCA64xA"
select PLATFORM_EC_IOEX_CROS_DRV
help
Enables support for Texas Instruments TCA64xxA IO expanders family
endif
|