Re: [PATCH] nvmem: imx: ocotp: introduce ocotp_ctrl_reg
From: Srinivas Kandagatla
Date: Mon Jan 06 2020 - 08:55:54 EST
On 26/12/2019 10:20, Peng Fan wrote:
From: Peng Fan <peng.fan@xxxxxxx>
Introduce ocotp_ctrl_reg to include the low 16bits mask of CTRL
register.
i.MX chips will have different layout of the low 16bits of CTRL
register, so use ocotp_ctrl_reg will make it clean to add new
chip support.
Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
---
drivers/nvmem/imx-ocotp.c | 79 ++++++++++++++++++++++++++++++++++-------------
1 file changed, 57 insertions(+), 22 deletions(-)
Applied thanks,
--srini