[PATCH RFC 1/2] dt-bindings: input: touchscreen: Add Maxim MAX11936
From: Patrick Fischer via B4 Relay
Date: Sun Nov 29 2026 - 13:55:15 EST
From: Patrick Fischer <admin@xxxxxxxxxxxxxxxxxx>
The MAX11936 is a capacitive touchscreen controller on SPI from Maxim's
SmartTouch family, found in the NVIDIA Tegra Note 7. It scans the panel,
delivers raw frames instead of touch coordinates and holds its interrupt
line low while a frame is ready.
There is no public datasheet. The part number comes from the version
string of the vendor's Android daemon ("Maxim 11936"). The panel geometry
(40 drive x 24 sense lines) and the tuning of the evaluation are fixed for
the one panel known with this controller, and nothing in them is a choice
of the board. The driver therefore keeps them as match data of the
compatible instead of DT properties.
Signed-off-by: Patrick Fischer <admin@xxxxxxxxxxxxxxxxxx>
---
Questions on the binding:
- Is "maxim,max11936" acceptable as compatible without a datasheet or a
product page?
- The supplies are named avdd and dvdd after their use on the board; I
have no pin names. Fine?
- If another panel with this controller shows up, would it get its own
compatible (e.g. a board compatible in front of "maxim,max11936")?
Tool use (see Documentation/process/generated-content.rst): Claude Code
wrote this binding; I reviewed it.
---
.../bindings/input/touchscreen/maxim,max11936.yaml | 73 ++++++++++++++++++++++
1 file changed, 73 insertions(+)
diff --git a/Documentation/devicetree/bindings/input/touchscreen/maxim,max11936.yaml b/Documentation/devicetree/bindings/input/touchscreen/maxim,max11936.yaml
new file mode 100644
index 000000000000..2cb7088950d8
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/maxim,max11936.yaml
@@ -0,0 +1,73 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/touchscreen/maxim,max11936.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Maxim MAX11936 touchscreen controller
+
+maintainers:
+ - Patrick Fischer <admin@xxxxxxxxxxxxxxxxxx>
+
+description:
+ Capacitive touchscreen controller on SPI from Maxim's SmartTouch family,
+ as used in the NVIDIA Tegra Note 7. The controller scans the panel and
+ delivers raw frames; it holds its interrupt line low while a frame is
+ ready.
+
+properties:
+ compatible:
+ const: maxim,max11936
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+ description:
+ Level triggered; the controller holds the line active until the frame
+ has been read.
+
+ reset-gpios:
+ maxItems: 1
+
+ avdd-supply:
+ description: Analog supply
+
+ dvdd-supply:
+ description: Digital supply
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - reset-gpios
+ - avdd-supply
+ - dvdd-supply
+
+allOf:
+ - $ref: touchscreen.yaml#
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ touchscreen@0 {
+ compatible = "maxim,max11936";
+ reg = <0>;
+ spi-max-frequency = <12000000>;
+ interrupt-parent = <&gpio>;
+ interrupts = <82 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpios = <&gpio 84 GPIO_ACTIVE_LOW>;
+ avdd-supply = <&avdd_ts>;
+ dvdd-supply = <&dvdd_lcd>;
+ };
+ };
--
2.56.1