Home
last modified time | relevance | path

Searched refs:otpc (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/nvmem/
H A Dmicrochip-otpc.c57 static struct mchp_otpc_packet *mchp_otpc_id_to_packet(struct mchp_otpc *otpc, in mchp_otpc_id_to_packet() argument
62 if (id >= otpc->npackets) in mchp_otpc_id_to_packet()
65 list_for_each_entry(packet, &otpc->packets, list) { in mchp_otpc_id_to_packet()
73 static int mchp_otpc_prepare_read(struct mchp_otpc *otpc, in mchp_otpc_prepare_read() argument
79 tmp = readl_relaxed(otpc->base + MCHP_OTPC_MR); in mchp_otpc_prepare_read()
82 writel_relaxed(tmp, otpc->base + MCHP_OTPC_MR); in mchp_otpc_prepare_read()
85 tmp = readl_relaxed(otpc->base + MCHP_OTPC_CR); in mchp_otpc_prepare_read()
87 writel_relaxed(tmp, otpc->base + MCHP_OTPC_CR); in mchp_otpc_prepare_read()
91 10000, 2000, false, otpc->base + MCHP_OTPC_SR); in mchp_otpc_prepare_read()
149 struct mchp_otpc *otpc = priv; in mchp_otpc_read() local
[all …]
H A DMakefile29 obj-$(CONFIG_NVMEM_LAN9662_OTPC) += nvmem-lan9662-otpc.o
30 nvmem-lan9662-otpc-y := lan9662-otpc.o
41 obj-$(CONFIG_NVMEM_MICROCHIP_OTPC) += nvmem-microchip-otpc.o
42 nvmem-microchip-otpc-y := microchip-otpc.o
/linux/arch/arm/boot/dts/microchip/
H A Dlan966x.dtsi161 compatible = "microchip,lan9668-otpc", "microchip,lan9662-otpc";
H A Dsama7g5.dtsi19 #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
1020 otpc: efuse@e8c00000 { label
1021 compatible = "microchip,sama7g5-otpc", "syscon";
/linux/
H A DMAINTAINERS15192 F: Documentation/devicetree/bindings/nvmem/microchip,sama7g5-otpc.yaml
15193 F: drivers/nvmem/microchip-otpc.c
15194 F: include/dt-bindings/nvmem/microchip,sama7g5-otpc.h