Home
last modified time | relevance | path

Searched +full:spmi +full:- +full:sdam (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/nvmem/
Dqcom-spmi-sdam.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017, 2020-2021, The Linux Foundation. All rights reserved.
10 #include <linux/nvmem-provider.h>
34 static bool sdam_is_valid(struct sdam_chip *sdam, unsigned int offset, in sdam_is_valid() argument
37 unsigned int sdam_mem_end = SDAM_MEM_START + sdam->size - 1; in sdam_is_valid()
43 && (offset + len - 1) <= sdam_mem_end) in sdam_is_valid()
66 struct sdam_chip *sdam = priv; in sdam_read() local
67 struct device *dev = sdam->sdam_config.dev; in sdam_read()
70 if (!sdam_is_valid(sdam, offset, bytes)) { in sdam_read()
71 dev_err(dev, "Invalid SDAM offset %#x len=%zd\n", in sdam_read()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_NVMEM) += nvmem_core.o
7 nvmem_core-y := core.o
10 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o
11 nvmem-bcm-ocotp-y := bcm-ocotp.o
12 obj-$(CONFIG_NVMEM_IMX_IIM) += nvmem-imx-iim.o
13 nvmem-imx-iim-y := imx-iim.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
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
33 will be called nvmem-imx-iim.
36 tristate "i.MX 6/7/8 On-Chip OTP Controller support"
40 This is a driver for the On-Chip OTP Controller (OCOTP) available on
41 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
45 will be called nvmem-imx-ocotp.
48 tristate "i.MX8 SCU On-Chip OTP Controller support"
52 This is a driver for the SCU On-Chip OTP Controller (OCOTP)
88 tristate "Freescale MXS On-Chip OTP Memory Support"
97 will be called nvmem-mxs-ocotp.
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/nvmem/
Dqcom,spmi-sdam.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/qcom,spmi-sdam.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies, Inc. SPMI SDAM DT bindings
10 - Shyam Kumar Thella <sthella@codeaurora.org>
13 The SDAM provides scratch register space for the PMIC clients. This
18 - $ref: "nvmem.yaml#"
23 - qcom,spmi-sdam
28 "#address-cells":
[all …]