/linux/drivers/nvmem/ |
H A D | Makefile | 15 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o 16 nvmem-bcm-ocotp-y := bcm-ocotp.o 21 obj-$(CONFIG_NVMEM_IMX_OCOTP) += nvmem-imx-ocotp.o 22 nvmem-imx-ocotp-y := imx-ocotp.o 23 obj-$(CONFIG_NVMEM_IMX_OCOTP_ELE) += nvmem-imx-ocotp-ele.o 24 nvmem-imx-ocotp-ele-y := imx-ocotp-ele.o 25 obj-$(CONFIG_NVMEM_IMX_OCOTP_SCU) += nvmem-imx-ocotp-scu.o 26 nvmem-imx-ocotp-scu-y := imx-ocotp-scu.o 45 obj-$(CONFIG_NVMEM_MXS_OCOTP) += nvmem-mxs-ocotp.o 46 nvmem-mxs-ocotp-y := mxs-ocotp.o [all …]
|
H A D | vf610-ocotp.c | 149 struct vf610_ocotp *ocotp = context; in vf610_ocotp_read() local 150 void __iomem *base = ocotp->base; in vf610_ocotp_read() 158 writel(ocotp->timing, base + OCOTP_TIMING); in vf610_ocotp_read() 176 dev_dbg(ocotp->dev, "Error reading from fuse address %x\n", in vf610_ocotp_read()
|
H A D | Kconfig | 53 will be called nvmem-bcm-ocotp. 85 will be called nvmem-imx-ocotp. 205 will be called nvmem-mxs-ocotp. 351 will be called nvmem-sunplus-ocotp. 396 be called nvmem-vf610-ocotp.
|
/linux/drivers/soc/imx/ |
H A D | soc-imx.c | 32 struct regmap *ocotp = NULL; in imx_soc_device_init() local 147 ocotp = syscon_regmap_lookup_by_compatible(ocotp_compat); in imx_soc_device_init() 148 if (IS_ERR(ocotp)) in imx_soc_device_init() 152 if (!IS_ERR_OR_NULL(ocotp)) { in imx_soc_device_init() 154 regmap_read(ocotp, OCOTP_ULP_UID_4, &val); in imx_soc_device_init() 156 regmap_read(ocotp, OCOTP_ULP_UID_3, &val); in imx_soc_device_init() 159 regmap_read(ocotp, OCOTP_ULP_UID_2, &val); in imx_soc_device_init() 162 regmap_read(ocotp, OCOTP_ULP_UID_1, &val); in imx_soc_device_init() 168 regmap_read(ocotp, IIM_UID + i*4, &val); in imx_soc_device_init() 173 regmap_read(ocotp, OCOTP_UID_H, &val); in imx_soc_device_init() [all …]
|
/linux/Documentation/devicetree/bindings/nvmem/ |
H A D | brcm,ocotp.txt | 4 - compatible: "brcm,ocotp" for the first generation Broadcom OTPC which is used 5 in Cygnus and supports 32 bit read/write. Use "brcm,ocotp-v2" for the second 9 - brcm,ocotp-size: Amount of memory available, in 32 bit words 14 compatible = "brcm,ocotp"; 16 brcm,ocotp-size = <2048>;
|
H A D | vf610-ocotp.txt | 5 - "fsl,vf610-ocotp", "syscon" for VF5xx/VF6xx 13 ocotp: ocotp@400a5000 { 14 compatible = "fsl,vf610-ocotp", "syscon";
|
/linux/drivers/cpufreq/ |
H A D | imx6q-cpufreq.c | 238 struct regmap *ocotp; in imx6q_opp_check_speed_grading() local 240 ocotp = syscon_regmap_lookup_by_compatible("fsl,imx6q-ocotp"); in imx6q_opp_check_speed_grading() 241 if (IS_ERR(ocotp)) in imx6q_opp_check_speed_grading() 252 regmap_read(ocotp, OCOTP_CFG3, &val); in imx6q_opp_check_speed_grading() 287 struct regmap *ocotp; in imx6ul_opp_check_speed_grading() local 289 ocotp = syscon_regmap_lookup_by_compatible("fsl,imx6ul-ocotp"); in imx6ul_opp_check_speed_grading() 290 if (IS_ERR(ocotp)) in imx6ul_opp_check_speed_grading() 291 ocotp = syscon_regmap_lookup_by_compatible("fsl,imx6ull-ocotp"); in imx6ul_opp_check_speed_grading() 293 if (IS_ERR(ocotp)) in imx6ul_opp_check_speed_grading() 296 regmap_read(ocotp, OCOTP_CFG3, &val); in imx6ul_opp_check_speed_grading()
|
/linux/arch/arm/mach-mxs/ |
H A D | mach-mxs.c | 164 const u32 *ocotp = mxs_get_ocotp(); in update_fec_mac_prop() local 223 val = ocotp[i]; in update_fec_mac_prop() 387 const u32 *ocotp = mxs_get_ocotp(); in mxs_machine_init() local 406 soc_uid = system_serial_low = ocotp[HW_OCOTP_OPS3]; in mxs_machine_init() 408 soc_uid = system_serial_high = ocotp[HW_OCOTP_OPS2]; in mxs_machine_init() 410 system_serial_low = ocotp[HW_OCOTP_OPS3]; in mxs_machine_init()
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ull.dtsi | 34 &ocotp { 35 compatible = "fsl,imx6ull-ocotp", "syscon";
|
H A D | imx7ulp.dtsi | 458 ocotp: efuse@410a6000 { label 459 compatible = "fsl,imx7ulp-ocotp", "syscon";
|
H A D | imx6ull-dhcor-som.dtsi | 176 &ocotp {
|
H A D | imx6sll.dtsi | 798 ocotp: efuse@21bc000 { label 801 compatible = "fsl,imx6sll-ocotp", "syscon";
|
H A D | imx6sl.dtsi | 961 ocotp: efuse@21bc000 { label 962 compatible = "fsl,imx6sl-ocotp", "syscon";
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8dxl.dtsi | 146 ocotp: ocotp { label 147 compatible = "fsl,imx8qxp-scu-ocotp";
|
H A D | imx8qxp.dtsi | 228 ocotp: ocotp { label 229 compatible = "fsl,imx8qxp-scu-ocotp";
|
H A D | imx8qm.dtsi | 336 ocotp: ocotp { label 337 compatible = "fsl,imx8qm-scu-ocotp";
|
H A D | imx8mn.dtsi | 568 ocotp: efuse@30350000 { label 569 compatible = "fsl,imx8mn-ocotp", "fsl,imx8mm-ocotp", "syscon";
|
/linux/arch/arm/boot/dts/nxp/vf/ |
H A D | vfxxx.dtsi | 485 ocotp: ocotp@400a5000 { label 486 compatible = "fsl,vf610-ocotp", "syscon";
|
/linux/arch/arm/boot/dts/nxp/mxs/ |
H A D | imx23.dtsi | 444 compatible = "fsl,imx23-ocotp", "fsl,ocotp";
|
H A D | imx28-m28cu3.dts | 162 &ocotp {
|
H A D | imx28.dtsi | 1018 ocotp: efuse@8002c000 { label 1019 compatible = "fsl,imx28-ocotp", "fsl,ocotp";
|
H A D | imx28-tx28.dts | 448 &ocotp {
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm-cygnus.dtsi | 109 compatible = "brcm,ocotp"; 111 brcm,ocotp-size = <2048>;
|
/linux/arch/arm64/boot/dts/broadcom/stingray/ |
H A D | stingray.dtsi | 275 compatible = "brcm,ocotp-v2"; 277 brcm,ocotp-size = <2048>;
|
/linux/arch/arm/boot/dts/sunplus/ |
H A D | sunplus-sp7021.dtsi | 53 compatible = "sunplus,sp7021-ocotp";
|