diff options
author | William-tw Lin <william-tw.lin@mediatek.com> | 2023-12-22 11:07:38 +0300 |
---|---|---|
committer | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2024-01-29 13:16:10 +0300 |
commit | 423a54da3c7ee6d27b862b1bae6e639a1374a36a (patch) | |
tree | dba744dd1b121a8751957341c519dc63a7751957 /drivers/soc/mediatek/Kconfig | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) | |
download | linux-423a54da3c7ee6d27b862b1bae6e639a1374a36a.tar.xz |
soc: mediatek: mtk-socinfo: Add driver for getting chip information
Add driver for socinfo retrieval. This patch includes the following:
1. mtk-socinfo driver for chip info retrieval
2. Related changes to Makefile and Kconfig
Signed-off-by: William-tw Lin <william-tw.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20231222080739.21706-3-william-tw.lin@mediatek.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Diffstat (limited to 'drivers/soc/mediatek/Kconfig')
-rw-r--r-- | drivers/soc/mediatek/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig index 0810b5b0c688..50c664b65f4d 100644 --- a/drivers/soc/mediatek/Kconfig +++ b/drivers/soc/mediatek/Kconfig @@ -68,4 +68,13 @@ config MTK_SVS chip process corner, temperatures and other factors. Then DVFS driver could apply SVS bank voltage to PMIC/Buck. +config MTK_SOCINFO + tristate "MediaTek SoC Information" + default y + depends on NVMEM_MTK_EFUSE + help + The MediaTek SoC Information (mtk-socinfo) driver provides + information about the SoC to the userspace including the + manufacturer name, marketing name and soc name. + endmenu |