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

dt-bindings: add binding for Sitronix ST7586 display panels

This adds a new binding for Sitronix ST7586 display panels.

Using lego as the vendor prefix in the compatible string because the display
panel I am working with is an integral part of the LEGO MINDSTORMS EV3.

Signed-off-by: David Lechner <david@lechnology.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1502127581-10517-3-git-send-email-david@lechnology.com

authored by

David Lechner and committed by
Noralf Trønnes
aee02b0f c7ff96f8

+22
+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 + };