Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: display: convert sitronix,st7586 to YAML

Convert the sitronix,st7586 binding documentation from .txt to .yaml.

Also added a link to the datasheet while we are touching this.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20250530-devicetree-convert-sitronix-st7586-to-yaml-v1-1-c132b512ec57@baylibre.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

David Lechner and committed by
Rob Herring (Arm)
5e61d44d 1c69ba9b

+62 -23
-22
Documentation/devicetree/bindings/display/sitronix,st7586.txt
··· 1 - Sitronix ST7586 display panel 2 - 3 - Required properties: 4 - - compatible: "lego,ev3-lcd". 5 - - a0-gpios: The A0 signal (since this binding is for serial mode, this is 6 - the pin labeled D1 on the controller, not the pin labeled A0) 7 - - reset-gpios: Reset pin 8 - 9 - The node for this driver must be a child node of a SPI controller, hence 10 - all mandatory properties described in ../spi/spi-bus.txt must be specified. 11 - 12 - Optional properties: 13 - - rotation: panel rotation in degrees counter clockwise (0,90,180,270) 14 - 15 - Example: 16 - display@0{ 17 - compatible = "lego,ev3-lcd"; 18 - reg = <0>; 19 - spi-max-frequency = <10000000>; 20 - a0-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>; 21 - reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>; 22 - };
+61
Documentation/devicetree/bindings/display/sitronix,st7586.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/sitronix,st7586.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Sitronix ST7586 Display Controller 8 + 9 + maintainers: 10 + - David Lechner <david@lechnology.com> 11 + 12 + description: 13 + Sitronix ST7586 is a driver and controller for 4-level gray 14 + scale and monochrome dot matrix LCD panels. 15 + https://topwaydisplay.com/sites/default/files/2020-04/ST7586S.pdf 16 + 17 + $ref: panel/panel-common.yaml# 18 + 19 + additionalProperties: false 20 + 21 + properties: 22 + compatible: 23 + const: lego,ev3-lcd 24 + 25 + reg: 26 + maxItems: 1 27 + 28 + spi-max-frequency: 29 + maximum: 50000000 30 + 31 + a0-gpios: 32 + description: 33 + The A0 signal (for serial mode, this is the pin labeled D1 on the 34 + controller, not the pin labeled A0) 35 + maxItems: 1 36 + 37 + reset-gpios: true 38 + rotation: true 39 + 40 + required: 41 + - compatible 42 + - reg 43 + - a0-gpios 44 + - reset-gpios 45 + 46 + examples: 47 + - | 48 + #include <dt-bindings/gpio/gpio.h> 49 + 50 + spi { 51 + #address-cells = <1>; 52 + #size-cells = <0>; 53 + 54 + display@0 { 55 + compatible = "lego,ev3-lcd"; 56 + reg = <0>; 57 + spi-max-frequency = <10000000>; 58 + a0-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>; 59 + reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>; 60 + }; 61 + };
+1 -1
MAINTAINERS
··· 7825 7825 M: David Lechner <david@lechnology.com> 7826 7826 S: Maintained 7827 7827 T: git https://gitlab.freedesktop.org/drm/misc/kernel.git 7828 - F: Documentation/devicetree/bindings/display/sitronix,st7586.txt 7828 + F: Documentation/devicetree/bindings/display/sitronix,st7586.yaml 7829 7829 F: drivers/gpu/drm/sitronix/st7586.c 7830 7830 7831 7831 DRM DRIVER FOR SITRONIX ST7571 PANELS