Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/nec,nl8048hl11.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: NEC NL8048HL11 4.1" WVGA TFT LCD panel
0008 
0009 description:
0010   The NEC NL8048HL11 is a 4.1" WVGA TFT LCD panel with a 24-bit RGB parallel
0011   data interface and an SPI control interface.
0012 
0013 maintainers:
0014   - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
0015 
0016 allOf:
0017   - $ref: panel-common.yaml#
0018 
0019 properties:
0020   compatible:
0021     const: nec,nl8048hl11
0022 
0023   label: true
0024   port: true
0025   reg: true
0026   reset-gpios: true
0027 
0028   spi-max-frequency:
0029     maximum: 10000000
0030 
0031 required:
0032   - compatible
0033   - reg
0034   - reset-gpios
0035   - port
0036 
0037 additionalProperties: false
0038 
0039 examples:
0040   - |
0041     #include <dt-bindings/gpio/gpio.h>
0042 
0043     spi0 {
0044       #address-cells = <1>;
0045       #size-cells = <0>;
0046 
0047       lcd_panel: panel@0 {
0048         compatible = "nec,nl8048hl11";
0049         reg = <0>;
0050         spi-max-frequency = <10000000>;
0051 
0052         reset-gpios = <&gpio7 7 GPIO_ACTIVE_LOW>;
0053 
0054         port {
0055           lcd_in: endpoint {
0056             remote-endpoint = <&dpi_out>;
0057           };
0058         };
0059       };
0060     };
0061 
0062 ...