All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: input: ti,ads7843: Allow SPI clock polarity
@ 2026-10-16 20:31 Fabio Estevam
  2026-10-16 20:37 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2026-10-16 20:31 UTC (permalink / raw)
  To: dmitry.torokhov
  Cc: robh, krzk+dt, conor+dt, linux-input, devicetree, linux-kernel,
	Fabio Estevam

imx27-eukrea-mbimxsd27-baseboard passes 'spi-cpol' in the ads7846
touchscreen node, which causes the following dt-schema warning:

  imx27-eukrea-mbimxsd27-baseboard.dtb: ads7846@0 (ti,ads7846):
    Unevaluated properties are not allowed (spi-cpol was unexpected)

Allow spi-cpol so the binding describes the existing configuration
without changing its SPI mode.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 .../devicetree/bindings/input/touchscreen/ti,ads7843.yaml       | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/ti,ads7843.yaml b/Documentation/devicetree/bindings/input/touchscreen/ti,ads7843.yaml
index 1b58fc263dce..24172d206d6d 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/ti,ads7843.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/ti,ads7843.yaml
@@ -32,6 +32,8 @@ properties:
     description:
       GPIO handle describing the pin the !PENIRQ line is connected to.
 
+  spi-cpol: true
+
   vcc-supply:
     description:
       A regulator node for the supply voltage.
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-16 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16 20:31 [PATCH] dt-bindings: input: ti,ads7843: Allow SPI clock polarity Fabio Estevam
2026-10-16 20:37 ` sashiko-bot

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.