87 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/panel/panel-dsi-cm.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: DSI command mode panels8 9maintainers:10 - Tomi Valkeinen <tomi.valkeinen@ti.com>11 - Sebastian Reichel <sre@kernel.org>12 13description: |14 This binding file is a collection of the DSI panels that15 are usually driven in command mode. If no backlight is16 referenced via the optional backlight property, the DSI17 panel is assumed to have native backlight support.18 The panel may use an OF graph binding for the association19 to the display, or it may be a direct child node of the20 display.21 22allOf:23 - $ref: panel-common.yaml#24 25properties:26 27 compatible:28 items:29 - enum:30 - motorola,droid4-panel # Panel from Motorola Droid4 phone31 - nokia,himalaya # Panel from Nokia N950 phone32 - tpo,taal # Panel from OMAP4 SDP board33 - const: panel-dsi-cm # Generic DSI command mode panel compatible fallback34 35 reg:36 maxItems: 137 description: DSI virtual channel38 39 vddi-supply:40 description:41 Display panels require power to be supplied. While several panels need42 more than one power supply with panel-specific constraints governing the43 order and timings of the power supplies, in many cases a single power44 supply is sufficient, either because the panel has a single power rail, or45 because all its power rails can be driven by the same supply. In that case46 the vddi-supply property specifies the supply powering the panel as a47 phandle to a regulator.48 49 vpnl-supply:50 description:51 When the display panel needs a second power supply, this property can be52 used in addition to vddi-supply. Both supplies will be enabled at the53 same time before the panel is being accessed.54 55 width-mm: true56 height-mm: true57 label: true58 rotation: true59 panel-timing: true60 port: true61 reset-gpios: true62 te-gpios: true63 backlight: true64 65additionalProperties: false66 67required:68 - compatible69 - reg70 71examples:72 - |73 #include <dt-bindings/gpio/gpio.h>74 75 dsi-controller {76 #address-cells = <1>;77 #size-cells = <0>;78 79 panel@0 {80 compatible = "tpo,taal", "panel-dsi-cm";81 reg = <0>;82 reset-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;83 };84 };85 86...87