Home
last modified time | relevance | path

Searched +full:lan9662 +full:- +full:otpc (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/nvmem/
Dmicrochip,lan9662-otpc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/microchip,lan9662-otpc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip LAN9662 OTP Controller (OTPC)
10 - Horatiu Vultur <horatiu.vultur@microchip.com>
18 - $ref: nvmem.yaml#
23 - items:
24 - const: microchip,lan9668-otpc
25 - const: microchip,lan9662-otpc
[all …]
/Linux-v6.1/drivers/nvmem/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_NVMEM) += nvmem_core.o
7 nvmem_core-y := core.o
10 obj-$(CONFIG_NVMEM_APPLE_EFUSES) += nvmem-apple-efuses.o
11 nvmem-apple-efuses-y := apple-efuses.o
12 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o
13 nvmem-bcm-ocotp-y := bcm-ocotp.o
14 obj-$(CONFIG_NVMEM_BRCM_NVRAM) += nvmem_brcm_nvram.o
15 nvmem_brcm_nvram-y := brcm_nvram.o
16 obj-$(CONFIG_NVMEM_IMX_IIM) += nvmem-imx-iim.o
[all …]
Dlan9662-otpc.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/nvmem-provider.h>
49 void __iomem *pwrdn = OTP_OTP_PWR_DN(otp->base); in lan9662_otp_power()
53 if (lan9662_otp_wait_flag_clear(OTP_OTP_STATUS(otp->base), in lan9662_otp_power()
55 return -ETIMEDOUT; in lan9662_otp_power()
65 if (lan9662_otp_wait_flag_clear(OTP_OTP_CMD_GO(otp->base), in lan9662_otp_execute()
67 return -ETIMEDOUT; in lan9662_otp_execute()
69 if (lan9662_otp_wait_flag_clear(OTP_OTP_STATUS(otp->base), in lan9662_otp_execute()
71 return -ETIMEDOUT; in lan9662_otp_execute()
78 writel(0xff & (offset >> 8), OTP_OTP_ADDR_HI(otp->base)); in lan9662_otp_set_address()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
33 calibration data required for the PCIe or the USB-C PHY.
36 be called nvmem-apple-efuses.
39 tristate "Broadcom On-Chip OTP Controller support"
48 will be called nvmem-bcm-ocotp.
67 will be called nvmem-imx-iim.
70 tristate "i.MX 6/7/8 On-Chip OTP Controller support"
74 This is a driver for the On-Chip OTP Controller (OCOTP) available on
75 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
79 will be called nvmem-imx-ocotp.
[all …]