From: Marcus Folkesson <marcus.folkesson@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>,
Javier Martinez Canillas <javierm@redhat.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org,
Marcus Folkesson <marcus.folkesson@gmail.com>
Subject: [PATCH v3 7/7] dt-bindings: display: sitronix,st7571: add example for SPI
Date: Mon, 15 Dec 2025 10:46:49 +0100 [thread overview]
Message-ID: <20251215-st7571-split-v3-7-d5f3205c3138@gmail.com> (raw)
In-Reply-To: <20251215-st7571-split-v3-0-d5f3205c3138@gmail.com>
Add example for using st7571 with SPI.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
---
.../bindings/display/sitronix,st7571.yaml | 25 ++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/sitronix,st7571.yaml b/Documentation/devicetree/bindings/display/sitronix,st7571.yaml
index b83721eb4b7f..1931a47c4217 100644
--- a/Documentation/devicetree/bindings/display/sitronix,st7571.yaml
+++ b/Documentation/devicetree/bindings/display/sitronix,st7571.yaml
@@ -76,3 +76,28 @@ examples:
};
};
};
+
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ display@0 {
+ compatible = "sitronix,st7571";
+ reg = <0>;
+ reset-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
+ width-mm = <37>;
+ height-mm = <27>;
+
+ panel-timing {
+ hactive = <128>;
+ vactive = <96>;
+ hback-porch = <0>;
+ vback-porch = <0>;
+ clock-frequency = <0>;
+ hfront-porch = <0>;
+ hsync-len = <0>;
+ vfront-porch = <0>;
+ vsync-len = <0>;
+ };
+ };
+ };
--
2.51.2
next prev parent reply other threads:[~2025-12-15 9:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-15 9:46 [PATCH v3 0/7] drm/sitronix/st7571: split up driver to support both I2C and SPI Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 1/7] drm/sitronix/st7571-i2c: rename 'struct drm_device' in st7571_device Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 2/7] drm/sitronix/st7571-i2c: add 'struct device' to st7571_device Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 3/7] drm/sitronix/st7571-i2c: move common structures to st7571.h Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 4/7] drm/sitronix/st7571-i2c: make probe independent of hw interface Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 5/7] drm/sitronix/st7571: split up the driver into a common and an i2c part Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 6/7] drm/sitronix/st7571-spi: add support for SPI interface Marcus Folkesson
2025-12-15 9:46 ` Marcus Folkesson [this message]
2025-12-15 12:57 ` [PATCH v3 0/7] drm/sitronix/st7571: split up driver to support both I2C and SPI Javier Martinez Canillas
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=20251215-st7571-split-v3-7-d5f3205c3138@gmail.com \
--to=marcus.folkesson@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=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).