| /linux/Documentation/devicetree/bindings/nvmem/ |
| H A D | imx-ocotp.yaml | 4 $id: http://devicetree.org/schemas/nvmem/imx-ocotp.yaml# 7 title: Freescale i.MX On-Chip OTP Controller (OCOTP) 29 - fsl,imx6q-ocotp 30 - fsl,imx6sl-ocotp 31 - fsl,imx6sx-ocotp 32 - fsl,imx6ul-ocotp 33 - fsl,imx6ull-ocotp 34 - fsl,imx7d-ocotp 35 - fsl,imx6sll-ocotp 36 - fsl,imx7ulp-ocotp [all …]
|
| H A D | mxs-ocotp.yaml | 4 $id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml# 22 - fsl,imx23-ocotp 23 - fsl,imx28-ocotp 24 - const: fsl,ocotp 41 ocotp: efuse@8002c000 { 42 compatible = "fsl,imx28-ocotp", "fsl,ocotp";
|
| H A D | fsl,scu-ocotp.yaml | 4 $id: http://devicetree.org/schemas/nvmem/fsl,scu-ocotp.yaml# 7 title: i.MX SCU Client Device Node - OCOTP Based on SCU Message Protocol 21 - fsl,imx8qm-scu-ocotp 22 - fsl,imx8qxp-scu-ocotp 33 Byte offset within OCOTP where the MAC address is stored 48 ocotp { 49 compatible = "fsl,imx8qxp-scu-ocotp";
|
| H A D | fsl,vf610-ocotp.yaml | 4 $id: http://devicetree.org/schemas/nvmem/fsl,vf610-ocotp.yaml# 20 - fsl,vf610-ocotp 28 - description: ipg clock we associate with the OCOTP peripheral 41 ocotp@400a5000 { 42 compatible = "fsl,vf610-ocotp", "syscon";
|
| H A D | sunplus,sp7021-ocotp.yaml | 5 $id: http://devicetree.org/schemas/nvmem/sunplus,sp7021-ocotp.yaml# 19 const: sunplus,sp7021-ocotp 59 compatible = "sunplus,sp7021-ocotp";
|
| /linux/drivers/soc/imx/ |
| H A D | soc-imx.c | 32 struct regmap *ocotp = NULL; in imx_soc_device_init() local 86 ocotp_compat = "fsl,imx6sl-ocotp"; in imx_soc_device_init() 90 ocotp_compat = "fsl,imx6q-ocotp"; in imx_soc_device_init() 94 ocotp_compat = "fsl,imx6sx-ocotp"; in imx_soc_device_init() 98 ocotp_compat = "fsl,imx6q-ocotp"; in imx_soc_device_init() 102 ocotp_compat = "fsl,imx6ul-ocotp"; in imx_soc_device_init() 106 ocotp_compat = "fsl,imx6ull-ocotp"; in imx_soc_device_init() 110 ocotp_compat = "fsl,imx6ull-ocotp"; in imx_soc_device_init() 114 ocotp_compat = "fsl,imx6sll-ocotp"; in imx_soc_device_init() 118 ocotp_compat = "fsl,imx7d-ocotp"; in imx_soc_device_init() [all …]
|
| H A D | soc-imx8m.c | 169 .ocotp_compatible = "fsl,imx8mq-ocotp", 176 .ocotp_compatible = "fsl,imx8mm-ocotp", 183 .ocotp_compatible = "fsl,imx8mm-ocotp", 190 .ocotp_compatible = "fsl,imx8mm-ocotp",
|
| /linux/drivers/nvmem/ |
| H A D | Makefile | 19 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o 20 nvmem-bcm-ocotp-y := bcm-ocotp.o 25 obj-$(CONFIG_NVMEM_IMX_OCOTP) += nvmem-imx-ocotp.o 26 nvmem-imx-ocotp-y := imx-ocotp.o 27 obj-$(CONFIG_NVMEM_IMX_OCOTP_ELE) += nvmem-imx-ocotp-ele.o 28 nvmem-imx-ocotp-ele-y := imx-ocotp-ele.o 29 obj-$(CONFIG_NVMEM_IMX_OCOTP_SCU) += nvmem-imx-ocotp-scu.o 30 nvmem-imx-ocotp-scu-y := imx-ocotp-scu.o 51 obj-$(CONFIG_NVMEM_MXS_OCOTP) += nvmem-mxs-ocotp.o 52 nvmem-mxs-ocotp-y := mxs-ocotp.o [all …]
|
| H A D | vf610-ocotp.c | 7 * 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", }, 247 .name = "vf610-ocotp", [all …]
|
| H A D | imx-ocotp.c | 3 * i.MX6 OCOTP fusebox driver 9 * Based on the barebox ocotp driver, 185 dev_err(priv->dev, "failed to prepare/enable ocotp clk\n"); in imx_ocotp_read() 334 dev_err(priv->dev, "failed to prepare/enable ocotp clk\n"); in imx_ocotp_write() 388 * protect programming same OTP bit twice, before program OCOTP will in imx_ocotp_write() 481 .name = "imx-ocotp", 573 { .compatible = "fsl,imx6q-ocotp", .data = &imx6q_params }, 574 { .compatible = "fsl,imx6sl-ocotp", .data = &imx6sl_params }, 575 { .compatible = "fsl,imx6sx-ocotp", .data = &imx6sx_params }, 576 { .compatible = "fsl,imx6ul-ocotp", .data = &imx6ul_params }, [all …]
|
| H A D | Kconfig | 76 will be called nvmem-bcm-ocotp. 103 This is a driver for the On-Chip OTP Controller (OCOTP) available on 108 will be called nvmem-imx-ocotp. 116 This is a driver for the On-Chip OTP Controller (OCOTP) 124 This is a driver for the SCU On-Chip OTP Controller (OCOTP) 240 will be called nvmem-mxs-ocotp. 255 tristate "S32G SoC OCOTP support" 258 This is a driver for the 'OCOTP' peripheral available on S32G 412 This is a driver for the On-chip OTP controller (OCOTP) available 417 will be called nvmem-sunplus-ocotp. [all …]
|
| H A D | mxs-ocotp.c | 22 /* OCOTP registers and bits */ 76 /* open OCOTP banks for read */ in mxs_ocotp_read() 109 .name = "mxs-ocotp", 128 { .compatible = "fsl,imx23-ocotp", .data = &imx23_data }, 129 { .compatible = "fsl,imx28-ocotp", .data = &imx28_data }, 187 .name = "mxs-ocotp", 194 MODULE_DESCRIPTION("driver for OCOTP in i.MX23/i.MX28");
|
| H A D | imx-ocotp-ele.c | 3 * i.MX9 OCOTP fusebox driver 154 priv->config.name = "ELE-OCOTP"; in imx_ele_ocotp_probe() 230 { .compatible = "fsl,imx93-ocotp", .data = &imx93_ocotp_data, }, 231 { .compatible = "fsl,imx94-ocotp", .data = &imx94_ocotp_data, }, 232 { .compatible = "fsl,imx95-ocotp", .data = &imx95_ocotp_data, }, 246 MODULE_DESCRIPTION("i.MX OCOTP/ELE driver");
|
| H A D | imx-ocotp-scu.c | 3 * i.MX8 OCOTP fusebox driver 222 .name = "imx-scu-ocotp", 233 { .compatible = "fsl,imx8qxp-scu-ocotp", (void *)&imx8qxp_data }, 234 { .compatible = "fsl,imx8qm-scu-ocotp", (void *)&imx8qm_data }, 274 MODULE_DESCRIPTION("i.MX8 SCU OCOTP fuse box driver");
|
| H A D | sunplus-ocotp.c | 4 * The OCOTP driver for Sunplus SP7021 147 .name = "sp-ocotp", 212 { .compatible = "sunplus,sp7021-ocotp", .data = &sp_otp_v0 }, 220 .name = "sunplus,sp7021-ocotp",
|
| H A D | bcm-ocotp.c | 221 .name = "bcm-ocotp", 230 { .compatible = "brcm,ocotp", .data = &otp_map }, 231 { .compatible = "brcm,ocotp-v2", .data = &otp_map_v2 }, 273 err = device_property_read_u32(dev, "brcm,ocotp-size", &num_words); in bcm_otpc_probe()
|
| /linux/drivers/cpufreq/ |
| H A D | imx6q-cpufreq.c | 237 struct regmap *ocotp; in imx6q_opp_check_speed_grading() local 239 ocotp = syscon_regmap_lookup_by_compatible("fsl,imx6q-ocotp"); in imx6q_opp_check_speed_grading() 240 if (IS_ERR(ocotp)) in imx6q_opp_check_speed_grading() 251 regmap_read(ocotp, OCOTP_CFG3, &val); in imx6q_opp_check_speed_grading() 286 struct regmap *ocotp; in imx6ul_opp_check_speed_grading() local 288 ocotp = syscon_regmap_lookup_by_compatible("fsl,imx6ul-ocotp"); in imx6ul_opp_check_speed_grading() 289 if (IS_ERR(ocotp)) in imx6ul_opp_check_speed_grading() 290 ocotp = syscon_regmap_lookup_by_compatible("fsl,imx6ull-ocotp"); in imx6ul_opp_check_speed_grading() 292 if (IS_ERR(ocotp)) in imx6ul_opp_check_speed_grading() 295 regmap_read(ocotp, OCOTP_CFG3, &val); in imx6ul_opp_check_speed_grading() [all …]
|
| /linux/arch/arm/mach-mxs/ |
| H A D | mach-mxs.c | 97 np = of_find_compatible_node(NULL, NULL, "fsl,ocotp"); in mxs_get_ocotp() 104 * clk_enable(hbus_clk) for ocotp can be skipped in mxs_get_ocotp() 119 /* open OCOTP banks for read */ in mxs_get_ocotp() 148 pr_err("%s: timeout in reading OCOTP\n", __func__); in mxs_get_ocotp() 164 const u32 *ocotp = mxs_get_ocotp(); in update_fec_mac_prop() local 192 * OCOTP only stores the last 4 octets for each mac address, in update_fec_mac_prop() 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() [all …]
|
| /linux/Documentation/devicetree/bindings/firmware/ |
| H A D | fsl,scu.yaml | 38 ocotp: 40 OCOTP controller node provided by the SCU 41 $ref: /schemas/nvmem/fsl,scu-ocotp.yaml 193 ocotp { 194 compatible = "fsl,imx8qxp-scu-ocotp";
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8qxp.dtsi | 233 ocotp: ocotp { label 234 compatible = "fsl,imx8qxp-scu-ocotp";
|
| H A D | imx8qm.dtsi | 346 ocotp: ocotp { label 347 compatible = "fsl,imx8qm-scu-ocotp";
|
| H A D | s32g3.dtsi | 386 ocotp: nvmem@400a4000 { label 387 compatible = "nxp,s32g3-ocotp", "nxp,s32g2-ocotp";
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx7ulp.dtsi | 463 ocotp: efuse@410a6000 { label 464 compatible = "fsl,imx7ulp-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 {
|