[PATCH] arm64: dts: add jpeg enc node for mt8183

maoguang.meng at mediatek.com maoguang.meng at mediatek.com
Mon Sep 14 05:40:12 EDT 2020


From: Maoguang Meng <maoguang.meng at mediatek.com>

add jpeg enc device tree node

Signed-off-by: Maoguang Meng <maoguang.meng at mediatek.com>
---
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(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
index 8d8f427db030..1e72625f1615 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
@@ -961,6 +961,17 @@
 			power-domains = <&scpsys MT8183_POWER_DOMAIN_VENC>;
 		};
 
+		venc_jpg at 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 at 19000000 {
 			compatible = "mediatek,mt8183-ipu_conn", "syscon";
 			reg = <0 0x19000000 0 0x1000>;
-- 
2.18.0


More information about the Linux-mediatek mailing list