From: LiangCheng Wang <zaq14760@gmail.com>
To: cip-dev@lists.cip-project.org
Cc: drm@lists.freedesktop.org, devicetree@vger.kernel.org,
noralf@tronnes.org, robh+dt@kernel.org, krzk@kernel.org,
zaq14760@gmail.com, onlywig@gmail.com
Subject: [PATCH 3/3] dt-bindings: display: Add MAYQUEEN PIXPAPER e-ink panel
Date: Wed, 18 Jun 2025 11:37:31 +0800 [thread overview]
Message-ID: <20250618033731.171812-4-zaq14760@gmail.com> (raw)
In-Reply-To: <20250618033731.171812-1-zaq14760@gmail.com>
The binding is for the MAYQUEEN PIXPAPER e-ink display panel,
controlled via an SPI interface.
Signed-off-by: LiangCheng Wang <zaq14760@gmail.com>
---
.../bindings/display/mayqueen,pixpaper.yaml | 67 +++++++++++++++++++
1 file changed, 67 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/mayqueen,pixpaper.yaml
diff --git a/Documentation/devicetree/bindings/display/mayqueen,pixpaper.yaml b/Documentation/devicetree/bindings/display/mayqueen,pixpaper.yaml
new file mode 100644
index 000000000..f7c33957e
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/mayqueen,pixpaper.yaml
@@ -0,0 +1,67 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/mayqueen,pixpaper.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MAYQUEEN PIXPAPER e-ink display panel
+
+maintainers:
+ - LC Wang <zaq14760@gmail.com>
+
+description: |
+ The PIXPAPER is an e-ink display panel controlled via an SPI interface.
+ The panel has a resolution of 122x250 pixels and requires GPIO pins for
+ reset, busy, and data/command control.
+
+allOf:
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+properties:
+ compatible:
+ const: mayqueen,pixpaper
+
+ reg:
+ maxItems: 1
+ description: SPI chip select number for the device.
+
+ spi-max-frequency:
+ default: 1000000
+ description: Maximum SPI clock frequency in Hz.
+
+ reset-gpios:
+ maxItems: 1
+ description: GPIO for the panel reset pin.
+
+ busy-gpios:
+ maxItems: 1
+ description: GPIO for the panel busy pin.
+
+ dc-gpios:
+ maxItems: 1
+ description: GPIO for the data/command pin.
+
+required:
+ - compatible
+ - reg
+ - reset-gpios
+ - busy-gpios
+ - dc-gpios
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ display@0 {
+ compatible = "mayqueen,pixpaper";
+ reg = <0>;
+ spi-max-frequency = <1000000>;
+ reset-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
+ busy-gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
+ dc-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
+ };
+ };
--
2.34.1
next prev parent reply other threads:[~2025-06-18 3:38 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-18 3:37 [PATCH 0/3] drm/tiny: Add MAYQUEEN PIXPAPER e-ink panel support LiangCheng Wang
2025-06-18 3:37 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Mayqueen name LiangCheng Wang
2025-06-19 15:36 ` Conor Dooley
2025-06-18 3:37 ` [PATCH 2/3] drm: tiny: Add support for PIXPAPER e-ink panel LiangCheng Wang
2025-06-18 3:37 ` LiangCheng Wang [this message]
2025-06-19 15:43 ` [PATCH 3/3] dt-bindings: display: Add MAYQUEEN " Conor Dooley
2025-06-19 16:01 ` Krzysztof Kozlowski
2025-06-19 16:11 ` Conor Dooley
2025-06-20 3:48 ` lcwang
2025-06-20 3:53 ` lcwang
2025-06-20 3:53 ` [PATCH 3/3] dt-bindings: display: Add Mayqueen Pixpaper " lcwang
2025-06-20 5:28 ` Krzysztof Kozlowski
2025-06-20 7:18 ` [PATCH v2 0/3] drm/tiny: Add MAYQUEEN PIXPAPER e-ink panel support LiangCheng Wang
2025-06-20 7:27 ` Krzysztof Kozlowski
2025-06-20 7:18 ` [PATCH v2 3/3] dt-bindings: display: Add MAYQUEEN PIXPAPER e-ink panel LiangCheng Wang
2025-06-20 7:28 ` Krzysztof Kozlowski
2025-06-20 8:06 ` LiangCheng Wang
2025-06-20 8:26 ` Krzysztof Kozlowski
-- strict thread matches above, loose matches on Subject: below --
2025-06-18 3:49 [PATCH 0/3] drm/tiny: Add MAYQUEEN PIXPAPER e-ink panel support LiangCheng Wang
2025-06-18 3:49 ` [PATCH 3/3] dt-bindings: display: Add MAYQUEEN PIXPAPER e-ink panel LiangCheng Wang
2025-06-18 6:13 ` Krzysztof Kozlowski
2025-07-08 10:06 [PATCH 0/3] Add support for Mayqueen Pixpaper " LiangCheng Wang
2025-07-08 10:06 ` [PATCH 3/3] dt-bindings: display: Add " LiangCheng Wang
2025-07-08 21:21 ` Rob Herring (Arm)
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=20250618033731.171812-4-zaq14760@gmail.com \
--to=zaq14760@gmail.com \
--cc=cip-dev@lists.cip-project.org \
--cc=devicetree@vger.kernel.org \
--cc=drm@lists.freedesktop.org \
--cc=krzk@kernel.org \
--cc=noralf@tronnes.org \
--cc=onlywig@gmail.com \
--cc=robh+dt@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 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).