new file mode 100644
@@ -0,0 +1,30 @@
+* Mediatek Face Detection Unit (FD)
+
+Face Detection (FD) unit is a typical memory-to-memory HW device.
+It provides hardware accelerated face detection function, and it
+is able to detect different poses of faces. FD will writre result
+of detected face into memory as output.
+
+Required properties:
+- compatible: "mediatek,fd"
+- reg: Must contain an entry for each entry in reg-names.
+- reg-names: Must include the following entries:
+- interrupts: interrupt number to the cpu.
+- clocks : clock name from clock manager
+- clock-names: must be main. It is the main clock of FD
+
+Example:
+ fd:fd@1502b000 {
+ compatible = "mediatek,fd";
+ mediatek,larb = <&larb5>;
+ mediatek,vpu = <&vpu>;
+ iommus = <&iommu M4U_PORT_CAM_FDVT_RP>,
+ <&iommu M4U_PORT_CAM_FDVT_WR>,
+ <&iommu M4U_PORT_CAM_FDVT_RB>;
+ reg = <0 0x1502b000 0 0x1000>;
+ interrupts = <GIC_SPI 269 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&imgsys CLK_IMG_FDVT>;
+ clock-names = "FD_CLK_IMG_FDVT";
+ smem_device = <&fd_smem>;
+ };
+
This patch adds DT binding documentation for the Face Detection (FD) unit of the camera system on Mediatek's SoCs. Signed-off-by: Jerry-ch Chen <jerry-ch.chen@mediatek.com> --- .../bindings/media/mediatek,mt8183-fd.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/mediatek,mt8183-fd.txt