[PATCH] nvmem: imx: ocotp: introduce ocotp_ctrl_reg

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Mon Jan 6 05:55:47 PST 2020



On 26/12/2019 10:20, Peng Fan wrote:
> From: Peng Fan <peng.fan at nxp.com>
> 
> 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 at nxp.com>
> ---
>   drivers/nvmem/imx-ocotp.c | 79 ++++++++++++++++++++++++++++++++++-------------
>   1 file changed, 57 insertions(+), 22 deletions(-)

Applied thanks,

--srini



More information about the linux-arm-kernel mailing list