All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerard Marull-Paretas <gerard@teslabs.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Oleh Kuzhylnyi <kuzhylol@gmail.com>
Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH 2/2] dt-bindings: input: touchscreen: hynitron,cst816x: Add supply
Date: Sun, 22 Nov 2026 10:34:05 +0100	[thread overview]
Message-ID: <20261122093405.70406-3-gerard@teslabs.com> (raw)
In-Reply-To: <20261122093405.70406-1-gerard@teslabs.com>

The controllers run from a single 2.8 V to 3.6 V supply. Boards may
switch it, for example along with the display panel the touchscreen is
laminated to, so document it.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
---

Notes:
    Checked with dtschema 2026.9: the steps of dt_binding_check run by hand (host make too old), yamllint and dt-check-style --mode=strict.

 .../bindings/input/touchscreen/hynitron,cst816x.yaml          | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml b/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml
index df52431b1d49..ae8424693534 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml
@@ -30,6 +30,9 @@ properties:
   reset-gpios:
     maxItems: 1
 
+  vdd-supply:
+    description: Power supply of the controller.
+
   linux,keycodes:
     minItems: 1
     items:
@@ -60,6 +63,7 @@ examples:
             interrupt-parent = <&gpio0>;
             interrupts = <4 IRQ_TYPE_EDGE_RISING>;
             reset-gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
+            vdd-supply = <&vdd_ts>;
             touchscreen-size-x = <240>;
             touchscreen-size-y = <240>;
             linux,keycodes = <KEY_UP>, <KEY_DOWN>, <KEY_LEFT>, <KEY_RIGHT>,
-- 
2.45.2


  parent reply	other threads:[~2026-11-22  9:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22  9:34 [PATCH 0/2] dt-bindings: input: touchscreen: hynitron,cst816x: Common properties and supply Gerard Marull-Paretas
2026-11-22  9:34 ` [PATCH 1/2] dt-bindings: input: touchscreen: hynitron,cst816x: Reference touchscreen.yaml Gerard Marull-Paretas
2026-11-22 18:04   ` Oleh Kuzhylnyi
2026-11-25 13:35   ` Krzysztof Kozlowski
2026-11-22  9:34 ` Gerard Marull-Paretas [this message]
2026-11-22 18:04   ` [PATCH 2/2] dt-bindings: input: touchscreen: hynitron,cst816x: Add supply Oleh Kuzhylnyi
2026-11-25 13:36   ` Krzysztof Kozlowski
2026-11-26  8:02 ` [PATCH 0/2] dt-bindings: input: touchscreen: hynitron,cst816x: Common properties and supply Dmitry Torokhov

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=20261122093405.70406-3-gerard@teslabs.com \
    --to=gerard@teslabs.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuzhylol@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=robh@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.