-
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 airlied/drm-next into drm-intel-next-queued
Maarten needs both the new connector->atomic_check hook and the connection_mutex locking changes in the probe helpers to be able to start merging the connector property conversion to atomic. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
- Loading branch information
Showing
1,099 changed files
with
423,171 additions
and
12,119 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
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
111 changes: 111 additions & 0 deletions
111
Documentation/devicetree/bindings/display/amlogic,meson-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,111 @@ | ||
Amlogic specific extensions to the Synopsys Designware HDMI Controller | ||
====================================================================== | ||
|
||
The Amlogic Meson Synopsys Designware Integration is composed of : | ||
- A Synopsys DesignWare HDMI Controller IP | ||
- A TOP control block controlling the Clocks and PHY | ||
- A custom HDMI PHY in order to convert video to TMDS signal | ||
___________________________________ | ||
| HDMI TOP |<= HPD | ||
|___________________________________| | ||
| | | | ||
| Synopsys HDMI | HDMI PHY |=> TMDS | ||
| Controller |________________| | ||
|___________________________________|<=> DDC | ||
|
||
The HDMI TOP block only supports HPD sensing. | ||
The Synopsys HDMI Controller interrupt is routed through the | ||
TOP Block interrupt. | ||
Communication to the TOP Block and the Synopsys HDMI Controller is done | ||
via a pair of dedicated addr+read/write registers. | ||
The HDMI PHY is configured by registers in the HHI register block. | ||
|
||
Pixel data arrives in 4:4:4 format from the VENC block and the VPU HDMI mux | ||
selects either the ENCI encoder for the 576i or 480i formats or the ENCP | ||
encoder for all the other formats including interlaced HD formats. | ||
|
||
The VENC uses a DVI encoder on top of the ENCI or ENCP encoders to generate | ||
DVI timings for the HDMI controller. | ||
|
||
Amlogic Meson GXBB, GXL and GXM SoCs families embeds the Synopsys DesignWare | ||
HDMI TX IP version 2.01a with HDCP and I2C & S/PDIF | ||
audio source interfaces. | ||
|
||
Required properties: | ||
- compatible: value should be different for each SoC family as : | ||
- GXBB (S905) : "amlogic,meson-gxbb-dw-hdmi" | ||
- GXL (S905X, S905D) : "amlogic,meson-gxl-dw-hdmi" | ||
- GXM (S912) : "amlogic,meson-gxm-dw-hdmi" | ||
followed by the common "amlogic,meson-gx-dw-hdmi" | ||
- reg: Physical base address and length of the controller's registers. | ||
- interrupts: The HDMI interrupt number | ||
- clocks, clock-names : must have the phandles to the HDMI iahb and isfr clocks, | ||
and the Amlogic Meson venci clocks as described in | ||
Documentation/devicetree/bindings/clock/clock-bindings.txt, | ||
the clocks are soc specific, the clock-names should be "iahb", "isfr", "venci" | ||
- resets, resets-names: must have the phandles to the HDMI apb, glue and phy | ||
resets as described in : | ||
Documentation/devicetree/bindings/reset/reset.txt, | ||
the reset-names should be "hdmitx_apb", "hdmitx", "hdmitx_phy" | ||
|
||
Required nodes: | ||
|
||
The connections to the HDMI ports are modeled using the OF graph | ||
bindings specified in Documentation/devicetree/bindings/graph.txt. | ||
|
||
The following table lists for each supported model the port number | ||
corresponding to each HDMI output and input. | ||
|
||
Port 0 Port 1 | ||
----------------------------------------- | ||
S905 (GXBB) VENC Input TMDS Output | ||
S905X (GXL) VENC Input TMDS Output | ||
S905D (GXL) VENC Input TMDS Output | ||
S912 (GXM) VENC Input TMDS Output | ||
|
||
Example: | ||
|
||
hdmi-connector { | ||
compatible = "hdmi-connector"; | ||
type = "a"; | ||
|
||
port { | ||
hdmi_connector_in: endpoint { | ||
remote-endpoint = <&hdmi_tx_tmds_out>; | ||
}; | ||
}; | ||
}; | ||
|
||
hdmi_tx: hdmi-tx@c883a000 { | ||
compatible = "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gx-dw-hdmi"; | ||
reg = <0x0 0xc883a000 0x0 0x1c>; | ||
interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>; | ||
resets = <&reset RESET_HDMITX_CAPB3>, | ||
<&reset RESET_HDMI_SYSTEM_RESET>, | ||
<&reset RESET_HDMI_TX>; | ||
reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy"; | ||
clocks = <&clkc CLKID_HDMI_PCLK>, | ||
<&clkc CLKID_CLK81>, | ||
<&clkc CLKID_GCLK_VENCI_INT0>; | ||
clock-names = "isfr", "iahb", "venci"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
/* VPU VENC Input */ | ||
hdmi_tx_venc_port: port@0 { | ||
reg = <0>; | ||
|
||
hdmi_tx_in: endpoint { | ||
remote-endpoint = <&hdmi_tx_out>; | ||
}; | ||
}; | ||
|
||
/* TMDS Output */ | ||
hdmi_tx_tmds_port: port@1 { | ||
reg = <1>; | ||
|
||
hdmi_tx_tmds_out: endpoint { | ||
remote-endpoint = <&hdmi_connector_in>; | ||
}; | ||
}; | ||
}; |
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
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>; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.