-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: gpio: add driver for PCA6416 IO expander
The PCA6416A is a 16-bit general purpose I/O expander that provides remote I/O expansion for most microcontroller families via the I2C-bus interface. Signed-off-by: Jiafei Pan <[email protected]>
- Loading branch information
Showing
5 changed files
with
554 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# PCA6416 GPIO configuration options | ||
|
||
# Copyright 2024 NXP | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
menuconfig GPIO_PCA6416 | ||
bool "PCA6416 I2C GPIO chip" | ||
default y | ||
depends on DT_HAS_NXP_PCA6416_ENABLED | ||
select I2C | ||
help | ||
Enable driver for PCA6416 I2C GPIO chip. | ||
|
||
if GPIO_PCA6416 | ||
|
||
config GPIO_PCA6416_INIT_PRIORITY | ||
int "Init priority" | ||
default 70 | ||
help | ||
PCA6416 Device driver initialization priority. | ||
|
||
endif # GPIO_PCA6416 |
Oops, something went wrong.