From: Eugen Hristev <eugen.hristev@collabora.com>
To: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-mediatek@lists.infradead.org, bin.liu@mediatek.com
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
angelogioacchino.delregno@collabora.com, kernel@collabora.com,
eugen.hristev@collabora.com, matthias.bgg@gmail.com,
Allen-KH Cheng <allen-kh.cheng@mediatek.com>,
Hsin-Yi Wang <hsinyi@chromium.org>,
Max Staudt <mstaudt@chromium.org>,
Ricardo Ribalda <ribalda@chromium.org>
Subject: [PATCH v3 2/2] arm64: dts: mediatek: mt8186: Add jpgenc node
Date: Sat, 27 Jan 2024 10:42:58 +0200 [thread overview]
Message-ID: <20240127084258.68302-2-eugen.hristev@collabora.com> (raw)
In-Reply-To: <20240127084258.68302-1-eugen.hristev@collabora.com>
From: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Add JPEG encoder node.
Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Reviewed-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Max Staudt <mstaudt@chromium.org>
Tested-by: Max Staudt <mstaudt@chromium.org>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
[eugen.hristev@collabora.com: minor cleanup]
Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
---
Changes in v3:
-none
Changes in v2:
- renamed node
- reordered props
arch/arm64/boot/dts/mediatek/mt8186.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi
index 37a84d88036a..c93a8b82db76 100644
--- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi
@@ -2054,6 +2054,19 @@ venc: video-encoder@17020000 {
mediatek,scp = <&scp>;
};
+ jpgenc: jpeg-encoder@17030000 {
+ compatible = "mediatek,mt8186-jpgenc", "mediatek,mtk-jpgenc";
+ reg = <0 0x17030000 0 0x10000>;
+ interrupts = <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&vencsys CLK_VENC_CKE2_JPGENC>;
+ clock-names = "jpgenc";
+ iommus = <&iommu_mm IOMMU_PORT_L7_JPGENC_Y_RDMA>,
+ <&iommu_mm IOMMU_PORT_L7_JPGENC_C_RDMA>,
+ <&iommu_mm IOMMU_PORT_L7_JPGENC_Q_TABLE>,
+ <&iommu_mm IOMMU_PORT_L7_JPGENC_BSDMA>;
+ power-domains = <&spm MT8186_POWER_DOMAIN_VENC>;
+ };
+
camsys: clock-controller@1a000000 {
compatible = "mediatek,mt8186-camsys";
reg = <0 0x1a000000 0 0x1000>;
--
2.34.1
next prev parent reply other threads:[~2024-01-27 8:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-27 8:42 [PATCH v3 1/2] dt-bindings: media: mediatek-jpeg-encoder: change max iommus count Eugen Hristev
2024-01-27 8:42 ` Eugen Hristev [this message]
2024-01-29 10:32 ` [PATCH v3 2/2] arm64: dts: mediatek: mt8186: Add jpgenc node AngeloGioacchino Del Regno
2024-01-29 10:41 ` [PATCH v3 1/2] dt-bindings: media: mediatek-jpeg-encoder: change max iommus count AngeloGioacchino Del Regno
2024-01-29 10:47 ` AngeloGioacchino Del Regno
2024-01-30 3:24 ` Chen-Yu Tsai
2024-01-30 8:39 ` AngeloGioacchino Del Regno
2024-01-29 15:46 ` Matthias Brugger
2024-01-30 8:35 ` AngeloGioacchino Del Regno
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=20240127084258.68302-2-eugen.hristev@collabora.com \
--to=eugen.hristev@collabora.com \
--cc=allen-kh.cheng@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bin.liu@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=hsinyi@chromium.org \
--cc=kernel@collabora.com \
--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=mstaudt@chromium.org \
--cc=ribalda@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