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,s6d16d0.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Samsung S6D16D0 4" 864x480 AMOLED panel
0008 
0009 maintainers:
0010   - Linus Walleij <linus.walleij@linaro.org>
0011 
0012 allOf:
0013   - $ref: panel-common.yaml#
0014 
0015 properties:
0016   compatible:
0017     const: samsung,s6d16d0
0018 
0019   port: true
0020   reg: true
0021   reset-gpios: true
0022 
0023   vdd1-supply:
0024     description: I/O voltage supply
0025 
0026 required:
0027   - compatible
0028   - reg
0029   - vdd1-supply
0030   - reset-gpios
0031 
0032 additionalProperties: false
0033 
0034 examples:
0035   - |
0036     #include <dt-bindings/gpio/gpio.h>
0037 
0038     dsi {
0039         #address-cells = <1>;
0040         #size-cells = <0>;
0041 
0042         panel@0 {
0043             compatible = "samsung,s6d16d0";
0044             reg = <0>;
0045             vdd1-supply = <&foo>;
0046             reset-gpios = <&foo_gpio 0 GPIO_ACTIVE_LOW>;
0047 
0048             port {
0049                 panel_in: endpoint {
0050                     remote-endpoint = <&dsi_out>;
0051                 };
0052             };
0053         };
0054     };
0055 
0056 ...