[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2752686.88bMQJbFj6@jernej-laptop>
Date: Thu, 28 Apr 2022 07:34:59 +0200
From: Jernej Škrabec <jernej.skrabec@...il.com>
To: Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
iommu@...ts.linux-foundation.org,
Samuel Holland <samuel@...lland.org>
Cc: Heiko Stuebner <heiko@...ech.de>,
Palmer Dabbelt <palmer@...belt.com>,
linux-riscv@...ts.infradead.org,
Samuel Holland <samuel@...lland.org>,
Chen-Yu Tsai <wens@...e.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Maxime Ripard <mripard@...nel.org>,
Philipp Zabel <p.zabel@...gutronix.de>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-sunxi@...ts.linux.dev
Subject: Re: [PATCH 4/5] iommu/sun50i: Add support for the D1 variant
Dne četrtek, 28. april 2022 ob 03:03:59 CEST je Samuel Holland napisal(a):
> D1 contains an IOMMU similar to the one in the H6 SoC, but the D1
> variant has no external reset signal. It also has some register
> definition changes, but none that affect the current driver.
>
> Signed-off-by: Samuel Holland <samuel@...lland.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@...il.com>
Best regards,
Jernej
> ---
>
> drivers/iommu/sun50i-iommu.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/iommu/sun50i-iommu.c b/drivers/iommu/sun50i-iommu.c
> index b9e644b93637..1fb707e37fb3 100644
> --- a/drivers/iommu/sun50i-iommu.c
> +++ b/drivers/iommu/sun50i-iommu.c
> @@ -999,11 +999,15 @@ static int sun50i_iommu_probe(struct platform_device
> *pdev) return ret;
> }
>
> +static const struct sun50i_iommu_variant sun20i_d1_iommu = {
> +};
> +
> static const struct sun50i_iommu_variant sun50i_h6_iommu = {
> .has_reset = true,
> };
>
> static const struct of_device_id sun50i_iommu_dt[] = {
> + { .compatible = "allwinner,sun20i-d1-iommu", .data =
&sun20i_d1_iommu },
> { .compatible = "allwinner,sun50i-h6-iommu", .data =
&sun50i_h6_iommu },
> { /* sentinel */ },
> };
Powered by blists - more mailing lists