Add the compatible string for the PIXPAPER 4.26 monochrome e-ink panel to the Mayqueen Pixpaper binding.
The new panel uses the same SPI and GPIO properties as the existing Pixpaper panel, but it is not software-compatible with it. The 4.26-inch panel requires different panel-specific initialization and update command sequences, so use a distinct compatible string. Document the new compatible string and update the binding description accordingly. Signed-off-by: LiangCheng Wang <[email protected]> --- .../devicetree/bindings/display/mayqueen,pixpaper.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/display/mayqueen,pixpaper.yaml b/Documentation/devicetree/bindings/display/mayqueen,pixpaper.yaml index cd27f8ba5ae1d94660818525b5fa71db98c8acb7..68a6157114604a8308259191e55d1e2d15d76c11 100644 --- a/Documentation/devicetree/bindings/display/mayqueen,pixpaper.yaml +++ b/Documentation/devicetree/bindings/display/mayqueen,pixpaper.yaml @@ -4,22 +4,25 @@ $id: http://devicetree.org/schemas/display/mayqueen,pixpaper.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Mayqueen Pixpaper e-ink display panel +title: Mayqueen Pixpaper e-ink display panels maintainers: - LiangCheng Wang <[email protected]> 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. + Mayqueen Pixpaper e-ink display panels are controlled via an SPI interface + and require GPIO pins for reset, busy, and data/command control. Different + panel models use model-specific command sequences selected via their + compatible strings. allOf: - $ref: /schemas/spi/spi-peripheral-props.yaml# properties: compatible: - const: mayqueen,pixpaper + enum: + - mayqueen,pixpaper + - mayqueen,pixpaper-426m reg: maxItems: 1 -- 2.34.1
