Home
last modified time | relevance | path

Searched refs:ocotp (Results 1 – 25 of 34) sorted by relevance

12

/linux/drivers/nvmem/
H A DMakefile15 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 Dvf610-ocotp.c149 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 DKconfig53 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 Dsoc-imx.c32 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 Dbrcm,ocotp.txt4 - 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 Dvf610-ocotp.txt5 - "fsl,vf610-ocotp", "syscon" for VF5xx/VF6xx
13 ocotp: ocotp@400a5000 {
14 compatible = "fsl,vf610-ocotp", "syscon";
/linux/drivers/cpufreq/
H A Dimx6q-cpufreq.c238 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 Dmach-mxs.c164 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 Dimx6ull.dtsi34 &ocotp {
35 compatible = "fsl,imx6ull-ocotp", "syscon";
H A Dimx7ulp.dtsi458 ocotp: efuse@410a6000 { label
459 compatible = "fsl,imx7ulp-ocotp", "syscon";
H A Dimx6ull-dhcor-som.dtsi176 &ocotp {
H A Dimx6sll.dtsi798 ocotp: efuse@21bc000 { label
801 compatible = "fsl,imx6sll-ocotp", "syscon";
H A Dimx6sl.dtsi961 ocotp: efuse@21bc000 { label
962 compatible = "fsl,imx6sl-ocotp", "syscon";
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8dxl.dtsi146 ocotp: ocotp { label
147 compatible = "fsl,imx8qxp-scu-ocotp";
H A Dimx8qxp.dtsi228 ocotp: ocotp { label
229 compatible = "fsl,imx8qxp-scu-ocotp";
H A Dimx8qm.dtsi336 ocotp: ocotp { label
337 compatible = "fsl,imx8qm-scu-ocotp";
H A Dimx8mn.dtsi568 ocotp: efuse@30350000 { label
569 compatible = "fsl,imx8mn-ocotp", "fsl,imx8mm-ocotp", "syscon";
/linux/arch/arm/boot/dts/nxp/vf/
H A Dvfxxx.dtsi485 ocotp: ocotp@400a5000 { label
486 compatible = "fsl,vf610-ocotp", "syscon";
/linux/arch/arm/boot/dts/nxp/mxs/
H A Dimx23.dtsi444 compatible = "fsl,imx23-ocotp", "fsl,ocotp";
H A Dimx28-m28cu3.dts162 &ocotp {
H A Dimx28.dtsi1018 ocotp: efuse@8002c000 { label
1019 compatible = "fsl,imx28-ocotp", "fsl,ocotp";
H A Dimx28-tx28.dts448 &ocotp {
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm-cygnus.dtsi109 compatible = "brcm,ocotp";
111 brcm,ocotp-size = <2048>;
/linux/arch/arm64/boot/dts/broadcom/stingray/
H A Dstingray.dtsi275 compatible = "brcm,ocotp-v2";
277 brcm,ocotp-size = <2048>;
/linux/arch/arm/boot/dts/sunplus/
H A Dsunplus-sp7021.dtsi53 compatible = "sunplus,sp7021-ocotp";

12