From: Krzysztof Kozlowski <krzk@kernel.org>
To: AThomas63 <andrew.thomas@touchnetix.com>, dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
mark.satterthwaite@touchnetix.com, m.felsch@pengutronix.de,
kamel.bouhara@bootlin.com
Subject: Re: [PATCH v1] dt-bindings: input: Add TouchNetix aXiom touchscreen driver
Date: Fri, 23 Jan 2026 08:27:17 +0100 [thread overview]
Message-ID: <c6fabbcc-4a18-446c-b97e-944cfd23b87e@kernel.org> (raw)
In-Reply-To: <20260122144052.358956-1-andrew.thomas@touchnetix.com>
On 22/01/2026 15:40, AThomas63 wrote:
> Add extra changes referenced in the previous patch:
Not relevant.
> - Add device tree documentation for axiom giving examples for SPI and I2C.
> - Add tnx vendor prefix.
Please start using b4 or use known (described) workflows with git. Look
at the subject - why is this just one patch not 1/2? Patchsets are made
git format-patch -2 (-vX if needed).
And then:
Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC. It might happen, that command when run on an older
kernel, gives you outdated entries. Therefore please be sure you base
your patches on recent Linux kernel.
Tools like b4 or scripts/get_maintainer.pl provide you proper list of
people, so fix your workflow. Tools might also fail if you work on some
ancient tree (don't, instead use mainline) or work on fork of kernel
(don't, instead use mainline). Just use b4 and everything should be
fine, although remember about `b4 prep --auto-to-cc` if you added new
patches to the patchset.
You missed at least devicetree list (maybe more), so this won't be
tested by automated tooling. Performing review on untested code might be
a waste of time.
Please kindly resend and include all necessary To/Cc entries.
>
> ---
> .../bindings/input/touchscreen/tnx,axiom.yaml | 90 +++++++++++++++++++
> .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> 2 files changed, 92 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/input/touchscreen/tnx,axiom.yaml
>
> diff --git a/Documentation/devicetree/bindings/input/touchscreen/tnx,axiom.yaml b/Documentation/devicetree/bindings/input/touchscreen/tnx,axiom.yaml
> new file mode 100644
> index 000000000000..dc2ea62999b8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/touchscreen/tnx,axiom.yaml
> @@ -0,0 +1,90 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/input/touchscreen/tnx,axiom.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: TouchNetix aXiom Touchscreen Controller
> +
> +maintainers:
> + - Andrew Thomas <andrew.thomas@touchnetix.com>
> +
> +description: |
> + The TouchNetix aXiom series are high-performance touchscreen controllers
> + supporting various interface methods including I2C and SPI.
> +
> +properties:
> + compatible:
> + enum:
> + - tnx,axiom-i2c
> + - tnx,axiom-spi
No, these are the same. Use only one describing the device.
No device model? Really?
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + axiom,poll-enable:
There is no such company as axiom. You just said it is tnx.
> + type: boolean
> + description: Enable aXiom polling mode instead of interrupt-driven
> + reporting.
Anyway, drop entire property. Not a DT suitable, not hardware.
> +
> + axiom,poll-period:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + default: 10
> + description: Set the polling period in milliseconds.
Drop entire property.
> +
> + # Required for SPI
> + spi-max-frequency: true
Drop. Not needed.
> +
> + # Common touchscreen properties
> + touchscreen-size-x: true
> + touchscreen-size-y: true
> + touchscreen-inverted-x: true
> + touchscreen-inverted-y: true
> + touchscreen-swapped-x-y: true
Drop all.
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> +
> +allOf:
> + - $ref: touchscreen.yaml#
Missing ref to spi-periph.
Look at other bindings instead of inventing your own.
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + touchscreen@66 {
> + compatible = "touchnetix,axiom-i2c";
> + reg = <0x66>;
> + interrupt-parent = <&gpio>;
> + interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
> + axiom,poll-enable;
> + axiom,poll-period = <15>;
> + };
> + };
> +
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + spi {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + touchscreen@0 {
> + compatible = "touchnetix,axiom-spi";
> + reg = <0>;
> + spi-max-frequency = <4000000>;
> + interrupt-parent = <&gpio>;
> + interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
> + };
> + };
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index f1d1882009ba..dadfc7036ed7 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -1636,6 +1636,8 @@ patternProperties:
> description: Trusted Logic Mobility
> "^tmt,.*":
> description: Tecon Microprocessor Technologies, LLC.
> + "^tnx,.*":
Domain is touchnetix, so that's your prefix.
> + description: TouchNetix
> "^topeet,.*":
> description: Topeet
> "^topic,.*":
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-01-23 7:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-22 12:48 [PATCH 0/1] Input: Add TouchNetix aXiom touchscreen driver AThomas63
2026-01-22 12:48 ` [PATCH 1/1] Adding support for aXiom touchscreen controller AThomas63
2026-01-22 19:03 ` kernel test robot
2026-01-22 22:09 ` Marco Felsch
2026-01-26 16:27 ` Andrew Thomas
2026-01-23 9:29 ` Krzysztof Kozlowski
2026-01-22 14:40 ` [PATCH v1] dt-bindings: input: Add TouchNetix aXiom touchscreen driver AThomas63
2026-01-23 7:27 ` Krzysztof Kozlowski [this message]
2026-01-23 14:24 ` Marco Felsch
2026-01-26 16:28 ` Andrew Thomas
2026-01-23 7:27 ` Krzysztof Kozlowski
2026-01-22 21:41 ` [PATCH 0/1] Input: " Marco Felsch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c6fabbcc-4a18-446c-b97e-944cfd23b87e@kernel.org \
--to=krzk@kernel.org \
--cc=andrew.thomas@touchnetix.com \
--cc=dmitry.torokhov@gmail.com \
--cc=kamel.bouhara@bootlin.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.felsch@pengutronix.de \
--cc=mark.satterthwaite@touchnetix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox