The Elan eKTP1059 Touchpad is seen in the Epson Moverio BT-200
attached via SPI. Add a binding for this chip. Little is known.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
.../devicetree/bindings/input/elan,ektp1059.yaml | 45 ++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/Documentation/devicetree/bindings/input/elan,ektp1059.yaml b/Documentation/devicetree/bindings/input/elan,ektp1059.yaml
new file mode 100644
index 000000000000..a10256a271e0
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/elan,ektp1059.yaml
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/elan,ektp1059.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Elantech SPI Touchpad
+
+maintainers:
+ - Andreas Kemnade <andreas@kemnade.info>
+
+allOf:
+ - $ref: touchscreen/touchscreen.yaml#
+
+properties:
+ compatible:
+ const: elan,ektp1059
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ touchpad@0 {
+ compatible = "elan,ektp1059";
+ reg = <0x0>;
+ interrupt-parent = <&gpio4>;
+ interrupts = <0x0 IRQ_TYPE_LEVEL_LOW>;
+ };
+ };
--
2.39.5
On Mon, Aug 25, 2025 at 12:07:28AM +0200, Andreas Kemnade wrote:
> The Elan eKTP1059 Touchpad is seen in the Epson Moverio BT-200
> attached via SPI. Add a binding for this chip. Little is known.
>
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> ---
> .../devicetree/bindings/input/elan,ektp1059.yaml | 45 ++++++++++++++++++++++
> 1 file changed, 45 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/input/elan,ektp1059.yaml b/Documentation/devicetree/bindings/input/elan,ektp1059.yaml
> new file mode 100644
> index 000000000000..a10256a271e0
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/elan,ektp1059.yaml
> @@ -0,0 +1,45 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/input/elan,ektp1059.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Elantech SPI Touchpad
> +
> +maintainers:
> + - Andreas Kemnade <andreas@kemnade.info>
> +
> +allOf:
> + - $ref: touchscreen/touchscreen.yaml#
> +
> +properties:
> + compatible:
> + const: elan,ektp1059
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> +
> +additionalProperties: false
Shouldn't this be unevalutedProperties: false, since you want to make
use of what's in touchscreen.yaml?
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> + spi {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + touchpad@0 {
> + compatible = "elan,ektp1059";
> + reg = <0x0>;
> + interrupt-parent = <&gpio4>;
> + interrupts = <0x0 IRQ_TYPE_LEVEL_LOW>;
> + };
> + };
>
> --
> 2.39.5
>
On Mon, 25 Aug 2025 17:40:56 +0100 Conor Dooley <conor@kernel.org> wrote: > On Mon, Aug 25, 2025 at 12:07:28AM +0200, Andreas Kemnade wrote: > > The Elan eKTP1059 Touchpad is seen in the Epson Moverio BT-200 > > attached via SPI. Add a binding for this chip. Little is known. > > > > Signed-off-by: Andreas Kemnade <andreas@kemnade.info> > > --- > > .../devicetree/bindings/input/elan,ektp1059.yaml | 45 ++++++++++++++++++++++ > > 1 file changed, 45 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/input/elan,ektp1059.yaml b/Documentation/devicetree/bindings/input/elan,ektp1059.yaml > > new file mode 100644 > > index 000000000000..a10256a271e0 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/input/elan,ektp1059.yaml > > @@ -0,0 +1,45 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/input/elan,ektp1059.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Elantech SPI Touchpad > > + > > +maintainers: > > + - Andreas Kemnade <andreas@kemnade.info> > > + > > +allOf: > > + - $ref: touchscreen/touchscreen.yaml# > > + > > +properties: > > + compatible: > > + const: elan,ektp1059 > > + > > + reg: > > + maxItems: 1 > > + > > + interrupts: > > + maxItems: 1 > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > + > > +additionalProperties: false > > Shouldn't this be unevalutedProperties: false, since you want to make > use of what's in touchscreen.yaml? > did not do too much thought about this yet. But am I allowed to use this in a touchpad? BTW: who defines whether the chip is a touchpad? T*P* in its part number might be a hint, the device where I am using it, uses it as a touchpad. But who says it cannot be glued onto some screen? Regards, Andreas
On Tue, Oct 28, 2025 at 08:41:49PM +0100, Andreas Kemnade wrote: > On Mon, 25 Aug 2025 17:40:56 +0100 > Conor Dooley <conor@kernel.org> wrote: > > > On Mon, Aug 25, 2025 at 12:07:28AM +0200, Andreas Kemnade wrote: > > > The Elan eKTP1059 Touchpad is seen in the Epson Moverio BT-200 > > > attached via SPI. Add a binding for this chip. Little is known. > > > > > > Signed-off-by: Andreas Kemnade <andreas@kemnade.info> > > > --- > > > .../devicetree/bindings/input/elan,ektp1059.yaml | 45 ++++++++++++++++++++++ > > > 1 file changed, 45 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/input/elan,ektp1059.yaml b/Documentation/devicetree/bindings/input/elan,ektp1059.yaml > > > new file mode 100644 > > > index 000000000000..a10256a271e0 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/input/elan,ektp1059.yaml > > > @@ -0,0 +1,45 @@ > > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > > +%YAML 1.2 > > > +--- > > > +$id: http://devicetree.org/schemas/input/elan,ektp1059.yaml# > > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > > + > > > +title: Elantech SPI Touchpad > > > + > > > +maintainers: > > > + - Andreas Kemnade <andreas@kemnade.info> > > > + > > > +allOf: > > > + - $ref: touchscreen/touchscreen.yaml# > > > + > > > +properties: > > > + compatible: > > > + const: elan,ektp1059 > > > + > > > + reg: > > > + maxItems: 1 > > > + > > > + interrupts: > > > + maxItems: 1 > > > + > > > +required: > > > + - compatible > > > + - reg > > > + - interrupts > > > + > > > +additionalProperties: false btw, there's two spaces at EOL here. Is that in the patch itself, or just a mail artefact? > > > > Shouldn't this be unevalutedProperties: false, since you want to make > > use of what's in touchscreen.yaml? > > > did not do too much thought about this yet. But am I allowed to use this > in a touchpad? BTW: who defines whether the chip is a touchpad? T*P* in > its part number might be a hint, the device where I am using it, uses it > as a touchpad. But who says it cannot be glued onto some screen? I've got no idea what you're talking about here, I don't know anything about the mechanics of touchpad chips. All I am commenting on is that you're including touchscreen.yaml but do not permit any properties defined in that binding to be used for this device.
© 2016 - 2026 Red Hat, Inc.