2021-11-08 11:02:01 +08:00
|
|
|
# Copyright (c) 2021 Nuvoton Technology Corporation.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
description: |
|
2023-07-20 02:02:34 +08:00
|
|
|
Nuvoton NCT38XX series I2C-based GPIO expander alert handler.
|
2021-11-08 11:02:01 +08:00
|
|
|
|
|
|
|
Example:
|
|
|
|
nct3807_alert_1 {
|
|
|
|
compatible = "nuvoton,nct38xx-gpio-alert";
|
|
|
|
irq-gpios = <&gpiod 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
|
|
nct38xx-dev = <&nct3808_0_P1 &nct3808_0_P2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
compatible: "nuvoton,nct38xx-gpio-alert"
|
|
|
|
|
|
|
|
include: [base.yaml]
|
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
irq-gpios:
|
|
|
|
type: phandle-array
|
|
|
|
required: true
|
|
|
|
description: Interrupt GPIO pin
|
2021-11-08 11:02:01 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
nct38xx-dev:
|
|
|
|
type: phandles
|
|
|
|
required: true
|
|
|
|
description: |
|
2023-07-20 02:02:34 +08:00
|
|
|
List of NCT38XX multi-function devices managed by this alert handler.
|