From 9a09eb14af7be29078d668ea492f2b2c78022d19 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Wed, 27 May 2020 00:48:03 -0400 Subject: 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. --- dts/bindings/zmk,kscan-composite.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 dts/bindings/zmk,kscan-composite.yaml (limited to 'dts') 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 -- cgit v1.2.3