zephyr/dts/bindings/i2c/gpio-i2c-switch.yaml
Ayush Singh 2b98b67109 dt-bindings: i2c: Add gpio-i2c-switch
Generic GPIO enabled analog switch to isolate devices from an I2C bus

Signed-off-by: Vaishnav Achath <vaishnav@beagleboard.org>
Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
2023-11-09 15:33:54 +01:00

25 lines
521 B
YAML

# Copyright (c) 2023, Ayush Singh <ayushdevel1325@gmail.com>
# Copyright (c) 2021, Jason Kridner, BeagleBoard.org Foundation
# SPDX-License-Identifier: Apache-2.0
description: |
GPIO enabled analog switch to isolate devices from an I2C bus
compatible: "gpio-i2c-switch"
include: i2c-controller.yaml
properties:
"#address-cells":
required: true
const: 1
"#size-cells":
required: true
const: 0
controller:
type: phandle
required: true
gpios:
type: phandle-array
required: true