Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nvmem: meson-efuse: indicate that this driver is only for Meson GX SoCs

The current Amlogic Meson eFuse driver only supports the 64-bit SoCs
(GXBB and newer). Older SoCs cannot be supported by the same driver
because they do not use the meson secure monitor firmware to access the
hardware.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Martin Blumenstingl and committed by
Greg Kroah-Hartman
9593ad32 41e04349

+5 -5
+1 -1
Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt
··· 1 - = Amlogic eFuse device tree bindings = 1 + = Amlogic Meson GX eFuse device tree bindings = 2 2 3 3 Required properties: 4 4 - compatible: should be "amlogic,meson-gxbb-efuse"
+2 -2
drivers/nvmem/Kconfig
··· 135 135 be called nvmem-vf610-ocotp. 136 136 137 137 config MESON_EFUSE 138 - tristate "Amlogic eFuse Support" 138 + tristate "Amlogic Meson GX eFuse Support" 139 139 depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM 140 140 help 141 141 This is a driver to retrieve specific values from the eFuse found on 142 - the Amlogic Meson SoCs. 142 + the Amlogic Meson GX SoCs. 143 143 144 144 This driver can also be built as a module. If so, the module 145 145 will be called nvmem_meson_efuse.
+2 -2
drivers/nvmem/meson-efuse.c
··· 1 1 /* 2 - * Amlogic eFuse Driver 2 + * Amlogic Meson GX eFuse Driver 3 3 * 4 4 * Copyright (c) 2016 Endless Computers, Inc. 5 5 * Author: Carlo Caione <carlo@endlessm.com> ··· 89 89 module_platform_driver(meson_efuse_driver); 90 90 91 91 MODULE_AUTHOR("Carlo Caione <carlo@endlessm.com>"); 92 - MODULE_DESCRIPTION("Amlogic Meson NVMEM driver"); 92 + MODULE_DESCRIPTION("Amlogic Meson GX NVMEM driver"); 93 93 MODULE_LICENSE("GPL v2");