Path: blob/master/Documentation/devicetree/bindings/display/dsi-controller.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/display/dsi-controller.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Common Properties for DSI Display Panels78maintainers:9- Linus Walleij <linus.walleij@linaro.org>1011description: |12This document defines device tree properties common to DSI, Display13Serial Interface controllers and attached panels. It doesn't constitute14a device tree binding specification by itself but is meant to be referenced15by device tree bindings.1617When referenced from panel device tree bindings the properties defined in18this document are defined as follows. The panel device tree bindings are19responsible for defining whether each property is required or optional.2021Notice: this binding concerns DSI panels connected directly to a master22without any intermediate port graph to the panel. Each DSI master23can control one to four virtual channels to one panel. Each virtual24channel should have a node "panel" for their virtual channel with their25reg-property set to the virtual channel number, usually there is just26one virtual channel, number 0.2728properties:29$nodename:30pattern: "^dsi(@.*)?$"3132clock-master:33type: boolean34description:35Should be enabled if the host is being used in conjunction with36another DSI host to drive the same peripheral. Hardware supporting37such a configuration generally requires the data on both the busses38to be driven by the same clock. Only the DSI host instance39controlling this clock should contain this property.4041"#address-cells":42const: 14344"#size-cells":45const: 04647patternProperties:48"^panel@[0-3]$":49description: Panels connected to the DSI link50type: object5152properties:53reg:54minimum: 055maximum: 356description:57The virtual channel number of a DSI peripheral. Must be in the range58from 0 to 3, as DSI uses a 2-bit addressing scheme. Some DSI59peripherals respond to more than a single virtual channel. In that60case the reg property can take multiple entries, one for each virtual61channel that the peripheral responds to.6263enforce-video-mode:64type: boolean65description:66The best option is usually to run a panel in command mode, as this67gives better control over the panel hardware. However for different68reasons like broken hardware, missing features or testing, it may be69useful to be able to force a command mode-capable panel into video70mode.7172required:73- reg7475additionalProperties: true7677examples:78- |79#include <dt-bindings/gpio/gpio.h>80dsi@a0351000 {81reg = <0xa0351000 0x1000>;82#address-cells = <1>;83#size-cells = <0>;84panel@0 {85compatible = "sony,acx424akp";86reg = <0>;87vddi-supply = <&ab8500_ldo_aux1_reg>;88reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;89};90};9192...939495