summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/switchcap/lion,ln9310.yaml
blob: c1c4a99bee0026f19be58b8163771f408571ec17 (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
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