From: Olivia Wen <olivia.wen@mediatek.com>
To: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Olivia Wen <olivia.wen@mediatek.com>,
<linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mediatek@lists.infradead.org>,
<Project_Global_Chrome_Upstream_Group@mediatek.com>,
<teddy.chen@mediatek.com>, <yunkec@chromium.org>
Subject: [PATCH v1 01/10] dt-bindings: media: Add MediaTek mt8188 ImgSys components
Date: Sat, 24 May 2025 19:49:53 +0800 [thread overview]
Message-ID: <20250524115144.3832748-2-olivia.wen@mediatek.com> (raw)
In-Reply-To: <20250524115144.3832748-1-olivia.wen@mediatek.com>
Introduce more Image System (ImgSys) components present in MT8188.
Signed-off-by: Olivia Wen <olivia.wen@mediatek.com>
---
.../bindings/media/mediatek,imgsys.yaml | 180 ++++++++++++++++++
1 file changed, 180 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/mediatek,imgsys.yaml
diff --git a/Documentation/devicetree/bindings/media/mediatek,imgsys.yaml b/Documentation/devicetree/bindings/media/mediatek,imgsys.yaml
new file mode 100644
index 000000000000..c2899c4b227b
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/mediatek,imgsys.yaml
@@ -0,0 +1,180 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/mediatek,imgsys.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MediaTek Camera Image System
+
+maintainers:
+ - Olivia Wen <olivia.wen@mediatek.com>
+
+description:
+ MediaTek Camera Image System is the image processing hardware present in MediaTek SoCs
+
+properties:
+ compatible:
+ enum:
+ - mediatek,mt8188-isp-imgsys
+
+ reg:
+ minItems: 1
+ maxItems: 17
+
+ clocks:
+ minItems: 1
+ maxItems: 17
+
+ clock-names:
+ minItems: 1
+ maxItems: 17
+
+ assigned-clocks: true
+
+ assigned-clock-parents: true
+
+ '#address-cells':
+ const: 2
+
+ '#size-cells':
+ const: 2
+
+ iommus:
+ minItems: 1
+ maxItems: 30
+
+ mediatek,larbs:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ minItems: 1
+ maxItems: 32
+ items:
+ maxItems: 1
+ description: |
+ List of phandle to the local arbiters in the current Socs.
+ Refer to bindings/memory-controllers/mediatek,smi-larb.yaml. It must sort
+ according to the local arbiter index, like larb0, larb1, larb2...
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - iommus
+ - mediatek,larbs
+
+allOf:
+ - if:
+ properties:
+ compatible:
+ enum:
+ - mediatek,mt8188-isp-imgsys
+
+ then:
+ required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - iommus
+ - mediatek,larbs
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/mediatek,mt8188-clk.h>
+ #include <dt-bindings/memory/mediatek,mt8188-memory-port.h>
+
+ imgsys_fw: imgsys-fw@15000000 {
+ compatible = "mediatek,mt8188-isp-imgsys";
+ reg = <0 0x15000000 0 0x4000>, /* 0 IMGSYS_TOP */
+ <0 0x15020000 0 0x10000>, /* 1 IMGSYS_TRAW */
+ <0 0x15040000 0 0x10000>, /* 2 IMGSYS_LTRAW */
+ <0 0x15640000 0 0x10000>, /* 3 IMGSYS_XTRAW */
+ <0 0x15100000 0 0x10000>, /* 4 IMGSYS_DIP */
+ <0 0x15150000 0 0x10000>, /* 5 IMGSYS_DIP_NR */
+ <0 0x15210000 0 0x10000>, /* 6 IMGSYS_PQDIP_A */
+ <0 0x15510000 0 0x10000>, /* 7 IMGSYS_PQDIP_B */
+ <0 0x15200000 0 0x10000>, /* 8 IMGSYS_WPE_EIS */
+ <0 0x15500000 0 0x10000>, /* 9 IMGSYS_WPE_TNR */
+ <0 0x15600000 0 0x10000>, /* 10 IMGSYS_WPE_LITE */
+ <0 0x15220000 0 0x00100>, /* 11 IMGSYS_WPE1_DIP1 */
+ <0 0x15320000 0 0x10000>, /* 12 IMGSYS_ME */
+ <0 0x15520000 0 0x00100>, /* 13 IMGSYS_WPE2_DIP1 */
+ <0 0x15620000 0 0x00100>, /* 14 IMGSYS_WPE3_DIP1 */
+ <0 0x15110000 0 0x00100>, /* 15 IMGSYS_DIP_TOP */
+ <0 0x15130000 0 0x00100>; /* 16 IMGSYS_DIP_TOP_NR */
+
+ assigned-clocks = <&topckgen CLK_TOP_IMG>;
+ assigned-clock-parents = <&apmixedsys CLK_APMIXED_IMGPLL>;
+ #address-cells = <2>;
+ #size-cells = <2>;
+ clocks = <&imgsys CLK_IMGSYS_MAIN_TRAW0>,
+ <&imgsys CLK_IMGSYS_MAIN_TRAW1>,
+ <&imgsys CLK_IMGSYS_MAIN_VCORE_GALS>,
+ <&imgsys CLK_IMGSYS_MAIN_DIP0>,
+ <&imgsys CLK_IMGSYS_MAIN_WPE0>,
+ <&imgsys CLK_IMGSYS_MAIN_WPE1>,
+ <&imgsys CLK_IMGSYS_MAIN_WPE2>,
+ <&imgsys CLK_IMGSYS_MAIN_GALS>,
+ <&imgsys1_dip_top CLK_IMGSYS1_DIP_TOP_DIP_TOP>,
+ <&imgsys1_dip_nr CLK_IMGSYS1_DIP_NR_DIP_NR>,
+ <&imgsys_wpe1 CLK_IMGSYS_WPE1>,
+ <&imgsys_wpe2 CLK_IMGSYS_WPE2>,
+ <&imgsys_wpe3 CLK_IMGSYS_WPE3>,
+ <&imgsys CLK_IMGSYS_MAIN_IPE>,
+ <&ipesys CLK_IPESYS_TOP>,
+ <&ipesys CLK_IPE_ME>,
+ <&ipesys CLK_IPE_SMI_LARB12>;
+ clock-names = "IMGSYS_CG_IMG_TRAW0",
+ "IMGSYS_CG_IMG_TRAW1",
+ "IMGSYS_CG_IMG_VCORE_GALS",
+ "IMGSYS_CG_IMG_DIP0",
+ "IMGSYS_CG_IMG_WPE0",
+ "IMGSYS_CG_IMG_WPE1",
+ "IMGSYS_CG_IMG_WPE2",
+ "IMGSYS_CG_IMG_GALS",
+ "DIP_TOP_DIP_TOP",
+ "DIP_NR_DIP_NR",
+ "WPE1_CG_DIP1_WPE",
+ "WPE2_CG_DIP1_WPE",
+ "WPE3_CG_DIP1_WPE",
+ "ME_CG_IPE",
+ "ME_CG_IPE_TOP",
+ "ME_CG",
+ "ME_CG_LARB12";
+
+ iommus = <&vdo_iommu M4U_PORT_L9_IMGI_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_UFDI_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_IMGBI_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_IMGCI_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_SMTI_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_SMTI_T4_A>,
+ <&vdo_iommu M4U_PORT_L9_TNCSTI_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_TNCSTI_T4_A>,
+ <&vdo_iommu M4U_PORT_L9_YUVO_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_YUVBO_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_YUVCO_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_TIMGO_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_YUVO_T2_A>,
+ <&vdo_iommu M4U_PORT_L9_YUVO_T5_A>,
+ <&vdo_iommu M4U_PORT_L9_IMGI_T1_B>,
+ <&vdo_iommu M4U_PORT_L9_IMGBI_T1_B>,
+ <&vdo_iommu M4U_PORT_L9_IMGCI_T1_B>,
+ <&vdo_iommu M4U_PORT_L9_SMTI_T4_B>,
+ <&vdo_iommu M4U_PORT_L9_TNCSO_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_SMTO_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_SMTO_T4_A>,
+ <&vdo_iommu M4U_PORT_L9_TNCSTO_T1_A>,
+ <&vdo_iommu M4U_PORT_L9_YUVO_T2_B>,
+ <&vdo_iommu M4U_PORT_L9_YUVO_T5_B>,
+ <&vdo_iommu M4U_PORT_L9_SMTO_T4_B>;
+
+ mediatek,larbs = <&larb9>,
+ <&larb10>,
+ <&larb11a>,
+ <&larb11b>,
+ <&larb11c>,
+ <&larb15>,
+ <&larb12>;
+ };
--
2.45.2
next prev parent reply other threads:[~2025-05-24 11:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-24 11:49 [PATCH v1 00/10] Add MediaTek ISP7 Image Syatem driver Olivia Wen
2025-05-24 11:49 ` Olivia Wen [this message]
2025-05-24 13:37 ` [PATCH v1 01/10] dt-bindings: media: Add MediaTek mt8188 ImgSys components Rob Herring (Arm)
2025-05-24 11:49 ` [PATCH v1 02/10] dt-bindings: media: Add MT8188 ImgSys's LARB Olivia Wen
2025-05-24 13:37 ` Rob Herring (Arm)
2025-05-25 4:55 ` Krzysztof Kozlowski
2025-05-24 11:49 ` [PATCH v1 03/10] uapi: linux: Add MediaTek Imgsys user API Olivia Wen
2025-05-26 2:13 ` CK Hu (胡俊光)
2025-05-24 11:49 ` [PATCH v1 04/10] media: mediatek: isp: Add V4L2 flow support for ImgSys driver Olivia Wen
2025-05-26 7:16 ` CK Hu (胡俊光)
2025-05-24 11:49 ` [PATCH v1 05/10] media: mediatek: isp: Add the Imgsys LARBs device Olivia Wen
2025-05-24 11:49 ` [PATCH v1 06/10] media: mediatek: isp: Add module operations structure for ImgSys Olivia Wen
2025-05-24 11:49 ` [PATCH v1 07/10] media: mediatek: isp: Add CMDQ support for ImgSys driver Olivia Wen
2025-05-24 11:50 ` [PATCH v1 08/10] media: mediatek: isp: Add SCP " Olivia Wen
2025-05-24 11:50 ` [PATCH v1 09/10] media: mediatek: isp: Add image processing flow Olivia Wen
2025-05-24 11:50 ` [PATCH v1 10/10] media: mediatek: isp: Add normal data dump flow Olivia Wen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250524115144.3832748-2-olivia.wen@mediatek.com \
--to=olivia.wen@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=teddy.chen@mediatek.com \
--cc=yunkec@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox