Skip to content

Commit 88cd7a2

Browse files
committed
Merge tag 'drm-misc-next-2019-05-24' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
drm-misc-next for v5.3, try raspberrypi#2: UAPI Changes: - Add HDR source metadata property. - Make drm.h compile on GNU/kFreeBSD by including stdint.h - Clarify how the userspace reviewer has to review new kernel UAPI. - Clarify that for using new UAPI, merging to drm-next or drm-misc-next should be enough. Cross-subsystem Changes: - video/hdmi: Add unpack function for DRM infoframes. - Device tree bindings: * Updating a property for Mali Midgard GPUs * Updating a property for STM32 DSI panel * Adding support for FriendlyELEC HD702E 800x1280 panel * Adding support for Evervision VGG804821 800x480 5.0" WVGA TFT panel * Adding support for the EDT ET035012DM6 3.5" 320x240 QVGA 24-bit RGB TFT. * Adding support for Three Five displays TFC S9700RTWV43TR-01B 800x480 panel with resistive touch found on TI's AM335X-EVM. * Adding support for EDT ETM0430G0DH6 480x272 panel. - Add OSD101T2587-53TS driver with DT bindings. - Add Samsung S6E63M0 panel driver with DT bindings. - Add VXT VL050-8048NT-C01 800x480 panel with DT bindings. - Dma-buf: - Make mmap callback actually optional. - Documentation updates. - Fix debugfs refcount inbalance. - Remove unused sync_dump function. - Fix device tree bindings in drm-misc-next after a botched merge. Core Changes: - Add support for HDR infoframes and related EDID parsing. - Remove prime sg_table caching, now done inside dma-buf. - Add shiny new drm_gem_vram helpers for simple VRAM drivers; with some fixes to the new API on top. - Small fix to job cleanup without timeout handler. - Documentation fixes to drm_fourcc. - Replace lookups of drm_format with struct drm_format_info; remove functions that become obsolete by this conversion. - Remove double include in bridge/panel.c and some drivers. - Remove drmP.h include from drm/edid and drm/dp. - Fix null pointer deref in drm_fb_helper_hotplug_event(). - Remove most members from drm_fb_helper_crtc, only mode_set is kept. - Remove race of fb helpers with userspace; only restore mode when userspace is not master. - Move legacy setup from drm_file.c to drm_legacy_misc.c - Rework scheduler job destruction. - drm/bus was removed, remove from TODO. - Add __drm_atomic_helper_crtc_reset() to subclass crtc_state, and convert some drivers to use it (conversion is not complete yet). - Bump vblank timeout wait to 100 ms for atomic. - Docbook fix for drm_hdmi_infoframe_set_hdr_metadata. Driver Changes: - sun4i: Use DRM_GEM_CMA_VMAP_DRIVER_OPS instead of definining manually. - v3d: Small cleanups, adding support for compute shaders, reservation/synchronization fixes and job management refactoring, fixes MMU and debugfs. - lima: Fix null pointer in irq handler on startup, set default timeout for scheduled jobs. - stm/ltdc: Assorted fixes and adding FB modifier support. - amdgpu: Avoid hw reset if guilty job was already signaled. - virtio: Add seqno to fences, add trace events, use correct flags for fence allocation. - Convert AST, bochs, mgag200, vboxvideo, hisilicon to the new drm_gem_vram API. - sun6i_mipi_dsi: Support DSI GENERIC_SHORT_WRITE_2 transfers. - bochs: Small fix to use PTR_RET_OR_ZERO and driver unload. - gma500: header fixes - cirrus: Remove unused files. - mediatek: Fix compiler warning after merging the HDR series. - vc4: Rework binner bo handling. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/052875a5-27ba-3832-60c2-193d950afdff@linux.intel.com
2 parents cd6c84d + 909fa33 commit 88cd7a2

220 files changed

Lines changed: 5943 additions & 4593 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/devicetree/bindings/display/panel/edt,et-series.txt‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ Display bindings for EDT Display Technology Corp. Displays which are
66
compatible with the simple-panel binding, which is specified in
77
simple-panel.txt
88

9+
3,5" QVGA TFT Panels
10+
--------------------
11+
+-----------------+---------------------+-------------------------------------+
12+
| Identifier | compatbile | description |
13+
+=================+=====================+=====================================+
14+
| ET035012DM6 | edt,et035012dm6 | 3.5" QVGA TFT LCD panel |
15+
+-----------------+---------------------+-------------------------------------+
16+
17+
4,3" WVGA TFT Panels
18+
--------------------
19+
20+
+-----------------+---------------------+-------------------------------------+
21+
| Identifier | compatbile | description |
22+
+=================+=====================+=====================================+
23+
| ETM0430G0DH6 | edt,etm0430g0dh6 | 480x272 TFT Display |
24+
+-----------------+---------------------+-------------------------------------+
925

1026
5,7" WVGA TFT Panels
1127
--------------------
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Evervision Electronics Co. Ltd. VGG804821 5.0" WVGA TFT LCD Panel
2+
3+
Required properties:
4+
- compatible: should be "evervision,vgg804821"
5+
- power-supply: See simple-panel.txt
6+
7+
Optional properties:
8+
- backlight: See simple-panel.txt
9+
- enable-gpios: See simple-panel.txt
10+
11+
This binding is compatible with the simple-panel binding, which is specified
12+
in simple-panel.txt in this directory.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
FriendlyELEC HD702E 800x1280 LCD panel
2+
3+
HD702E lcd is FriendlyELEC developed eDP LCD panel with 800x1280
4+
resolution. It has built in Goodix, GT9271 captive touchscreen
5+
with backlight adjustable via PWM.
6+
7+
Required properties:
8+
- compatible: should be "friendlyarm,hd702e"
9+
- power-supply: regulator to provide the supply voltage
10+
11+
Optional properties:
12+
- backlight: phandle of the backlight device attached to the panel
13+
14+
Optional nodes:
15+
- Video port for LCD panel input.
16+
17+
This binding is compatible with the simple-panel binding, which is specified
18+
in simple-panel.txt in this directory.
19+
20+
Example:
21+
22+
panel {
23+
compatible ="friendlyarm,hd702e", "simple-panel";
24+
backlight = <&backlight>;
25+
power-supply = <&vcc3v3_sys>;
26+
27+
port {
28+
panel_in_edp: endpoint {
29+
remote-endpoint = <&edp_out_panel>;
30+
};
31+
};
32+
};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
One Stop Displays OSD101T2045-53TS 10.1" 1920x1200 panel
2+
3+
Required properties:
4+
- compatible: should be "osddisplays,osd101t2045-53ts"
5+
- power-supply: as specified in the base binding
6+
7+
Optional properties:
8+
- backlight: as specified in the base binding
9+
10+
This binding is compatible with the simple-panel binding, which is specified
11+
in simple-panel.txt in this directory.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
One Stop Displays OSD101T2587-53TS 10.1" 1920x1200 panel
2+
3+
The panel is similar to OSD101T2045-53TS, but it needs additional
4+
MIPI_DSI_TURN_ON_PERIPHERAL message from the host.
5+
6+
Required properties:
7+
- compatible: should be "osddisplays,osd101t2587-53ts"
8+
- power-supply: as specified in the base binding
9+
10+
Optional properties:
11+
- backlight: as specified in the base binding
12+
13+
This binding is compatible with the simple-panel binding, which is specified
14+
in simple-panel.txt in this directory.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Samsung s6e63m0 AMOLED LCD panel
2+
3+
Required properties:
4+
- compatible: "samsung,s6e63m0"
5+
- reset-gpios: GPIO spec for reset pin
6+
- vdd3-supply: VDD regulator
7+
- vci-supply: VCI regulator
8+
9+
The panel must obey rules for SPI slave device specified in document [1].
10+
11+
The device node can contain one 'port' child node with one child
12+
'endpoint' node, according to the bindings defined in [2]. This
13+
node should describe panel's video bus.
14+
15+
[1]: Documentation/devicetree/bindings/spi/spi-bus.txt
16+
[2]: Documentation/devicetree/bindings/media/video-interfaces.txt
17+
18+
Example:
19+
20+
s6e63m0: display@0 {
21+
compatible = "samsung,s6e63m0";
22+
reg = <0>;
23+
reset-gpio = <&mp05 5 1>;
24+
vdd3-supply = <&ldo12_reg>;
25+
vci-supply = <&ldo11_reg>;
26+
spi-max-frequency = <1200000>;
27+
28+
port {
29+
lcd_ep: endpoint {
30+
remote-endpoint = <&fimd_ep>;
31+
};
32+
};
33+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with
2+
resistive touch
3+
4+
The panel is found on TI AM335x-evm.
5+
6+
Required properties:
7+
- compatible: should be "tfc,s9700rtwv43tr-01b"
8+
- power-supply: See panel-common.txt
9+
10+
Optional properties:
11+
- enable-gpios: GPIO pin to enable or disable the panel, if there is one
12+
- backlight: phandle of the backlight device attached to the panel
13+
14+
This binding is compatible with the simple-panel binding, which is specified
15+
in simple-panel.txt in this directory.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
VXT 800x480 color TFT LCD panel
2+
3+
Required properties:
4+
- compatible: should be "vxt,vl050-8048nt-c01"
5+
- power-supply: as specified in the base binding
6+
7+
Optional properties:
8+
- backlight: as specified in the base binding
9+
- enable-gpios: as specified in the base binding
10+
11+
This binding is compatible with the simple-panel binding, which is specified
12+
in simple-panel.txt in this directory.

‎Documentation/devicetree/bindings/display/st,stm32-ltdc.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Mandatory nodes specific to STM32 DSI:
4040
- panel or bridge node: A node containing the panel or bridge description as
4141
documented in [6].
4242
- port: panel or bridge port node, connected to the DSI output port (port@1).
43+
Optional properties:
44+
- phy-dsi-supply: phandle of the regulator that provides the supply voltage.
4345

4446
Note: You can find more documentation in the following references
4547
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
@@ -101,6 +103,7 @@ Example 2: DSI panel
101103
clock-names = "pclk", "ref";
102104
resets = <&rcc STM32F4_APB2_RESET(DSI)>;
103105
reset-names = "apb";
106+
phy-dsi-supply = <&reg18>;
104107

105108
ports {
106109
#address-cells = <1>;

‎Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt‎

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Required properties:
1515
+ "arm,mali-t860"
1616
+ "arm,mali-t880"
1717
* which must be preceded by one of the following vendor specifics:
18+
+ "allwinner,sun50i-h6-mali"
1819
+ "amlogic,meson-gxm-mali"
1920
+ "rockchip,rk3288-mali"
2021
+ "rockchip,rk3399-mali"
@@ -31,21 +32,36 @@ Optional properties:
3132

3233
- clocks : Phandle to clock for the Mali Midgard device.
3334

35+
- clock-names : Specify the names of the clocks specified in clocks
36+
when multiple clocks are present.
37+
* core: clock driving the GPU itself (When only one clock is present,
38+
assume it's this clock.)
39+
* bus: bus clock for the GPU
40+
3441
- mali-supply : Phandle to regulator for the Mali device. Refer to
3542
Documentation/devicetree/bindings/regulator/regulator.txt for details.
3643

3744
- operating-points-v2 : Refer to Documentation/devicetree/bindings/opp/opp.txt
3845
for details.
3946

47+
- #cooling-cells: Refer to Documentation/devicetree/bindings/thermal/thermal.txt
48+
for details.
49+
4050
- resets : Phandle of the GPU reset line.
4151

4252
Vendor-specific bindings
4353
------------------------
4454

4555
The Mali GPU is integrated very differently from one SoC to
46-
another. In order to accomodate those differences, you have the option
56+
another. In order to accommodate those differences, you have the option
4757
to specify one more vendor-specific compatible, among:
4858

59+
- "allwinner,sun50i-h6-mali"
60+
Required properties:
61+
- clocks : phandles to core and bus clocks
62+
- clock-names : must contain "core" and "bus"
63+
- resets: phandle to GPU reset line
64+
4965
- "amlogic,meson-gxm-mali"
5066
Required properties:
5167
- resets : Should contain phandles of :
@@ -65,6 +81,7 @@ gpu@ffa30000 {
6581
mali-supply = <&vdd_gpu>;
6682
operating-points-v2 = <&gpu_opp_table>;
6783
power-domains = <&power RK3288_PD_GPU>;
84+
#cooling-cells = <2>;
6885
};
6986

7087
gpu_opp_table: opp_table0 {

0 commit comments

Comments
 (0)