diff options
Diffstat (limited to 'zephyr/dts/bindings/switchcap/lion,ln9310.yaml')
-rw-r--r-- | zephyr/dts/bindings/switchcap/lion,ln9310.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/switchcap/lion,ln9310.yaml b/zephyr/dts/bindings/switchcap/lion,ln9310.yaml new file mode 100644 index 0000000000..c1c4a99bee --- /dev/null +++ b/zephyr/dts/bindings/switchcap/lion,ln9310.yaml @@ -0,0 +1,28 @@ +description: SwitchCap controlled by Lion Semiconductor LN9310 + +compatible: "lion,ln9310" + +properties: + enable-pin: + type: phandle + required: true + description: | + GPIO used to enable the switch cap. Relies on + GPIO flags to determine active low or high. + + port: + type: phandle + required: true + description: | + I2C port used to communicate with controller + + addr-flags: + type: string + default: "LN9310_I2C_ADDR_0_FLAGS" + enum: + - "LN9310_I2C_ADDR_0_FLAGS" + - "LN9310_I2C_ADDR_1_FLAGS" + - "LN9310_I2C_ADDR_2_FLAGS" + - "LN9310_I2C_ADDR_3_FLAGS" + description: | + I2C address of controller |