summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/usbc/tcpc/nuvoton,nct38xx.yaml
blob: cfbe5a748f260a2628c5e79ac372cfb304706f21 (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
29
30
31
32
33
34
35
36
37
# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

description: Nuvoton NCT38XX USB TCPC binding

compatible: "nuvoton,nct38xx"

include: i2c-device.yaml

properties:
  gpio-dev:
    type: phandle
    description: |
      Pointer to the NCT38XX GPIO device. This is used to binding the Cros TCPC
      port index to Zephyr NCT38XX GPIO device.

  tcpc-flags:
    type: int
    default: 0
    description: |
      TCPC configuration flags

  irq-gpios:
    type: phandle-array
    required: false
    description: |
      Interrupt from TCPC using shim driver

  int-pin:
    type: phandles
    required: false
    deprecated: true
    description: |
      Interrupt from TCPC using gpio-int. This property should only be used when
      CONFIG_PLATFORM_EC_TCPC_INTERRUPT=n and should be removed when the chip
      uses the common TCPC driver.