xref: /linux/Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml (revision d53b8e36925256097a08d7cb749198d85cbf9b2b)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/nec,nl8048hl11.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NEC NL8048HL11 4.1" WVGA TFT LCD panel
8
9description:
10  The NEC NL8048HL11 is a 4.1" WVGA TFT LCD panel with a 24-bit RGB parallel
11  data interface and an SPI control interface.
12
13maintainers:
14  - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
15
16allOf:
17  - $ref: panel-common.yaml#
18  - $ref: /schemas/spi/spi-peripheral-props.yaml#
19
20properties:
21  compatible:
22    const: nec,nl8048hl11
23
24  reg:
25    maxItems: 1
26
27  label: true
28  port: true
29  reset-gpios: true
30
31  spi-max-frequency:
32    maximum: 10000000
33
34required:
35  - compatible
36  - reg
37  - reset-gpios
38  - port
39
40unevaluatedProperties: false
41
42examples:
43  - |
44    #include <dt-bindings/gpio/gpio.h>
45
46    spi {
47      #address-cells = <1>;
48      #size-cells = <0>;
49
50      lcd_panel: panel@0 {
51        compatible = "nec,nl8048hl11";
52        reg = <0>;
53        spi-max-frequency = <10000000>;
54
55        reset-gpios = <&gpio7 7 GPIO_ACTIVE_LOW>;
56
57        port {
58          lcd_in: endpoint {
59            remote-endpoint = <&dpi_out>;
60          };
61        };
62      };
63    };
64
65...
66