-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 MAX14916 industrial output
Industrial 8 channel output with advanced diagnostics. Allowing giagnostic configuration both on per channel or global bases In SPI communication diagnostic status transmitted on every READ/WRITE which includes generic status of chip. Diagnostics includes : * Oveload * Open Wire * Over current * Short to VDD * Thermal Shutdown * VDD Warn * Watch Dog Error * Communication Error * VDD under voltage Add app.overlay for MAX14916 driver. Tested with adopted basic/blinky example. Signed-off-by: Stoyan Bogdanov <[email protected]>
- Loading branch information
Showing
6 changed files
with
641 additions
and
1 deletion.
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,20 @@ | ||
# Copyright (c) 2024 Analog Devices Inc. | ||
# Copyright (c) 2024 BayLibre SAS | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# MAX14916 GPIO configuration options | ||
|
||
menuconfig GPIO_MAX14916 | ||
bool "MAX14916 GPIO driver" | ||
default y | ||
depends on DT_HAS_ADI_MAX14916_GPIO_ENABLED && SPI | ||
help | ||
Enabe MAX1416 octal industrial digital | ||
output with diagnostics | ||
|
||
config GPIO_MAX14916_INIT_PRIORITY | ||
int "Driver init priority" | ||
default 99 | ||
depends on GPIO_MAX14916 | ||
help | ||
Device driver initialization priority. |
Oops, something went wrong.