[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d9563b65-2391-d32c-8a07-ca7a13cae7c7@collabora.com>
Date: Mon, 23 May 2022 11:38:14 +0200
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: Tim Chang <jia-wei.chang@...iatek.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Roger Lu <roger.lu@...iatek.com>,
Kevin Hilman <khilman@...nel.org>
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
Project_Global_Chrome_Upstream_Group@...iatek.com,
hsinyi@...gle.com
Subject: Re: [PATCH v3 4/4] soc: mediatek: svs: add support for mt8195
Il 23/05/22 10:40, Tim Chang ha scritto:
> From: Jia-Wei Chang <jia-wei.chang@...iatek.com>
>
> To support svs on MT8195, add corresponding bank information, platform
> data, probe and parsing function.
>
> Signed-off-by: Jia-Wei Chang <jia-wei.chang@...iatek.com>
> ---
> drivers/soc/mediatek/mtk-svs.c | 151 +++++++++++++++++++++++++++++++++
> 1 file changed, 151 insertions(+)
>
> diff --git a/drivers/soc/mediatek/mtk-svs.c b/drivers/soc/mediatek/mtk-svs.c
> index 656d0361ff7d..bb5021648143 100644
> --- a/drivers/soc/mediatek/mtk-svs.c
> +++ b/drivers/soc/mediatek/mtk-svs.c
> @@ -1680,6 +1680,89 @@ static int svs_bank_resource_setup(struct svs_platform *svsp)
..snip..
> @@ -2559,6 +2697,16 @@ static struct svs_bank svs_mt8183_banks[] = {
> },
> };
>
> +static const struct svs_platform_data svs_mt8195_platform_data = {
> + .name = "mt8195-svs",
> + .banks = svs_mt8195_banks,
> + .efuse_parsing = svs_mt8195_efuse_parsing,
> + .probe = svs_mt8192_platform_probe,
> + .irqflags = IRQF_TRIGGER_HIGH,
Interrupt flags are specified in devicetree; avoid declaring irqflags.
After that:
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Powered by blists - more mailing lists