projects/linux·commit d54f4860

Merge tag 'hwmon-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

d54f4860 · Linus Torvalds <[email protected]> · 2021-11-01 19:16:49 -07:00

Pull hwmon updates from Guenter Roeck:
 "New driver:

   - Maxim MAX6620

  Notable functional enhancements:

   - Add Asus WMI support to nct6775 driver, and list boards supporting
     it

   - Move TMP461 support from tm401 driver to lm90 driver

   - Add support for fanX_min, fanX_max and fanX_target to dell-smm
     driver, and clean it up while doing so

   - Extend mlxreg-fan driver to support multiple cooling devices and
     multiple PWM channels. Also increase number of supported fan
     tachometers.

   - Add a new customer ID (for ASRock) to nct6683 driver

   - Make temperature/voltage sensors on nct7802 configurable

   - Add mfg_id debugfs entry to pmbus/ibm-cffps driver

   - Support configurable sense resistor values in pmbus/lm25066, and
     fix various coefficients

   - Use generic notification mechanism in raspberrypi driver

  Notable cleanups:

   - Convert various devicetree bindings to dtschema, and add missing
     bindings

   - Convert i5500_temp and tmp103 drivers to
     devm_hwmon_device_register_with_info

   - Clean up non-bool "valid" data fields

   - Improve devicetree configurability for tmp421 driver"

* tag 'hwmon-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (73 commits)
  hwmon: (nct7802) Add of_node_put() before return
  hwmon: (tmp401) Drop support for TMP461
  hwmon: (lm90) Add basic support for TI TMP461
  hwmon: (lm90) Introduce flag indicating extended temperature support
  hwmon: (nct6775) add ProArt X570-CREATOR WIFI.
  hwmon: (nct7802) Make temperature/voltage sensors configurable
  dt-bindings: hwmon: Add nct7802 bindings
  hwmon: (dell-smm) Speed up setting of fan speed
  hwmon: (dell-smm) Add comment explaining usage of i8k_config_data[]
  hwmon: (dell-smm) Return -ENOIOCTLCMD instead of -EINVAL
  hwmon: (dell-smm) Use strscpy_pad()
  hwmon: (dell-smm) Sort includes in alphabetical order
  hwmon: (tmp421) Add of_node_put() before return
  hwmon: (max31722) Warn about failure to put device in stand-by in .remove()
  hwmon: (acpi_power_meter) Use acpi_bus_get_acpi_device()
  hwmon: (dell-smm) Add support for fanX_min, fanX_max and fanX_target
  dt-bindings: hwmon: allow specifying channels for tmp421
  hwmon: (tmp421) ignore non-channel related DT nodes
  hwmon: (tmp421) update documentation
  hwmon: (tmp421) support HWMON_T_ENABLE
  ...
Commit
d54f486035fd89f14845a7f34a97a3f5da4e70f2
Parents
2019295c · 10f0d2ab

Merge commit. Changes below are compared with the first parent: 2019295c.

Changes

123 files changed · +2895 −954

FileStatusAddDelContent
Documentation/devicetree/bindings/hwmon/dps650ab.txtdeleted+0−11View before deletion
Documentation/devicetree/bindings/hwmon/hih6130.txtdeleted+0−12View before deletion
Documentation/devicetree/bindings/hwmon/ibm,cffps1.txtdeleted+0−26View before deletion
Documentation/devicetree/bindings/hwmon/iio-hwmon.yamladded+37−0View file
Documentation/devicetree/bindings/hwmon/jc42.txtdeleted+0−46View before deletion
Documentation/devicetree/bindings/hwmon/jedec,jc42.yamladded+78−0View file
Documentation/devicetree/bindings/hwmon/lltc,ltc4151.yamladded+41−0View file
Documentation/devicetree/bindings/hwmon/lm70.txtdeleted+0−22View before deletion
Documentation/devicetree/bindings/hwmon/lm90.txtdeleted+0−51View before deletion
Documentation/devicetree/bindings/hwmon/ltc4151.txtdeleted+0−18View before deletion
Documentation/devicetree/bindings/hwmon/mcp3021.txtdeleted+0−21View before deletion
Documentation/devicetree/bindings/hwmon/microchip,mcp3021.yamladded+43−0View file
Documentation/devicetree/bindings/hwmon/national,lm90.yamladded+78−0View file
Documentation/devicetree/bindings/hwmon/ntc-thermistor.yamladded+141−0View file
Documentation/devicetree/bindings/hwmon/ntc_thermistor.txtdeleted+0−44View before deletion
Documentation/devicetree/bindings/hwmon/nuvoton,nct7802.yamladded+145−0View file
Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yamladded+54−0View file
Documentation/devicetree/bindings/hwmon/sensirion,sht15.yamladded+43−0View file
Documentation/devicetree/bindings/hwmon/sht15.txtdeleted+0−19View before deletion
Documentation/devicetree/bindings/hwmon/ti,tmp102.yamladded+47−0View file
Documentation/devicetree/bindings/hwmon/ti,tmp108.yamladded+50−0View file
Documentation/devicetree/bindings/hwmon/ti,tmp421.yamladded+110−0View file
Documentation/devicetree/bindings/hwmon/tmp108.txtdeleted+0−18View before deletion
Documentation/devicetree/bindings/trivial-devices.yamlmodified+18−8View file
Documentation/hwmon/dell-smm-hwmon.rstmodified+3−0View file
Documentation/hwmon/index.rstmodified+1−0View file
Documentation/hwmon/lm25066.rstmodified+2−0View file
Documentation/hwmon/lm90.rstmodified+10−0View file
Documentation/hwmon/max6620.rstadded+46−0View file
Documentation/hwmon/tmp401.rstmodified+1−14View file
Documentation/hwmon/tmp421.rstmodified+10−0View file
MAINTAINERSmodified+2−2View file
drivers/acpi/scan.cmodified+1−0View file
drivers/hwmon/Kconfigmodified+13−2View file
drivers/hwmon/Makefilemodified+1−0View file
drivers/hwmon/abituguru3.cmodified+3−3View file
drivers/hwmon/acpi_power_meter.cmodified+5−8View file
drivers/hwmon/ad7414.cmodified+2−2View file
drivers/hwmon/ad7418.cmodified+3−3View file
drivers/hwmon/adm1021.cmodified+2−2View file
drivers/hwmon/adm1025.cmodified+2−2View file
drivers/hwmon/adm1026.cmodified+2−2View file
drivers/hwmon/adm1029.cmodified+2−2View file
drivers/hwmon/adm1031.cmodified+3−3View file
drivers/hwmon/adt7310.cmodified+2−1View file
drivers/hwmon/adt7410.cmodified+2−1View file
drivers/hwmon/adt7x10.cmodified+1−2View file
drivers/hwmon/adt7x10.hmodified+1−1View file
drivers/hwmon/amc6821.cmodified+4−4View file
drivers/hwmon/applesmc.cmodified+1−1View file
drivers/hwmon/asb100.cmodified+2−2View file
drivers/hwmon/asc7621.cmodified+2−2View file
drivers/hwmon/atxp1.cmodified+5−5View file
drivers/hwmon/coretemp.cmodified+1−1View file
drivers/hwmon/dell-smm-hwmon.cmodified+80−23View file
drivers/hwmon/dme1737.cmodified+2−2View file
drivers/hwmon/ds1621.cmodified+2−2View file
drivers/hwmon/ds620.cmodified+2−2View file
drivers/hwmon/emc6w201.cmodified+2−2View file
drivers/hwmon/f71805f.cmodified+2−2View file
drivers/hwmon/f71882fg.cmodified+2−2View file
drivers/hwmon/f75375s.cmodified+2−2View file
drivers/hwmon/fschmd.cmodified+2−2View file
drivers/hwmon/g760a.cmodified+1−1View file
drivers/hwmon/gl518sm.cmodified+2−2View file
drivers/hwmon/gl520sm.cmodified+2−2View file
drivers/hwmon/hwmon.cmodified+4−2View file
drivers/hwmon/i5500_temp.cmodified+61−53View file
drivers/hwmon/ibmaem.cmodified+1−1View file
drivers/hwmon/ibmpex.cmodified+2−2View file
drivers/hwmon/it87.cmodified+6−6View file
drivers/hwmon/lineage-pem.cmodified+1−1View file
drivers/hwmon/lm63.cmodified+3−3View file
drivers/hwmon/lm77.cmodified+2−2View file
drivers/hwmon/lm78.cmodified+2−2View file
drivers/hwmon/lm80.cmodified+3−3View file
drivers/hwmon/lm83.cmodified+2−2View file
drivers/hwmon/lm85.cmodified+2−2View file
drivers/hwmon/lm87.cmodified+2−2View file
drivers/hwmon/lm90.cmodified+50−25View file
drivers/hwmon/lm92.cmodified+2−2View file
drivers/hwmon/lm93.cmodified+2−2View file
drivers/hwmon/lm95241.cmodified+4−4View file
drivers/hwmon/ltc4151.cmodified+1−1View file
drivers/hwmon/ltc4215.cmodified+1−1View file
drivers/hwmon/ltc4261.cmodified+2−2View file
drivers/hwmon/max16065.cmodified+1−1View file
drivers/hwmon/max1619.cmodified+2−2View file
drivers/hwmon/max1668.cmodified+2−2View file
drivers/hwmon/max31722.cmodified+7−1View file
drivers/hwmon/max6620.cadded+514−0View file
drivers/hwmon/max6639.cmodified+2−2View file
drivers/hwmon/max6642.cmodified+1−1View file
drivers/hwmon/mlxreg-fan.cmodified+102−36View file
drivers/hwmon/nct6683.cmodified+3−0View file
drivers/hwmon/nct6775.cmodified+474−243View file
drivers/hwmon/nct7802.cmodified+127−4View file
drivers/hwmon/pc87360.cmodified+2−2View file
drivers/hwmon/pmbus/ibm-cffps.cmodified+21−2View file
drivers/hwmon/pmbus/lm25066.cmodified+70−18View file
drivers/hwmon/raspberrypi-hwmon.cmodified+1−1View file
drivers/hwmon/sch5636.cmodified+2−2View file
drivers/hwmon/sht21.cmodified+2−2View file
drivers/hwmon/sis5595.cmodified+2−2View file
drivers/hwmon/smm665.cmodified+1−1View file
drivers/hwmon/smsc47b397.cmodified+2−2View file
drivers/hwmon/smsc47m192.cmodified+2−2View file
drivers/hwmon/thmc50.cmodified+2−2View file
drivers/hwmon/tmp103.cmodified+74−31View file
drivers/hwmon/tmp401.cmodified+5−26View file
drivers/hwmon/tmp421.cmodified+170−16View file
drivers/hwmon/via686a.cmodified+2−2View file
drivers/hwmon/vt1211.cmodified+2−2View file
drivers/hwmon/vt8231.cmodified+2−2View file
drivers/hwmon/w83627ehf.cmodified+4−4View file
drivers/hwmon/w83627hf.cmodified+3−3View file
drivers/hwmon/w83781d.cmodified+2−2View file
drivers/hwmon/w83791d.cmodified+2−2View file
drivers/hwmon/w83792d.cmodified+3−3View file
drivers/hwmon/w83793.cmodified+3−3View file
drivers/hwmon/w83795.cmodified+3−3View file
drivers/hwmon/w83l785ts.cmodified+2−2View file
drivers/hwmon/w83l786ng.cmodified+2−2View file

Only the first 600 diff lines are shown. Download the complete patch.

Documentation/devicetree/bindings/hwmon/dps650ab.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/dps650ab.txt b/Documentation/devicetree/bindings/hwmon/dps650ab.txt
deleted file mode 100644
index 76780e7..0000000
--- a/Documentation/devicetree/bindings/hwmon/dps650ab.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-Bindings for Delta Electronics DPS-650-AB power supply
-
-Required properties:
-- compatible : "delta,dps650ab"
-- reg : I2C address, one of 0x58, 0x59.
-
-Example:
- dps650ab@58 {
- compatible = "delta,dps650ab";
- reg = <0x58>;
- };

Documentation/devicetree/bindings/hwmon/hih6130.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/hih6130.txt b/Documentation/devicetree/bindings/hwmon/hih6130.txt
deleted file mode 100644
index 2c43837..0000000
--- a/Documentation/devicetree/bindings/hwmon/hih6130.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-Honeywell Humidicon HIH-6130 humidity/temperature sensor
---------------------------------------------------------
-
-Requires node properties:
-- compatible : "honeywell,hi6130"
-- reg : the I2C address of the device. This is 0x27.
-
-Example:
- hih6130@27 {
- compatible = "honeywell,hih6130";
- reg = <0x27>;
- };

Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt b/Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt
deleted file mode 100644
index d9a2719..0000000
--- a/Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Device-tree bindings for IBM Common Form Factor Power Supply Versions 1 and 2
------------------------------------------------------------------------------
-
-Required properties:
- - compatible : Must be one of the following:
- "ibm,cffps1"
- "ibm,cffps2"
- or "ibm,cffps" if the system
- must support any version of the
- power supply
- - reg = < I2C bus address >; : Address of the power supply on the
- I2C bus.
-
-Example:
-
- i2c-bus@100 {
- #address-cells = <1>;
- #size-cells = <0>;
- #interrupt-cells = <1>;
- < more properties >
-
- power-supply@68 {
- compatible = "ibm,cffps1";
- reg = <0x68>;
- };
- };

Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml b/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml
new file mode 100644
index 0000000..f5a6cc3
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml
@@ -0,0 +1,37 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/hwmon/iio-hwmon.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: ADC-attached Hardware Sensor Device Tree Bindings
+
+maintainers:
+ - Jonathan Cameron <[email protected]>
+
+description: >
+ Bindings for hardware monitoring devices connected to ADC controllers
+ supporting the Industrial I/O bindings.
+
+properties:
+ compatible:
+ const: iio-hwmon
+
+ io-channels:
+ minItems: 1
+ maxItems: 8 # Should be enough
+ description: >
+ List of phandles to ADC channels to read the monitoring values
+
+required:
+ - compatible
+ - io-channels
+
+additionalProperties: false
+
+examples:
+ - |
+ iio-hwmon {
+ compatible = "iio-hwmon";
+ io-channels = <&adc 1>, <&adc 2>;
+ };

Documentation/devicetree/bindings/hwmon/jc42.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/jc42.txt b/Documentation/devicetree/bindings/hwmon/jc42.txt
deleted file mode 100644
index f569db5..0000000
--- a/Documentation/devicetree/bindings/hwmon/jc42.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-Properties for Jedec JC-42.4 compatible temperature sensors
-
-Required properties:
-- compatible: May include a device-specific string consisting of the
- manufacturer and the name of the chip. A list of supported
- chip names follows.
- Must include "jedec,jc-42.4-temp" for any Jedec JC-42.4
- compatible temperature sensor.
-
- Supported chip names:
- adi,adt7408
- atmel,at30ts00
- atmel,at30tse004
- onnn,cat6095
- onnn,cat34ts02
- maxim,max6604
- microchip,mcp9804
- microchip,mcp9805
- microchip,mcp9808
- microchip,mcp98243
- microchip,mcp98244
- microchip,mcp9843
- nxp,se97
- nxp,se98
- st,stts2002
- st,stts2004
- st,stts3000
- st,stts424
- st,stts424e
- idt,tse2002
- idt,tse2004
- idt,ts3000
- idt,ts3001
-
-- reg: I2C address
-
-Optional properties:
-- smbus-timeout-disable: When set, the smbus timeout function will be disabled.
- This is not supported on all chips.
-
-Example:
-
-temp-sensor@1a {
- compatible = "jedec,jc-42.4-temp";
- reg = <0x1a>;
-};

Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml b/Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml
new file mode 100644
index 0000000..0e49b39
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml
@@ -0,0 +1,78 @@
+# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/jedec,jc42.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Jedec JC-42.4 compatible temperature sensors
+
+maintainers:
+ - Jean Delvare <[email protected]>
+ - Guenter Roeck <[email protected]>
+
+select:
+ properties:
+ compatible:
+ const: jedec,jc-42.4-temp
+
+ required:
+ - compatible
+
+properties:
+ compatible:
+ oneOf:
+ - const: jedec,jc-42.4-temp
+ - items:
+ - enum:
+ - adi,adt7408
+ - atmel,at30ts00
+ - atmel,at30tse004
+ - idt,tse2002
+ - idt,tse2004
+ - idt,ts3000
+ - idt,ts3001
+ - maxim,max6604
+ - microchip,mcp9804
+ - microchip,mcp9805
+ - microchip,mcp9808
+ - microchip,mcp98243
+ - microchip,mcp98244
+ - microchip,mcp9843
+ - nxp,se97
+ - nxp,se97b
+ - nxp,se98
+ - onnn,cat6095
+ - onnn,cat34ts02
+ - st,stts2002
+ - st,stts2004
+ - st,stts3000
+ - st,stts424
+ - st,stts424e
+ - const: jedec,jc-42.4-temp
+
+ reg:
+ maxItems: 1
+
+ smbus-timeout-disable:
+ description: |
+ When set, the smbus timeout function will be disabled. This is not
+ supported on all chips.
+ type: boolean
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ temp-sensor@1a {
+ compatible = "jedec,jc-42.4-temp";
+ reg = <0x1a>;
+ };
+ };

Documentation/devicetree/bindings/hwmon/lltc,ltc4151.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/lltc,ltc4151.yaml b/Documentation/devicetree/bindings/hwmon/lltc,ltc4151.yaml
new file mode 100644
index 0000000..4b5851c
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/lltc,ltc4151.yaml
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/lltc,ltc4151.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: LTC4151 High Voltage I2C Current and Voltage Monitor
+
+maintainers:
+ - Krzysztof Kozlowski <[email protected]>
+
+properties:
+ compatible:
+ const: lltc,ltc4151
+
+ reg:
+ maxItems: 1
+
+ shunt-resistor-micro-ohms:
+ description:
+ Shunt resistor value in micro-Ohms
+ default: 1000
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sensor@6e {
+ compatible = "lltc,ltc4151";
+ reg = <0x6e>;
+ shunt-resistor-micro-ohms = <1500>;
+ };
+ };

Documentation/devicetree/bindings/hwmon/lm70.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/lm70.txt b/Documentation/devicetree/bindings/hwmon/lm70.txt
deleted file mode 100644
index ea417a0..0000000
--- a/Documentation/devicetree/bindings/hwmon/lm70.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-* LM70/TMP121/LM71/LM74 thermometer.
-
-Required properties:
-- compatible: one of
- "ti,lm70"
- "ti,tmp121"
- "ti,tmp122"
- "ti,lm71"
- "ti,lm74"
-
-See Documentation/devicetree/bindings/spi/spi-bus.txt for more required and
-optional properties.
-
-Example:
-
-spi_master {
- temperature-sensor@0 {
- compatible = "ti,lm70";
- reg = <0>;
- spi-max-frequency = <1000000>;
- };
-};

Documentation/devicetree/bindings/hwmon/lm90.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt b/Documentation/devicetree/bindings/hwmon/lm90.txt
deleted file mode 100644
index 398dcb9..0000000
--- a/Documentation/devicetree/bindings/hwmon/lm90.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-* LM90 series thermometer.
-
-Required node properties:
-- compatible: manufacturer and chip name, one of
- "adi,adm1032"
- "adi,adt7461"
- "adi,adt7461a"
- "gmt,g781"
- "national,lm90"
- "national,lm86"
- "national,lm89"
- "national,lm99"
- "dallas,max6646"
- "dallas,max6647"
- "dallas,max6649"
- "dallas,max6657"
- "dallas,max6658"
- "dallas,max6659"
- "dallas,max6680"
- "dallas,max6681"
- "dallas,max6695"
- "dallas,max6696"
- "onnn,nct1008"
- "winbond,w83l771"
- "nxp,sa56004"
- "ti,tmp451"
-
-- reg: I2C bus address of the device
-
-- vcc-supply: vcc regulator for the supply voltage.
-
-Optional properties:
-- interrupts: Contains a single interrupt specifier which describes the
- LM90 "-ALERT" pin output.
- See interrupt-controller/interrupts.txt for the format.
-
-- #thermal-sensor-cells: should be set to 1. See thermal/thermal-sensor.yaml
- for details. See <include/dt-bindings/thermal/lm90.h> for the
- definition of the local, remote and 2nd remote sensor index
- constants.
-
-Example LM90 node:
-
-temp-sensor {
- compatible = "onnn,nct1008";
- reg = <0x4c>;
- vcc-supply = <&palmas_ldo6_reg>;
- interrupt-parent = <&gpio>;
- interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
- #thermal-sensor-cells = <1>;
-}

Documentation/devicetree/bindings/hwmon/ltc4151.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/ltc4151.txt b/Documentation/devicetree/bindings/hwmon/ltc4151.txt
deleted file mode 100644
index d008a5e..0000000
--- a/Documentation/devicetree/bindings/hwmon/ltc4151.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-LTC4151 High Voltage I2C Current and Voltage Monitor
-
-Required properties:
-- compatible: Must be "lltc,ltc4151"
-- reg: I2C address
-
-Optional properties:
-- shunt-resistor-micro-ohms
- Shunt resistor value in micro-Ohms
- Defaults to <1000> if unset.
-
-Example:
-
-ltc4151@6e {
- compatible = "lltc,ltc4151";
- reg = <0x6e>;
- shunt-resistor-micro-ohms = <1500>;
-};

Documentation/devicetree/bindings/hwmon/mcp3021.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/mcp3021.txt b/Documentation/devicetree/bindings/hwmon/mcp3021.txt
deleted file mode 100644
index 294318b..0000000
--- a/Documentation/devicetree/bindings/hwmon/mcp3021.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-mcp3021 properties
-
-Required properties:
-- compatible: Must be one of the following:
- - "microchip,mcp3021" for mcp3021
- - "microchip,mcp3221" for mcp3221
-- reg: I2C address
-
-Optional properties:
-
-- reference-voltage-microvolt
- Reference voltage in microvolt (uV)
-
-Example:
-
-mcp3021@4d {
- compatible = "microchip,mcp3021";
- reg = <0x4d>;
-
- reference-voltage-microvolt = <4500000>; /* 4.5 V */
-};

Documentation/devicetree/bindings/hwmon/microchip,mcp3021.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/microchip,mcp3021.yaml b/Documentation/devicetree/bindings/hwmon/microchip,mcp3021.yaml
new file mode 100644
index 0000000..c42051f
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/microchip,mcp3021.yaml
@@ -0,0 +1,43 @@
+# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/microchip,mcp3021.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Microchip MCP3021 A/D converter
+
+maintainers:
+ - Krzysztof Kozlowski <[email protected]>
+
+properties:
+ compatible:
+ enum:
+ - microchip,mcp3021
+ - microchip,mcp3221
+
+ reg:
+ maxItems: 1
+
+ reference-voltage-microvolt:
+ description:
+ VDD supply power and reference voltage
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ adc@4d {
+ compatible = "microchip,mcp3021";
+ reg = <0x4d>;
+
+ reference-voltage-microvolt = <4500000>; /* 4.5 V */
+ };
+ };

Documentation/devicetree/bindings/hwmon/national,lm90.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/national,lm90.yaml b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml
new file mode 100644
index 0000000..6e1d54f
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml
@@ -0,0 +1,78 @@
+# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/national,lm90.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: LM90 series thermometer
+
+maintainers:
+ - Jean Delvare <[email protected]>
+ - Guenter Roeck <[email protected]>
+
+properties:
+ compatible:
+ enum:
+ - adi,adm1032
+ - adi,adt7461
+ - adi,adt7461a
+ - dallas,max6646
+ - dallas,max6647
+ - dallas,max6649
+ - dallas,max6657
+ - dallas,max6658
+ - dallas,max6659
+ - dallas,max6680
+ - dallas,max6681
+ - dallas,max6695
+ - dallas,max6696
+ - gmt,g781
+ - national,lm86
+ - national,lm89
+ - national,lm90
+ - national,lm99
+ - nxp,sa56004
+ - onnn,nct1008
+ - ti,tmp451
+ - winbond,w83l771
+
+
+ interrupts:
+ items:
+ - description: |
+ Single interrupt specifier which describes the LM90 "-ALERT" pin
+ output.
+
+ reg:
+ maxItems: 1
+
+ "#thermal-sensor-cells":
+ const: 1
+
+ vcc-supply:
+ description: phandle to the regulator that provides the +VCC supply
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/tegra-gpio.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sensor@4c {
+ compatible = "onnn,nct1008";
+ reg = <0x4c>;
+ vcc-supply = <&palmas_ldo6_reg>;
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
+ #thermal-sensor-cells = <1>;
+ };
+ };

Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml b/Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml
new file mode 100644
index 0000000..9e77cee
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml
@@ -0,0 +1,141 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+---
+$id: http://devicetree.org/schemas/hwmon/ntc-thermistor.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NTC thermistor temperature sensors
+
+maintainers:
+ - Naveen Krishna Chatradhi <[email protected]>
+ - Linus Walleij <[email protected]>
+
+description: |
+ Thermistors with negative temperature coefficient (NTC) are resistors that
+ vary in resistance in an often non-linear way in relation to temperature.
+ The negative temperature coefficient means that the resistance decreases
+ as the temperature rises. Since the relationship between resistance and
+ temperature is non-linear, software drivers most often need to use a look
+ up table and interpolation to get from resistance to temperature.
+
+ When used in practice, a thermistor is often connected between ground, a
+ pull-up resistor or/and a pull-down resistor and a fixed voltage like this:
+
+ + e.g. 5V = pull-up voltage (puv)
+ |
+ +-+
+ | |
+ | | Pull-up resistor
+ | | (puo)
+ +-+
+ |-------------------------o
+ +-+ | ^
+ | |/ |

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/hwmon/nuvoton,nct7802.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/hwmon/sensirion,sht15.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/hwmon/sht15.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/hwmon/ti,tmp421.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/hwmon/tmp108.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/trivial-devices.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/dell-smm-hwmon.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/index.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/lm25066.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/lm90.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/max6620.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/tmp401.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/tmp421.rst

View file

This diff is incomplete. Download the complete patch.

MAINTAINERS

View file

This diff is incomplete. Download the complete patch.

drivers/acpi/scan.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/abituguru3.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/acpi_power_meter.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ad7414.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ad7418.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/adm1021.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/adm1025.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/adm1026.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/adm1029.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/adm1031.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/adt7310.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/adt7410.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/adt7x10.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/adt7x10.h

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/amc6821.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/applesmc.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/asb100.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/asc7621.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/atxp1.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/coretemp.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/dell-smm-hwmon.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/dme1737.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ds1621.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ds620.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/emc6w201.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/f71805f.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/f71882fg.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/f75375s.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/fschmd.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/g760a.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/gl518sm.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/gl520sm.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/hwmon.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/i5500_temp.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ibmaem.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ibmpex.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/it87.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lineage-pem.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm63.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm77.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm78.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm80.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm83.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm85.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm87.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm90.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm92.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm93.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm95241.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ltc4151.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ltc4215.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ltc4261.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/max16065.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/max1619.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/max1668.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/max31722.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/max6620.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/max6639.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/max6642.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/mlxreg-fan.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/nct6683.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/nct6775.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/nct7802.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pc87360.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/ibm-cffps.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/lm25066.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/raspberrypi-hwmon.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/sch5636.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/sht21.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/sis5595.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/smm665.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/smsc47b397.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/smsc47m192.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/thmc50.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/tmp103.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/tmp401.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/tmp421.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/via686a.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/vt1211.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/vt8231.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/w83627ehf.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/w83627hf.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/w83781d.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/w83791d.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/w83792d.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/w83793.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/w83795.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/w83l785ts.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/w83l786ng.c

View file

This diff is incomplete. Download the complete patch.