Skip to content

Commit f5c547e

Browse files
committed
Merge tag 'drm-misc-next-2020-01-02' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
drm-misc-next for v5.6: UAPI Changes: - Commandline parser: Add support for panel orientation, and per-mode options. - Fix IOCTL naming for dma-buf heaps. Cross-subsystem Changes: - Rename DMA_HEAP_IOC_ALLOC to DMA_HEAP_IOCTL_ALLOC before it becomes abi. - Change DMA-BUF system-heap's name to system. - Fix leak in error handling in dma_heap_ioctl(), and make a symbol static. - Fix udma-buf cpu access. - Fix ti devicetree bindings. Core Changes: - Add CTA-861-G modes with VIC >= 193. - Change error handling and remove bug_on in *drm_dev_init. - Export drm_panel_of_backlight() correctly once more. - Add support for lvds decoders. - Convert drm/client and drm/(gem-,)fb-helper to drm-device based logging and update logging todo. Driver Changes: - Add support for dsi/px30 to rockchip. - Add fb damage support to virtio. - Use dma_resv locking wrappers in vc4, msm, etnaviv. - Make functions in virtio static, and perform some simplifications. - Add suspend support to sun4i. - Add A64 mipi dsi support to sun4i. - Add runtime pm suspend to komeda. - Associated driver fixes. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/efc11139-1653-86bc-1b0f-0aefde219850@linux.intel.com
2 parents 3ae3271 + 1ce0d51 commit f5c547e

67 files changed

Lines changed: 1645 additions & 824 deletions

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/allwinner,sun6i-a31-mipi-dsi.yaml‎

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ properties:
1515
"#size-cells": true
1616

1717
compatible:
18-
const: allwinner,sun6i-a31-mipi-dsi
18+
enum:
19+
- allwinner,sun6i-a31-mipi-dsi
20+
- allwinner,sun50i-a64-mipi-dsi
1921

2022
reg:
2123
maxItems: 1
@@ -24,6 +26,8 @@ properties:
2426
maxItems: 1
2527

2628
clocks:
29+
minItems: 1
30+
maxItems: 2
2731
items:
2832
- description: Bus Clock
2933
- description: Module Clock
@@ -63,13 +67,38 @@ required:
6367
- reg
6468
- interrupts
6569
- clocks
66-
- clock-names
6770
- phys
6871
- phy-names
6972
- resets
7073
- vcc-dsi-supply
7174
- port
7275

76+
allOf:
77+
- if:
78+
properties:
79+
compatible:
80+
contains:
81+
const: allwinner,sun6i-a31-mipi-dsi
82+
83+
then:
84+
properties:
85+
clocks:
86+
minItems: 2
87+
88+
required:
89+
- clock-names
90+
91+
- if:
92+
properties:
93+
compatible:
94+
contains:
95+
const: allwinner,sun50i-a64-mipi-dsi
96+
97+
then:
98+
properties:
99+
clocks:
100+
minItems: 1
101+
73102
additionalProperties: false
74103

75104
examples:
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/bridge/lvds-codec.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Transparent LVDS encoders and decoders
8+
9+
maintainers:
10+
- Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
11+
12+
description: |
13+
This binding supports transparent LVDS encoders and decoders that don't
14+
require any configuration.
15+
16+
LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple
17+
incompatible data link layers have been used over time to transmit image data
18+
to LVDS panels. This binding targets devices compatible with the following
19+
specifications only.
20+
21+
[JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February
22+
1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA)
23+
[LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National
24+
Semiconductor
25+
[VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video
26+
Electronics Standards Association (VESA)
27+
28+
Those devices have been marketed under the FPD-Link and FlatLink brand names
29+
among others.
30+
31+
properties:
32+
compatible:
33+
oneOf:
34+
- items:
35+
- enum:
36+
- ti,ds90c185 # For the TI DS90C185 FPD-Link Serializer
37+
- ti,ds90c187 # For the TI DS90C187 FPD-Link Serializer
38+
- ti,sn75lvds83 # For the TI SN75LVDS83 FlatLink transmitter
39+
- const: lvds-encoder # Generic LVDS encoder compatible fallback
40+
- items:
41+
- enum:
42+
- ti,ds90cf384a # For the DS90CF384A FPD-Link LVDS Receiver
43+
- const: lvds-decoder # Generic LVDS decoders compatible fallback
44+
- enum:
45+
- thine,thc63lvdm83d # For the THC63LVDM83D LVDS serializer
46+
47+
ports:
48+
type: object
49+
description: |
50+
This device has two video ports. Their connections are modeled using the
51+
OF graph bindings specified in Documentation/devicetree/bindings/graph.txt
52+
properties:
53+
port@0:
54+
type: object
55+
description: |
56+
For LVDS encoders, port 0 is the parallel input
57+
For LVDS decoders, port 0 is the LVDS input
58+
59+
port@1:
60+
type: object
61+
description: |
62+
For LVDS encoders, port 1 is the LVDS output
63+
For LVDS decoders, port 1 is the parallel output
64+
65+
required:
66+
- port@0
67+
- port@1
68+
69+
powerdown-gpios:
70+
description:
71+
The GPIO used to control the power down line of this device.
72+
maxItems: 1
73+
74+
required:
75+
- compatible
76+
- ports
77+
78+
examples:
79+
- |
80+
lvds-encoder {
81+
compatible = "ti,ds90c185", "lvds-encoder";
82+
83+
ports {
84+
#address-cells = <1>;
85+
#size-cells = <0>;
86+
87+
port@0 {
88+
reg = <0>;
89+
90+
lvds_enc_in: endpoint {
91+
remote-endpoint = <&display_out_rgb>;
92+
};
93+
};
94+
95+
port@1 {
96+
reg = <1>;
97+
98+
lvds_enc_out: endpoint {
99+
remote-endpoint = <&lvds_panel_in>;
100+
};
101+
};
102+
};
103+
};
104+
105+
- |
106+
lvds-decoder {
107+
compatible = "ti,ds90cf384a", "lvds-decoder";
108+
109+
ports {
110+
#address-cells = <1>;
111+
#size-cells = <0>;
112+
113+
port@0 {
114+
reg = <0>;
115+
116+
lvds_dec_in: endpoint {
117+
remote-endpoint = <&display_out_lvds>;
118+
};
119+
};
120+
121+
port@1 {
122+
reg = <1>;
123+
124+
lvds_dec_out: endpoint {
125+
remote-endpoint = <&rgb_panel_in>;
126+
};
127+
};
128+
};
129+
};
130+
131+
...

‎Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt‎

Lines changed: 0 additions & 66 deletions
This file was deleted.

‎Documentation/devicetree/bindings/display/bridge/thine,thc63lvdm83d.txt‎

Lines changed: 0 additions & 50 deletions
This file was deleted.

‎Documentation/devicetree/bindings/display/bridge/ti,ds90c185.txt‎

Lines changed: 0 additions & 55 deletions
This file was deleted.

‎Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,25 @@ Rockchip specific extensions to the Synopsys Designware MIPI DSI
44
Required properties:
55
- #address-cells: Should be <1>.
66
- #size-cells: Should be <0>.
7-
- compatible: "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi".
8-
"rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi".
7+
- compatible: one of
8+
"rockchip,px30-mipi-dsi", "snps,dw-mipi-dsi"
9+
"rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi"
10+
"rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi"
911
- reg: Represent the physical address range of the controller.
1012
- interrupts: Represent the controller's interrupt to the CPU(s).
1113
- clocks, clock-names: Phandles to the controller's pll reference
12-
clock(ref) and APB clock(pclk). For RK3399, a phy config clock
13-
(phy_cfg) and a grf clock(grf) are required. As described in [1].
14+
clock(ref) when using an internal dphy and APB clock(pclk).
15+
For RK3399, a phy config clock (phy_cfg) and a grf clock(grf)
16+
are required. As described in [1].
1417
- rockchip,grf: this soc should set GRF regs to mux vopl/vopb.
1518
- ports: contain a port node with endpoint definitions as defined in [2].
1619
For vopb,set the reg = <0> and set the reg = <1> for vopl.
1720
- video port 0 for the VOP input, the remote endpoint maybe vopb or vopl
1821
- video port 1 for either a panel or subsequent encoder
1922

2023
Optional properties:
24+
- phys: from general PHY binding: the phandle for the PHY device.
25+
- phy-names: Should be "dphy" if phys references an external phy.
2126
- power-domains: a phandle to mipi dsi power domain node.
2227
- resets: list of phandle + reset specifier pairs, as described in [3].
2328
- reset-names: string reset name, must be "apb".

0 commit comments

Comments
 (0)