Home
last modified time | relevance | path

Searched full:ocotp (Results 1 – 25 of 44) sorted by relevance

12

/linux-5.10/Documentation/devicetree/bindings/nvmem/
Dimx-ocotp.yaml4 $id: http://devicetree.org/schemas/nvmem/imx-ocotp.yaml#
7 title: Freescale i.MX6 On-Chip OTP Controller (OCOTP) device tree bindings
25 - fsl,imx6q-ocotp
26 - fsl,imx6sl-ocotp
27 - fsl,imx6sx-ocotp
28 - fsl,imx6ul-ocotp
29 - fsl,imx6ull-ocotp
30 - fsl,imx7d-ocotp
31 - fsl,imx6sll-ocotp
32 - fsl,imx7ulp-ocotp
[all …]
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>;
Dvf610-ocotp.txt5 - "fsl,vf610-ocotp", "syscon" for VF5xx/VF6xx
9 clocks : ipg clock we associate with the OCOTP peripheral
13 ocotp: ocotp@400a5000 {
14 compatible = "fsl,vf610-ocotp", "syscon";
Dmxs-ocotp.yaml4 $id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml#
18 - fsl,imx23-ocotp
19 - fsl,imx28-ocotp
42 ocotp: efuse@8002c000 {
43 compatible = "fsl,imx28-ocotp";
/linux-5.10/drivers/soc/imx/
Dsoc-imx.c30 struct regmap *ocotp = NULL; in imx_soc_device_init() local
77 ocotp_compat = "fsl,imx6sl-ocotp"; in imx_soc_device_init()
81 ocotp_compat = "fsl,imx6q-ocotp"; in imx_soc_device_init()
85 ocotp_compat = "fsl,imx6sx-ocotp"; in imx_soc_device_init()
89 ocotp_compat = "fsl,imx6q-ocotp"; in imx_soc_device_init()
93 ocotp_compat = "fsl,imx6ul-ocotp"; in imx_soc_device_init()
97 ocotp_compat = "fsl,imx6ull-ocotp"; in imx_soc_device_init()
101 ocotp_compat = "fsl,imx6ull-ocotp"; in imx_soc_device_init()
105 ocotp_compat = "fsl,imx6sll-ocotp"; in imx_soc_device_init()
109 ocotp_compat = "fsl,imx7d-ocotp"; in imx_soc_device_init()
[all …]
Dsoc-imx8m.c60 np = of_find_compatible_node(NULL, NULL, "fsl,imx8mq-ocotp"); in imx8mq_soc_revision()
95 np = of_find_compatible_node(NULL, NULL, "fsl,imx8mm-ocotp"); in imx8mm_soc_uid()
/linux-5.10/drivers/nvmem/
DMakefile10 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o
11 nvmem-bcm-ocotp-y := bcm-ocotp.o
14 obj-$(CONFIG_NVMEM_IMX_OCOTP) += nvmem-imx-ocotp.o
15 nvmem-imx-ocotp-y := imx-ocotp.o
16 obj-$(CONFIG_NVMEM_IMX_OCOTP_SCU) += nvmem-imx-ocotp-scu.o
17 nvmem-imx-ocotp-scu-y := imx-ocotp-scu.o
24 obj-$(CONFIG_NVMEM_MXS_OCOTP) += nvmem-mxs-ocotp.o
25 nvmem-mxs-ocotp-y := mxs-ocotp.o
42 obj-$(CONFIG_NVMEM_VF610_OCOTP) += nvmem-vf610-ocotp.o
43 nvmem-vf610-ocotp-y := vf610-ocotp.o
Dvf610-ocotp.c7 * Based on the barebox ocotp driver,
22 /* OCOTP Register Offsets */
31 /* OCOTP Register bits and masks */
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()
200 .name = "ocotp",
207 { .compatible = "fsl,vf610-ocotp", },
248 .name = "vf610-ocotp",
[all …]
Dimx-ocotp.c3 * i.MX6 OCOTP fusebox driver
7 * Based on the barebox ocotp driver,
176 dev_err(priv->dev, "failed to prepare/enable ocotp clk\n"); in imx_ocotp_read()
300 dev_err(priv->dev, "failed to prepare/enable ocotp clk\n"); in imx_ocotp_write()
354 * protect programming same OTP bit twice, before program OCOTP will in imx_ocotp_write()
447 .name = "imx-ocotp",
539 { .compatible = "fsl,imx6q-ocotp", .data = &imx6q_params },
540 { .compatible = "fsl,imx6sl-ocotp", .data = &imx6sl_params },
541 { .compatible = "fsl,imx6sx-ocotp", .data = &imx6sx_params },
542 { .compatible = "fsl,imx6ul-ocotp", .data = &imx6ul_params },
[all …]
Dmxs-ocotp.c21 /* OCOTP registers and bits */
75 /* open OCOTP banks for read */ in mxs_ocotp_read()
108 .name = "mxs-ocotp",
127 { .compatible = "fsl,imx23-ocotp", .data = &imx23_data },
128 { .compatible = "fsl,imx28-ocotp", .data = &imx28_data },
189 .name = "mxs-ocotp",
196 MODULE_DESCRIPTION("driver for OCOTP in i.MX23/i.MX28");
DKconfig40 This is a driver for the On-Chip OTP Controller (OCOTP) available on
45 will be called nvmem-imx-ocotp.
52 This is a driver for the SCU On-Chip OTP Controller (OCOTP)
97 will be called nvmem-mxs-ocotp.
161 will be called nvmem-bcm-ocotp.
195 tristate "VF610 SoC OCOTP support"
199 This is a driver for the 'OCOTP' peripheral available on Vybrid
203 be called nvmem-vf610-ocotp.
Dimx-ocotp-scu.c3 * i.MX8 OCOTP fusebox driver
222 .name = "imx-scu-ocotp",
232 { .compatible = "fsl,imx8qxp-scu-ocotp", (void *)&imx8qxp_data },
233 { .compatible = "fsl,imx8qm-scu-ocotp", (void *)&imx8qm_data },
273 MODULE_DESCRIPTION("i.MX8 SCU OCOTP fuse box driver");
Dbcm-ocotp.c232 .name = "bcm-ocotp",
241 { .compatible = "brcm,ocotp", .data = &otp_map },
242 { .compatible = "brcm,ocotp-v2", .data = &otp_map_v2 },
286 err = device_property_read_u32(dev, "brcm,ocotp-size", &num_words); in bcm_otpc_probe()
Dlpc18xx_otp.c7 * Based on the imx ocotp driver,
/linux-5.10/Documentation/devicetree/bindings/thermal/
Dimx-thermal.yaml34 - description: Phandle to the calibration data provided by ocotp
35 - description: Phandle to the temperature grade provided by ocotp
50 TEMPMON calibration data, e.g. OCOTP on imx6q. The details about
74 compatible = "fsl,imx6sx-ocotp", "syscon";
/linux-5.10/arch/arm/mach-mxs/
Dmach-mxs.c95 np = of_find_compatible_node(NULL, NULL, "fsl,ocotp"); in mxs_get_ocotp()
102 * clk_enable(hbus_clk) for ocotp can be skipped in mxs_get_ocotp()
117 /* open OCOTP banks for read */ in mxs_get_ocotp()
146 pr_err("%s: timeout in reading OCOTP\n", __func__); in mxs_get_ocotp()
162 const u32 *ocotp = mxs_get_ocotp(); in update_fec_mac_prop() local
190 * OCOTP only stores the last 4 octets for each mac address, in update_fec_mac_prop()
221 val = ocotp[i]; in update_fec_mac_prop()
/linux-5.10/Documentation/devicetree/bindings/arm/freescale/
Dfsl,scu.txt138 OCOTP bindings based on SCU Message Protocol
142 "fsl,imx8qm-scu-ocotp",
143 "fsl,imx8qxp-scu-ocotp".
149 - Data cells of ocotp:
226 ocotp: imx8qx-ocotp {
227 compatible = "fsl,imx8qxp-scu-ocotp";
/linux-5.10/arch/arm/boot/dts/
Dimx6ull.dtsi34 &ocotp {
35 compatible = "fsl,imx6ull-ocotp", "syscon";
Dvfxxx.dtsi497 ocotp: ocotp@400a5000 { label
498 compatible = "fsl,vf610-ocotp", "syscon";
Dimx7ulp.dtsi455 ocotp: efuse@410a6000 { label
456 compatible = "fsl,imx7ulp-ocotp", "syscon";
Dimx23.dtsi446 compatible = "fsl,imx23-ocotp", "fsl,ocotp";
/linux-5.10/drivers/cpufreq/
Dimx6q-cpufreq.c230 np = of_find_compatible_node(NULL, NULL, "fsl,imx6q-ocotp"); in imx6q_opp_check_speed_grading()
237 dev_err(dev, "failed to map ocotp\n"); in imx6q_opp_check_speed_grading()
290 np = of_find_compatible_node(NULL, NULL, "fsl,imx6ul-ocotp"); in imx6ul_opp_check_speed_grading()
293 "fsl,imx6ull-ocotp"); in imx6ul_opp_check_speed_grading()
300 dev_err(dev, "failed to map ocotp\n"); in imx6ul_opp_check_speed_grading()
400 dev_err(cpu_dev, "failed to read ocotp: %d\n", in imx6q_cpufreq_probe()
/linux-5.10/arch/arm64/boot/dts/freescale/
Dimx8qxp.dtsi172 ocotp: imx8qx-ocotp { label
173 compatible = "fsl,imx8qxp-scu-ocotp";
Dimx8mp.dtsi316 ocotp: efuse@30350000 { label
317 compatible = "fsl,imx8mp-ocotp", "fsl,imx8mm-ocotp", "syscon";
Dimx8mn.dtsi377 ocotp: efuse@30350000 { label
378 compatible = "fsl,imx8mn-ocotp", "fsl,imx8mm-ocotp", "syscon";

12