From: Iker Pedrosa <ikerpedrosam@gmail.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>,
Simona Vetter <simona@ffwll.ch>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Javier Martinez Canillas <javierm@redhat.com>,
Iker Pedrosa <ikerpedrosam@gmail.com>
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH v6 1/3] dt-bindings: display: sitronix,st7920: Add DT schema
Date: Fri, 12 Dec 2025 09:56:08 +0100 [thread overview]
Message-ID: <20251212-st7920-v6-1-4d3067528072@gmail.com> (raw)
In-Reply-To: <20251212-st7920-v6-0-4d3067528072@gmail.com>
Add binding for Sitronix ST7920 display.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Iker Pedrosa <ikerpedrosam@gmail.com>
---
.../bindings/display/sitronix,st7920.yaml | 58 ++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/sitronix,st7920.yaml b/Documentation/devicetree/bindings/display/sitronix,st7920.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..c4f006fc41e1f472939725bd82b86a649f9b3f56
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/sitronix,st7920.yaml
@@ -0,0 +1,58 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/sitronix,st7920.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sitronix ST7920 LCD Display Controllers
+
+maintainers:
+ - Iker Pedrosa <ikerpedrosam@gmail.com>
+
+description:
+ The Sitronix ST7920 is a controller for monochrome dot-matrix graphical LCDs,
+ most commonly used for 128x64 pixel displays.
+
+properties:
+ compatible:
+ const: sitronix,st7920
+
+ reg:
+ maxItems: 1
+
+ vdd-supply:
+ description: Regulator that provides 5V Vdd power supply
+
+ reset-gpios:
+ maxItems: 1
+
+ spi-max-frequency:
+ maximum: 600000
+
+required:
+ - compatible
+ - reg
+ - spi-max-frequency
+
+allOf:
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ display@0 {
+ compatible = "sitronix,st7920";
+ reg = <0>;
+ vdd-supply = <®_5v>;
+ reset-gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
+ spi-max-frequency = <600000>;
+ spi-cs-high;
+ };
+ };
--
2.52.0
next prev parent reply other threads:[~2025-12-12 8:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-12 8:56 [PATCH v6 0/3] drm/sitronix/st7920: Add support for the ST7920 controller Iker Pedrosa
2025-12-12 8:56 ` Iker Pedrosa [this message]
2025-12-12 8:56 ` [PATCH v6 2/3] drm: Add driver for Sitronix ST7920 LCD displays Iker Pedrosa
2025-12-12 11:43 ` Javier Martinez Canillas
2025-12-12 13:56 ` Thomas Zimmermann
2025-12-15 11:59 ` Javier Martinez Canillas
2025-12-12 8:56 ` [PATCH v6 3/3] MAINTAINERS: Add entry for Sitronix ST7920 driver Iker Pedrosa
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=20251212-st7920-v6-1-4d3067528072@gmail.com \
--to=ikerpedrosam@gmail.com \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=javierm@redhat.com \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).