2021-09-20 22:05:07

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 0/4] ARM: dts: dra7: enable BB2D module

The DRA7 & variant SoCs contains a BB2D module which is a Vivante GC320 2D accelerator.

This patchset adds the GPU node and enables it on the DRA7, DRA72 & AM57xx platforms.

This is a follow-up of [1] & [2] but:
- using the vivante,gc bindings only
- using ti,sysc instead of hwmod

[1] https://lore.kernel.org/linux-arm-kernel/[email protected]/
[2] https://lore.kernel.org/linux-arm-kernel/[email protected]/

Gowtham Tammana (4):
ARM: dts: dra7: add entry for bb2d module
ARM: dts: dra7-evm: Enable BB2D node
ARM: dts: dra72-evm-common: Enable BB2D node
ARM: dts: am57xx-evm: Enable BB2D node

.../boot/dts/am57xx-beagle-x15-common.dtsi | 4 ++++
arch/arm/boot/dts/am57xx-idk-common.dtsi | 4 ++++
arch/arm/boot/dts/dra7-evm.dts | 4 ++++
arch/arm/boot/dts/dra7.dtsi | 20 +++++++++++++++++++
arch/arm/boot/dts/dra72-evm-common.dtsi | 4 ++++
5 files changed, 36 insertions(+)

--
2.25.1


2021-09-20 22:05:11

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 2/4] ARM: dts: dra7-evm: Enable BB2D node

From: Gowtham Tammana <[email protected]>

This enables the BB2D graphics accelerator for DRA7 EVM board.

Signed-off-by: Gowtham Tammana <[email protected]>
Signed-off-by: Jyri Sarha <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
arch/arm/boot/dts/dra7-evm.dts | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 87deb6a76eff..63a29caa4c8c 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -590,3 +590,7 @@ &dsp2 {
status = "okay";
memory-region = <&dsp2_memory_region>;
};
+
+&bb2d {
+ status = "okay";
+};
--
2.25.1

2021-09-20 22:11:41

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 4/4] ARM: dts: am57xx-evm: Enable BB2D node

From: Gowtham Tammana <[email protected]>

This enables the BB2D graphics accelerator for the AM57x based
Beagle-X15 (GPEVM) and IDK platforms.

Signed-off-by: Eric Ruei <[email protected]>
Signed-off-by: Jacob Stiffler <[email protected]>
Signed-off-by: Gowtham Tammana <[email protected]>
Signed-off-by: Jyri Sarha <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi | 4 ++++
arch/arm/boot/dts/am57xx-idk-common.dtsi | 4 ++++
2 files changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
index 994e69ab38d7..151b3d5775cc 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
+++ b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
@@ -645,3 +645,7 @@ &pruss1_mdio {
&pruss2_mdio {
status = "disabled";
};
+
+&bb2d {
+ status = "okay";
+};
diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi
index 9fcb8944aa3e..cbab72a4c8b6 100644
--- a/arch/arm/boot/dts/am57xx-idk-common.dtsi
+++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi
@@ -606,3 +606,7 @@ dpi_out: endpoint {
};
};
};
+
+&bb2d {
+ status = "ok";
+};
--
2.25.1