Tab5 power expander driver and devicetree parsing improvements (#507)

* **New Features**
  * PI4IOE5V6408 I2C I/O expander driver with public GPIO APIs
  * CLI tool to list devicetree dependencies

* **Device Tree Updates**
  * M5Stack Tab5 configured with two I2C IO expanders; PI4IOE5V6408 binding added

* **Build / Tooling**
  * Devicetree code generation integrated into build; generated artifacts and dynamic dependency resolution exposed

* **Refactor**
  * Kernel/run APIs updated to accept a null‑terminated devicetree modules array; many module symbols renamed

* **Documentation**
  * Added README and Apache‑2.0 license for new driver module
This commit is contained in:
Ken Van Hoeylandt
2026-02-17 22:59:30 +01:00
committed by GitHub
parent f0f764baff
commit d2048e01b6
82 changed files with 749 additions and 253 deletions
@@ -245,7 +245,7 @@ static constexpr I2cControllerApi ESP32_I2C_API = {
.write_register = write_register
};
extern Module platform_module;
extern Module platform_esp32_module;
Driver esp32_i2c_driver = {
.name = "esp32_i2c",
@@ -254,7 +254,7 @@ Driver esp32_i2c_driver = {
.stop_device = stop,
.api = &ESP32_I2C_API,
.device_type = &I2C_CONTROLLER_TYPE,
.owner = &platform_module,
.owner = &platform_esp32_module,
.internal = nullptr
};