New kernel drivers and device implementation updates (#561)

- Added modular device support and devicetree bindings for ILI9341, ILI9488, CST816S, XPT2046, and GPIO button input, updating several board configurations for display/touch/backlight/keyboard/battery.
- Added a setting to control deprecated HAL usage (device property + Kconfig).
This commit is contained in:
Ken Van Hoeylandt
2026-07-12 23:54:55 +02:00
committed by GitHub
parent 50c0a14a93
commit fa4a6e255c
148 changed files with 5837 additions and 2145 deletions
@@ -0,0 +1,25 @@
// SPDX-License-Identifier: Apache-2.0
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <stdbool.h>
#include <tactility/drivers/gpio.h>
struct ButtonControlConfig {
struct GpioPinSpec pin_primary;
// GPIO_PIN_SPEC_NONE selects one-button mode; see the binding description for the
// resulting short/long press key mapping in each mode.
struct GpioPinSpec pin_secondary;
bool active_low;
uint32_t debounce_ms;
uint32_t long_press_ms;
};
#ifdef __cplusplus
}
#endif