Skip to contentSkip to conversation

arm64: dts: add jpeg enc node for mt8183

PATCH New [email protected] 1 participant 1 message Sep 14, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: add jpeg enc node for mt8183

From: Maoguang Meng <[email protected]>

add jpeg enc device tree node

---
Rebase on v5.9-rc1.
[1] https://lore.kernel.org/patchwork/patch/1164746/
[2] https://patchwork.kernel.org/patch/11703299/
[3] https://patchwork.kernel.org/patch/11283773/
---

 arch/arm64/boot/dts/mediatek/mt8183.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/mediatek/mt8183.dtsi +11 -0
index 8d8f427db030..1e72625f1615 100644
@@ -961,6 +961,17 @@
 			power-domains = <&scpsys MT8183_POWER_DOMAIN_VENC>;
 		};
 
+		venc_jpg@17030000 {
+			compatible = "mediatek,mt8183-jpgenc", "mediatek,mtk-jpgenc";
+			reg = <0 0x17030000 0 0x1000>;
+			interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_LOW>;
+			iommus = <&iommu M4U_PORT_JPGENC_RDMA>,
+				 <&iommu M4U_PORT_JPGENC_BSDMA>;
+			power-domains = <&scpsys MT8183_POWER_DOMAIN_VENC>;
+			clocks = <&vencsys CLK_VENC_JPGENC>;
+			clock-names = "jpgenc";
+		};
+
 		ipu_conn: syscon@19000000 {
 			compatible = "mediatek,mt8183-ipu_conn", "syscon";
 			reg = <0 0x19000000 0 0x1000>;
Signature · 1 line
2.18.0