Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 2/4] arm64: dts: mediatek: mt8188: Add AIE face detection node
@ 2026-06-05  8:29 Sarang Chaudhari
  0 siblings, 0 replies; only message in thread
From: Sarang Chaudhari @ 2026-06-05  8:29 UTC (permalink / raw)
  To: Rob Herring, AngeloGioacchino Del Regno, Mauro Carvalho Chehab,
	linux-kernel, linux-arm-kernel, linux-mediatek
  Cc: zhaoyuan.chen, Teddy.Chen, Project_Global_Chrome_Upstream_Group,
	Sarang Chaudhari

Add the AI Engine (AIE) device tree node for the MT8188 SoC. The AIE
hardware provides face detection, facial landmark detection, and face
attribute analysis capabilities.

Signed-off-by: Sarang Chaudhari <sarang.chaudhari@mediatek.com>
---
Changes in v6:
- Remove iommus and mediatek,larb properties (made optional).
- Remove larb12 node (not required when IOMMU is not used).
- Update IRQ number to correct hardware value.

Changes in v5:
- Modify the name of clock, change _ to -.

Changes in v4: None

Changes in v3:
- Remove dts non-MMIO nodes.

Changes in v2:
- Add AIE node and related node.

 arch/arm64/boot/dts/mediatek/mt8188.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
index ee833c3..29d11d8 100644
--- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
@@ -12,6 +12,19 @@
 			#reset-cells = <1>;
 		};
 
+		aie@15310000 {
+			compatible = "mediatek,mt8188-aie";
+			reg = <0 0x15310000 0 0x1000>;
+			interrupts = <GIC_SPI 600 IRQ_TYPE_LEVEL_HIGH 0>;
+			clocks = <&imgsys CLK_IMGSYS_MAIN_IPE>,
+				 <&ipesys CLK_IPE_FDVT>,
+				 <&ipesys CLK_IPE_SMI_LARB12>,
+				 <&ipesys CLK_IPESYS_TOP>;
+			clock-names = "img-ipe", "ipe-fdvt",
+				      "ipe-smi-larb12", "ipe-top";
+			power-domains = <&spm MT8188_POWER_DOMAIN_IPE>;
+		};
+
 		ipesys: clock-controller@15330000 {
 			compatible = "mediatek,mt8188-ipesys";
 			reg = <0 0x15330000 0 0x1000>;
-- 
2.45.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-05  8:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-05  8:29 [PATCH v6 2/4] arm64: dts: mediatek: mt8188: Add AIE face detection node Sarang Chaudhari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox