diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-05-27 00:48:03 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-05-27 00:53:31 -0400 |
commit | 9a09eb14af7be29078d668ea492f2b2c78022d19 (patch) | |
tree | 6986cc682fd698f285d4b8b07999233493c247e3 /dts | |
parent | abd106032db9590b34e6fa0456b4c8810d4f474f (diff) |
Initial composite kscan driver.
* For now, to be used for FrankenKyria, where both
matrix halves will be attached to the same MCU, but
should be a stepping stone to proper split support
once we have a kscan driver over a split transport.
* Implement multiple instances for mock kscan driver.
Diffstat (limited to 'dts')
-rw-r--r-- | dts/bindings/zmk,kscan-composite.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dts/bindings/zmk,kscan-composite.yaml b/dts/bindings/zmk,kscan-composite.yaml new file mode 100644 index 0000000..6126c30 --- /dev/null +++ b/dts/bindings/zmk,kscan-composite.yaml @@ -0,0 +1,27 @@ +description: | + Allows composing multiple KSCAN devices into one virtual device + +compatible: "zmk,kscan-composite" + +properties: + label: + type: string + rows: + type: int + columns: + type: int + +child-binding: + description: "Details of an included KSCAN devices" + + properties: + label: + type: string + kscan: + type: phandle + row-offset: + type: int + default: 0 + column-offset: + type: int + default: 0 |