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:
committed by
GitHub
parent
50c0a14a93
commit
fa4a6e255c
@@ -0,0 +1,12 @@
|
||||
description: >
|
||||
M5Stack Cardputer Adv keyboard, a TCA8418 I2C keypad-scan IC wired as a 7x8 matrix behind
|
||||
a 4x14 key grid identical to the base Cardputer's. Exposes a KEYBOARD_TYPE device.
|
||||
Sym (fn) and shift are consumed internally and never emitted as their own key events;
|
||||
sym+shift together toggles caps lock. Regular keys emit their lowercase/uppercase/sym-layer
|
||||
ASCII character or LVGL navigation key depending on which layer is active.
|
||||
|
||||
include: ["i2c-device.yaml"]
|
||||
|
||||
compatible: "m5stack,cardputer-adv-keyboard"
|
||||
|
||||
bus: i2c
|
||||
@@ -0,0 +1,21 @@
|
||||
description: >
|
||||
M5Stack Cardputer internal GPIO matrix keyboard: 4 rows x 14 columns, scanned via 3
|
||||
binary-encoded column-select output pins and 7 row input pins. Exposes a KEYBOARD_TYPE
|
||||
device. Modifier keys (fn/shift/ctrl/opt/alt/tab) are consumed internally and never emitted
|
||||
as their own key events. Regular keys emit their ASCII character (shifted variant when
|
||||
shift or ctrl is held). With fn held: del -> forward delete, enter -> enter, ` -> escape,
|
||||
, -> left, / -> right, ; -> previous (group navigation), . -> next (group navigation).
|
||||
|
||||
compatible: "m5stack,cardputer-keyboard"
|
||||
|
||||
properties:
|
||||
pins-output:
|
||||
type: phandle-array
|
||||
element-type: "struct GpioPinSpec"
|
||||
required: true
|
||||
description: 3 GPIO pins driving the binary-encoded column-select lines, in scan-bit order
|
||||
pins-input:
|
||||
type: phandle-array
|
||||
element-type: "struct GpioPinSpec"
|
||||
required: true
|
||||
description: 7 GPIO pins reading the row lines, in scan-bit order
|
||||
Reference in New Issue
Block a user