Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/panel-dsi-cm.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: DSI command mode panels
0008 
0009 maintainers:
0010   - Tomi Valkeinen <tomi.valkeinen@ti.com>
0011   - Sebastian Reichel <sre@kernel.org>
0012 
0013 description: |
0014   This binding file is a collection of the DSI panels that
0015   are usually driven in command mode. If no backlight is
0016   referenced via the optional backlight property, the DSI
0017   panel is assumed to have native backlight support.
0018   The panel may use an OF graph binding for the association
0019   to the display, or it may be a direct child node of the
0020   display.
0021 
0022 allOf:
0023   - $ref: panel-common.yaml#
0024 
0025 properties:
0026 
0027   compatible:
0028     items:
0029       - enum:
0030           - motorola,droid4-panel        # Panel from Motorola Droid4 phone
0031           - nokia,himalaya               # Panel from Nokia N950 phone
0032           - tpo,taal                     # Panel from OMAP4 SDP board
0033       - const: panel-dsi-cm              # Generic DSI command mode panel compatible fallback
0034 
0035   reg:
0036     maxItems: 1
0037     description: DSI virtual channel
0038 
0039   vddi-supply:
0040     description:
0041       Display panels require power to be supplied. While several panels need
0042       more than one power supply with panel-specific constraints governing the
0043       order and timings of the power supplies, in many cases a single power
0044       supply is sufficient, either because the panel has a single power rail, or
0045       because all its power rails can be driven by the same supply. In that case
0046       the vddi-supply property specifies the supply powering the panel as a
0047       phandle to a regulator.
0048 
0049   vpnl-supply:
0050     description:
0051       When the display panel needs a second power supply, this property can be
0052       used in addition to vddi-supply. Both supplies will be enabled at the
0053       same time before the panel is being accessed.
0054 
0055   width-mm: true
0056   height-mm: true
0057   label: true
0058   rotation: true
0059   panel-timing: true
0060   port: true
0061   reset-gpios: true
0062   te-gpios: true
0063   backlight: true
0064 
0065 additionalProperties: false
0066 
0067 required:
0068   - compatible
0069   - reg
0070 
0071 examples:
0072   - |
0073     #include <dt-bindings/gpio/gpio.h>
0074 
0075     dsi-controller {
0076         #address-cells = <1>;
0077         #size-cells = <0>;
0078 
0079         panel@0 {
0080             compatible = "tpo,taal", "panel-dsi-cm";
0081             reg = <0>;
0082             reset-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
0083         };
0084     };
0085 
0086 ...