summaryrefslogtreecommitdiff
path: root/drivers/char/Kconfig
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-08-18 09:46:40 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:20:42 +0300
commitfabf5dbbe10026ac9b572e5cb28b05f3caf61f75 (patch)
tree1d1fc315dd24ef0da364031b5eea3b083b7117af /drivers/char/Kconfig
parent603a4e40d1113c2845c92e0c148aa9592c6a1198 (diff)
MLK-11371-1 char: add fsl_otp device driver
This is porting of fsl_otp driver from imx_3.14.y to imx_4.1.y. This patch mainly from the following: commit:292eff6d2c9064ecf15ed457140c1d743c2ead67 "ENGR00269945: char: add fsl_otp deivce driver" This is a porting of fsl_otp driver from 3.0.35 kernel to 3.10. It cleans up the driver a little bit and adds device tree probe support. shawn.guo: cherry-pick commit 850237dccde7 from imx_3.10.y. commit:057a50039fac872fd19fe6c129a94face4231ae8 "MLK-10979-4 imx: ocotp add i.MX7D support and fix hole" 1. Add i.MX7D support 2. Fix hole addressing. There is a hole in shadow registers address map of size 0x100 between bank 5 and bank 6 on iMX6QP, iMX6DQ, iMX6SDL, iMX6SX and iMX6UL. Bank 5 ends at 0x6F0 and Bank 6 starts at 0x800. When reading the fuses, should account for this hole in address space. Similar hole exists between bank 14 and bank 15 of size 0x80 on iMX6QP, iMX6DQ, iMX6SDL and iMX6SX. Note: iMX6SL has only 0-7 banks and there is no hole. Note: iMX6UL doesn't have this one. When reading, the hole need to be considered to calculated the physical address offset. When writing, since only word index for i.MX6 and bank index for i.MX7, there is no need to take the hole into consideration, still use the bank/word index from fuse map. 3. Add i.MX6SL i.MX6UL fuse map table. 4. Tested read/write on mx6ul-14x14-ddr3-arm2 and mx7d-12x12-lpddr3-arm2 board. Tested read on mx6sxsabresd board. Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r--drivers/char/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 013620af9d02..e4866ed3c3da 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -91,6 +91,21 @@ config BFIN_OTP_WRITE_ENABLE
If unsure, say N.
+config FSL_OTP
+ tristate "Freescale On-Chip OTP Memory Support"
+ depends on HAS_IOMEM && OF
+ help
+ If you say Y here, you will get support for a character device
+ interface into the One Time Programmable memory pages that are
+ stored on the some Freescale i.MX processors. This will not get
+ you access to the secure memory pages however. You will need to
+ write your own secure code and reader for that.
+
+ To compile this driver as a module, choose M here: the module
+ will be called fsl_otp.
+
+ If unsure, it is safe to say Y.
+
config PRINTER
tristate "Parallel printer support"
depends on PARPORT