mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
20ea6adbf1
Build system: x86_64 Build-tested: bcm2708, bcm2709, bcm2710, bcm2711 Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B Signed-off-by: Marty Jones <mj8263788@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
47 lines
1.6 KiB
Diff
47 lines
1.6 KiB
Diff
From 152f82d69308b96b0e838918387fa70c26a52454 Mon Sep 17 00:00:00 2001
|
|
From: Chris Morgan <macromorgan@hotmail.com>
|
|
Date: Wed, 2 Feb 2022 10:43:32 -0600
|
|
Subject: [PATCH] overlays: Add Geekworm mzp280 to vc4-kms-dpi-panel
|
|
|
|
Add support for the Geekworm mzp280 DPI panel to the generic
|
|
vc4-kms-dpi-panel overlay.
|
|
|
|
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
|
|
---
|
|
arch/arm/boot/dts/overlays/README | 1 +
|
|
arch/arm/boot/dts/overlays/vc4-kms-dpi-panel-overlay.dts | 7 +++++++
|
|
2 files changed, 8 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -3682,6 +3682,7 @@ Info: Enable a preconfigured KMS DPI p
|
|
Load: dtoverlay=vc4-kms-dpi-panel,<param>=<val>
|
|
Params: at056tn53v1 Enable an Innolux 5.6in VGA TFT
|
|
kippah-7inch Enable an Adafruit Kippah with 7inch panel.
|
|
+ mzp280 Enable a Geekworm MZP280 panel.
|
|
backlight-gpio Defines a GPIO to be used for backlight control
|
|
(default of none).
|
|
backlight-pwm Defines a PWM channel to be used for backlight
|
|
--- a/arch/arm/boot/dts/overlays/vc4-kms-dpi-panel-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/vc4-kms-dpi-panel-overlay.dts
|
|
@@ -23,6 +23,12 @@
|
|
compatible = "ontat,yx700wv03", "simple-panel";
|
|
};
|
|
};
|
|
+ fragment@2 {
|
|
+ target = <&panel>;
|
|
+ __dormant__ {
|
|
+ compatible = "geekworm,mzp280", "simple-panel";
|
|
+ };
|
|
+ };
|
|
|
|
fragment@90 {
|
|
target = <&dpi>;
|
|
@@ -58,5 +64,6 @@
|
|
__overrides__ {
|
|
at056tn53v1 = <0>, "+0+90";
|
|
kippah-7inch = <0>, "+1+91";
|
|
+ mzp280 = <0>, "+2+93";
|
|
};
|
|
};
|