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

dt-bindings: display/panel: Add AUO A030JTN01

Add binding for the AUO A030JTN01 panel, which is a 320x480 3.0" 4:3
24-bit TFT LCD panel with non-square pixels and a delta-RGB 8-bit
interface.

Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230121162419.284523-2-cbranchereau@gmail.com

+60
+60
Documentation/devicetree/bindings/display/panel/auo,a030jtn01.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/panel/auo,a030jtn01.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: AUO A030JTN01 3.0" (320x480 pixels) 24-bit TFT LCD panel 8 + 9 + description: | 10 + Delta RGB 8-bit panel found in some Retrogame handhelds 11 + 12 + maintainers: 13 + - Paul Cercueil <paul@crapouillou.net> 14 + - Christophe Branchereau <cbranchereau@gmail.com> 15 + 16 + allOf: 17 + - $ref: panel-common.yaml# 18 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 19 + 20 + properties: 21 + compatible: 22 + const: auo,a030jtn01 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + required: 28 + - compatible 29 + - reg 30 + - power-supply 31 + - reset-gpios 32 + 33 + unevaluatedProperties: false 34 + 35 + examples: 36 + - | 37 + #include <dt-bindings/gpio/gpio.h> 38 + 39 + spi { 40 + #address-cells = <1>; 41 + #size-cells = <0>; 42 + 43 + panel@0 { 44 + compatible = "auo,a030jtn01"; 45 + reg = <0>; 46 + 47 + spi-max-frequency = <10000000>; 48 + 49 + reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>; 50 + power-supply = <&lcd_power>; 51 + 52 + backlight = <&backlight>; 53 + 54 + port { 55 + panel_input: endpoint { 56 + remote-endpoint = <&panel_output>; 57 + }; 58 + }; 59 + }; 60 + };