summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/gpio/cros,ioex-chip.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/dts/bindings/gpio/cros,ioex-chip.yaml')
-rw-r--r--zephyr/dts/bindings/gpio/cros,ioex-chip.yaml50
1 files changed, 50 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/gpio/cros,ioex-chip.yaml b/zephyr/dts/bindings/gpio/cros,ioex-chip.yaml
new file mode 100644
index 0000000000..8ab297b035
--- /dev/null
+++ b/zephyr/dts/bindings/gpio/cros,ioex-chip.yaml
@@ -0,0 +1,50 @@
+description: IEOX chip definition
+
+compatible: "cros,ioex-chip"
+
+include: [base.yaml]
+
+properties:
+ i2c-port:
+ type: phandle
+ description:
+ Handle to the i2c named-port containing the IO expander chip
+
+ i2c-addr:
+ type: int
+ required: true
+ description:
+ I2C address of chip
+
+ flags:
+ type: int
+ required: true
+ description:
+ Value which represents IOEX_FLAGS_* or other internal flags
+ for IO expander chip.
+
+ drv:
+ type: string
+ required: true
+ description:
+ CrOS EC driver used to communicate with chip
+ enum:
+ - "ccgxxf_ioexpander_drv"
+ - "it8801_ioexpander_drv"
+ - "nct38xx_ioexpander_drv"
+ - "pca9675_ioexpander_drv"
+ - "pcal6408_ioexpander_drv"
+ - "tca64xxa_ioexpander_drv"
+
+ int-gpios:
+ type: phandle-array
+ required: false
+ description:
+ GPIO connected to the interrupt output signal of IO expander chip
+
+ "#address-cells":
+ required: true
+ const: 1
+ "#size-cells":
+ required: true
+ const: 0 \ No newline at end of file