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