Skip to content

Commit 126a340

Browse files
committed
Merge tag 'drm-misc-next-2020-04-23' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
drm-misc-next for 5.8: UAPI Changes: Cross-subsystem Changes: * MAINTAINERS: adapt several filenames to changes in panel code * arch/arm, fbdev: Use GPIO descriptors in sa11x0 * dma-buf: Fix typo in documentation Core Changes: * drm: Don't free framebuffer in drm_gem_fb_init() * drm: Document struct drm_device.dev_private being deprecated * drm: Merged topic/phy-compliance-202004-08 Driver Changes: * drm/adv7511: Add support for HDMI SPDIF and additional sampling rates * drm/ast: Allocate CRTC state of correct size * drm/panel: convert many driver bindings to DT schema; add port/ports property to bindings * drm/rockchip: Convert rk3066 bindings to YAML; spelling fixes * fbdev/arcfb: Call request_irq(), free_irq() at appropriate places * fbdev/controlfb: Support COMPILE_TEST; cleanups * fbdev/imxfb: Fix unbalanced enables/disables * fbdev/s1d13xxxfb: Call unregister_framebuffer() * fbdev/ssd1307fb: Use atomic PWM API, device properties and probe_new(); cleanups * fbdev/vesafb: Call release_region() * cleanups of includes, unused types/variables/fields, and fallthrough Signed-off-by: Dave Airlie <airlied@redhat.com> From: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20200423083425.GA15883@linux-uq9g
2 parents 1aa63dd + 776d588 commit 126a340

96 files changed

Lines changed: 2173 additions & 1820 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/allwinner,sun6i-a31-mipi-dsi.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ examples:
119119
panel@0 {
120120
compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
121121
reg = <0>;
122-
power-gpios = <&pio 1 7 0>; /* PB07 */
122+
power-supply = <&reg_display>;
123123
reset-gpios = <&r_pio 0 5 1>; /* PL05 */
124124
backlight = <&pwm_bl>;
125125
};

‎Documentation/devicetree/bindings/display/dsi-controller.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ description: |
2828
2929
properties:
3030
$nodename:
31-
pattern: "^dsi-controller(@.*)?$"
31+
pattern: "^dsi(@.*)?$"
3232

3333
"#address-cells":
3434
const: 1
@@ -76,7 +76,7 @@ patternProperties:
7676
examples:
7777
- |
7878
#include <dt-bindings/gpio/gpio.h>
79-
dsi-controller@a0351000 {
79+
dsi@a0351000 {
8080
reg = <0xa0351000 0x1000>;
8181
#address-cells = <1>;
8282
#size-cells = <0>;

‎Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt‎

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/panel/arm,versatile-tft-panel.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: ARM Versatile TFT Panels
8+
9+
maintainers:
10+
- Linus Walleij <linus.walleij@linaro.org>
11+
12+
description: |
13+
These panels are connected to the daughterboards found on the
14+
ARM Versatile reference designs.
15+
16+
This device node must appear as a child to a "syscon"-compatible
17+
node.
18+
19+
allOf:
20+
- $ref: panel-common.yaml#
21+
22+
properties:
23+
compatible:
24+
const: arm,versatile-tft-panel
25+
26+
port: true
27+
28+
required:
29+
- compatible
30+
- port
31+
32+
additionalProperties: false
33+
34+
examples:
35+
- |
36+
sysreg {
37+
compatible = "arm,versatile-sysreg", "syscon", "simple-mfd";
38+
reg = <0x00000 0x1000>;
39+
40+
#address-cells = <1>;
41+
#size-cells = <0>;
42+
43+
panel {
44+
compatible = "arm,versatile-tft-panel";
45+
46+
port {
47+
panel_in: endpoint {
48+
remote-endpoint = <&foo>;
49+
};
50+
};
51+
};
52+
};
53+
54+
...

‎Documentation/devicetree/bindings/display/panel/boe,himax8279d.txt‎

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/panel/boe,himax8279d.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Boe Himax8279d 1200x1920 TFT LCD panel
8+
9+
maintainers:
10+
- Jerry Han <jerry.han.hq@gmail.com>
11+
12+
allOf:
13+
- $ref: panel-common.yaml#
14+
15+
properties:
16+
compatible:
17+
items:
18+
- const: boe,himax8279d8p
19+
- const: boe,himax8279d10p
20+
21+
backlight: true
22+
enable-gpios: true
23+
reg: true
24+
25+
pp33-gpios:
26+
maxItems: 1
27+
description: GPIO for the 3.3v pin that provides the supply voltage
28+
29+
pp18-gpios:
30+
maxItems: 1
31+
description: GPIO for the 1.8v pin that provides the supply voltage
32+
33+
required:
34+
- compatible
35+
- reg
36+
- enable-gpios
37+
- pp33-gpios
38+
- pp18-gpios
39+
40+
additionalProperties: false
41+
42+
examples:
43+
- |
44+
#include <dt-bindings/gpio/gpio.h>
45+
46+
dsi {
47+
#address-cells = <1>;
48+
#size-cells = <0>;
49+
panel@0 {
50+
compatible = "boe,himax8279d8p", "boe,himax8279d10p";
51+
reg = <0>;
52+
backlight = <&backlight>;
53+
enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
54+
pp33-gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
55+
pp18-gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
56+
};
57+
};
58+
59+
...

‎Documentation/devicetree/bindings/display/panel/ilitek,ili9322.txt‎

Lines changed: 0 additions & 49 deletions
This file was deleted.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/panel/ilitek,ili9322.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Ilitek ILI9322 TFT panel driver with SPI control bus
8+
9+
maintainers:
10+
- Linus Walleij <linus.walleij@linaro.org>
11+
12+
description: |
13+
This is a driver for 320x240 TFT panels, accepting a variety of input
14+
streams that get adapted and scaled to the panel. The panel output has
15+
960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and
16+
VCOMH outputs.
17+
18+
The panel must obey the rules for a SPI slave device as specified in
19+
spi/spi-controller.yaml
20+
21+
allOf:
22+
- $ref: panel-common.yaml#
23+
24+
properties:
25+
compatible:
26+
items:
27+
- enum:
28+
- dlink,dir-685-panel
29+
30+
- const: ilitek,ili9322
31+
32+
reset-gpios: true
33+
port: true
34+
35+
vcc-supply:
36+
description: Core voltage supply
37+
38+
iovcc-supply:
39+
description: Voltage supply for the interface input/output signals
40+
41+
vci-supply:
42+
description: Voltage supply for analog parts
43+
44+
required:
45+
- compatible
46+
- reg
47+
48+
unevaluatedProperties: false
49+
50+
examples:
51+
- |
52+
spi {
53+
#address-cells = <1>;
54+
#size-cells = <0>;
55+
56+
panel: display@0 {
57+
compatible = "dlink,dir-685-panel", "ilitek,ili9322";
58+
reg = <0>;
59+
vcc-supply = <&vdisp>;
60+
iovcc-supply = <&vdisp>;
61+
vci-supply = <&vdisp>;
62+
63+
port {
64+
panel_in: endpoint {
65+
remote-endpoint = <&display_out>;
66+
};
67+
};
68+
};
69+
};
70+
71+
...

‎Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.txt‎

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/panel/ilitek,ili9881c.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Ilitek ILI9881c based MIPI-DSI panels
8+
9+
maintainers:
10+
- Maxime Ripard <mripard@kernel.org>
11+
12+
properties:
13+
compatible:
14+
items:
15+
- enum:
16+
- bananapi,lhr050h41
17+
18+
- const: ilitek,ili9881c
19+
20+
backlight: true
21+
power-supply: true
22+
reg: true
23+
reset-gpios: true
24+
25+
required:
26+
- compatible
27+
- power-supply
28+
- reg
29+
- reset-gpios
30+
31+
additionalProperties: false
32+
33+
examples:
34+
- |
35+
#include <dt-bindings/gpio/gpio.h>
36+
37+
dsi {
38+
#address-cells = <1>;
39+
#size-cells = <0>;
40+
41+
panel@0 {
42+
compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
43+
reg = <0>;
44+
power-supply = <&reg_display>;
45+
reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
46+
backlight = <&pwm_bl>;
47+
};
48+
};
49+
50+
...

0 commit comments

Comments
 (0)