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/lgphilips,lb035q02.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: LG.Philips LB035Q02 Panel
0008 
0009 maintainers:
0010   - Tomi Valkeinen <tomi.valkeinen@ti.com>
0011 
0012 allOf:
0013   - $ref: panel-common.yaml#
0014   - $ref: /schemas/spi/spi-peripheral-props.yaml#
0015 
0016 properties:
0017   compatible:
0018     const: lgphilips,lb035q02
0019 
0020   label: true
0021   enable-gpios: true
0022   port: true
0023 
0024   spi-cpha: true
0025   spi-cpol: true
0026 
0027 required:
0028   - compatible
0029   - enable-gpios
0030   - port
0031 
0032 unevaluatedProperties: false
0033 
0034 examples:
0035   - |
0036     spi {
0037         #address-cells = <1>;
0038         #size-cells = <0>;
0039 
0040         panel: panel@0 {
0041             compatible = "lgphilips,lb035q02";
0042             reg = <0>;
0043             spi-max-frequency = <100000>;
0044             spi-cpol;
0045             spi-cpha;
0046 
0047             label = "lcd";
0048 
0049             enable-gpios = <&gpio7 7 0>;
0050 
0051             port {
0052                 lcd_in: endpoint {
0053                     remote-endpoint = <&dpi_out>;
0054                 };
0055             };
0056         };
0057     };
0058 
0059 ...