mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
From 6a4c75d4c9093a2003f6a36bda69e16995f633e4 Mon Sep 17 00:00:00 2001
|
|
From: Maxime Ripard <maxime@cerno.tech>
|
|
Date: Mon, 20 Feb 2023 17:16:01 +0100
|
|
Subject: [PATCH 0621/1085] drm/vc4: txp: Add BCM2712 MOPLET support
|
|
|
|
The BCM2712 features a simpler TXP called MOPLET. Let's add support for
|
|
it.
|
|
|
|
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_txp.c | 13 +++++++++++++
|
|
1 file changed, 13 insertions(+)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_txp.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_txp.c
|
|
@@ -521,6 +521,18 @@ const struct vc4_txp_data bcm2712_mop_da
|
|
.supports_40bit_addresses = true,
|
|
};
|
|
|
|
+const struct vc4_txp_data bcm2712_moplet_data = {
|
|
+ .base = {
|
|
+ .name = "moplet",
|
|
+ .debugfs_name = "moplet_regs",
|
|
+ .hvs_available_channels = BIT(1),
|
|
+ .hvs_output = 4,
|
|
+ },
|
|
+ .encoder_type = VC4_ENCODER_TYPE_TXP1,
|
|
+ .size_minus_one = true,
|
|
+ .supports_40bit_addresses = true,
|
|
+};
|
|
+
|
|
const struct vc4_txp_data bcm2835_txp_data = {
|
|
.base = {
|
|
.name = "txp",
|
|
@@ -627,6 +639,7 @@ static void vc4_txp_remove(struct platfo
|
|
|
|
static const struct of_device_id vc4_txp_dt_match[] = {
|
|
{ .compatible = "brcm,bcm2712-mop", .data = &bcm2712_mop_data },
|
|
+ { .compatible = "brcm,bcm2712-moplet", .data = &bcm2712_moplet_data },
|
|
{ .compatible = "brcm,bcm2835-txp", .data = &bcm2835_txp_data },
|
|
{ /* sentinel */ },
|
|
};
|