50c0a14a93
- Added kernel base drivers for: display, pointer (touch, mouse, etc.), keyboard, adc, power supply and backlight - Implement new kernel driver modules: `st7789-module` and `gt911-module` - Implement ESP32 ADC "oneshot" kernel driver - Implement ESP32 backlight kernel driver with ledc API - Implemented `battery-sense` driver that allows for voltage measurement and creates a power supply child device - Updated github actions - Updated flash scripts - Fix for esp32 legacy driver conflict with ADC - Created separate `lilygo-tdeck` and `lilygo-tdeck-plus` devices - Created `lilygo-module` with LilyGO kernel drivers - Fix for intermittent errors in build related to code generation of `devicetree.c` - `lvgl-module` can now map kernel drivers onto LVGL devices - Created `KernelDisplayApp` as a mirror of `HalDisplayApp` (formerly `DisplayApp`) - Removed `struct` and `enum` prefix in a lot of kernel driver cpp source files - `lilygo-tdeck` and `lilygo-tdeck-plus` are now fully relying on kernel drivers and don't use any of the old HAL
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
description: Goodix GT911 capacitive touch controller
|
|
|
|
include: ["i2c-device.yaml"]
|
|
|
|
compatible: "goodix,gt911"
|
|
|
|
bus: i2c
|
|
|
|
properties:
|
|
x-max:
|
|
type: int
|
|
required: true
|
|
description: Maximum X coordinate reported by the controller (typically the panel's horizontal resolution)
|
|
y-max:
|
|
type: int
|
|
required: true
|
|
description: Maximum Y coordinate reported by the controller (typically the panel's vertical resolution)
|
|
swap-xy:
|
|
type: boolean
|
|
default: false
|
|
description: Swap the X and Y axes
|
|
mirror-x:
|
|
type: boolean
|
|
default: false
|
|
description: Mirror the X axis
|
|
mirror-y:
|
|
type: boolean
|
|
default: false
|
|
description: Mirror the Y axis
|
|
pin-reset:
|
|
type: phandles
|
|
default: GPIO_PIN_SPEC_NONE
|
|
description: Reset GPIO pin
|
|
pin-interrupt:
|
|
type: phandles
|
|
default: GPIO_PIN_SPEC_NONE
|
|
description: Interrupt GPIO pin
|
|
reset-active-high:
|
|
type: boolean
|
|
default: false
|
|
description: Whether the reset pin is active high
|
|
interrupt-active-high:
|
|
type: boolean
|
|
default: false
|
|
description: Whether the interrupt pin is active high
|