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
+1 -6
View File
@@ -3,11 +3,6 @@
#include <tactility/driver.h>
#include <devicetree.h>
// From the relevant platform
extern struct Module platform_module;
// From the relevant device
extern struct Module device_module;
#ifdef ESP_PLATFORM
#include <tt_init.h>
#else
@@ -32,7 +27,7 @@ void app_main() {
tt_init_tactility_c(); // ELF bindings for side-loading on ESP32
#endif
tt::run(config, &platform_module, &device_module, dts_devices);
tt::run(config, dts_modules, dts_devices);
}
} // extern