Documentation / devicetree / bindings / display / mayqueen,pixpaper.yaml


Based on kernel version 6.18. Page generated on 2025-12-02 09:03 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
# 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:
  - LiangCheng 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

  spi-max-frequency:
    maximum: 1000000
    default: 1000000

  reset-gpios:
    maxItems: 1

  busy-gpios:
    maxItems: 1

  dc-gpios:
    maxItems: 1

required:
  - compatible
  - reg
  - reset-gpios
  - busy-gpios
  - dc-gpios

unevaluatedProperties: 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>;
        };
    };