| /kernel/linux/linux-5.10/drivers/soc/tegra/fuse/ |
| D | fuse-tegra30.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2014, NVIDIA CORPORATION. All rights reserved. 11 #include <linux/nvmem-consumer.h> 44 if (WARN_ON(!fuse->base)) in tegra30_fuse_read_early() 47 return readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read_early() 55 err = clk_prepare_enable(fuse->clk); in tegra30_fuse_read() 57 dev_err(fuse->dev, "failed to enable FUSE clock: %d\n", err); in tegra30_fuse_read() 61 value = readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read() 63 clk_disable_unprepare(fuse->clk); in tegra30_fuse_read() 92 fuse->read_early = tegra30_fuse_read_early; in tegra30_fuse_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/tegra/fuse/ |
| D | fuse-tegra30.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2022, NVIDIA CORPORATION. All rights reserved. 11 #include <linux/nvmem-consumer.h> 12 #include <linux/nvmem-provider.h> 44 if (WARN_ON(!fuse->base)) in tegra30_fuse_read_early() 47 return readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read_early() 55 err = pm_runtime_resume_and_get(fuse->dev); in tegra30_fuse_read() 59 value = readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read() 61 pm_runtime_put(fuse->dev); in tegra30_fuse_read() 90 fuse->read_early = tegra30_fuse_read_early; in tegra30_fuse_init() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/ |
| D | allwinner,sun8i-a83t-ths.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/thermal/allwinner,sun8i-a83t-ths.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner SUN8I Thermal Controller Device Tree Bindings 10 - Vasily Khoruzhick <anarsoul@gmail.com> 11 - Yangtao Li <tiny.windzz@gmail.com> 16 - allwinner,sun8i-a83t-ths 17 - allwinner,sun8i-h3-ths 18 - allwinner,sun8i-r40-ths [all …]
|
| D | mediatek-thermal.txt | 1 * Mediatek Thermal 3 This describes the device tree binding for the Mediatek thermal controller 4 which measures the on-SoC temperatures. This device does not have its own ADC, 11 - compatible: 12 - "mediatek,mt8173-thermal" : For MT8173 family of SoCs 13 - "mediatek,mt2701-thermal" : For MT2701 family of SoCs 14 - "mediatek,mt2712-thermal" : For MT2712 family of SoCs 15 - "mediatek,mt7622-thermal" : For MT7622 SoC 16 - "mediatek,mt8183-thermal" : For MT8183 family of SoCs 17 - reg: Address range of the thermal controller [all …]
|
| D | qoriq-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qoriq-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Thermal Monitoring Unit (TMU) on Freescale QorIQ SoCs 10 - Anson Huang <Anson.Huang@nxp.com> 19 ---------- ----- 22 - fsl,qoriq-tmu 23 - fsl,imx8mq-tmu 31 fsl,tmu-range: [all …]
|
| 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# 7 title: Spreadtrum thermal sensor controller bindings 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 16 const: sprd,ums512-thermal 24 clock-names: [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# 7 title: NXP i.MX Thermal Binding 10 - Shawn Guo <shawnguo@kernel.org> 11 - Anson Huang <Anson.Huang@nxp.com> 16 - fsl,imx6q-tempmon 17 - fsl,imx6sx-tempmon 18 - fsl,imx7d-tempmon [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | allwinner,sun8i-a83t-ths.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/thermal/allwinner,sun8i-a83t-ths.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner SUN8I Thermal Controller 10 - Vasily Khoruzhick <anarsoul@gmail.com> 11 - Yangtao Li <tiny.windzz@gmail.com> 16 - allwinner,sun8i-a83t-ths 17 - allwinner,sun8i-h3-ths 18 - allwinner,sun8i-r40-ths [all …]
|
| D | mediatek-thermal.txt | 1 * Mediatek Thermal 3 This describes the device tree binding for the Mediatek thermal controller 4 which measures the on-SoC temperatures. This device does not have its own ADC, 11 - compatible: 12 - "mediatek,mt8173-thermal" : For MT8173 family of SoCs 13 - "mediatek,mt2701-thermal" : For MT2701 family of SoCs 14 - "mediatek,mt2712-thermal" : For MT2712 family of SoCs 15 - "mediatek,mt7622-thermal" : For MT7622 SoC 16 - "mediatek,mt7981-thermal", "mediatek,mt7986-thermal" : For MT7981 SoC 17 - "mediatek,mt7986-thermal" : For MT7986 SoC [all …]
|
| D | qoriq-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qoriq-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Thermal Monitoring Unit (TMU) on Freescale QorIQ SoCs 10 - Anson Huang <Anson.Huang@nxp.com> 19 ---------- ----- 22 - fsl,qoriq-tmu 23 - fsl,imx8mq-tmu 31 fsl,tmu-range: [all …]
|
| 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# 7 title: Spreadtrum thermal sensor controller 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 16 const: sprd,ums512-thermal 24 clock-names: [all …]
|
| D | qcom-spmi-adc-tm-hc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm-hc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm's SPMI PMIC ADC HC Thermal Monitoring 9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 13 const: qcom,spmi-adc-tm-hc 21 "#thermal-sensor-cells": 24 Number of cells required to uniquely identify the thermal sensors. Since 27 "#address-cells": [all …]
|
| 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 <bchihi@baylibre.com> 13 LVTS is a thermal management architecture composed of three subsystems, 14 a Sensing device - Thermal Sensing Micro Circuit Unit (TSMCU), 15 a Converter - Low Voltage Thermal Sensor converter (LVTS), and 21 - mediatek,mt8192-lvts-ap [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# 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 …]
|
| 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# 7 title: NXP i.MX Thermal 10 - Shawn Guo <shawnguo@kernel.org> 11 - Anson Huang <Anson.Huang@nxp.com> 16 - enum: 17 - fsl,imx6q-tempmon 18 - fsl,imx6sx-tempmon [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/ |
| D | amlogic_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Amlogic Thermal Sensor Driver 10 * U = ---------, Uptat = --------- 13 * Temperature = A * ( Uptat + u_efuse / 2^16 )- B 15 * A B m n : calibration parameters 16 * u_efuse : fused calibration value, it's a signed 16 bits value 29 #include <linux/thermal.h> 70 * @A: calibration parameters 71 * @B: calibration parameters 72 * @m: calibration parameters [all …]
|
| D | mtk_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/nvmem-consumer.h> 22 #include <linux/thermal.h> 34 /* Thermal Controller Registers */ 91 /* MT8173 thermal sensors */ 113 /* The calibration coefficient of sensor */ 117 * Layout of the fuses providing the calibration data 119 * MT8183 has 6 sensors and needs 6 VTS calibration data. 120 * MT8173 has 5 sensors and needs 5 VTS calibration data. 121 * MT2701 has 3 sensors and needs 3 VTS calibration data. [all …]
|
| /kernel/linux/linux-6.6/drivers/thermal/ |
| D | amlogic_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Amlogic Thermal Sensor Driver 10 * U = ---------, Uptat = --------- 13 * Temperature = A * ( Uptat + u_efuse / 2^16 )- B 15 * A B m n : calibration parameters 16 * u_efuse : fused calibration value, it's a signed 16 bits value 27 #include <linux/thermal.h> 68 * @A: calibration parameters 69 * @B: calibration parameters 70 * @m: calibration parameters [all …]
|
| D | dove_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Dove thermal sensor driver 14 #include <linux/thermal.h> 19 /* Dove Thermal Manager Control and Status Register */ 32 /* Dove Thermal Diode Control 1 Register */ 36 /* Dove Thermal Sensor Dev Structure */ 48 reg = readl_relaxed(priv->control); in dove_init_sensor() 54 /* Reference calibration value */ in dove_init_sensor() 58 /* Set the high level reference for calibration */ in dove_init_sensor() 61 writel(reg, priv->control); in dove_init_sensor() [all …]
|
| /kernel/linux/linux-6.6/drivers/thermal/mediatek/ |
| D | auxadc_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/nvmem-consumer.h> 21 #include <linux/thermal.h> 36 /* Thermal Controller Registers */ 93 /* MT8173 thermal sensors */ 115 /* The calibration coefficient of sensor */ 119 #define MT8173_TEMP_MIN -20000 123 * Layout of the fuses providing the calibration data 125 * MT8183 has 6 sensors and needs 6 VTS calibration data. 126 * MT8173 has 5 sensors and needs 5 VTS calibration data. [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/thermal/ |
| D | intel_powerclamp.rst | 6 - Arjan van de Ven <arjan@linux.intel.com> 7 - Jacob Pan <jacob.jun.pan@linux.intel.com> 12 - Goals and Objectives 15 - Idle Injection 16 - Calibration 19 - Effectiveness and Limitations 20 - Power vs Performance 21 - Scalability 22 - Calibration 23 - Comparison with Alternative Techniques [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/nvmem/ |
| D | sunplus,sp7021-ocotp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/nvmem/sunplus,sp7021-ocotp.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: On-Chip OTP Memory for Sunplus SP7021 11 - Vincent Shih <vincent.sunplus@gmail.com> 14 - $ref: nvmem.yaml# 18 const: sunplus,sp7021-ocotp 23 reg-names: 25 - const: hb_gpio [all …]
|
| /kernel/linux/linux-6.6/drivers/thermal/st/ |
| D | st_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ST Thermal Sensor Driver core routines 6 * Copyright (C) 2003-2014 STMicroelectronics (R&D) Limited 16 /* The Thermal Framework expects millidegrees */ 25 struct device *dev = sensor->dev; in st_thermal_alloc_regfields() 26 struct regmap *regmap = sensor->regmap; in st_thermal_alloc_regfields() 27 const struct reg_field *reg_fields = sensor->cdata->reg_fields; in st_thermal_alloc_regfields() 29 sensor->dcorrect = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() 32 sensor->overflow = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() 35 sensor->temp_data = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/thermal/ |
| D | intel_powerclamp.rst | 6 - Arjan van de Ven <arjan@linux.intel.com> 7 - Jacob Pan <jacob.jun.pan@linux.intel.com> 12 - Goals and Objectives 15 - Idle Injection 16 - Calibration 19 - Effectiveness and Limitations 20 - Power vs Performance 21 - Scalability 22 - Calibration 23 - Comparison with Alternative Techniques [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/st/ |
| D | st_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ST Thermal Sensor Driver core routines 6 * Copyright (C) 2003-2014 STMicroelectronics (R&D) Limited 16 /* The Thermal Framework expects millidegrees */ 25 struct device *dev = sensor->dev; in st_thermal_alloc_regfields() 26 struct regmap *regmap = sensor->regmap; in st_thermal_alloc_regfields() 27 const struct reg_field *reg_fields = sensor->cdata->reg_fields; in st_thermal_alloc_regfields() 29 sensor->dcorrect = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() 32 sensor->overflow = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() 35 sensor->temp_data = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() [all …]
|