Update binding yaml spec

This commit is contained in:
Ken Van Hoeylandt 2026-02-08 22:43:19 +01:00
parent 20f358ebe5
commit 2e7e5d36c0
4 changed files with 12 additions and 3 deletions

View File

@ -7,16 +7,20 @@ compatible: "espressif,esp32-i2c"
properties:
port:
type: int
required: true
description: |
The port number, defined by i2c_port_t.
Depending on the hardware, these values are available: I2C_NUM_0, I2C_NUM_1, LP_I2C_NUM_0
clock-frequency:
type: int
required: true
description: Initial clock frequency in Hz
pin-sda:
type: int
required: true
pin-scl:
type: int
required: true
pin-sda-pull-up:
type: bool
description: enable internal pull-up resistor for SDA pin

View File

@ -21,13 +21,13 @@ properties:
description: WS pin
pin-data-out:
type: int
required: true
description: DATA OUT pin
pin-data-in:
type: int
required: true
required: false
description: DATA IN pin
pin-mclk:
type: int
required: true
required: false
default: GPIO_PIN_NONE
description: MCLK pin

View File

@ -25,12 +25,15 @@ properties:
description: Clock pin
pin-wp:
type: int
default: GPIO_PIN_NONE
description: WP (Data 2) pin
pin-hd:
type: int
default: GPIO_PIN_NONE
description: HD (Data 3) pin
max-transfer-size:
type: int
default: 0
description: |
Data transfer size limit in bytes.
0 means the platform decides the limit.

View File

@ -21,7 +21,9 @@ properties:
description: RX pin
pin-cts:
type: int
default: GPIO_PIN_NONE
description: CTS pin
pin-rts:
type: int
default: GPIO_PIN_NONE
description: RTS pin