Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: gpio: PCF857x: Modify PCF8574 driver
Modify existing PCF8574 driver as PCF857x to be used with both PCF8574 and PCF8575. PCF8574 - 8 channel I/O expander PCF8575 - 16 channel I/O expander Signed-off-by: Amrith Venkat Kesavamoorthi <amrith@mr-beam.org>
- Loading branch information
1 parent
634416b
commit 6018aa5
Showing
8 changed files
with
190 additions
and
116 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 was deleted.
Oops, something went wrong.
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,20 @@ | ||
# PCF857x GPIO configuration options | ||
|
||
# Copyright (c) 2022 Ithinx | ||
# Copyright (c) 2023 Mr Beam Lasers GmbH | ||
# Copyright (c) 2023 Amrith Venkat Kesavamoorthi <amrith@mr-beam.org> | ||
|
||
menuconfig GPIO_PCF857X | ||
bool "PCF857X I2C GPIO chip" | ||
default y | ||
depends on DT_HAS_NXP_PCF857X_ENABLED | ||
select I2C | ||
help | ||
Enable driver for PCF857X I2C GPIO chip. | ||
|
||
config GPIO_PCF857X_INIT_PRIORITY | ||
int "Init priority" | ||
default 70 | ||
depends on GPIO_PCF857X | ||
help | ||
Device driver initialization priority. |
Oops, something went wrong.