]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00141399-5 OCOTP: add the ocotp driver
authorHuang Shijie <b32955@freescale.com>
Mon, 30 Aug 2010 01:51:18 +0000 (09:51 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:08:50 +0000 (14:08 +0200)
commiteb945d2cc25b933ef6628e96fc005adecf26d687
tree30f3c1973d2e10fe74b83f78405508515d52008f
parentb2f4d279161796e515278a2529dd4c2948f6e468
ENGR00141399-5 OCOTP: add the ocotp driver

Add a new driver for On-Chip OTP controller. The driver
will register all the register names of all the banks to /sys/.
You can use the following commands to manipulate the OTP banks:

read:
#cat HW_OCOTP_MAC0
write:
#echo 0x11223344 > HW_OCOTP_MAC0

Signed-off-by: Huang Shijie <b32955@freescale.com>
drivers/char/Kconfig
drivers/char/Makefile
drivers/char/fsl_otp.c [new file with mode: 0755]
drivers/char/fsl_otp.h [new file with mode: 0755]
drivers/char/regs-ocotp-v2.h [new file with mode: 0755]