Skip to content

Commit 2933e79

Browse files
Heiko Stuebnergregkh
authored andcommitted
nvmem: rockchip-otp: set add_legacy_fixed_of_cells config option
The Rockchip OTP describes its layout via devicetree subnodes, so set the appropriate property. Fixes: 2cc3b37 ("nvmem: add explicit config option to read old syntax fixed OF cells") 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-5-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5fecb93 commit 2933e79

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/nvmem/rockchip-otp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ static int rockchip_otp_read(void *context, unsigned int offset,
255255
static struct nvmem_config otp_config = {
256256
.name = "rockchip-otp",
257257
.owner = THIS_MODULE,
258+
.add_legacy_fixed_of_cells = true,
258259
.read_only = true,
259260
.stride = 1,
260261
.word_size = 1,

0 commit comments

Comments
 (0)