fa4a6e255c
- 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).
28 lines
659 B
YAML
28 lines
659 B
YAML
description: XPT2046 resistive touch controller
|
|
|
|
bus: spi
|
|
|
|
compatible: "xptek,xpt2046"
|
|
|
|
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
|