Home
last modified time | relevance | path

Searched +full:nvmem +full:- +full:rmem (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/drivers/nvmem/
Drmem.c1 // SPDX-License-Identifier: GPL-2.0+
8 #include <linux/nvmem-provider.h>
12 struct rmem { struct
14 struct nvmem_device *nvmem; member
23 struct rmem *priv = context; in rmem_read() argument
24 size_t available = priv->mem->size; in rmem_read()
32 * uses-cases for this driver, the performance hit isn't a concern. in rmem_read()
33 * Nor is likely to be, given the nature of the subsystem. Most nvmem in rmem_read()
39 addr = memremap(priv->mem->base, available, MEMREMAP_WB); in rmem_read()
41 dev_err(priv->dev, "Failed to remap memory region\n"); in rmem_read()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for nvmem drivers.
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
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig NVMEM config
3 bool "NVMEM Support"
5 Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES...
7 This framework is designed to provide a generic interface to NVMEM
12 if NVMEM
15 bool "/sys/bus/nvmem/devices/*/nvmem (sysfs interface)"
19 Say Y here to add a sysfs interface for NVMEM.
22 read/write directly into nvmem.
33 calibration data required for the PCIe or the USB-C PHY.
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/nvmem/
Drmem.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/rmem.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Reserved Memory Based nvmem Device
10 - Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
13 - $ref: "nvmem.yaml#"
18 - enum:
19 - raspberrypi,bootloader-config
20 - const: nvmem-rmem
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dbcm2711-rpi.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "bcm2835-rpi.dtsi"
4 #include <dt-bindings/reset/raspberrypi,firmware-reset.h>
23 compatible = "raspberrypi,firmware-clocks";
24 #clock-cells = <1>;
28 compatible = "raspberrypi,firmware-gpio";
29 gpio-controller;
30 #gpio-cells = <2>;
35 compatible = "raspberrypi,firmware-reset";
36 #reset-cells = <1>;
[all …]
/Linux-v6.1/drivers/of/
Dplatform.c1 // SPDX-License-Identifier: GPL-2.0+
16 #include <linux/dma-mapping.h>
25 { .compatible = "simple-bus", },
26 { .compatible = "simple-mfd", },
29 { .compatible = "arm,amba-bus", },
35 { .compatible = "operating-points-v2", },
40 * of_find_device_by_node - Find the platform_device associated with a node
67 * of_device_make_bus_id - Use the device node data to assign a unique name
76 struct device_node *node = dev->of_node; in of_device_make_bus_id()
82 while (node->parent) { in of_device_make_bus_id()
[all …]