[PATCH 3/3] nvmem: mtk-efuse: add mt6572 support
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Jul 20 05:48:33 PDT 2026
On 7/15/26 16:27, Roman Vivchar via B4 Relay wrote:
> From: Roman Vivchar <rva333 at protonmail.com>
>
> Add a platform data struct for the efuse controller.
>
> Signed-off-by: Roman Vivchar <rva333 at protonmail.com>
> ---
> drivers/nvmem/mtk-efuse.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/nvmem/mtk-efuse.c b/drivers/nvmem/mtk-efuse.c
> index 1462f2760818..a79434608465 100644
> --- a/drivers/nvmem/mtk-efuse.c
> +++ b/drivers/nvmem/mtk-efuse.c
> @@ -124,6 +124,11 @@ static int mtk_efuse_probe(struct platform_device *pdev)
> return 0;
> }
>
> +static const struct mtk_efuse_pdata mtk_mt6572_efuse_pdata = {
> + .uses_post_processing = false,
Are you sure this SoC (or any other compatible with it) doesn't have any GPU speed
binning?
If you're really sure
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> + .needs_aligned_read = true,
> +};
> +
> static const struct mtk_efuse_pdata mtk_mt8186_efuse_pdata = {
> .uses_post_processing = true,
> .needs_aligned_read = false,
> @@ -135,6 +140,7 @@ static const struct mtk_efuse_pdata mtk_efuse_pdata = {
> };
>
> static const struct of_device_id mtk_efuse_of_match[] = {
> + { .compatible = "mediatek,mt6572-efuse", .data = &mtk_mt6572_efuse_pdata },
> { .compatible = "mediatek,mt8173-efuse", .data = &mtk_efuse_pdata },
> { .compatible = "mediatek,mt8186-efuse", .data = &mtk_mt8186_efuse_pdata },
> { .compatible = "mediatek,efuse", .data = &mtk_efuse_pdata },
>
More information about the Linux-mediatek
mailing list