Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drivers for NXP SC16IS75x I2C/SPI to UART/GPIO bridges #248

Merged
merged 11 commits into from
Jul 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/bridle/releases/release-notes-3.7.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ These GitHub issues were addressed since project bootstrapping:
* :github:`254` - [FCR] Bump to Zephyr v3.7
* :github:`252` - [FCR] Upgrade to Zephyr SDK 0.16.8
* :github:`247` - [HW] NXP SC18IS604 SPI to I2C bridge
* :github:`246` - [HW] NXP SC16IS75x series I2C/SPI to UART/GPIO bridge
* :github:`244` - [HW] Spotpear Raspberry Pi Pico LCD Modules as Shields
* :github:`242` - [HW] 52Pi (GeeekPi) Pico Breadboard Kit -/Plus (EP-0164/0172)
* :github:`239` - [HW] PiMoroni Raspberry Pi Pico LCD Modules as Shields
Expand Down
1 change: 1 addition & 0 deletions drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ add_subdirectory_ifdef(CONFIG_I2C i2c)
add_subdirectory_ifdef(CONFIG_MFD mfd)
add_subdirectory_ifdef(CONFIG_RTC rtc)
add_subdirectory_ifdef(CONFIG_SENSOR sensor)
add_subdirectory_ifdef(CONFIG_SERIAL serial)
1 change: 1 addition & 0 deletions drivers/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ rsource "i2c/Kconfig"
rsource "mfd/Kconfig"
rsource "rtc/Kconfig"
rsource "sensor/Kconfig"
rsource "serial/Kconfig"

endmenu
1 change: 1 addition & 0 deletions drivers/gpio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ zephyr_library_amend()

zephyr_library_sources_ifdef(CONFIG_GPIO_PCA9554 gpio_pca9554.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_PCA9555 gpio_pca9555.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_SC16IS75X gpio_sc16is75x.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_SC18IS604 gpio_sc18is604.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_SIPOMUX gpio_sipomux.c)
1 change: 1 addition & 0 deletions drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if GPIO

rsource "Kconfig.pca9554"
rsource "Kconfig.pca9555"
rsource "Kconfig.sc16is75x"
rsource "Kconfig.sc18is604"
rsource "Kconfig.sipomux"

Expand Down
27 changes: 27 additions & 0 deletions drivers/gpio/Kconfig.sc16is75x
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright (c) 2024 TiaC Systems
# SPDX-License-Identifier: Apache-2.0

menuconfig GPIO_SC16IS75X
bool "NXP SC16IS75x GPIO driver"
default y
depends on DT_HAS_NXP_SC16IS75X_GPIO_ENABLED
depends on MFD_SC16IS75X
help
Enable driver for GPIO controller part of an SC16IS75x bridge.

if GPIO_SC16IS75X

config GPIO_SC16IS75X_INIT_PRIORITY
int "Init priority"
default 85
help
Device driver initialization priority.

config GPIO_SC16IS75X_INTERRUPTS
bool "Interrupt support"
default y
depends on MFD_SC16IS75X_INTERRUPTS
help
Enable interrupt support on SC16IS75x GPIO controllers.

endif # GPIO_SC16IS75X
Loading
Loading