Home
last modified time | relevance | path

Searched +full:generic +full:- +full:adc +full:- +full:thermal (Results 1 – 25 of 64) sorted by relevance

123

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/
Dgeneric-adc-thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/thermal/generic-adc-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: General Purpose Analog To Digital Converter (ADC) based thermal sensor
10 - Laxman Dewangan <ldewangan@nvidia.com>
13 On some of platforms, thermal sensor like thermistors are connected to
14 one of ADC channel and sensor resistance is read via voltage across the
16 temperature using voltage-temperature lookup table.
20 const: generic-adc-thermal
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/
Dthermal-generic-adc.txt1 General Purpose Analog To Digital Converter (ADC) based thermal sensor.
3 On some of platforms, thermal sensor like thermistors are connected to
4 one of ADC channel and sensor resistance is read via voltage across the
6 temperature using voltage-temperature lookup table.
10 - compatible: Must be "generic-adc-thermal".
11 - #thermal-sensor-cells: Should be 1. See Documentation/devicetree/bindings/thermal/thermal-sen…
15 - temperature-lookup-table: Two dimensional array of Integer; lookup table
16 to map the relation between ADC value and
17 temperature. When ADC is read, the value is
23 the each row of array is the ADC read value.
[all …]
/kernel/linux/linux-6.6/drivers/thermal/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Generic thermal drivers configuration
6 menuconfig THERMAL config
7 bool "Thermal drivers"
9 Thermal drivers offer a generic mechanism for
10 thermal management. Usually it's made up of one or more thermal
12 Each thermal zone contains its own temperature, trip points,
14 All platforms with ACPI or Open Firmware thermal support can use
18 if THERMAL
21 bool "Thermal netlink management"
[all …]
Dthermal-generic-adc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Generic ADC thermal driver
14 #include <linux/thermal.h>
31 if (!gti->lookup_table) in gadc_thermal_adc_to_temp()
34 for (i = 0; i < gti->nlookup_table; i++) { in gadc_thermal_adc_to_temp()
35 if (val >= gti->lookup_table[2 * i + 1]) in gadc_thermal_adc_to_temp()
40 temp = gti->lookup_table[0]; in gadc_thermal_adc_to_temp()
41 } else if (i >= gti->nlookup_table) { in gadc_thermal_adc_to_temp()
42 temp = gti->lookup_table[2 * (gti->nlookup_table - 1)]; in gadc_thermal_adc_to_temp()
44 adc_hi = gti->lookup_table[2 * i - 1]; in gadc_thermal_adc_to_temp()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
5 CFLAGS_thermal_core.o := -I$(src)
6 obj-$(CONFIG_THERMAL) += thermal_sys.o
7 thermal_sys-y += thermal_core.o thermal_sysfs.o
8 thermal_sys-y += thermal_trip.o thermal_helpers.o
10 # netlink interface to manage the thermal framework
11 thermal_sys-$(CONFIG_THERMAL_NETLINK) += thermal_netlink.o
14 thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o
15 thermal_sys-$(CONFIG_THERMAL_OF) += thermal_of.o
16 thermal_sys-$(CONFIG_THERMAL_ACPI) += thermal_acpi.o
[all …]
/kernel/linux/linux-5.10/drivers/thermal/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Generic thermal drivers configuration
6 menuconfig THERMAL config
7 bool "Thermal drivers"
9 Thermal drivers offer a generic mechanism for
10 thermal management. Usually it's made up of one or more thermal
12 Each thermal zone contains its own temperature, trip points,
14 All platforms with ACPI or Open Firmware thermal support can use
18 if THERMAL
21 bool "Thermal netlink management"
[all …]
Dthermal-generic-adc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Generic ADC thermal driver
14 #include <linux/thermal.h>
29 if (!gti->lookup_table) in gadc_thermal_adc_to_temp()
32 for (i = 0; i < gti->nlookup_table; i++) { in gadc_thermal_adc_to_temp()
33 if (val >= gti->lookup_table[2 * i + 1]) in gadc_thermal_adc_to_temp()
38 temp = gti->lookup_table[0]; in gadc_thermal_adc_to_temp()
39 } else if (i >= gti->nlookup_table) { in gadc_thermal_adc_to_temp()
40 temp = gti->lookup_table[2 * (gti->nlookup_table - 1)]; in gadc_thermal_adc_to_temp()
42 adc_hi = gti->lookup_table[2 * i - 1]; in gadc_thermal_adc_to_temp()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_THERMAL) += thermal_sys.o
7 thermal_sys-y += thermal_core.o thermal_sysfs.o \
10 # netlink interface to manage the thermal framework
11 thermal_sys-$(CONFIG_THERMAL_NETLINK) += thermal_netlink.o
14 thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o
15 thermal_sys-$(CONFIG_THERMAL_OF) += thermal_of.o
18 thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o
19 thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o
20 thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += gov_step_wise.o
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_mid_thermal.c1 // SPDX-License-Identifier: GPL-2.0
3 * Intel MID platform thermal driver
20 #include <linux/thermal.h>
22 /* Number of thermal sensors */
25 /* ADC1 - thermal registers */
35 /* Number of ADC channels */
37 #define ADC_LOOP_MAX (ADC_CHANLS_MAX - MSIC_THERMAL_SENSORS)
39 /* ADC channel code values */
50 /* ADC code range */
58 /* ADC base addresses */
[all …]
/kernel/linux/linux-5.10/drivers/thermal/intel/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
8 enforce idle time which results in more package C-state residency. The
9 user interface is exposed via generic thermal framework.
12 tristate "X86 package temperature thermal driver"
19 thermal zone. Each package will have its own thermal zone. There are
20 two trip points which can be set by user to get notifications via thermal
34 tristate "Intel SoCs DTS thermal driver"
42 thermal zone. There are two trip points. One of the trip point can
43 be set by user mode programs to get notifications via Linux thermal
48 tristate "Intel Quark DTS thermal driver"
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
Dimx6dl-victgo.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 /dts-v1/;
9 #include "imx6qdl-vicut1.dtsi"
15 gpio-keys {
16 compatible = "gpio-keys";
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_gpiokeys>;
21 key-power {
25 wakeup-source;
28 key-enter {
[all …]
Dimx6dl-plym2m.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/leds/common.h>
17 stdout-path = &uart4;
21 compatible = "pwm-backlight";
23 brightness-levels = <0 1000>;
24 num-interpolated-steps = <20>;
25 default-brightness-level = <19>;
26 power-supply = <&reg_12v0>;
[all …]
Dimx6dl-prtvt7.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
8 #include "imx6qdl-prti6q.dtsi"
9 #include <dt-bindings/display/sdtv-standards.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
23 backlight_lcd: backlight-lcd {
24 compatible = "pwm-backlight";
26 brightness-levels = <0 20 81 248 1000>;
[all …]
/kernel/linux/linux-6.6/drivers/thermal/intel/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 enforce idle time which results in more package C-state residency. The
12 user interface is exposed via generic thermal framework.
23 tristate "X86 package temperature thermal driver"
31 thermal zone. Each package will have its own thermal zone. There are
32 two trip points which can be set by user to get notifications via thermal
47 tristate "Intel SoCs DTS thermal driver"
55 thermal zone. There are two trip points. One of the trip point can
56 be set by user mode programs to get notifications via Linux thermal
61 tristate "Intel Quark DTS thermal driver"
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # ADC drivers
10 bool "ST-Ericsson AB8500 GPADC driver"
25 tristate "Analog Devices AD7091R5 ADC Driver"
29 Say yes here to build support for Analog Devices AD7091R-5 ADC.
32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
37 SPI analog to digital converters (ADC).
43 tristate "Analog Devices AD7190 AD7192 AD7193 AD7195 ADC driver"
48 AD7192, AD7193 or AD7195 SPI analog to digital converters (ADC).
[all …]
/kernel/linux/linux-6.6/drivers/iio/adc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # ADC drivers
10 bool "ST-Ericsson AB8500 GPADC driver"
25 tristate "Analog Device AD4130 ADC Driver"
33 Say yes here to build support for Analog Devices AD4130-8 SPI analog
34 to digital converters (ADC).
40 tristate "Analog Devices AD7091R5 ADC Driver"
44 Say yes here to build support for Analog Devices AD7091R-5 ADC.
47 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
51 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/amlogic/
Dmeson.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/sound/meson-aiu.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 interrupt-parent = <&gic>;
15 iio-hwmon {
16 compatible = "iio-hwmon";
17 io-channels = <&saradc 8>;
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt8183-kukui.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
19 stdout-path = "serial0:115200n8";
28 compatible = "fixed-clock";
29 #clock-cells = <0>;
30 clock-frequency = <32768>;
31 clock-output-names = "clk32k";
35 compatible = "regulator-fixed";
36 regulator-name = "it6505_pp18";
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 sensors-detect script from the lm_sensors package. Read
21 <file:Documentation/hwmon/userspace-tools.rst> for details.
42 tristate "AB8500 thermal monitoring"
46 If you say yes here you get support for the thermal sensor part
47 of the AB8500 chip. The driver includes thermal management for
52 will be called abx500-temp.
267 will be called as370-hwmon.
290 will be called axi-fan-control
299 lm-sensors 2.10.1 for proper userspace support.
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/renesas/
Dr9a07g043.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
8 #include <dt-bindings/clock/r9a07g043-cpg.h>
12 #address-cells = <2>;
13 #size-cells = <2>;
15 audio_clk1: audio1-clk {
16 compatible = "fixed-clock";
17 #clock-cells = <0>;
19 clock-frequency = <0>;
22 audio_clk2: audio2-clk {
23 compatible = "fixed-clock";
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/
Dqcom-apq8064.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
5 #include <dt-bindings/clock/qcom,lcc-msm8960.h>
6 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
7 #include <dt-bindings/clock/qcom,mmcc-msm8960.h>
8 #include <dt-bindings/clock/qcom,rpmcc.h>
9 #include <dt-bindings/soc/qcom,gsbi.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/
Dmt8183-kukui.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
21 stdout-path = "serial0:115200n8";
25 compatible = "pwm-backlight";
27 power-supply = <&bl_pp5000>;
28 enable-gpios = <&pio 176 0>;
29 brightness-levels = <0 1023>;
30 num-interpolated-steps = <1023>;
31 default-brightness-level = <576>;
[all …]
/kernel/linux/linux-6.6/drivers/hwmon/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 sensors-detect script from the lm_sensors package. Read
21 <file:Documentation/hwmon/userspace-tools.rst> for details.
74 If you say yes here you get support for the thermal, voltage,
76 with SMpro co-processor.
290 will be called as370-hwmon.
313 will be called axi-fan-control
322 lm-sensors 2.10.1 for proper userspace support.
361 Only Intel-based Apple's computers are supported (MacBook Pro,
368 the laptop to act as a pinball machine-esque joystick.
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/
Dsama7g5.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * sama7g5.dtsi - Device Tree Include file for SAMA7G5 family SoC
12 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/clock/at91.h>
16 #include <dt-bindings/dma/at91.h>
17 #include <dt-bindings/gpio/gpio.h>
18 #include <dt-bindings/mfd/at91-usart.h>
19 #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dstm32mp151.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/stm32mp1-clks.h>
8 #include <dt-bindings/reset/stm32mp1-resets.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 #address-cells = <1>;
16 #size-cells = <0>;
19 compatible = "arm,cortex-a7";
[all …]

123