/linux/Documentation/devicetree/bindings/mtd/partitions/ |
H A D | nvmem-cells.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/nvmem-cells.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Nvmem cells 10 Any partition containing the compatible "nvmem-cells" will register as a 11 nvmem provider. 12 Each direct subnodes represents a nvmem cell following the nvmem binding. 13 Nvmem binding to declare nvmem-cells can be found in: 14 Documentation/devicetree/bindings/nvmem/nvmem.yaml [all …]
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | sprd-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/sprd-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 14 $ref: thermal-sensor.yaml# 18 const: sprd,ums512-thermal 26 clock-names: [all …]
|
H A D | mediatek,lvts-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/mediatek,lvts-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Balsam CHIHI <bchihi@baylibre.com> 14 a Sensing device - Thermal Sensing Micro Circuit Unit (TSMCU), 15 a Converter - Low Voltage Thermal Sensor converter (LVTS), and 21 - mediatek,mt7988-lvts-ap 22 - mediatek,mt8186-lvts 23 - mediatek,mt8188-lvts-ap [all …]
|
H A D | qcom-tsens.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 --- 5 $id: http://devicetree.org/schemas/thermal/qcom-tsens.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Amit Kucheria <amitk@kernel.org> 22 - description: msm8960 TSENS based 24 - enum: 25 - qcom,ipq8064-tsens 26 - qcom,msm8960-tsens 28 - description: v0.1 of TSENS [all …]
|
/linux/Documentation/driver-api/ |
H A D | nvmem.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 NVMEM Subsystem 9 This document explains the NVMEM Framework along with the APIs provided, 14 *NVMEM* is the abbreviation for Non Volatile Memory layer. It is used to 18 Before this framework existed, NVMEM drivers like eeprom were stored in 20 register a sysfs file, allow in-kernel users to access the content of the 23 This was also a problem as far as other in-kernel users were involved, since 31 NVMEM Providers 34 NVMEM provider refers to an entity that implements methods to initialize, read 35 and write the non-volatile memory. [all …]
|
/linux/Documentation/devicetree/bindings/nvmem/ |
H A D | nvmem-consumer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/nvmem-consumer.yaml# 5 $schema: http://devicetree.org/meta-schemas/base.yaml# 7 title: NVMEM (Non Volatile Memory) Consumer 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 15 nvmem: 16 $ref: /schemas/types.yaml#/definitions/phandle-array 18 List of phandle to the nvmem providers. 20 nvmem-cells: [all …]
|
H A D | nvmem.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/nvmem.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVMEM (Non Volatile Memory) 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 17 some data on NVMEM, for the OS to be able to retrieve these 23 "#address-cells": 26 "#size-cells": 29 read-only: [all …]
|
H A D | apple,spmi-nvmem.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/nvmem/apple,spmi-nvmem.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Apple SPMI NVMEM 9 description: Exports a series of SPMI registers as NVMEM cells 12 - Sasha Finkelstein <fnkl.kernel@gmail.com> 15 - $ref: nvmem.yaml# 20 - enum: 21 - apple,maverick-pmic [all …]
|
/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | fixed-layout.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/fixed-layout.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVMEM layout for fixed NVMEM cells 10 Many NVMEM devices have hardcoded cells layout (offset and size of defined 11 NVMEM content doesn't change). 13 This binding allows defining such NVMEM layout with its cells. It can be used 14 on top of any NVMEM device. 17 - Rafał Miłecki <rafal@milecki.pl> [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | sprd,sc2720-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/sprd,sc2720-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Baolin Wang <baolin.wang7@gmail.com> 18 - sprd,sc2720-adc 19 - sprd,sc2721-adc 20 - sprd,sc2723-adc 21 - sprd,sc2730-adc 22 - sprd,sc2731-adc [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | sunplus,sp7021-emac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/net/sunplus,sp7021-emac.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Wells Lu <wellslutw@gmail.com> 19 const: sunplus,sp7021-emac 33 ethernet-ports: 39 "#address-cells": 42 "#size-cells": 46 "^port@[0-1]$": [all …]
|
H A D | nixge.txt | 4 - compatible: Should be "ni,xge-enet-3.00", but can be "ni,xge-enet-2.00" for 5 older device trees with DMA engines co-located in the address map, 7 - reg: Address and length of the register set for the device. It contains the 8 information of registers in the same order as described by reg-names. 9 - reg-names: Should contain the reg names 12 - interrupts: Should contain tx and rx interrupt 13 - interrupt-names: Should be "rx" and "tx" 14 - phy-mode: See ethernet.txt file in the same directory. 15 - nvmem-cells: Phandle of nvmem cell containing the MAC address 16 - nvmem-cell-names: Should be "address" [all …]
|
/linux/include/linux/ |
H A D | nvmem-provider.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * nvmem framework provider. 6 * Copyright (C) 2013 Maxime Ripard <maxime.ripard@free-electrons.com> 36 #define NVMEM_DEVID_NONE (-1) 37 #define NVMEM_DEVID_AUTO (-2) 40 * struct nvmem_keepout - NVMEM register keepout range. 53 * struct nvmem_cell_info - NVMEM cell description 55 * @offset: Offset within the NVMEM device. 78 * struct nvmem_config - NVMEM device configuration 84 * @cells: Optional array of pre-defined NVMEM cells. [all …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | nvmem-reboot-mode.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/nvmem-reboot-mode.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic NVMEM reboot mode 10 - Bartosz Golaszewski <bartosz.golaszewski@linaro.org> 13 This driver gets the reboot mode magic value from the reboot-mode driver 14 and stores it in the NVMEM cell named "reboot-mode". The bootloader can 19 const: nvmem-reboot-mode 21 nvmem-cells: [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1028a-kontron-kbox-a-230-ls.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree File for the Kontron KBox A-230-LS. 5 * This consists of a Kontron SMARC-sAL28 (Dual PHY) and a special 12 /dts-v1/; 13 #include "fsl-ls1028a-kontron-sl28-var4.dts" 14 #include <dt-bindings/leds/common.h> 17 model = "Kontron KBox A-230-LS"; 18 compatible = "kontron,kbox-a-230-ls", "kontron,sl28-var4", 22 compatible = "gpio-leds"; 24 alarm-led { [all …]
|
H A D | fsl-ls1028a-kontron-sl28-var2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 12 /dts-v1/; 13 #include "fsl-ls1028a-kontron-sl28.dts" 16 model = "Kontron SMARC-sAL28 (TSN-on-module)"; 17 compatible = "kontron,sl28-var2", "kontron,sl28", "fsl,ls1028a"; 21 phy1: ethernet-phy@4 { 23 eee-broken-1000t; 24 eee-broken-100tx; 33 * port instead. Therefore, delete the phy-handle property here. [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | sunplus,sp7021-usb2-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/sunplus,sp7021-usb2-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Vincent Shih <vincent.sunplus@gmail.com> 15 const: sunplus,sp7021-usb2-phy 19 - description: UPHY register region 20 - description: MOON4 register region 22 reg-names: 24 - const: phy [all …]
|
/linux/Documentation/devicetree/bindings/soc/imx/ |
H A D | imx8m-soc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/imx/imx8m-soc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alice Guo <alice.guo@nxp.com> 21 - fsl,imx8mm 22 - fsl,imx8mn 23 - fsl,imx8mp 24 - fsl,imx8mq 26 - compatible [all …]
|
/linux/drivers/nvmem/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * nvmem framework core. 6 * Copyright (C) 2013 Maxime Ripard <maxime.ripard@free-electrons.com> 16 #include <linux/nvmem-consumer.h> 17 #include <linux/nvmem-provider.h> 37 struct nvmem_device *nvmem; member 55 static int __nvmem_reg_read(struct nvmem_device *nvmem, unsigned int offset, in __nvmem_reg_read() argument 58 if (nvmem->reg_read) in __nvmem_reg_read() 59 return nvmem->reg_read(nvmem->priv, offset, val, bytes); in __nvmem_reg_read() 61 return -EINVAL; in __nvmem_reg_read() [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | maxim,max77759.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim Integrated MAX77759 PMIC for USB Type-C applications 10 - André Draszik <andre.draszik@linaro.org> 14 Management IC for USB Type-C applications. 17 Type-C Port Controller (TCPC), NVMEM, and a GPIO expander. 26 interrupt-controller: true 28 "#interrupt-cells": 35 $ref: /schemas/gpio/maxim,max77759-gpio.yaml [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm47094-asus-rt-ac3100.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "bcm47094-asus-rt-ac3100.dtsi" 11 compatible = "asus,rt-ac3100", "brcm,bcm47094", "brcm,bcm4708"; 12 model = "ASUS RT-AC3100"; 16 #nvmem-cell-cells = <1>; 22 nvmem-cells = <&et0macaddr 0>; 23 nvmem-cell-names = "mac-address"; 27 nvmem-cells = <&et0macaddr 1>; 28 nvmem-cell-names = "mac-address"; [all …]
|
H A D | bcm47094-asus-rt-ac5300.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 11 #include <dt-bindings/leds/common.h> 14 compatible = "asus,rt-ac5300", "brcm,bcm47094", "brcm,bcm4708"; 15 model = "ASUS RT-AC5300"; 28 #nvmem-cell-cells = <1>; 32 gpio-keys { 33 compatible = "gpio-keys"; 35 button-reset { [all …]
|
H A D | bcm4709-asus-rt-ac3200.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 11 #include <dt-bindings/leds/common.h> 14 compatible = "asus,rt-ac3200", "brcm,bcm4709", "brcm,bcm4708"; 15 model = "ASUS RT-AC3200"; 28 #nvmem-cell-cells = <1>; 32 gpio-keys { 33 compatible = "gpio-keys"; 35 button-reset { [all …]
|
/linux/Documentation/devicetree/bindings/soc/mediatek/ |
H A D | mtk-svs.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/mediatek/mtk-svs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Roger Lu <roger.lu@mediatek.com> 11 - Matthias Brugger <matthias.bgg@gmail.com> 12 - Kevin Hilman <khilman@kernel.org> 24 - mediatek,mt8183-svs 25 - mediatek,mt8186-svs 26 - mediatek,mt8188-svs [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt7986a-acelink-ew-7886cax.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 11 compatible = "acelink,ew-7886cax", "mediatek,mt7986a"; 12 model = "Acelink EW-7886CAX"; 19 stdout-path = "serial0:115200n8"; 28 compatible = "gpio-keys"; 30 key-restart { [all …]
|