Lines Matching +full:efuse +full:- +full:size
1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Andrew-CT Chen <andrew-ct.chen@mediatek.com>
11 #include <linux/nvmem-provider.h>
25 while (words--) in mtk_reg_read()
26 *val++ = readl(priv->base + reg + (i++ * 4)); in mtk_reg_read()
33 struct device *dev = &pdev->dev; in mtk_efuse_probe()
41 return -ENOMEM; in mtk_efuse_probe()
44 priv->base = devm_ioremap_resource(dev, res); in mtk_efuse_probe()
45 if (IS_ERR(priv->base)) in mtk_efuse_probe()
46 return PTR_ERR(priv->base); in mtk_efuse_probe()
51 econfig.size = resource_size(res); in mtk_efuse_probe()
60 { .compatible = "mediatek,mt8173-efuse",},
61 { .compatible = "mediatek,efuse",},
69 .name = "mediatek,efuse",
80 pr_err("Failed to register efuse driver\n"); in mtk_efuse_init()
95 MODULE_AUTHOR("Andrew-CT Chen <andrew-ct.chen@mediatek.com>");
96 MODULE_DESCRIPTION("Mediatek EFUSE driver");