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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | # Kconfig.pcal9535a - PCAL9535A GPIO configuration options
#
#
# Copyright (c) 2016 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
menuconfig GPIO_PCAL9535A
bool "PCAL9535A I2C-based GPIO chip"
depends on GPIO && I2C
default n
select NANO_TIMERS
help
Enable driver for PCAL9535A I2C-based GPIO chip.
if GPIO_PCAL9535A
config GPIO_PCAL9535A_DEBUG
bool "Enable PCAL9535A Debugging"
depends on GPIO_PCAL9535A
default n
help
Enable debugging for PCAL9535A driver.
config GPIO_PCAL9535A_INIT_PRIORITY
int
default 70
prompt "Init priority"
help
Device driver initialization priority.
config GPIO_PCAL9535A_0
bool "PCAL9535A GPIO chip #0"
depends on GPIO_PCAL9535A
default n
help
Enable config options for the PCAL9535A I2C-based GPIO chip #0.
config GPIO_PCAL9535A_0_DEV_NAME
string "PCAL9535A GPIO chip #0 Device Name"
depends on GPIO_PCAL9535A_0
default "GPIO_P0"
help
Specify the device name for the PCAL9535A I2C-based GPIO chip #0.
config GPIO_PCAL9535A_0_I2C_ADDR
hex "PCAL9535A GPIO chip #0 I2C slave address"
depends on GPIO_PCAL9535A_0
help
Specify the I2C slave address for the PCAL9535A I2C-based GPIO chip #0.
config GPIO_PCAL9535A_0_I2C_MASTER_DEV_NAME
string "I2C Master where PCAL9535A GPIO chip #0 is connected"
depends on GPIO_PCAL9535A_0
default ""
help
Specify the device name of the I2C master device to which this
PCAL9535A chip #0 is binded.
config GPIO_PCAL9535A_1
bool "PCAL9535A GPIO chip #1"
depends on GPIO_PCAL9535A
default n
help
Enable config options for the PCAL9535A I2C-based GPIO chip #1.
config GPIO_PCAL9535A_1_DEV_NAME
string "PCAL9535A GPIO chip #1 Device Name"
depends on GPIO_PCAL9535A_1
default "GPIO_P1"
help
Specify the device name for the PCAL9535A I2C-based GPIO chip #1.
config GPIO_PCAL9535A_1_I2C_ADDR
hex "PCAL9535A GPIO chip #1 I2C slave address"
depends on GPIO_PCAL9535A_1
help
Specify the I2C slave address for the PCAL9535A I2C-based GPIO chip #1.
config GPIO_PCAL9535A_1_I2C_MASTER_DEV_NAME
string "I2C Master where PCAL9535A GPIO chip #1 is connected"
depends on GPIO_PCAL9535A_1
default ""
help
Specify the device name of the I2C master device to which this
PCAL9535A chip #1 is binded.
config GPIO_PCAL9535A_2
bool "PCAL9535A GPIO chip #2"
depends on GPIO_PCAL9535A
default n
help
Enable config options for the PCAL9535A I2C-based GPIO chip #2.
config GPIO_PCAL9535A_2_DEV_NAME
string "PCAL9535A GPIO chip #2 Device Name"
depends on GPIO_PCAL9535A_2
default "GPIO_P2"
help
Specify the device name for the PCAL9535A I2C-based GPIO chip #2.
config GPIO_PCAL9535A_2_I2C_ADDR
hex "PCAL9535A GPIO chip #2 I2C slave address"
depends on GPIO_PCAL9535A_2
help
Specify the I2C slave address for the PCAL9535A I2C-based GPIO chip #2.
config GPIO_PCAL9535A_2_I2C_MASTER_DEV_NAME
string "I2C Master where PCAL9535A GPIO chip #2 is connected"
depends on GPIO_PCAL9535A_2
default ""
help
Specify the device name of the I2C master device to which this
PCAL9535A chip #2 is binded.
config GPIO_PCAL9535A_3
bool "PCAL9535A GPIO chip #3"
depends on GPIO_PCAL9535A
default n
help
Enable config options for the PCAL9535A I2C-based GPIO chip #3.
config GPIO_PCAL9535A_3_DEV_NAME
string "PCAL9535A GPIO chip #3 Device Name"
depends on GPIO_PCAL9535A_3
default "GPIO_P3"
help
Specify the device name for the PCAL9535A I2C-based GPIO chip #3.
config GPIO_PCAL9535A_3_I2C_ADDR
hex "PCAL9535A GPIO chip #3 I2C slave address"
depends on GPIO_PCAL9535A_3
help
Specify the I2C slave address for the PCAL9535A I2C-based GPIO chip #3.
config GPIO_PCAL9535A_3_I2C_MASTER_DEV_NAME
string "I2C Master where PCAL9535A GPIO chip #3 is connected"
depends on GPIO_PCAL9535A_3
default ""
help
Specify the device name of the I2C master device to which this
PCAL9535A chip #3 is binded.
endif #GPIO_PCAL9535A
|