linux-postmarketos-exynos4: add missing lcd patches for p4note (MR 3522)
This commit is contained in:
parent
4668038a9a
commit
b15f448999
|
@ -0,0 +1,32 @@
|
|||
From 2b50aae61f94bc76dde7d4c87b610ffe45ca1b02 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Martin=20J=C3=BCcker?= <martin.juecker@gmail.com>
|
||||
Date: Mon, 16 May 2022 21:37:07 +0200
|
||||
Subject: [PATCH] dt-bindings: display: simple: add support for Samsung
|
||||
LTL101AL01
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Add the Samsung LTL101AL01 WXGA LCD panel to the list.
|
||||
|
||||
Signed-off-by: Martin Jücker <martin.juecker@gmail.com>
|
||||
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
||||
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
|
||||
Link: https://patchwork.freedesktop.org/patch/msgid/20220516193709.10037-1-martin.juecker@gmail.com
|
||||
---
|
||||
.../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
|
||||
index bc8e9c0c1dc3c1..133f2bae04b52c 100644
|
||||
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
|
||||
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
|
||||
@@ -280,6 +280,8 @@ properties:
|
||||
- samsung,atna33xc20
|
||||
# Samsung 12.2" (2560x1600 pixels) TFT LCD panel
|
||||
- samsung,lsn122dl01-c01
|
||||
+ # Samsung Electronics 10.1" WXGA (1280x800) TFT LCD panel
|
||||
+ - samsung,ltl101al01
|
||||
# Samsung Electronics 10.1" WSVGA TFT LCD panel
|
||||
- samsung,ltn101nt05
|
||||
# Samsung Electronics 14" WXGA (1366x768) TFT LCD panel
|
|
@ -0,0 +1,70 @@
|
|||
From a6aa679a70e9d8fa4ad3f519c060db9bb186e21c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Martin=20J=C3=BCcker?= <martin.juecker@gmail.com>
|
||||
Date: Mon, 16 May 2022 21:37:08 +0200
|
||||
Subject: [PATCH] drm/panel: simple: add support for the Samsung LTL101AL01
|
||||
panel
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Add timings and panel description for the Samsung LTL101AL01 panel.
|
||||
|
||||
Signed-off-by: Martin Jücker <martin.juecker@gmail.com>
|
||||
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
|
||||
Link: https://patchwork.freedesktop.org/patch/msgid/20220516193709.10037-2-martin.juecker@gmail.com
|
||||
---
|
||||
drivers/gpu/drm/panel/panel-simple.c | 34 ++++++++++++++++++++++++++++
|
||||
1 file changed, 34 insertions(+)
|
||||
|
||||
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
|
||||
index c1d224cb719da7..edd5a0c3543726 100644
|
||||
--- a/drivers/gpu/drm/panel/panel-simple.c
|
||||
+++ b/drivers/gpu/drm/panel/panel-simple.c
|
||||
@@ -3218,6 +3218,37 @@ static const struct panel_desc rocktech_rk101ii01d_ct = {
|
||||
.connector_type = DRM_MODE_CONNECTOR_LVDS,
|
||||
};
|
||||
|
||||
+static const struct display_timing samsung_ltl101al01_timing = {
|
||||
+ .pixelclock = { 66663000, 66663000, 66663000 },
|
||||
+ .hactive = { 1280, 1280, 1280 },
|
||||
+ .hfront_porch = { 18, 18, 18 },
|
||||
+ .hback_porch = { 36, 36, 36 },
|
||||
+ .hsync_len = { 16, 16, 16 },
|
||||
+ .vactive = { 800, 800, 800 },
|
||||
+ .vfront_porch = { 4, 4, 4 },
|
||||
+ .vback_porch = { 16, 16, 16 },
|
||||
+ .vsync_len = { 3, 3, 3 },
|
||||
+ .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW,
|
||||
+};
|
||||
+
|
||||
+static const struct panel_desc samsung_ltl101al01 = {
|
||||
+ .timings = &samsung_ltl101al01_timing,
|
||||
+ .num_timings = 1,
|
||||
+ .bpc = 8,
|
||||
+ .size = {
|
||||
+ .width = 217,
|
||||
+ .height = 135,
|
||||
+ },
|
||||
+ .delay = {
|
||||
+ .prepare = 40,
|
||||
+ .enable = 300,
|
||||
+ .disable = 200,
|
||||
+ .unprepare = 600,
|
||||
+ },
|
||||
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
|
||||
+ .connector_type = DRM_MODE_CONNECTOR_LVDS,
|
||||
+};
|
||||
+
|
||||
static const struct drm_display_mode samsung_ltn101nt05_mode = {
|
||||
.clock = 54030,
|
||||
.hdisplay = 1024,
|
||||
@@ -4161,6 +4192,9 @@ static const struct of_device_id platform_of_match[] = {
|
||||
}, {
|
||||
.compatible = "rocktech,rk101ii01d-ct",
|
||||
.data = &rocktech_rk101ii01d_ct,
|
||||
+ }, {
|
||||
+ .compatible = "samsung,ltl101al01",
|
||||
+ .data = &samsung_ltl101al01,
|
||||
}, {
|
||||
.compatible = "samsung,ltn101nt05",
|
||||
.data = &samsung_ltn101nt05,
|
|
@ -104,6 +104,8 @@ de87e6a6608165cdc35a03bd10dedef1c12a2a9e1f66f500879c05b287bae7181cc95021a3a2aad6
|
|||
59471acf5f2382f20889a9f2ed714c36e2066234d431e4ccf88dfa40bd1ec00b362f06243fda5919863cfe06d4484dc8a36cbf9fe79889de5e5ea7bace030fce 0009-ARM-dts-exynos-n710x-add-leds.patch
|
||||
56b08a9b72760f26cdbda9f89875ee4b502dca4d9dd15bf33c8ed1cda82cf75c9588514a378fd2e942a41e52378348cc8e55da303660cce59bf8a12287568daf 0010-drm-Allow-DRM_IOCTL_MODE_CREATE_DUMB-on-render-nodes.patch
|
||||
5b09f9ee24c092143da79da6d89fbd4ff2689a9e74beeb5bef51cab47f5834f4857ecb8f08333722b1c4638354c27ab3db80aa2ad7b8d731743e53e0a08f2f6d 0011-ARM-dts-exynos-disable-HDMI-on-Midas.patch
|
||||
267511f256ab4b34fd5184cca35cd49fefb12d131fbb4fabf7d3a02c465084da41774d3ffd23a06ce156a8fc4e67e0b2e15092eee2635e05655058570b7ce1f0 0012-dt-bindings-display-simple-add_support_for_Samsung_L.patch
|
||||
83b7815ee54042e29717196c88e0fdd9e1fcc8c6ef58542fef19db50bc10d3ea7ce772d0b2e5762ee9a117795d6be02c52715c76210f0a254c1dadbb17c18b0f 0013-drm-panel-simple-add_support_for_the_Samsung_LTL101A.patch
|
||||
aaff0332b90e1f9f62de1128cace934717336e54ab09de46477369fa808302482d97334e43a85ee8597c1bcab64d3484750103559fea2ce8cd51776156bf7591 initramfs.list
|
||||
09f1f214a24300696809727a7b04378887c06ca6f40803ca51a12bf2176a360b2eb8632139d6a0722094e05cb2038bdb04018a1e3d33fc2697674552ade03bee init
|
||||
"
|
||||
|
|
Loading…
Reference in New Issue
Block a user