Skip to content

mxs: add driver for On Chip OTP

Christoph G. Baumann linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mxs: enable ocotp in device treearch/arm/boot/dts/imx23.dtsi arch/arm/boot/dts/imx28.dtsi+0 -20 replies
2/3mxs: register clkdev "hbus" as it is required by OCOTPdrivers/clk/mxs/clk-imx23.c drivers/clk/mxs/clk-imx28.c+3 -00 replies
3/3mxs: added driver for OCOTP in i.MX23 and i.MX28drivers/misc/Kconfig drivers/misc/Makefile drivers/misc/fsl_otp.c +1 more+504 -01 reply
3/3mxs: added driver for OCOTP in i.MX23 and i.MX28+0 -01 reply
3/3mxs: added driver for OCOTP in i.MX23 and i.MX28+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] mxs: add driver for On Chip OTP

From: "Christoph G. Baumann" <[email protected]>

This patch brings read/write support for the On Chip OTP cells in the i.MX23 and i.MX28 processor. The driver uses files (one for each cell) in /sys/fsl_otp as interface. The original code from Freescale was stripped down to the required minimum and ported to 3.x kernels.

Christoph G. Baumann (3):
mxs: enable ocotp in device tree
mxs: register clkdev "hbus" as it is required by OCOTP driver
mxs: added driver for OCOTP in i.MX23 and i.MX28

 arch/arm/boot/dts/imx23.dtsi |    1 -
 arch/arm/boot/dts/imx28.dtsi |    1 -
 drivers/clk/mxs/clk-imx23.c  |    2 +
 drivers/clk/mxs/clk-imx28.c  |    1 +
 drivers/misc/Kconfig         |   14 ++
 drivers/misc/Makefile        |    1 +
 drivers/misc/fsl_otp.c       |  363 ++++++++++++++++++++++++++++++++++++++++++
 drivers/misc/fsl_otp.h       |  126 +++++++++++++++
 8 files changed, 507 insertions(+), 2 deletions(-)
 create mode 100644 drivers/misc/fsl_otp.c
 create mode 100644 drivers/misc/fsl_otp.h
Signature · 1 line
1.7.9.5