Skip to content

Commit ba64a04

Browse files
Heiko Stuebnergregkh
authored andcommitted
nvmem: rockchip-efuse: set type to OTP
This device currently reports an "Unknown" type in sysfs. Since it is an eFuse hardware device, set its type to OTP. Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20240705074852.423202-7-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 39f9560 commit ba64a04

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/nvmem/rockchip-efuse.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ static int rockchip_rk3399_efuse_read(void *context, unsigned int offset,
206206
static struct nvmem_config econfig = {
207207
.name = "rockchip-efuse",
208208
.add_legacy_fixed_of_cells = true,
209+
.type = NVMEM_TYPE_OTP,
209210
.stride = 1,
210211
.word_size = 1,
211212
.read_only = true,

0 commit comments

Comments
 (0)