Skip to content

Commit e9f37d3

Browse files
committed
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 ...
2 parents 5fb6b95 + c39b069 commit e9f37d3

483 files changed

Lines changed: 37464 additions & 15916 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/DocBook/drm.tmpl‎

Lines changed: 369 additions & 181 deletions
Large diffs are not rendered by default.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
ptn3460 bridge bindings
2+
3+
Required properties:
4+
- compatible: "nxp,ptn3460"
5+
- reg: i2c address of the bridge
6+
- powerdown-gpio: OF device-tree gpio specification
7+
- reset-gpio: OF device-tree gpio specification
8+
- edid-emulation: The EDID emulation entry to use
9+
+-------+------------+------------------+
10+
| Value | Resolution | Description |
11+
| 0 | 1024x768 | NXP Generic |
12+
| 1 | 1920x1080 | NXP Generic |
13+
| 2 | 1920x1080 | NXP Generic |
14+
| 3 | 1600x900 | Samsung LTM200KT |
15+
| 4 | 1920x1080 | Samsung LTM230HT |
16+
| 5 | 1366x768 | NXP Generic |
17+
| 6 | 1600x900 | ChiMei M215HGE |
18+
+-------+------------+------------------+
19+
20+
Example:
21+
lvds-bridge@20 {
22+
compatible = "nxp,ptn3460";
23+
reg = <0x20>;
24+
powerdown-gpio = <&gpy2 5 1 0 0>;
25+
reset-gpio = <&gpx1 5 1 0 0>;
26+
edid-emulation = <5>;
27+
};
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Device-Tree bindings for the NXP TDA998x HDMI transmitter
2+
3+
Required properties;
4+
- compatible: must be "nxp,tda998x"
5+
6+
Optional properties:
7+
- interrupts: interrupt number and trigger type
8+
default: polling
9+
10+
- pinctrl-0: pin control group to be used for
11+
screen plug/unplug interrupt.
12+
13+
- pinctrl-names: must contain a "default" entry.
14+
15+
- video-ports: 24 bits value which defines how the video controller
16+
output is wired to the TDA998x input - default: <0x230145>
17+
18+
Example:
19+
20+
tda998x: hdmi-encoder {
21+
compatible = "nxp,tda998x";
22+
reg = <0x70>;
23+
interrupt-parent = <&gpio0>;
24+
interrupts = <27 2>; /* falling edge */
25+
pinctrl-0 = <&pmx_camera>;
26+
pinctrl-names = "default";
27+
};

‎Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,48 @@ of the following host1x client modules:
190190
- nvidia,edid: supplies a binary EDID blob
191191
- nvidia,panel: phandle of a display panel
192192

193+
- sor: serial output resource
194+
195+
Required properties:
196+
- compatible: "nvidia,tegra124-sor"
197+
- reg: Physical base address and length of the controller's registers.
198+
- interrupts: The interrupt outputs from the controller.
199+
- clocks: Must contain an entry for each entry in clock-names.
200+
See ../clocks/clock-bindings.txt for details.
201+
- clock-names: Must include the following entries:
202+
- sor: clock input for the SOR hardware
203+
- parent: input for the pixel clock
204+
- dp: reference clock for the SOR clock
205+
- safe: safe reference for the SOR clock during power up
206+
- resets: Must contain an entry for each entry in reset-names.
207+
See ../reset/reset.txt for details.
208+
- reset-names: Must include the following entries:
209+
- sor
210+
211+
Optional properties:
212+
- nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
213+
- nvidia,hpd-gpio: specifies a GPIO used for hotplug detection
214+
- nvidia,edid: supplies a binary EDID blob
215+
- nvidia,panel: phandle of a display panel
216+
217+
Optional properties when driving an eDP output:
218+
- nvidia,dpaux: phandle to a DispayPort AUX interface
219+
220+
- dpaux: DisplayPort AUX interface
221+
- compatible: "nvidia,tegra124-dpaux"
222+
- reg: Physical base address and length of the controller's registers.
223+
- interrupts: The interrupt outputs from the controller.
224+
- clocks: Must contain an entry for each entry in clock-names.
225+
See ../clocks/clock-bindings.txt for details.
226+
- clock-names: Must include the following entries:
227+
- dpaux: clock input for the DPAUX hardware
228+
- parent: reference clock
229+
- resets: Must contain an entry for each entry in reset-names.
230+
See ../reset/reset.txt for details.
231+
- reset-names: Must include the following entries:
232+
- dpaux
233+
- vdd-supply: phandle of a supply that powers the DisplayPort link
234+
193235
Example:
194236

195237
/ {
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
LG Corporation 7" WXGA TFT LCD panel
2+
3+
Required properties:
4+
- compatible: should be "lg,ld070wx3-sl01"
5+
6+
This binding is compatible with the simple-panel binding, which is specified
7+
in simple-panel.txt in this directory.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
LG Corporation 5" HD TFT LCD panel
2+
3+
Required properties:
4+
- compatible: should be "lg,lh500wx1-sd03"
5+
6+
This binding is compatible with the simple-panel binding, which is specified
7+
in simple-panel.txt in this directory.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
LG 12.9" (2560x1700 pixels) TFT LCD panel
2+
3+
Required properties:
4+
- compatible: should be "lg,lp129qe"
5+
6+
This binding is compatible with the simple-panel binding, which is specified
7+
in simple-panel.txt in this directory.
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
Samsung LD9040 AMOLED LCD parallel RGB panel with SPI control bus
2+
3+
Required properties:
4+
- compatible: "samsung,ld9040"
5+
- reg: address of the panel on SPI bus
6+
- vdd3-supply: core voltage supply
7+
- vci-supply: voltage supply for analog circuits
8+
- reset-gpios: a GPIO spec for the reset pin
9+
- display-timings: timings for the connected panel according to [1]
10+
11+
The panel must obey rules for SPI slave device specified in document [2].
12+
13+
Optional properties:
14+
- power-on-delay: delay after turning regulators on [ms]
15+
- reset-delay: delay after reset sequence [ms]
16+
- panel-width-mm: physical panel width [mm]
17+
- panel-height-mm: physical panel height [mm]
18+
19+
The device node can contain one 'port' child node with one child
20+
'endpoint' node, according to the bindings defined in [3]. This
21+
node should describe panel's video bus.
22+
23+
[1]: Documentation/devicetree/bindings/video/display-timing.txt
24+
[2]: Documentation/devicetree/bindings/spi/spi-bus.txt
25+
[3]: Documentation/devicetree/bindings/media/video-interfaces.txt
26+
27+
Example:
28+
29+
lcd@0 {
30+
compatible = "samsung,ld9040";
31+
reg = <0>;
32+
vdd3-supply = <&ldo7_reg>;
33+
vci-supply = <&ldo17_reg>;
34+
reset-gpios = <&gpy4 5 0>;
35+
spi-max-frequency = <1200000>;
36+
spi-cpol;
37+
spi-cpha;
38+
power-on-delay = <10>;
39+
reset-delay = <10>;
40+
panel-width-mm = <90>;
41+
panel-height-mm = <154>;
42+
43+
display-timings {
44+
timing {
45+
clock-frequency = <23492370>;
46+
hactive = <480>;
47+
vactive = <800>;
48+
hback-porch = <16>;
49+
hfront-porch = <16>;
50+
vback-porch = <2>;
51+
vfront-porch = <28>;
52+
hsync-len = <2>;
53+
vsync-len = <1>;
54+
hsync-active = <0>;
55+
vsync-active = <0>;
56+
de-active = <0>;
57+
pixelclk-active = <0>;
58+
};
59+
};
60+
61+
port {
62+
lcd_ep: endpoint {
63+
remote-endpoint = <&fimd_dpi_ep>;
64+
};
65+
};
66+
};
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
Samsung S6E8AA0 AMOLED LCD 5.3 inch panel
2+
3+
Required properties:
4+
- compatible: "samsung,s6e8aa0"
5+
- reg: the virtual channel number of a DSI peripheral
6+
- vdd3-supply: core voltage supply
7+
- vci-supply: voltage supply for analog circuits
8+
- reset-gpios: a GPIO spec for the reset pin
9+
- display-timings: timings for the connected panel as described by [1]
10+
11+
Optional properties:
12+
- power-on-delay: delay after turning regulators on [ms]
13+
- reset-delay: delay after reset sequence [ms]
14+
- init-delay: delay after initialization sequence [ms]
15+
- panel-width-mm: physical panel width [mm]
16+
- panel-height-mm: physical panel height [mm]
17+
- flip-horizontal: boolean to flip image horizontally
18+
- flip-vertical: boolean to flip image vertically
19+
20+
The device node can contain one 'port' child node with one child
21+
'endpoint' node, according to the bindings defined in [2]. This
22+
node should describe panel's video bus.
23+
24+
[1]: Documentation/devicetree/bindings/video/display-timing.txt
25+
[2]: Documentation/devicetree/bindings/media/video-interfaces.txt
26+
27+
Example:
28+
29+
panel {
30+
compatible = "samsung,s6e8aa0";
31+
reg = <0>;
32+
vdd3-supply = <&vcclcd_reg>;
33+
vci-supply = <&vlcd_reg>;
34+
reset-gpios = <&gpy4 5 0>;
35+
power-on-delay= <50>;
36+
reset-delay = <100>;
37+
init-delay = <100>;
38+
panel-width-mm = <58>;
39+
panel-height-mm = <103>;
40+
flip-horizontal;
41+
flip-vertical;
42+
43+
display-timings {
44+
timing0: timing-0 {
45+
clock-frequency = <57153600>;
46+
hactive = <720>;
47+
vactive = <1280>;
48+
hfront-porch = <5>;
49+
hback-porch = <5>;
50+
hsync-len = <5>;
51+
vfront-porch = <13>;
52+
vback-porch = <1>;
53+
vsync-len = <2>;
54+
};
55+
};
56+
};

‎Documentation/devicetree/bindings/video/exynos_dp.txt‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ Required properties for dp-controller:
4949
-samsung,lane-count:
5050
number of lanes supported by the panel.
5151
LANE_COUNT1 = 1, LANE_COUNT2 = 2, LANE_COUNT4 = 4
52+
- display-timings: timings for the connected panel as described by
53+
Documentation/devicetree/bindings/video/display-timing.txt
5254

5355
Optional properties for dp-controller:
5456
-interlaced:
@@ -84,4 +86,19 @@ Board Specific portion:
8486
samsung,color-depth = <1>;
8587
samsung,link-rate = <0x0a>;
8688
samsung,lane-count = <4>;
89+
90+
display-timings {
91+
native-mode = <&lcd_timing>;
92+
lcd_timing: 1366x768 {
93+
clock-frequency = <70589280>;
94+
hactive = <1366>;
95+
vactive = <768>;
96+
hfront-porch = <40>;
97+
hback-porch = <40>;
98+
hsync-len = <32>;
99+
vback-porch = <10>;
100+
vfront-porch = <12>;
101+
vsync-len = <6>;
102+
};
103+
};
87104
};

0 commit comments

Comments
 (0)