mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-20 07:25:06 +00:00
* **DevicetreeCompiler** * Binding properties now support default values. * Compiler returns meaningful exit codes and reports errors more clearly. * Stronger validation of device configurations with unified error handling. * Added integration tests and a dedicated Devicetree test workflow. * **Changes** * Platform binding schemas updated: some fields made required, others gained explicit defaults. * Many device-tree files simplified by removing unused/placeholder pin and transfer-size entries. * **Documentation** * Removed several outdated TODO items.
30 lines
697 B
YAML
30 lines
697 B
YAML
description: ESP32 I2C Controller
|
|
|
|
include: ["i2c-controller.yaml"]
|
|
|
|
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
|
|
pin-scl-pull-up:
|
|
type: bool
|
|
description: enable internal pull-up resistor for SCL pin
|