zephyr/drivers/i2c/Kconfig.nrf5
Carles Cufi f49150cab6 arch: arm: nrf: Rename nrf5 SoC Family to nrf
Upcoming Nordic ICs that share many of the peripherals and architecture
with the currently supported nRF5x ones are no longer part of the nRF5
family. In order to accomodate that, rename the SoC family from nrf5 to
nrf, so that it can contain all of the members of the wider Nordic
family.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2018-03-20 11:57:14 +01:00

59 lines
946 B
Plaintext

# Kconfig.nrf5 - NRF5 I2C configuration options
#
#
# Copyright (c) 2018 Aapo Vienamo
#
# SPDX-License-Identifier: Apache-2.0
#
config I2C_NRF5
bool "NRF5 I2C driver"
depends on SOC_FAMILY_NRF
select GPIO
select HAS_DTS_I2C
default n
help
This option enables the I2C driver for Nordic Semiconductor nRF5
family processors.
if I2C_NRF5
if I2C_0
config I2C_NRF5_0_GPIO_SDA_PIN
int "Port 0 SDA Pin Number"
range 0 31
depends on I2C_NRF5
help
The GPIO pin to use for SDA.
config I2C_NRF5_0_GPIO_SCL_PIN
int "Port 0 SCL Pin Number"
range 0 31
depends on I2C_NRF5
help
The GPIO pin to use for SCL.
endif # I2C_0
if I2C_1
config I2C_NRF5_1_GPIO_SDA_PIN
int "Port 1 SDA Pin Number"
range 0 31
depends on I2C_NRF5
help
The GPIO pin to use for SDA.
config I2C_NRF5_1_GPIO_SCL_PIN
int "Port 1 SCL Pin Number"
range 0 31
depends on I2C_NRF5
help
The GPIO pin to use for SCL.
endif # I2C_1
endif # I2C_NRF5