summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/switchcap/switchcap-ln9310.yaml
blob: afd89aacc6631bdd529129c2002b815fb128f5e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
description: SwitchCap controlled by LN9310

compatible: "switchcap-ln9310"

properties:
  enable-l-pin:
    type: phandle
    required: true
    description: |
      GPIO used to enable the switch cap - active low

  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