-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'drm-for-v4.12' of git://people.freedesktop.org/~airlied/li…
…nux into drm-misc-next Backmerging Dave's 'drm-for-v4.12' pull request now that it's landed. There are a bunch of non-drm changes which are just random bits we hadn't yet picked up in misc-next. main drm pull request for 4.12 kernel Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/CAPM=9ty0jHgzG18zOr5CYODyTqZfH55kOCOFqNnXiWnTb_uNWw@mail.gmail.com
- Loading branch information
Showing
762 changed files
with
16,518 additions
and
7,672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
Renesas Gen3 DWC HDMI TX Encoder | ||
================================ | ||
|
||
The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP | ||
with a companion PHY IP. | ||
|
||
These DT bindings follow the Synopsys DWC HDMI TX bindings defined in | ||
Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt with the | ||
following device-specific properties. | ||
|
||
|
||
Required properties: | ||
|
||
- compatible : Shall contain one or more of | ||
- "renesas,r8a7795-hdmi" for R8A7795 (R-Car H3) compatible HDMI TX | ||
- "renesas,rcar-gen3-hdmi" for the generic R-Car Gen3 compatible HDMI TX | ||
|
||
When compatible with generic versions, nodes must list the SoC-specific | ||
version corresponding to the platform first, followed by the | ||
family-specific version. | ||
|
||
- reg: See dw_hdmi.txt. | ||
- interrupts: HDMI interrupt number | ||
- clocks: See dw_hdmi.txt. | ||
- clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt. | ||
- ports: See dw_hdmi.txt. The DWC HDMI shall have one port numbered 0 | ||
corresponding to the video input of the controller and one port numbered 1 | ||
corresponding to its HDMI output. Each port shall have a single endpoint. | ||
|
||
Optional properties: | ||
|
||
- power-domains: Shall reference the power domain that contains the DWC HDMI, | ||
if any. | ||
|
||
|
||
Example: | ||
|
||
hdmi0: hdmi0@fead0000 { | ||
compatible = "renesas,r8a7795-dw-hdmi"; | ||
reg = <0 0xfead0000 0 0x10000>; | ||
interrupts = <0 389 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&cpg CPG_CORE R8A7795_CLK_S0D4>, <&cpg CPG_MOD 729>; | ||
clock-names = "iahb", "isfr"; | ||
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; | ||
status = "disabled"; | ||
|
||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
port@0 { | ||
reg = <0>; | ||
dw_hdmi0_in: endpoint { | ||
remote-endpoint = <&du_out_hdmi0>; | ||
}; | ||
}; | ||
port@1 { | ||
reg = <1>; | ||
rcar_dw_hdmi0_out: endpoint { | ||
remote-endpoint = <&hdmi0_con>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
hdmi0-out { | ||
compatible = "hdmi-connector"; | ||
label = "HDMI0 OUT"; | ||
type = "a"; | ||
|
||
port { | ||
hdmi0_con: endpoint { | ||
remote-endpoint = <&rcar_dw_hdmi0_out>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. | ||
|
||
Required properties: | ||
- compatible: should be "ampire,am-480272h3tmqw-t01h" | ||
|
||
Optional properties: | ||
- power-supply: regulator to provide the supply voltage | ||
- enable-gpios: GPIO pin to enable or disable the panel | ||
- backlight: phandle of the backlight device attached to the panel | ||
|
||
Optional nodes: | ||
- Video port for RGB input. | ||
|
||
Example: | ||
panel_rgb: panel-rgb { | ||
compatible = "ampire,am-480272h3tmqw-t01h"; | ||
enable-gpios = <&gpioa 8 1>; | ||
port { | ||
panel_in_rgb: endpoint { | ||
remote-endpoint = <&controller_out_rgb>; | ||
}; | ||
}; | ||
}; |
47 changes: 47 additions & 0 deletions
47
Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Mitsubishi AA204XD12 LVDS Display Panel | ||
======================================= | ||
|
||
The AA104XD12 is a 10.4" XGA TFT-LCD display panel. | ||
|
||
These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt | ||
with the following device-specific properties. | ||
|
||
|
||
Required properties: | ||
|
||
- compatible: Shall contain "mitsubishi,aa121td01" and "panel-lvds", in that | ||
order. | ||
- vcc-supply: Reference to the regulator powering the panel VCC pins. | ||
|
||
|
||
Example | ||
------- | ||
|
||
panel { | ||
compatible = "mitsubishi,aa104xd12", "panel-lvds"; | ||
vcc-supply = <&vcc_3v3>; | ||
|
||
width-mm = <210>; | ||
height-mm = <158>; | ||
|
||
data-mapping = "jeida-24"; | ||
|
||
panel-timing { | ||
/* 1024x768 @65Hz */ | ||
clock-frequency = <65000000>; | ||
hactive = <1024>; | ||
vactive = <768>; | ||
hsync-len = <136>; | ||
hfront-porch = <20>; | ||
hback-porch = <160>; | ||
vfront-porch = <3>; | ||
vback-porch = <29>; | ||
vsync-len = <6>; | ||
}; | ||
|
||
port { | ||
panel_in: endpoint { | ||
remote-endpoint = <&lvds_encoder>; | ||
}; | ||
}; | ||
}; |
47 changes: 47 additions & 0 deletions
47
Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Mitsubishi AA121TD01 LVDS Display Panel | ||
======================================= | ||
|
||
The AA121TD01 is a 12.1" WXGA TFT-LCD display panel. | ||
|
||
These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt | ||
with the following device-specific properties. | ||
|
||
|
||
Required properties: | ||
|
||
- compatible: Shall contain "mitsubishi,aa121td01" and "panel-lvds", in that | ||
order. | ||
- vcc-supply: Reference to the regulator powering the panel VCC pins. | ||
|
||
|
||
Example | ||
------- | ||
|
||
panel { | ||
compatible = "mitsubishi,aa121td01", "panel-lvds"; | ||
vcc-supply = <&vcc_3v3>; | ||
|
||
width-mm = <261>; | ||
height-mm = <163>; | ||
|
||
data-mapping = "jeida-24"; | ||
|
||
panel-timing { | ||
/* 1280x800 @60Hz */ | ||
clock-frequency = <71000000>; | ||
hactive = <1280>; | ||
vactive = <800>; | ||
hsync-len = <70>; | ||
hfront-porch = <20>; | ||
hback-porch = <70>; | ||
vsync-len = <5>; | ||
vfront-porch = <3>; | ||
vback-porch = <15>; | ||
}; | ||
|
||
port { | ||
panel_in: endpoint { | ||
remote-endpoint = <&lvds_encoder>; | ||
}; | ||
}; | ||
}; |
91 changes: 91 additions & 0 deletions
91
Documentation/devicetree/bindings/display/panel/panel-common.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
Common Properties for Display Panel | ||
=================================== | ||
|
||
This document defines device tree properties common to several classes of | ||
display panels. It doesn't constitue a device tree binding specification by | ||
itself but is meant to be referenced by device tree bindings. | ||
|
||
When referenced from panel device tree bindings the properties defined in this | ||
document are defined as follows. The panel device tree bindings are | ||
responsible for defining whether each property is required or optional. | ||
|
||
|
||
Descriptive Properties | ||
---------------------- | ||
|
||
- width-mm, | ||
- height-mm: The width-mm and height-mm specify the width and height of the | ||
physical area where images are displayed. These properties are expressed in | ||
millimeters and rounded to the closest unit. | ||
|
||
- label: The label property specifies a symbolic name for the panel as a | ||
string suitable for use by humans. It typically contains a name inscribed on | ||
the system (e.g. as an affixed label) or specified in the system's | ||
documentation (e.g. in the user's manual). | ||
|
||
If no such name exists, and unless the property is mandatory according to | ||
device tree bindings, it shall rather be omitted than constructed of | ||
non-descriptive information. For instance an LCD panel in a system that | ||
contains a single panel shall not be labelled "LCD" if that name is not | ||
inscribed on the system or used in a descriptive fashion in system | ||
documentation. | ||
|
||
|
||
Display Timings | ||
--------------- | ||
|
||
- panel-timing: Most display panels are restricted to a single resolution and | ||
require specific display timings. The panel-timing subnode expresses those | ||
timings as specified in the timing subnode section of the display timing | ||
bindings defined in | ||
Documentation/devicetree/bindings/display/display-timing.txt. | ||
|
||
|
||
Connectivity | ||
------------ | ||
|
||
- ports: Panels receive video data through one or multiple connections. While | ||
the nature of those connections is specific to the panel type, the | ||
connectivity is expressed in a standard fashion using ports as specified in | ||
the device graph bindings defined in | ||
Documentation/devicetree/bindings/graph.txt. | ||
|
||
- ddc-i2c-bus: Some panels expose EDID information through an I2C-compatible | ||
bus such as DDC2 or E-DDC. For such panels the ddc-i2c-bus contains a | ||
phandle to the system I2C controller connected to that bus. | ||
|
||
|
||
Control I/Os | ||
------------ | ||
|
||
Many display panels can be controlled through pins driven by GPIOs. The nature | ||
and timing of those control signals are device-specific and left for panel | ||
device tree bindings to specify. The following GPIO specifiers can however be | ||
used for panels that implement compatible control signals. | ||
|
||
- enable-gpios: Specifier for a GPIO connected to the panel enable control | ||
signal. The enable signal is active high and enables operation of the panel. | ||
This property can also be used for panels implementing an active low power | ||
down signal, which is a negated version of the enable signal. Active low | ||
enable signals (or active high power down signals) can be supported by | ||
inverting the GPIO specifier polarity flag. | ||
|
||
Note that the enable signal control panel operation only and must not be | ||
confused with a backlight enable signal. | ||
|
||
- reset-gpios: Specifier for a GPIO coonnected to the panel reset control | ||
signal. The reset signal is active low and resets the panel internal logic | ||
while active. Active high reset signals can be supported by inverting the | ||
GPIO specifier polarity flag. | ||
|
||
|
||
Backlight | ||
--------- | ||
|
||
Most display panels include a backlight. Some of them also include a backlight | ||
controller exposed through a control bus such as I2C or DSI. Others expose | ||
backlight control through GPIO, PWM or other signals connected to an external | ||
backlight controller. | ||
|
||
- backlight: For panels whose backlight is controlled by an external backlight | ||
controller, this property contains a phandle that references the controller. |
Oops, something went wrong.