zephyr/dts/bindings/gpio/semtech,sx1509b-gpio.yaml
Viraaj Somayajula e850ced155 gpio: gpio_sx1509b: add support for interrupt functionality
enable the interrupt functionality for sx1509b gpio expander,
when the CONFIG_GPIO_SX1509B_INTERRUPT config is enabled.
The gpio pin used for interrupt should be configured in the
device tree sx1509b node before enabling the interrupt
configuration.

Signed-off-by: Viraaj Somayajula <sviraaj@zedblox.com>
Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-04-20 18:51:59 +02:00

47 lines
919 B
YAML

# Copyright (c) 2018, Aapo Vienamo
# SPDX-License-Identifier: Apache-2.0
description: SX1509B GPIO node
compatible: "semtech,sx1509b"
include: [i2c-device.yaml, gpio-controller.yaml]
properties:
label:
required: true
"#gpio-cells":
const: 2
ngpios:
required: true
const: 16
nint-gpios:
type: phandle-array
required: false
description: |
Connection for the NINT signal. This signal is active-low when
produced by sx1509b GPIO node.
init-out-low:
type: int
required: false
default: 0
description: |
Bit mask identifying pins that should be initialized as outputs
driven low.
init-out-high:
type: int
required: false
default: 0
description: |
Bit mask identifying pins that should be initialized as outputs
driven high.
gpio-cells:
- pin
- flags