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/samsung,ld9040.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Samsung LD9040 AMOLED LCD parallel RGB panel with SPI control bus
0008 
0009 maintainers:
0010   - Andrzej Hajda <a.hajda@samsung.com>
0011 
0012 allOf:
0013   - $ref: panel-common.yaml#
0014   - $ref: /schemas/spi/spi-peripheral-props.yaml#
0015 
0016 properties:
0017   compatible:
0018     const: samsung,ld9040
0019 
0020   display-timings: true
0021   port: true
0022   reg: true
0023   reset-gpios: true
0024 
0025   vdd3-supply:
0026     description: core voltage supply
0027 
0028   vci-supply:
0029     description: voltage supply for analog circuits
0030 
0031   power-on-delay:
0032     $ref: /schemas/types.yaml#/definitions/uint32
0033     description: delay after turning regulators on [ms]
0034 
0035   reset-delay:
0036     $ref: /schemas/types.yaml#/definitions/uint32
0037     description: delay after reset sequence [ms]
0038 
0039   panel-width-mm:
0040     description: physical panel width [mm]
0041 
0042   panel-height-mm:
0043     description: physical panel height [mm]
0044 
0045   spi-cpha: true
0046   spi-cpol: true
0047 
0048 required:
0049   - compatible
0050   - reg
0051   - vdd3-supply
0052   - vci-supply
0053   - reset-gpios
0054   - display-timings
0055 
0056 unevaluatedProperties: false
0057 
0058 examples:
0059   - |
0060     spi {
0061         #address-cells = <1>;
0062         #size-cells = <0>;
0063 
0064         lcd@0 {
0065             compatible = "samsung,ld9040";
0066 
0067             reg = <0>;
0068             vdd3-supply = <&ldo7_reg>;
0069             vci-supply = <&ldo17_reg>;
0070             reset-gpios = <&gpy4 5 0>;
0071             spi-max-frequency = <1200000>;
0072             spi-cpol;
0073             spi-cpha;
0074             power-on-delay = <10>;
0075             reset-delay = <10>;
0076             panel-width-mm = <90>;
0077             panel-height-mm = <154>;
0078 
0079             display-timings {
0080                 timing {
0081                     clock-frequency = <23492370>;
0082                     hactive = <480>;
0083                     vactive = <800>;
0084                     hback-porch = <16>;
0085                     hfront-porch = <16>;
0086                     vback-porch = <2>;
0087                     vfront-porch = <28>;
0088                     hsync-len = <2>;
0089                     vsync-len = <1>;
0090                     hsync-active = <0>;
0091                     vsync-active = <0>;
0092                     de-active = <0>;
0093                     pixelclk-active = <0>;
0094                 };
0095             };
0096 
0097             port {
0098                 lcd_ep: endpoint {
0099                     remote-endpoint = <&fimd_dpi_ep>;
0100                 };
0101             };
0102         };
0103     };
0104 
0105 ...