From c71d2d1f05374cfacfedd35875114d1e0f2952eb Mon Sep 17 00:00:00 2001 From: Waveshare_Team Date: Mon, 13 Apr 2026 11:24:56 +0800 Subject: [PATCH 1/6] regulator: waveshare-panel: Support pre-power-on control Some Waveshare DSI touch panels (e.g. the 8.8-DSI-TOUCH-A) need extra rails on the on-board display MCU enabled before the panel itself starts powering up, and require a longer settle time for those rails to come up cleanly. The selection is made from device tree via the new "pre-power-on" boolean property on the regulator's I2C node (asserted by the matching overlay override). When "pre-power-on" is present: - OR BIT(4) | BIT(1) | BIT(0) into the initial poweron_state, so the additional MCU rails are turned on together with VCC. - Wait 200 ms after writing REG_TP / REG_LCD so the rails fully stabilise before the panel/touch are accessed. When the property is absent the driver behaves exactly as before: poweron_state stays at BIT(9) | BIT(8) and the post-write delay remains 20 ms. Documented in the overlay README alongside the 8_8_inch_a parameter. Signed-off-by: Waveshare_Team --- drivers/regulator/waveshare-panel-regulator.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/waveshare-panel-regulator.c b/drivers/regulator/waveshare-panel-regulator.c index dfba8cf5b37c7f..2d288a568e2b72 100644 --- a/drivers/regulator/waveshare-panel-regulator.c +++ b/drivers/regulator/waveshare-panel-regulator.c @@ -207,6 +207,7 @@ static int waveshare_panel_i2c_probe(struct i2c_client *i2c) struct waveshare_panel_lcd *state; struct regmap *regmap; unsigned int data; + bool pre_power_on; int ret; state = devm_kzalloc(&i2c->dev, sizeof(*state), GFP_KERNEL); @@ -226,6 +227,8 @@ static int waveshare_panel_i2c_probe(struct i2c_client *i2c) goto error; } + pre_power_on = device_property_read_bool(&i2c->dev, "pre-power-on"); + ret = waveshare_panel_i2c_read(i2c, REG_ID, &data); if (ret == 0) dev_info(&i2c->dev, "waveshare panel hw id = 0x%x\n", data); @@ -241,9 +244,14 @@ static int waveshare_panel_i2c_probe(struct i2c_client *i2c) state->direction_state = 0; state->poweron_state = BIT(9) | BIT(8); // Enable VCC + if (pre_power_on) + state->poweron_state |= BIT(4) | BIT(1) | BIT(0); regmap_write(regmap, REG_TP, state->poweron_state >> 8); regmap_write(regmap, REG_LCD, state->poweron_state & 0xff); - msleep(20); + if (pre_power_on) + msleep(200); + else + msleep(20); state->regmap = regmap; state->gc.parent = &i2c->dev; From de2e41cf6d0891f4fefcfef5ca84253ed0999fd8 Mon Sep 17 00:00:00 2001 From: Waveshare_Team Date: Mon, 13 Apr 2026 11:26:42 +0800 Subject: [PATCH 2/6] drm/panel: waveshare-dsi-v2: Request GPIOs as-is instead of forcing low The reset, iovcc and avdd GPIOs are requested with GPIOD_OUT_LOW today, which forces every line low at probe time before the panel sequencing code has a chance to drive them. On boards where the regulator MCU has already brought these rails up (notably the 8.8-DSI-TOUCH-A using the new "pre-power-on" path) this momentarily drops power/reset on a panel that should already be live, producing visible flicker or a failed first modeset. Switch the three optional GPIO requests to GPIOD_ASIS so the kernel inherits whatever state the bootloader / pre-power-on regulator left behind. Subsequent gpiod_set_value() calls in prepare()/unprepare() still drive the lines explicitly, so the runtime sequencing is unchanged. Tested on: - 8.8" DSI touch (pre-power-on path): no flicker on boot, panel comes up first try. - 7.0" / 5.0" / 4.0"-c DSI touch (no pre-power-on): unchanged behaviour, panels still initialise correctly across suspend/resume. Signed-off-by: Waveshare_Team --- drivers/gpu/drm/panel/panel-waveshare-dsi-v2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-waveshare-dsi-v2.c b/drivers/gpu/drm/panel/panel-waveshare-dsi-v2.c index e15dae58a19db1..4b0c16dc54ec3b 100644 --- a/drivers/gpu/drm/panel/panel-waveshare-dsi-v2.c +++ b/drivers/gpu/drm/panel/panel-waveshare-dsi-v2.c @@ -2052,17 +2052,17 @@ static int ws_panel_dsi_probe(struct mipi_dsi_device *dsi) drm_panel_init(&ctx->panel, &dsi->dev, &ws_panel_funcs, DRM_MODE_CONNECTOR_DSI); - ctx->reset = devm_gpiod_get_optional(&dsi->dev, "reset", GPIOD_OUT_LOW); + ctx->reset = devm_gpiod_get_optional(&dsi->dev, "reset", GPIOD_ASIS); if (IS_ERR(ctx->reset)) return dev_err_probe(&dsi->dev, PTR_ERR(ctx->reset), "Couldn't get our reset GPIO\n"); - ctx->iovcc = devm_gpiod_get_optional(&dsi->dev, "iovcc", GPIOD_OUT_LOW); + ctx->iovcc = devm_gpiod_get_optional(&dsi->dev, "iovcc", GPIOD_ASIS); if (IS_ERR(ctx->iovcc)) return dev_err_probe(&dsi->dev, PTR_ERR(ctx->iovcc), "Couldn't get our iovcc GPIO\n"); - ctx->avdd = devm_gpiod_get_optional(&dsi->dev, "avdd", GPIOD_OUT_LOW); + ctx->avdd = devm_gpiod_get_optional(&dsi->dev, "avdd", GPIOD_ASIS); if (IS_ERR(ctx->avdd)) return dev_err_probe(&dsi->dev, PTR_ERR(ctx->avdd), "Couldn't get our avdd GPIO\n"); From 750db9855e234dbda43b19faa5be69736a0db42c Mon Sep 17 00:00:00 2001 From: Waveshare_Team Date: Mon, 13 Apr 2026 11:22:41 +0800 Subject: [PATCH 3/6] overlays: Enable pre-power-on for Waveshare 8.8-DSI-TOUCH-A The 8.8-DSI-TOUCH-A (8_8_inch_a) requires the on-board display MCU to enable additional power rails before the panel itself is brought up. Add the "pre-power-on" property to the display_mcu node via the 8_8_inch_a override so the regulator driver knows to assert the extra rails (and apply the longer settle delay) at probe time. Signed-off-by: Waveshare_Team --- .../dts/overlays/vc4-kms-dsi-waveshare-panel-v2-overlay.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-v2-overlay.dts b/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-v2-overlay.dts index ddb085d03cfa4b..2cf7e73dccc8ea 100644 --- a/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-v2-overlay.dts +++ b/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-v2-overlay.dts @@ -87,7 +87,8 @@ 7_0_inch_c = <&dsi_panel>, "compatible=waveshare,7.0-dsi-touch-c"; 8_0_inch_a = <&dsi_panel>, "compatible=waveshare,8.0-dsi-touch-a"; 8_0_inch_a_4lane = <&dsi_panel>, "compatible=waveshare,8.0-dsi-touch-a-4lane"; - 8_8_inch_a = <&dsi_panel>, "compatible=waveshare,8.8-dsi-touch-a"; + 8_8_inch_a = <&dsi_panel>, "compatible=waveshare,8.8-dsi-touch-a", + <&display_mcu>, "pre-power-on?"; 9_0_inch_b = <&dsi_panel>, "compatible=waveshare,9.0-dsi-touch-b", <&touch>, "touchscreen-inverted-x"; 9_0_inch_b_4lane = <&dsi_panel>, "compatible=waveshare,9.0-dsi-touch-b,4lane", From e902568ddaee549cc196d23b2030d80ca6a51988 Mon Sep 17 00:00:00 2001 From: Waveshare_Team Date: Wed, 20 May 2026 15:05:48 +0800 Subject: [PATCH 4/6] dt-bindings: display: panel: Add waveshare,dsi-touch.yaml Add device tree binding documentation for Waveshare DSI touchscreen panels. This documents all supported compatible strings from 3.4" to 12.3" sizes. Signed-off-by: Waveshare_Team --- .../display/panel/waveshare,dsi-touch.yaml | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/waveshare,dsi-touch.yaml diff --git a/Documentation/devicetree/bindings/display/panel/waveshare,dsi-touch.yaml b/Documentation/devicetree/bindings/display/panel/waveshare,dsi-touch.yaml new file mode 100644 index 00000000000000..b5579ac35b4205 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/waveshare,dsi-touch.yaml @@ -0,0 +1,78 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/waveshare,dsi-touch.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Waveshare DSI Touchscreen Panels + +maintainers: + - Waveshare_Team + +description: | + Waveshare DSI touchscreen panels with integrated touch controller. + These panels use MIPI DSI interface and come in various sizes from + 3.4" to 12.3". + +properties: + compatible: + items: + - enum: + - waveshare,3.4-dsi-touch-c + - waveshare,4.0-dsi-touch-a + - waveshare,4.0-dsi-touch-c + - waveshare,4.3-dsi-touch-a + - waveshare,5.0-dsi-touch-a + - waveshare,5.5-dsi-touch-a + - waveshare,7.0-dsi-touch-a + - waveshare,7.0-dsi-touch-b + - waveshare,7.0-dsi-touch-c + - waveshare,8.0-dsi-touch-a + - waveshare,8.0-dsi-touch-a-4lane + - waveshare,8.8-dsi-touch-a + - waveshare,9.0-dsi-touch-b + - waveshare,9.0-dsi-touch-b,4lane + - waveshare,10.1-dsi-touch-a + - waveshare,10.1-dsi-touch-a-4lane + - waveshare,10.1-dsi-touch-b + - waveshare,10.1-dsi-touch-b,4lane + - waveshare,12.3-dsi-touch-a,4lane + + reg: + description: DSI virtual channel + maxItems: 1 + + port: true + reset-gpios: true + rotation: true + backlight: true + +required: + - compatible + - reg + - port + +allOf: + - $ref: panel-common.yaml# + +unevaluatedProperties: false + +examples: + - | + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "waveshare,4.0-dsi-touch-a"; + reg = <0>; + reset-gpios = <&gpio 4 1 GPIO_ACTIVE_HIGH>; + backlight = <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + }; From 6a2639b20c109dba1fafbad01ceb85689f37c00e Mon Sep 17 00:00:00 2001 From: Waveshare_Team Date: Mon, 13 Apr 2026 16:50:14 +0800 Subject: [PATCH 5/6] drm/panel: waveshare-dsi-v2: Add 4-DSI-TOUCH-A and 4.3-DSI-TOUCH-A Add support for two new Waveshare products: - 4-DSI-TOUCH-A (480x800, 2-lane) - 4.3-DSI-TOUCH-A (480x800, 2-lane) Signed-off-by: Waveshare_Team --- .../gpu/drm/panel/panel-waveshare-dsi-v2.c | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-waveshare-dsi-v2.c b/drivers/gpu/drm/panel/panel-waveshare-dsi-v2.c index 4b0c16dc54ec3b..6809b6e2ef3f96 100644 --- a/drivers/gpu/drm/panel/panel-waveshare-dsi-v2.c +++ b/drivers/gpu/drm/panel/panel-waveshare-dsi-v2.c @@ -1490,6 +1490,103 @@ static const struct panel_init_cmd ws_panel_5_a_init[] = { {}, }; +static const struct panel_init_cmd ws_panel_4_3_a_init[] = { + _INIT_DCS_CMD(0xFF, 0x77, 0x01, 0x00, 0x00, 0x13), + _INIT_DCS_CMD(0xEF, 0x08), + _INIT_DCS_CMD(0xFF, 0x77, 0x01, 0x00, 0x00, 0x10), + _INIT_DCS_CMD(0xC0, 0x63, 0x00), + _INIT_DCS_CMD(0xC1, 0x0D, 0x02), + _INIT_DCS_CMD(0xC2, 0x17, 0x08), + _INIT_DCS_CMD(0xCC, 0x10), + _INIT_DCS_CMD(0xB0, 0x40, 0xC9, 0x94, 0x0E, 0x10, 0x05, 0x0B, 0x09, + 0x08, 0x26, 0x04, 0x52, 0x10, 0x69, 0x6B, 0x69), + _INIT_DCS_CMD(0xB1, 0x40, 0xD2, 0x98, 0x0C, 0x92, 0x07, 0x09, 0x08, + 0x07, 0x25, 0x02, 0x0E, 0x0C, 0x6E, 0x78, 0x55), + _INIT_DCS_CMD(0xFF, 0x77, 0x01, 0x00, 0x00, 0x11), + _INIT_DCS_CMD(0xB0, 0x5D), + _INIT_DCS_CMD(0xB1, 0x4E), + _INIT_DCS_CMD(0xB2, 0x87), + _INIT_DCS_CMD(0xB3, 0x80), + _INIT_DCS_CMD(0xB5, 0x4E), + _INIT_DCS_CMD(0xB7, 0x85), + _INIT_DCS_CMD(0xB8, 0x21), + _INIT_DCS_CMD(0xB9, 0x10, 0x1F), + _INIT_DCS_CMD(0xBB, 0x03), + _INIT_DCS_CMD(0xBC, 0x00), + _INIT_DCS_CMD(0xC1, 0x78), + _INIT_DCS_CMD(0xC2, 0x78), + _INIT_DCS_CMD(0xD0, 0x88), + _INIT_DCS_CMD(0xE0, 0x00, 0x3A, 0x02), + _INIT_DCS_CMD(0xE1, 0x04, 0xA0, 0x00, 0xA0, 0x05, 0xA0, 0x00, 0xA0, + 0x00, 0x40, 0x40), + _INIT_DCS_CMD(0xE2, 0x30, 0x00, 0x40, 0x40, 0x32, 0xA0, 0x00, 0xA0, + 0x00, 0xA0, 0x00, 0xA0, 0x00), + _INIT_DCS_CMD(0xE3, 0x00, 0x00, 0x33, 0x33), + _INIT_DCS_CMD(0xE4, 0x44, 0x44), + _INIT_DCS_CMD(0xE5, 0x09, 0x2E, 0xA0, 0xA0, 0x0B, 0x30, 0xA0, 0xA0, + 0x05, 0x2A, 0xA0, 0xA0, 0x07, 0x2C, 0xA0, 0xA0), + _INIT_DCS_CMD(0xE6, 0x00, 0x00, 0x33, 0x33), + _INIT_DCS_CMD(0xE7, 0x44, 0x44), + _INIT_DCS_CMD(0xE8, 0x08, 0x2D, 0xA0, 0xA0, 0x0A, 0x2F, 0xA0, 0xA0, + 0x04, 0x29, 0xA0, 0xA0, 0x06, 0x2B, 0xA0, 0xA0), + _INIT_DCS_CMD(0xEB, 0x00, 0x00, 0x4E, 0x4E, 0x00, 0x00, 0x00), + _INIT_DCS_CMD(0xEC, 0x08, 0x01), + _INIT_DCS_CMD(0xED, 0xB0, 0x2B, 0x98, 0xA4, 0x56, 0x7F, 0xFF, 0xFF, + 0xFF, 0xFF, 0xF7, 0x65, 0x4A, 0x89, 0xB2, 0x0B), + _INIT_DCS_CMD(0xEF, 0x08, 0x08, 0x08, 0x45, 0x3F, 0x54), + _INIT_DCS_CMD(0xFF, 0x77, 0x01, 0x00, 0x00, 0x00), + _INIT_DCS_CMD(0x11), + _INIT_DELAY_CMD(120), + _INIT_DCS_CMD(0x29), + _INIT_DELAY_CMD(20), + {}, +}; + +static const struct panel_init_cmd ws_panel_4_a_init[] = { + _INIT_DCS_CMD(0x11), + _INIT_DELAY_CMD(200), + _INIT_DCS_CMD(0xFF, 0x77, 0x01, 0x00, 0x00, 0x10), + _INIT_DCS_CMD(0xC0, 0x63, 0x00), + _INIT_DCS_CMD(0xC1, 0x0A, 0x02), + _INIT_DCS_CMD(0xC2, 0x31, 0x08), + _INIT_DCS_CMD(0xB0, 0x00, 0x11, 0x19, 0x0C, 0x10, 0x06, 0x07, 0x0A, + 0x09, 0x22, 0x04, 0x10, 0x0E, 0x28, 0x30, 0x1C), + _INIT_DCS_CMD(0xB1, 0x00, 0x12, 0x19, 0x0D, 0x10, 0x04, 0x06, 0x07, + 0x08, 0x23, 0x04, 0x12, 0x11, 0x28, 0x30, 0x1C), + _INIT_DCS_CMD(0xFF, 0x77, 0x01, 0x00, 0x00, 0x11), + _INIT_DCS_CMD(0xB0, 0x4D), + _INIT_DCS_CMD(0xB1, 0x3E), + _INIT_DCS_CMD(0xB2, 0x07), + _INIT_DCS_CMD(0xB3, 0x80), + _INIT_DCS_CMD(0xB5, 0x47), + _INIT_DCS_CMD(0xB7, 0x8A), + _INIT_DCS_CMD(0xB8, 0x21), + _INIT_DCS_CMD(0xC1, 0x78), + _INIT_DCS_CMD(0xC2, 0x78), + _INIT_DCS_CMD(0xD0, 0x88), + _INIT_DELAY_CMD(100), + _INIT_DCS_CMD(0xE0, 0x00, 0x00, 0x02), + _INIT_DCS_CMD(0xE1, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, + 0x00, 0x20, 0x20), + _INIT_DCS_CMD(0xE2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00), + _INIT_DCS_CMD(0xE3, 0x00, 0x00, 0x33, 0x00), + _INIT_DCS_CMD(0xE4, 0x22, 0x00), + _INIT_DCS_CMD(0xE5, 0x04, 0x34, 0xAA, 0xAA, 0x06, 0x34, 0xAA, 0xAA, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00), + _INIT_DCS_CMD(0xE6, 0x00, 0x00, 0x33, 0x00), + _INIT_DCS_CMD(0xE7, 0x22, 0x00), + _INIT_DCS_CMD(0xE8, 0x05, 0x34, 0xAA, 0xAA, 0x07, 0x34, 0xAA, 0xAA, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00), + _INIT_DCS_CMD(0xEB, 0x02, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00), + _INIT_DCS_CMD(0xED, 0xFA, 0x45, 0x0B, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, + 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xB0, 0x54, 0xAF), + _INIT_DCS_CMD(0xFF, 0x77, 0x01, 0x00, 0x00, 0x00), + _INIT_DELAY_CMD(10), + _INIT_DCS_CMD(0x29), + {}, +}; + static const struct panel_init_cmd ws_panel_4_c_init[] = { _INIT_DCS_CMD(0xE0, 0x00), _INIT_DCS_CMD(0xE1, 0x93), _INIT_DCS_CMD(0xE2, 0x65), _INIT_DCS_CMD(0xE3, 0xF8), @@ -1963,6 +2060,34 @@ static const struct drm_display_mode ws_panel_5_a_mode = { .height_mm = 110, }; +static const struct drm_display_mode ws_panel_4_3_a_mode = { + .clock = 30000, + .hdisplay = 480, + .hsync_start = 480 + 42, + .hsync_end = 480 + 42 + 12, + .htotal = 480 + 42 + 12 + 42, + .vdisplay = 800, + .vsync_start = 800 + 60, + .vsync_end = 800 + 60 + 8, + .vtotal = 800 + 60 + 8 + 2, + .width_mm = 56, + .height_mm = 93, +}; + +static const struct drm_display_mode ws_panel_4_a_mode = { + .clock = 27200, + .hdisplay = 480, + .hsync_start = 480 + 30, + .hsync_end = 480 + 30 + 30, + .htotal = 480 + 30 + 30 + 8, + .vdisplay = 800, + .vsync_start = 800 + 12, + .vsync_end = 800 + 12 + 12, + .vtotal = 800 + 12 + 12 + 2, + .width_mm = 51, + .height_mm = 86, +}; + static const struct drm_display_mode ws_panel_4_c_mode = { .clock = 36500, .hdisplay = 720, @@ -2261,6 +2386,24 @@ static const struct ws_panel_desc ws_panel_5_inch_a_desc = { .format = MIPI_DSI_FMT_RGB888, }; +static const struct ws_panel_desc ws_panel_4_3_inch_a_desc = { + .init = ws_panel_4_3_a_init, + .mode = &ws_panel_4_3_a_mode, + .mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO | + MIPI_DSI_MODE_LPM | MIPI_DSI_CLOCK_NON_CONTINUOUS, + .lanes = 2, + .format = MIPI_DSI_FMT_RGB888, +}; + +static const struct ws_panel_desc ws_panel_4_inch_a_desc = { + .init = ws_panel_4_a_init, + .mode = &ws_panel_4_a_mode, + .mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO | + MIPI_DSI_MODE_LPM | MIPI_DSI_CLOCK_NON_CONTINUOUS, + .lanes = 2, + .format = MIPI_DSI_FMT_RGB888, +}; + static const struct ws_panel_desc ws_panel_4_inch_c_desc = { .init = ws_panel_4_c_init, .mode = &ws_panel_4_c_mode, @@ -2304,6 +2447,8 @@ static const struct of_device_id ws_panel_of_match[] = { { .compatible = "waveshare,5.5-dsi-touch-a", &ws_panel_5_5_inch_a_desc }, { .compatible = "waveshare,5.0-dsi-touch-a", &ws_panel_5_inch_a_desc }, + { .compatible = "waveshare,4.3-dsi-touch-a", &ws_panel_4_3_inch_a_desc }, + { .compatible = "waveshare,4.0-dsi-touch-a", &ws_panel_4_inch_a_desc }, { .compatible = "waveshare,4.0-dsi-touch-c", &ws_panel_4_inch_c_desc }, { .compatible = "waveshare,3.4-dsi-touch-c", &ws_panel_3_4_inch_c_desc }, From fd6b283b852697281405a12151de6eda3b010cf2 Mon Sep 17 00:00:00 2001 From: Waveshare_Team Date: Mon, 13 Apr 2026 16:51:14 +0800 Subject: [PATCH 6/6] overlays: vc4-kms-dsi-waveshare-panel-v2: Add 4-DSI-TOUCH-A and 4.3-DSI-TOUCH-A Add device tree overlay entries for the Waveshare 4-DSI-TOUCH-A and 4.3-DSI-TOUCH-A. Update the overlay README to document the new parameters. Signed-off-by: Waveshare_Team --- arch/arm/boot/dts/overlays/README | 2 ++ .../dts/overlays/vc4-kms-dsi-waveshare-panel-v2-overlay.dts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README index 3076ead83fe8dc..9a4f4f8d86ea07 100644 --- a/arch/arm/boot/dts/overlays/README +++ b/arch/arm/boot/dts/overlays/README @@ -5961,7 +5961,9 @@ Info: Enable the Waveshare DSI-TOUCH series screen Requires vc4-kms-v3d to be loaded. Load: dtoverlay=vc4-kms-dsi-waveshare-panel-v2, Params: 3_4_inch_c 3.4" 800x800 2lane + 4_0_inch_a 4.0" 480x800 2lane 4_0_inch_c 4.0" 720x720 2lane + 4_3_inch_a 4.3" 480x800 2lane 5_0_inch_a 5.0" 720x1280 2lane 5_5_inch_a 5.5" 720x1280 2lane 7_0_inch_a 7.0" A 720x1280 2lane diff --git a/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-v2-overlay.dts b/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-v2-overlay.dts index 2cf7e73dccc8ea..51b773e4afff79 100644 --- a/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-v2-overlay.dts +++ b/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-v2-overlay.dts @@ -79,7 +79,9 @@ __overrides__ { 3_4_inch_c = <&dsi_panel>, "compatible=waveshare,3.4-dsi-touch-c"; + 4_0_inch_a = <&dsi_panel>, "compatible=waveshare,4.0-dsi-touch-a"; 4_0_inch_c = <&dsi_panel>, "compatible=waveshare,4.0-dsi-touch-c"; + 4_3_inch_a = <&dsi_panel>, "compatible=waveshare,4.3-dsi-touch-a"; 5_0_inch_a = <&dsi_panel>, "compatible=waveshare,5.0-dsi-touch-a"; 5_5_inch_a = <&dsi_panel>, "compatible=waveshare,5.5-dsi-touch-a"; 7_0_inch_a = <&dsi_panel>, "compatible=waveshare,7.0-dsi-touch-a";