forked from torvalds/linux
-
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 branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
Pull drm updates from Dave Airlie: "Highlights: - drm: Generic display port aux features, primary plane support, drm master management fixes, logging cleanups, enforced locking checks (instead of docs), documentation improvements, minor number handling cleanup, pseudofs for shared inodes. - ttm: add ability to allocate from both ends - i915: broadwell features, power domain and runtime pm, per-process address space infrastructure (not enabled) - msm: power management, hdmi audio support - nouveau: ongoing GPU fault recovery, initial maxwell support, random fixes - exynos: refactored driver to clean up a lot of abstraction, DP support moved into drm, LVDS bridge support added, parallel panel support - gma500: SGX MMU support, SGX irq handling, asle irq work fixes - radeon: video engine bringup, ring handling fixes, use dp aux helpers - vmwgfx: add rendernode support" * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (849 commits) DRM: armada: fix corruption while loading cursors drm/dp_helper: don't return EPROTO for defers (v2) drm/bridge: export ptn3460_init function drm/exynos: remove MODULE_DEVICE_TABLE definitions ARM: dts: exynos4412-trats2: enable exynos/fimd node ARM: dts: exynos4210-trats: enable exynos/fimd node ARM: dts: exynos4412-trats2: add panel node ARM: dts: exynos4210-trats: add panel node ARM: dts: exynos4: add MIPI DSI Master node drm/panel: add S6E8AA0 driver ARM: dts: exynos4210-universal_c210: add proper panel node drm/panel: add ld9040 driver panel/ld9040: add DT bindings panel/s6e8aa0: add DT bindings drm/exynos: add DSIM driver exynos/dsim: add DT bindings drm/exynos: disallow fbdev initialization if no device is connected drm/mipi_dsi: create dsi devices only for nodes with reg property drm/mipi_dsi: add flags to DSI messages Skip intel_crt_init for Dell XPS 8700 ...
- Loading branch information
Showing
483 changed files
with
37,464 additions
and
15,916 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,27 @@ | ||
ptn3460 bridge bindings | ||
|
||
Required properties: | ||
- compatible: "nxp,ptn3460" | ||
- reg: i2c address of the bridge | ||
- powerdown-gpio: OF device-tree gpio specification | ||
- reset-gpio: OF device-tree gpio specification | ||
- edid-emulation: The EDID emulation entry to use | ||
+-------+------------+------------------+ | ||
| Value | Resolution | Description | | ||
| 0 | 1024x768 | NXP Generic | | ||
| 1 | 1920x1080 | NXP Generic | | ||
| 2 | 1920x1080 | NXP Generic | | ||
| 3 | 1600x900 | Samsung LTM200KT | | ||
| 4 | 1920x1080 | Samsung LTM230HT | | ||
| 5 | 1366x768 | NXP Generic | | ||
| 6 | 1600x900 | ChiMei M215HGE | | ||
+-------+------------+------------------+ | ||
|
||
Example: | ||
lvds-bridge@20 { | ||
compatible = "nxp,ptn3460"; | ||
reg = <0x20>; | ||
powerdown-gpio = <&gpy2 5 1 0 0>; | ||
reset-gpio = <&gpx1 5 1 0 0>; | ||
edid-emulation = <5>; | ||
}; |
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,27 @@ | ||
Device-Tree bindings for the NXP TDA998x HDMI transmitter | ||
|
||
Required properties; | ||
- compatible: must be "nxp,tda998x" | ||
|
||
Optional properties: | ||
- interrupts: interrupt number and trigger type | ||
default: polling | ||
|
||
- pinctrl-0: pin control group to be used for | ||
screen plug/unplug interrupt. | ||
|
||
- pinctrl-names: must contain a "default" entry. | ||
|
||
- video-ports: 24 bits value which defines how the video controller | ||
output is wired to the TDA998x input - default: <0x230145> | ||
|
||
Example: | ||
|
||
tda998x: hdmi-encoder { | ||
compatible = "nxp,tda998x"; | ||
reg = <0x70>; | ||
interrupt-parent = <&gpio0>; | ||
interrupts = <27 2>; /* falling edge */ | ||
pinctrl-0 = <&pmx_camera>; | ||
pinctrl-names = "default"; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
LG Corporation 7" WXGA TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "lg,ld070wx3-sl01" | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. |
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,7 @@ | ||
LG Corporation 5" HD TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "lg,lh500wx1-sd03" | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. |
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,7 @@ | ||
LG 12.9" (2560x1700 pixels) TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "lg,lp129qe" | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. |
66 changes: 66 additions & 0 deletions
66
Documentation/devicetree/bindings/panel/samsung,ld9040.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,66 @@ | ||
Samsung LD9040 AMOLED LCD parallel RGB panel with SPI control bus | ||
|
||
Required properties: | ||
- compatible: "samsung,ld9040" | ||
- reg: address of the panel on SPI bus | ||
- vdd3-supply: core voltage supply | ||
- vci-supply: voltage supply for analog circuits | ||
- reset-gpios: a GPIO spec for the reset pin | ||
- display-timings: timings for the connected panel according to [1] | ||
|
||
The panel must obey rules for SPI slave device specified in document [2]. | ||
|
||
Optional properties: | ||
- power-on-delay: delay after turning regulators on [ms] | ||
- reset-delay: delay after reset sequence [ms] | ||
- panel-width-mm: physical panel width [mm] | ||
- panel-height-mm: physical panel height [mm] | ||
|
||
The device node can contain one 'port' child node with one child | ||
'endpoint' node, according to the bindings defined in [3]. This | ||
node should describe panel's video bus. | ||
|
||
[1]: Documentation/devicetree/bindings/video/display-timing.txt | ||
[2]: Documentation/devicetree/bindings/spi/spi-bus.txt | ||
[3]: Documentation/devicetree/bindings/media/video-interfaces.txt | ||
|
||
Example: | ||
|
||
lcd@0 { | ||
compatible = "samsung,ld9040"; | ||
reg = <0>; | ||
vdd3-supply = <&ldo7_reg>; | ||
vci-supply = <&ldo17_reg>; | ||
reset-gpios = <&gpy4 5 0>; | ||
spi-max-frequency = <1200000>; | ||
spi-cpol; | ||
spi-cpha; | ||
power-on-delay = <10>; | ||
reset-delay = <10>; | ||
panel-width-mm = <90>; | ||
panel-height-mm = <154>; | ||
|
||
display-timings { | ||
timing { | ||
clock-frequency = <23492370>; | ||
hactive = <480>; | ||
vactive = <800>; | ||
hback-porch = <16>; | ||
hfront-porch = <16>; | ||
vback-porch = <2>; | ||
vfront-porch = <28>; | ||
hsync-len = <2>; | ||
vsync-len = <1>; | ||
hsync-active = <0>; | ||
vsync-active = <0>; | ||
de-active = <0>; | ||
pixelclk-active = <0>; | ||
}; | ||
}; | ||
|
||
port { | ||
lcd_ep: endpoint { | ||
remote-endpoint = <&fimd_dpi_ep>; | ||
}; | ||
}; | ||
}; |
56 changes: 56 additions & 0 deletions
56
Documentation/devicetree/bindings/panel/samsung,s6e8aa0.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,56 @@ | ||
Samsung S6E8AA0 AMOLED LCD 5.3 inch panel | ||
|
||
Required properties: | ||
- compatible: "samsung,s6e8aa0" | ||
- reg: the virtual channel number of a DSI peripheral | ||
- vdd3-supply: core voltage supply | ||
- vci-supply: voltage supply for analog circuits | ||
- reset-gpios: a GPIO spec for the reset pin | ||
- display-timings: timings for the connected panel as described by [1] | ||
|
||
Optional properties: | ||
- power-on-delay: delay after turning regulators on [ms] | ||
- reset-delay: delay after reset sequence [ms] | ||
- init-delay: delay after initialization sequence [ms] | ||
- panel-width-mm: physical panel width [mm] | ||
- panel-height-mm: physical panel height [mm] | ||
- flip-horizontal: boolean to flip image horizontally | ||
- flip-vertical: boolean to flip image vertically | ||
|
||
The device node can contain one 'port' child node with one child | ||
'endpoint' node, according to the bindings defined in [2]. This | ||
node should describe panel's video bus. | ||
|
||
[1]: Documentation/devicetree/bindings/video/display-timing.txt | ||
[2]: Documentation/devicetree/bindings/media/video-interfaces.txt | ||
|
||
Example: | ||
|
||
panel { | ||
compatible = "samsung,s6e8aa0"; | ||
reg = <0>; | ||
vdd3-supply = <&vcclcd_reg>; | ||
vci-supply = <&vlcd_reg>; | ||
reset-gpios = <&gpy4 5 0>; | ||
power-on-delay= <50>; | ||
reset-delay = <100>; | ||
init-delay = <100>; | ||
panel-width-mm = <58>; | ||
panel-height-mm = <103>; | ||
flip-horizontal; | ||
flip-vertical; | ||
|
||
display-timings { | ||
timing0: timing-0 { | ||
clock-frequency = <57153600>; | ||
hactive = <720>; | ||
vactive = <1280>; | ||
hfront-porch = <5>; | ||
hback-porch = <5>; | ||
hsync-len = <5>; | ||
vfront-porch = <13>; | ||
vback-porch = <1>; | ||
vsync-len = <2>; | ||
}; | ||
}; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
Exynos MIPI DSI Master | ||
|
||
Required properties: | ||
- compatible: "samsung,exynos4210-mipi-dsi" | ||
- reg: physical base address and length of the registers set for the device | ||
- interrupts: should contain DSI interrupt | ||
- clocks: list of clock specifiers, must contain an entry for each required | ||
entry in clock-names | ||
- clock-names: should include "bus_clk"and "pll_clk" entries | ||
- phys: list of phy specifiers, must contain an entry for each required | ||
entry in phy-names | ||
- phy-names: should include "dsim" entry | ||
- vddcore-supply: MIPI DSIM Core voltage supply (e.g. 1.1V) | ||
- vddio-supply: MIPI DSIM I/O and PLL voltage supply (e.g. 1.8V) | ||
- samsung,pll-clock-frequency: specifies frequency of the "pll_clk" clock | ||
- #address-cells, #size-cells: should be set respectively to <1> and <0> | ||
according to DSI host bindings (see MIPI DSI bindings [1]) | ||
|
||
Optional properties: | ||
- samsung,power-domain: a phandle to DSIM power domain node | ||
|
||
Child nodes: | ||
Should contain DSI peripheral nodes (see MIPI DSI bindings [1]). | ||
|
||
Video interfaces: | ||
Device node can contain video interface port nodes according to [2]. | ||
The following are properties specific to those nodes: | ||
|
||
port node: | ||
- reg: (required) can be 0 for input RGB/I80 port or 1 for DSI port; | ||
|
||
endpoint node of DSI port (reg = 1): | ||
- samsung,burst-clock-frequency: specifies DSI frequency in high-speed burst | ||
mode | ||
- samsung,esc-clock-frequency: specifies DSI frequency in escape mode | ||
|
||
[1]: Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt | ||
[2]: Documentation/devicetree/bindings/media/video-interfaces.txt | ||
|
||
Example: | ||
|
||
dsi@11C80000 { | ||
compatible = "samsung,exynos4210-mipi-dsi"; | ||
reg = <0x11C80000 0x10000>; | ||
interrupts = <0 79 0>; | ||
clocks = <&clock 286>, <&clock 143>; | ||
clock-names = "bus_clk", "pll_clk"; | ||
phys = <&mipi_phy 1>; | ||
phy-names = "dsim"; | ||
vddcore-supply = <&vusb_reg>; | ||
vddio-supply = <&vmipi_reg>; | ||
samsung,power-domain = <&pd_lcd0>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
samsung,pll-clock-frequency = <24000000>; | ||
|
||
panel@1 { | ||
reg = <0>; | ||
... | ||
port { | ||
panel_ep: endpoint { | ||
remote-endpoint = <&dsi_ep>; | ||
}; | ||
}; | ||
}; | ||
|
||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
port@1 { | ||
dsi_ep: endpoint { | ||
reg = <0>; | ||
samsung,burst-clock-frequency = <500000000>; | ||
samsung,esc-clock-frequency = <20000000>; | ||
remote-endpoint = <&panel_ep>; | ||
}; | ||
}; | ||
}; | ||
}; |
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
Oops, something went wrong.