From: Matthias Brugger <matthias.bgg@gmail.com>
To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com,
vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com,
u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org,
ck.hu@mediatek.com, jitao.shi@mediatek.com,
xinlei.lee@mediatek.com, houlong.wei@mediatek.com,
dri-devel@lists.freedesktop.org,
linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org,
kernel@collabora.com, phone-devel@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH 18/27] arm64: dts: mediatek: mt6795: Add support for IOMMU and LARBs
Date: Mon, 29 May 2023 15:56:33 +0200 [thread overview]
Message-ID: <a24acb75-4503-d987-0ebb-cdbba564768f@gmail.com> (raw)
In-Reply-To: <20230412112739.160376-19-angelogioacchino.delregno@collabora.com>
On 12/04/2023 13:27, AngeloGioacchino Del Regno wrote:
> Add nodes for the multimedia IOMMU and its LARBs: this includes all but
> the MJC LARB, which cannot currently be used and will be added later.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Applied, thanks
> ---
> arch/arm64/boot/dts/mediatek/mt6795.dtsi | 60 ++++++++++++++++++++++++
> 1 file changed, 60 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
> index a8b2c4517e79..9cfa02085f61 100644
> --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
> @@ -8,6 +8,7 @@
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> #include <dt-bindings/clock/mediatek,mt6795-clk.h>
> #include <dt-bindings/gce/mediatek,mt6795-gce.h>
> +#include <dt-bindings/memory/mt6795-larb-port.h>
> #include <dt-bindings/pinctrl/mt6795-pinfunc.h>
> #include <dt-bindings/power/mt6795-power.h>
> #include <dt-bindings/reset/mediatek,mt6795-resets.h>
> @@ -390,6 +391,17 @@ systimer: timer@10200670 {
> clock-names = "clk13m";
> };
>
> + iommu: iommu@10205000 {
> + compatible = "mediatek,mt6795-m4u";
> + reg = <0 0x10205000 0 0x1000>;
> + clocks = <&infracfg CLK_INFRA_M4U>;
> + clock-names = "bclk";
> + interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_LOW>;
> + mediatek,larbs = <&larb0 &larb1 &larb2 &larb3>;
> + power-domains = <&spm MT6795_POWER_DOMAIN_MM>;
> + #iommu-cells = <1>;
> + };
> +
> apmixedsys: syscon@10209000 {
> compatible = "mediatek,mt6795-apmixedsys", "syscon";
> reg = <0 0x10209000 0 0x1000>;
> @@ -648,16 +660,64 @@ mmsys: syscon@14000000 {
> mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0 0x1000>;
> };
>
> + larb0: larb@14021000 {
> + compatible = "mediatek,mt6795-smi-larb";
> + reg = <0 0x14021000 0 0x1000>;
> + clocks = <&mmsys CLK_MM_SMI_COMMON>, <&mmsys CLK_MM_SMI_LARB0>;
> + clock-names = "apb", "smi";
> + mediatek,smi = <&smi_common>;
> + mediatek,larb-id = <0>;
> + power-domains = <&spm MT6795_POWER_DOMAIN_MM>;
> + };
> +
> + smi_common: smi@14022000 {
> + compatible = "mediatek,mt6795-smi-common";
> + reg = <0 0x14022000 0 0x1000>;
> + power-domains = <&spm MT6795_POWER_DOMAIN_MM>;
> + clocks = <&infracfg CLK_INFRA_SMI>, <&mmsys CLK_MM_SMI_COMMON>;
> + clock-names = "apb", "smi";
> + };
> +
> + larb2: larb@15001000 {
> + compatible = "mediatek,mt6795-smi-larb";
> + reg = <0 0x15001000 0 0x1000>;
> + clocks = <&mmsys CLK_MM_SMI_COMMON>, <&infracfg CLK_INFRA_SMI>;
> + clock-names = "apb", "smi";
> + mediatek,smi = <&smi_common>;
> + mediatek,larb-id = <2>;
> + power-domains = <&spm MT6795_POWER_DOMAIN_ISP>;
> + };
> +
> vdecsys: clock-controller@16000000 {
> compatible = "mediatek,mt6795-vdecsys";
> reg = <0 0x16000000 0 0x1000>;
> #clock-cells = <1>;
> };
>
> + larb1: larb@16010000 {
> + compatible = "mediatek,mt6795-smi-larb";
> + reg = <0 0x16010000 0 0x1000>;
> + mediatek,smi = <&smi_common>;
> + mediatek,larb-id = <1>;
> + clocks = <&vdecsys CLK_VDEC_CKEN>, <&vdecsys CLK_VDEC_LARB_CKEN>;
> + clock-names = "apb", "smi";
> + power-domains = <&spm MT6795_POWER_DOMAIN_VDEC>;
> + };
> +
> vencsys: clock-controller@18000000 {
> compatible = "mediatek,mt6795-vencsys";
> reg = <0 0x18000000 0 0x1000>;
> #clock-cells = <1>;
> };
> +
> + larb3: larb@18001000 {
> + compatible = "mediatek,mt6795-smi-larb";
> + reg = <0 0x18001000 0 0x1000>;
> + clocks = <&vencsys CLK_VENC_VENC>, <&vencsys CLK_VENC_LARB>;
> + clock-names = "apb", "smi";
> + mediatek,smi = <&smi_common>;
> + mediatek,larb-id = <3>;
> + power-domains = <&spm MT6795_POWER_DOMAIN_VENC>;
> + };
> };
> };
next prev parent reply other threads:[~2023-05-29 13:58 UTC|newest]
Thread overview: 99+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-12 11:27 [PATCH 00/27] MediaTek Helio X10 - Mailbox, Display, MMC/SD/SDIO AngeloGioacchino Del Regno
2023-04-12 11:27 ` [PATCH 01/27] dt-bindings: pwm: Add compatible for MediaTek MT6795 AngeloGioacchino Del Regno
2023-04-12 12:30 ` Matthias Brugger
2023-04-12 21:03 ` Rob Herring
2023-04-13 8:52 ` Matthias Brugger
2023-04-13 9:28 ` AngeloGioacchino Del Regno
2023-04-18 0:58 ` Rob Herring
2023-04-14 5:43 ` Uwe Kleine-König
2023-04-18 11:56 ` Matthias Brugger
2023-04-14 8:21 ` Krzysztof Kozlowski
2023-04-14 8:30 ` Uwe Kleine-König
2023-04-14 8:34 ` Krzysztof Kozlowski
2023-04-14 10:25 ` AngeloGioacchino Del Regno
2023-04-14 10:31 ` Krzysztof Kozlowski
2023-04-14 10:31 ` Krzysztof Kozlowski
2023-05-29 13:51 ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 02/27] dt-bindings: phy: mediatek,dsi-phy: Add compatible for MT6795 Helio X10 AngeloGioacchino Del Regno
2023-04-12 12:34 ` Matthias Brugger
2023-04-12 12:59 ` Alexandre Mergnat
2023-04-12 13:03 ` AngeloGioacchino Del Regno
2023-04-12 13:12 ` Alexandre Mergnat
2023-04-12 13:17 ` AngeloGioacchino Del Regno
2023-04-13 8:58 ` Matthias Brugger
2023-04-14 8:22 ` Krzysztof Kozlowski
2023-05-29 14:05 ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 03/27] dt-bindings: display: mediatek: dpi: Add compatible for MediaTek MT6795 AngeloGioacchino Del Regno
2023-04-12 12:35 ` Matthias Brugger
2023-04-14 8:23 ` Krzysztof Kozlowski
2023-04-12 13:13 ` Alexandre Mergnat
2023-04-12 21:03 ` Rob Herring
2023-04-14 8:23 ` Krzysztof Kozlowski
2023-05-29 14:07 ` Matthias Brugger
2023-06-13 0:12 ` Chun-Kuang Hu
2023-04-12 11:27 ` [PATCH 04/27] dt-bindings: display: mediatek: aal: " AngeloGioacchino Del Regno
2023-04-12 12:35 ` Matthias Brugger
2023-04-12 13:03 ` Alexandre Mergnat
2023-04-14 8:24 ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 05/27] dt-bindings: display: mediatek: dsi: " AngeloGioacchino Del Regno
2023-04-12 12:36 ` Matthias Brugger
2023-04-12 13:21 ` AngeloGioacchino Del Regno
2023-04-12 21:03 ` Rob Herring
2023-04-14 8:24 ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 06/27] dt-bindings: display: mediatek: ovl: " AngeloGioacchino Del Regno
2023-04-12 21:03 ` Rob Herring
2023-04-14 8:24 ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 07/27] dt-bindings: display: mediatek: rdma: " AngeloGioacchino Del Regno
2023-04-12 21:03 ` Rob Herring
2023-04-14 8:26 ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 08/27] dt-bindings: display: mediatek: wdma: " AngeloGioacchino Del Regno
2023-04-12 12:36 ` Matthias Brugger
2023-04-14 8:26 ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 09/27] dt-bindings: display: mediatek: color: " AngeloGioacchino Del Regno
2023-04-12 12:37 ` Matthias Brugger
2023-04-12 21:03 ` Rob Herring
2023-04-14 8:26 ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 10/27] dt-bindings: display: mediatek: gamma: " AngeloGioacchino Del Regno
2023-04-14 8:27 ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 11/27] dt-bindings: display: mediatek: merge: " AngeloGioacchino Del Regno
2023-04-12 12:37 ` Matthias Brugger
2023-04-14 8:33 ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 12/27] dt-bindings: display: mediatek: split: " AngeloGioacchino Del Regno
2023-04-12 12:37 ` Matthias Brugger
2023-04-14 8:34 ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 13/27] dt-bindings: display: mediatek: ufoe: " AngeloGioacchino Del Regno
2023-04-12 12:38 ` Matthias Brugger
2023-04-12 21:03 ` Rob Herring
2023-04-14 8:44 ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 14/27] dt-bindings: display: mediatek: od: " AngeloGioacchino Del Regno
2023-04-12 12:38 ` Matthias Brugger
2023-04-12 21:03 ` Rob Herring
2023-04-14 8:45 ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 15/27] dt-bindings: mailbox: mediatek,gce-mailbox: Add support for MT6795 AngeloGioacchino Del Regno
2023-04-12 12:38 ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 16/27] arm64: dts: mediatek: mt6795: Add support for the CMDQ/GCE mailbox AngeloGioacchino Del Regno
2023-05-29 13:54 ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 17/27] arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks AngeloGioacchino Del Regno
2023-05-29 13:55 ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 18/27] arm64: dts: mediatek: mt6795: Add support for IOMMU and LARBs AngeloGioacchino Del Regno
2023-05-29 13:56 ` Matthias Brugger [this message]
2023-04-12 11:27 ` [PATCH 19/27] arm64: dts: mediatek: mt6795: Add support for display blocks and DPI/DSI AngeloGioacchino Del Regno
2023-04-12 11:27 ` [PATCH 20/27] arm64: dts: mediatek: mt6795: Add tertiary PWM node AngeloGioacchino Del Regno
2023-04-12 12:43 ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 21/27] arm64: dts: mediatek: mt6795: Add PMIC Wrapper node AngeloGioacchino Del Regno
2023-05-29 13:57 ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 22/27] arm64: dts: mediatek: mt6795: Copyright header additions AngeloGioacchino Del Regno
2023-04-12 12:41 ` Matthias Brugger
2023-04-12 13:23 ` AngeloGioacchino Del Regno
2023-04-14 8:46 ` Krzysztof Kozlowski
2023-04-14 10:28 ` AngeloGioacchino Del Regno
2023-04-12 11:27 ` [PATCH 23/27] arm64: dts: mediatek: Add MT6331 PMIC devicetree AngeloGioacchino Del Regno
2023-05-29 13:59 ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 24/27] arm64: dts: mediatek: mt6795-xperia-m5: Add MT6331 Combo PMIC AngeloGioacchino Del Regno
2023-05-29 14:00 ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 25/27] arm64: dts: mediatek: mt6795-xperia-m5: Add eMMC, MicroSD slot, SDIO AngeloGioacchino Del Regno
2023-05-29 14:01 ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 26/27] arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMA255 Accelerometer AngeloGioacchino Del Regno
2023-04-12 12:44 ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 27/27] arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMM050 Magnetometer AngeloGioacchino Del Regno
2023-04-12 12:44 ` Matthias Brugger
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=a24acb75-4503-d987-0ebb-cdbba564768f@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=airlied@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunfeng.yun@mediatek.com \
--cc=chunkuang.hu@kernel.org \
--cc=ck.hu@mediatek.com \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=houlong.wei@mediatek.com \
--cc=jassisinghbrar@gmail.com \
--cc=jitao.shi@mediatek.com \
--cc=kernel@collabora.com \
--cc=kishon@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-pwm@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=phone-devel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
--cc=vkoul@kernel.org \
--cc=xinlei.lee@mediatek.com \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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;
as well as URLs for NNTP newsgroup(s).