/linux-6.14.4/drivers/soc/tegra/fuse/ |
D | fuse-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2023, NVIDIA CORPORATION. All rights reserved. 13 #include <linux/nvmem-consumer.h> 14 #include <linux/nvmem-provider.h> 23 #include <soc/tegra/common.h> 24 #include <soc/tegra/fuse.h> 54 { .compatible = "nvidia,tegra20-car", }, 55 { .compatible = "nvidia,tegra30-car", }, 56 { .compatible = "nvidia,tegra114-car", }, 57 { .compatible = "nvidia,tegra124-car", }, [all …]
|
/linux-6.14.4/drivers/nvmem/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menuconfig NVMEM config 3 bool "NVMEM Support" 6 Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES... 8 This framework is designed to provide a generic interface to NVMEM 13 if NVMEM 16 bool "/sys/bus/nvmem/devices/*/nvmem (sysfs interface)" 20 Say Y here to add a sysfs interface for NVMEM. 23 read/write directly into nvmem. 27 source "drivers/nvmem/layouts/Kconfig" [all …]
|
D | mtk-efuse.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Andrew-CT Chen <andrew-[email protected]> 11 #include <linux/nvmem-provider.h> 27 void __iomem *addr = priv->base + reg; in mtk_reg_read() 48 static void mtk_efuse_fixup_dt_cell_info(struct nvmem_device *nvmem, in mtk_efuse_fixup_dt_cell_info() argument 51 size_t sz = strlen(cell->name); in mtk_efuse_fixup_dt_cell_info() 55 * a number with range [0-7] (max 3 bits): post process to use in mtk_efuse_fixup_dt_cell_info() 56 * it in OPP tables to describe supported-hw. in mtk_efuse_fixup_dt_cell_info() 58 if (cell->nbits <= 3 && in mtk_efuse_fixup_dt_cell_info() 59 strncmp(cell->name, "gpu-speedbin", min(sz, strlen("gpu-speedbin"))) == 0) in mtk_efuse_fixup_dt_cell_info() [all …]
|
D | qfprom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/nvmem-provider.h> 23 /* Amount of time required to hold charge to blow fuse in micro-seconds */ 44 * struct qfprom_soc_data - config that varies from SoC to SoC. 60 * struct qfprom_priv - structure holding qfprom attributes 62 * @qfpraw: iomapped memory space for qfprom-efuse raw address space. 63 * @qfpconf: iomapped memory space for qfprom-efuse configuration address 70 * @soc_data: Data that for things that varies from SoC to SoC. 84 * struct qfprom_touched_values - saved values to restore after blowing 97 * struct qfprom_soc_compatible_data - Data matched against the SoC [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/soc/imx/ |
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# 7 title: NXP i.MX8M Series SoC 10 - Alice Guo <[email protected]> 13 NXP i.MX8M series SoCs contain fuse entries from which SoC Unique ID can be 21 - fsl,imx8mm 22 - fsl,imx8mn 23 - fsl,imx8mp [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/nvmem/ |
D | xlnx,zynqmp-nvmem.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/xlnx,zynqmp-nvmem.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 like SOC revision, IDCODE and specific purpose efuses. 14 - Kalyani Akula <[email protected]> 15 - Praveen Teja Kundanala <[email protected]> 18 - $ref: nvmem.yaml# 22 const: xlnx,zynqmp-nvmem-fw 25 - compatible [all …]
|
D | qcom,sec-qfprom.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/qcom,sec-qfprom.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Komal Bajaj <[email protected]> 13 For some of the Qualcomm SoC's, it is possible that the qfprom region is 14 protected from non-secure access. In such situations, the OS have to use 18 - $ref: nvmem.yaml# 19 - $ref: nvmem-deprecated-cells.yaml# 24 - enum: [all …]
|
D | apple,efuses.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/nvmem/apple,efuses.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Apple SoC eFuse-based NVMEM 10 Apple SoCs such as the M1 contain factory-programmed eFuses used to e.g. store 11 calibration data for the PCIe and the Type-C PHY or unique chip identifiers 15 - Sven Peter <[email protected]> 18 - $ref: nvmem.yaml# 19 - $ref: nvmem-deprecated-cells.yaml# [all …]
|
D | qcom,qfprom.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/qcom,qfprom.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <[email protected]> 13 - $ref: nvmem.yaml# 14 - $ref: nvmem-deprecated-cells.yaml# 19 - enum: 20 - qcom,apq8064-qfprom 21 - qcom,apq8084-qfprom [all …]
|
D | fsl,t1023-sfp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/fsl,t1023-sfp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Richard Alpe <[email protected]> 13 Read support for the eFuses (SFP) on NXP QorIQ series SoC's. 16 - $ref: nvmem.yaml# 20 const: fsl,t1023-sfp 26 - compatible 27 - reg [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/firmware/xilinx/ |
D | xlnx,zynqmp-firmware.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/firmware/xilinx/xlnx,zynqmp-firmware.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nava kishore Manne <[email protected]> 12 description: The zynqmp-firmware node describes the interface to platform 23 - description: For implementations complying for Zynq Ultrascale+ MPSoC. 24 const: xlnx,zynqmp-firmware 26 - description: For implementations complying for Versal. 27 const: xlnx,versal-firmware [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/thermal/ |
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# 7 title: MediaTek SoC Low Voltage Thermal Sensor (LVTS) 10 - Balsam CHIHI <[email protected]> 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 [all …]
|
D | mediatek,thermal.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: Mediatek thermal controller for on-SoC temperatures 10 - Sascha Hauer <[email protected]> 19 - $ref: thermal-sensor.yaml# 24 - mediatek,mt2701-thermal 25 - mediatek,mt2712-thermal 26 - mediatek,mt7622-thermal 27 - mediatek,mt7981-thermal [all …]
|
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# 8 title: QCOM SoC Temperature Sensor (TSENS) 11 - Amit Kucheria <[email protected]> 22 - description: msm8960 TSENS based 24 - enum: 25 - qcom,ipq8064-tsens 26 - qcom,msm8960-tsens [all …]
|
D | imx-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/imx-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <[email protected]> 15 - enum: 16 - fsl,imx6q-tempmon 17 - fsl,imx6sx-tempmon 18 - fsl,imx7d-tempmon 19 - items: [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/soc/mediatek/ |
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 <[email protected]> 11 - Matthias Brugger <[email protected]> 12 - Kevin Hilman <[email protected]> 24 - mediatek,mt8183-svs 25 - mediatek,mt8186-svs 26 - mediatek,mt8188-svs [all …]
|
/linux-6.14.4/Documentation/driver-api/ |
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 15 retrieve configuration of SOC or Device specific data from non volatile 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 29 Addresses, SoC/Revision ID, part numbers, and so on) from the NVMEMs. 31 NVMEM Providers [all …]
|
/linux-6.14.4/drivers/cpufreq/ |
D | Kconfig.arm | 1 # SPDX-License-Identifier: GPL-2.0-only 7 tristate "Allwinner nvmem based SUN50I CPUFreq driver" 12 This adds the nvmem based CPUFreq driver for Allwinner 13 h6 SoC. 16 module will be called sun50i-cpufreq-nvmem. 19 tristate "Airoha EN7581 SoC CPUFreq support" 28 tristate "Apple Silicon SoC CPUFreq support" 81 Some Broadcom STB SoCs use a co-processor running proprietary firmware 85 Say Y, if you have a Broadcom SoC with AVS support for DFS or DVFS. 88 tristate "Calxeda Highbank-based" [all …]
|
D | sun50i-cpufreq-nvmem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Allwinner CPUFreq nvmem based driver 5 * The sun50i-cpufreq-nvmem driver reads the efuse value from the SoC to 13 #include <linux/arm-smccc.h> 16 #include <linux/nvmem-consumer.h> 41 * We treat unexpected efuse values as if the SoC was from in sun50i_h6_efuse_xlate() 42 * the slowest bin. Expected efuse values are 1-3, slowest in sun50i_h6_efuse_xlate() 46 return efuse_value - 1; in sun50i_h6_efuse_xlate() 79 * returned speedbin index is 4 -> 0/2 -> 3 -> 1, from worst to best. 118 pr_warn("sun50i-cpufreq-nvmem: unknown speed bin 0x%x, using default bin 0\n", in sun50i_h616_efuse_xlate() [all …]
|
D | qcom-cpufreq-nvmem.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * defines the voltage and frequency value based on the msm-id in SMEM 12 * The qcom-cpufreq-nvmem driver reads the msm-id and efuse value from the SoC 15 * operating-points-v2 table when it is parsed by the OPP framework. 23 #include <linux/nvmem-consumer.h> 31 #include <linux/soc/qcom/smem.h> 33 #include <dt-bindings/arm/qcom,ids.h> 85 drv->versions = 1 << *speedbin; in qcom_cpufreq_simple_get_version() 142 /* 4 bits of PVS are in efuse register bits 31, 8-6. */ in get_krait_bin_format_b() 201 drv->versions = 1 << (unsigned int)(*speedbin); in qcom_cpufreq_kryo_name_version() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/opp/ |
D | opp-v2-kryo-cpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v2-kryo-cpu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Technologies, Inc. NVMEM OPP 10 - Ilia Lin <[email protected]> 13 - $ref: opp-v2-base.yaml# 22 The qcom-cpufreq-nvmem driver reads the efuse value from the SoC to provide 25 operating-points-v2 table when it is parsed by the OPP framework. 30 - operating-points-v2-krait-cpu [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/phy/ |
D | realtek,usb2phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Stanley Chang <[email protected]> 23 XHCI controller#0 -- usb2phy -- phy#0 24 |- usb3phy -- phy#0 25 XHCI controller#1 -- usb2phy -- phy#0 26 XHCI controller#2 -- usb2phy -- phy#0 27 |- usb3phy -- phy#0 33 XHCI controller#0 -- usb2phy -- phy#0 [all …]
|
D | qcom,qusb2-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/qcom,qusb2-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Wesley Cheng <[email protected]> 19 - items: 20 - enum: 21 - qcom,ipq5424-qusb2-phy 22 - qcom,ipq6018-qusb2-phy 23 - qcom,ipq8074-qusb2-phy [all …]
|
/linux-6.14.4/drivers/soc/atmel/ |
D | sfr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sfr.c - driver for special function registers 10 #include <linux/nvmem-provider.h> 28 return regmap_bulk_read(priv->regmap, SFR_SN0 + offset, in atmel_sfr_read() 33 .name = "atmel-sfr", 43 struct device *dev = &pdev->dev; in atmel_sfr_probe() 44 struct device_node *np = dev->of_node; in atmel_sfr_probe() 45 struct nvmem_device *nvmem; in atmel_sfr_probe() local 52 return -ENOMEM; in atmel_sfr_probe() 54 priv->regmap = syscon_node_to_regmap(np); in atmel_sfr_probe() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/iio/adc/ |
D | amlogic,meson-saradc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/amlogic,meson-saradc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Martin Blumenstingl <[email protected]> 18 - const: amlogic,meson-saradc 19 - items: 20 - enum: 21 - amlogic,meson8-saradc 22 - amlogic,meson8b-saradc [all …]
|