projects/linux·commit a8cc7eb9

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

a8cc7eb9 · Linus Torvalds <[email protected]> · 2024-05-14 14:51:51 -07:00

Pull hwmon updates from Guenter Roeck:
 "New drivers:

   - Infineon XDP710

   - EC Chip driver for Lenovo ThinkStation motherboards

   - Analog Devices ADP1050

  Improved support for existing drivers:

   - emc1403: Convert to with_info API; Support for EMC1428 and EMC1438

   - nzxt-kraken3: Support for NZXT Kraken 2023

   - aquacomputer_d5next: Support for Octo flow sensors

   - pmbus/adm1275: Support for ADM1281

   - dell-smm: Supportt for Precision 7540 and G5 5505

  Other notable cleanup:

   - max6639: Use regmap

   - Remove unused structure fields from multiple drivers

   - Drop explicit initialization of struct i2c_device_id::driver_data
     to zero

   - Improve configuration mode handling in it87 driver

   - jc42: Drop support for I2C_CLASS_SPD

   - Various conversions to devicetree schema

   - Add HAS_IOPORT dependencies as needed

  Minor fixes and improvements to max31790, coretemp, aspeed-g6-pwm-tach,
  pwm-fan, pmbus/mp2975, acpi_power_meter, and lm70 drivers"

* tag 'hwmon-for-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (52 commits)
  hwmon: (nzxt-kraken3) Bail out for unsupported device variants
  hwmon: (emc1403) Add support for EMC1428 and EMC1438.
  hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 (part 2)
  hwmon: (emc1403) Add support for conversion interval configuration
  hwmon: (emc1403) Support 11 bit accuracy
  hwmon: (emc1403) Convert to with_info API
  hwmon: (max6639) Use regmap
  hwmon: (npcm750-pwm-fan) Remove another unused field in struct npcm7xx_cooling_device
  hwmon: (npcm750-pwm-fan) Remove an unused field in struct npcm7xx_cooling_device
  hwmon: (stts751) Remove an unused field in struct stts751_priv
  hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0
  hwmon: (max31790) revise the scale to write pwm
  hwmon: (nzxt-kraken3) Add support for NZXT Kraken 2023 (standard and Elite) models
  hwmon: (nzxt-kraken3) Decouple device names from kinds
  hwmon: (it87) Remove tests nolonger required
  hwmon: (it87) Test for chipset before entering configuration mode
  hwmon: (it87) Do not enter configuration mode for some chiptypes
  hwmon: (it87) Rename FEAT_CONF_NOEXIT to FEAT_NOCONF as more descriptive of requirement
  hwmon: (pmbus) Add support for Infineon XDP710
  dt-bindings: hwmon: Add infineon xdp710 driver bindings
  ...
Commit
a8cc7eb996f751e20c8c6454601b9184f010aa07
Parents
e2b4a5bf · 5fbf8734

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

Changes

147 files changed · +2578 −964

FileStatusAddDelContent
Documentation/devicetree/bindings/hwmon/adc128d818.txtdeleted+0−38View before deletion
Documentation/devicetree/bindings/hwmon/adi,adm1275.yamlmodified+3−1View file
Documentation/devicetree/bindings/hwmon/as370.txtdeleted+0−11View before deletion
Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yamladded+37−0View file
Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txtdeleted+0−25View before deletion
Documentation/devicetree/bindings/hwmon/ibmpowernv.txtdeleted+0−23View before deletion
Documentation/devicetree/bindings/hwmon/lm87.txtdeleted+0−30View before deletion
Documentation/devicetree/bindings/hwmon/max6650.txtdeleted+0−28View before deletion
Documentation/devicetree/bindings/hwmon/maxim,max6650.yamladded+70−0View file
Documentation/devicetree/bindings/hwmon/pmbus/adi,adp1050.yamladded+49−0View file
Documentation/devicetree/bindings/hwmon/pwm-fan.txtdeleted+0−1View before deletion
Documentation/devicetree/bindings/hwmon/st,stts751.yamladded+41−0View file
Documentation/devicetree/bindings/hwmon/stts751.txtdeleted+0−15View before deletion
Documentation/devicetree/bindings/hwmon/syna,as370.yamladded+32−0View file
Documentation/devicetree/bindings/hwmon/ti,adc128d818.yamladded+63−0View file
Documentation/devicetree/bindings/hwmon/ti,lm87.yamladded+69−0View file
Documentation/devicetree/bindings/trivial-devices.yamlmodified+4−0View file
Documentation/hwmon/adm1275.rstmodified+11−3View file
Documentation/hwmon/adp1050.rstadded+64−0View file
Documentation/hwmon/aquacomputer_d5next.rstmodified+5−4View file
Documentation/hwmon/emc1403.rstmodified+14−3View file
Documentation/hwmon/index.rstmodified+2−0View file
Documentation/hwmon/lm70.rstmodified+1−1View file
Documentation/hwmon/nzxt-kraken3.rstmodified+11−8View file
Documentation/hwmon/pmbus.rstmodified+1−1View file
Documentation/hwmon/xdp710.rstadded+83−0View file
MAINTAINERSmodified+7−0View file
drivers/acpi/acpi_ipmi.cmodified+22−1View file
drivers/hwmon/Kconfigmodified+32−6View file
drivers/hwmon/Makefilemodified+1−0View file
drivers/hwmon/acpi_power_meter.cmodified+16−0View file
drivers/hwmon/ad7414.cmodified+1−1View file
drivers/hwmon/adc128d818.cmodified+1−1View file
drivers/hwmon/adm1026.cmodified+1−1View file
drivers/hwmon/adm1029.cmodified+1−1View file
drivers/hwmon/adm1177.cmodified+1−1View file
drivers/hwmon/adt7410.cmodified+2−2View file
drivers/hwmon/adt7411.cmodified+1−1View file
drivers/hwmon/adt7462.cmodified+1−1View file
drivers/hwmon/adt7470.cmodified+1−1View file
drivers/hwmon/aquacomputer_d5next.cmodified+34−17View file
drivers/hwmon/asb100.cmodified+1−1View file
drivers/hwmon/aspeed-g6-pwm-tach.cmodified+2−4View file
drivers/hwmon/atxp1.cmodified+1−1View file
drivers/hwmon/coretemp.cmodified+1−1View file
drivers/hwmon/dell-smm-hwmon.cmodified+15−0View file
drivers/hwmon/ds620.cmodified+1−1View file
drivers/hwmon/emc1403.cmodified+547−291View file
drivers/hwmon/emc2103.cmodified+1−1View file
drivers/hwmon/emc2305.cmodified+4−4View file
drivers/hwmon/emc6w201.cmodified+1−1View file
drivers/hwmon/ftsteutates.cmodified+1−1View file
drivers/hwmon/g760a.cmodified+1−1View file
drivers/hwmon/g762.cmodified+2−2View file
drivers/hwmon/gl518sm.cmodified+1−1View file
drivers/hwmon/gl520sm.cmodified+1−1View file
drivers/hwmon/hih6130.cmodified+1−1View file
drivers/hwmon/hs3001.cmodified+1−1View file
drivers/hwmon/ina209.cmodified+1−1View file
drivers/hwmon/ina238.cmodified+1−1View file
drivers/hwmon/ina3221.cmodified+1−1View file
drivers/hwmon/it87.cmodified+61−66View file
drivers/hwmon/jc42.cmodified+2−2View file
drivers/hwmon/lenovo-ec-sensors.cadded+602−0View file
drivers/hwmon/lineage-pem.cmodified+1−1View file
drivers/hwmon/lm70.cmodified+2−2View file
drivers/hwmon/lm73.cmodified+1−1View file
drivers/hwmon/lm77.cmodified+1−1View file
drivers/hwmon/lm87.cmodified+2−2View file
drivers/hwmon/lm93.cmodified+2−2View file
drivers/hwmon/lm95241.cmodified+2−2View file
drivers/hwmon/lm95245.cmodified+2−2View file
drivers/hwmon/ltc2945.cmodified+1−1View file
drivers/hwmon/ltc2947-i2c.cmodified+1−1View file
drivers/hwmon/ltc2990.cmodified+1−1View file
drivers/hwmon/ltc2991.cmodified+1−1View file
drivers/hwmon/ltc2992.cmodified+1−1View file
drivers/hwmon/ltc4151.cmodified+1−1View file
drivers/hwmon/ltc4215.cmodified+1−1View file
drivers/hwmon/ltc4222.cmodified+1−1View file
drivers/hwmon/ltc4245.cmodified+1−1View file
drivers/hwmon/ltc4260.cmodified+1−1View file
drivers/hwmon/ltc4261.cmodified+1−1View file
drivers/hwmon/max127.cmodified+1−1View file
drivers/hwmon/max1619.cmodified+1−1View file
drivers/hwmon/max31730.cmodified+1−1View file
drivers/hwmon/max31790.cmodified+8−2View file
drivers/hwmon/max6620.cmodified+1−1View file
drivers/hwmon/max6621.cmodified+1−1View file
drivers/hwmon/max6639.cmodified+150−191View file
drivers/hwmon/max6642.cmodified+1−1View file
drivers/hwmon/mc34vr500.cmodified+1−1View file
drivers/hwmon/nct7802.cmodified+1−1View file
drivers/hwmon/nct7904.cmodified+1−1View file
drivers/hwmon/npcm750-pwm-fan.cmodified+3−4View file
drivers/hwmon/nzxt-kraken3.cmodified+39−19View file
drivers/hwmon/pcf8591.cmodified+1−1View file
drivers/hwmon/pmbus/Kconfigmodified+21−2View file
drivers/hwmon/pmbus/Makefilemodified+2−0View file
drivers/hwmon/pmbus/adm1266.cmodified+1−1View file
drivers/hwmon/pmbus/adm1275.cmodified+5−2View file
drivers/hwmon/pmbus/adp1050.cadded+56−0View file
drivers/hwmon/pmbus/inspur-ipsps.cmodified+1−1View file
drivers/hwmon/pmbus/ir35221.cmodified+1−1View file
drivers/hwmon/pmbus/ir36021.cmodified+1−1View file
drivers/hwmon/pmbus/ir38064.cmodified+4−4View file
drivers/hwmon/pmbus/irps5401.cmodified+1−1View file
drivers/hwmon/pmbus/lt7182s.cmodified+1−1View file
drivers/hwmon/pmbus/ltc3815.cmodified+1−1View file
drivers/hwmon/pmbus/max15301.cmodified+2−2View file
drivers/hwmon/pmbus/max16064.cmodified+1−1View file
drivers/hwmon/pmbus/max20751.cmodified+1−1View file
drivers/hwmon/pmbus/max31785.cmodified+3−3View file
drivers/hwmon/pmbus/max8688.cmodified+1−1View file
drivers/hwmon/pmbus/mp2888.cmodified+1−1View file
drivers/hwmon/pmbus/mp2975.cmodified+111−25View file
drivers/hwmon/pmbus/mp5990.cmodified+1−1View file
drivers/hwmon/pmbus/mpq8785.cmodified+1−1View file
drivers/hwmon/pmbus/pli1209bc.cmodified+1−1View file
drivers/hwmon/pmbus/pm6764tr.cmodified+1−1View file
drivers/hwmon/pmbus/pxe1610.cmodified+3−3View file
drivers/hwmon/pmbus/stpddc60.cmodified+2−2View file
drivers/hwmon/pmbus/tda38640.cmodified+1−1View file
drivers/hwmon/pmbus/tps40422.cmodified+1−1View file
drivers/hwmon/pmbus/tps546d24.cmodified+1−1View file
drivers/hwmon/pmbus/xdp710.cadded+131−0View file
drivers/hwmon/pmbus/xdpe12284.cmodified+3−3View file
drivers/hwmon/pmbus/xdpe152c4.cmodified+2−2View file
drivers/hwmon/pt5161l.cmodified+1−1View file
drivers/hwmon/pwm-fan.cmodified+26−19View file
drivers/hwmon/sbrmi.cmodified+1−1View file
drivers/hwmon/sbtsi_temp.cmodified+1−1View file
drivers/hwmon/sht21.cmodified+1−1View file
drivers/hwmon/sht4x.cmodified+1−1View file
drivers/hwmon/smsc47m192.cmodified+1−1View file
drivers/hwmon/stts751.cmodified+1−2View file
drivers/hwmon/tc654.cmodified+2−2View file
drivers/hwmon/tc74.cmodified+1−1View file
drivers/hwmon/tmp102.cmodified+1−1View file
drivers/hwmon/tmp103.cmodified+1−1View file
drivers/hwmon/tmp108.cmodified+1−1View file
drivers/hwmon/w83791d.cmodified+1−1View file
drivers/hwmon/w83792d.cmodified+1−1View file
drivers/hwmon/w83793.cmodified+1−1View file
drivers/hwmon/w83l785ts.cmodified+1−1View file
drivers/hwmon/w83l786ng.cmodified+1−1View file
include/acpi/acpi_bus.hmodified+5−0View file

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

Documentation/devicetree/bindings/hwmon/adc128d818.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/adc128d818.txt b/Documentation/devicetree/bindings/hwmon/adc128d818.txt
deleted file mode 100644
index d0ae46d..0000000
--- a/Documentation/devicetree/bindings/hwmon/adc128d818.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-TI ADC128D818 ADC System Monitor With Temperature Sensor
---------------------------------------------------------
-
-Operation modes:
-
- - Mode 0: 7 single-ended voltage readings (IN0-IN6),
- 1 temperature reading (internal)
- - Mode 1: 8 single-ended voltage readings (IN0-IN7),
- no temperature
- - Mode 2: 4 pseudo-differential voltage readings
- (IN0-IN1, IN3-IN2, IN4-IN5, IN7-IN6),
- 1 temperature reading (internal)
- - Mode 3: 4 single-ended voltage readings (IN0-IN3),
- 2 pseudo-differential voltage readings
- (IN4-IN5, IN7-IN6),
- 1 temperature reading (internal)
-
-If no operation mode is configured via device tree, the driver keeps the
-currently active chip operation mode (default is mode 0).
-
-
-Required node properties:
-
- - compatible: must be set to "ti,adc128d818"
- - reg: I2C address of the device
-
-Optional node properties:
-
- - ti,mode: Operation mode (u8) (see above).
-
-
-Example (operation mode 2):
-
- adc128d818@1d {
- compatible = "ti,adc128d818";
- reg = <0x1d>;
- ti,mode = /bits/ 8 <2>;
- };

Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml b/Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml
index b680612..5b076d6 100644
--- a/Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml
+++ b/Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml
@@ -5,7 +5,7 @@
$id: http://devicetree.org/schemas/hwmon/adi,adm1275.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Analog Devices ADM1075/ADM127x/ADM129x digital power monitors
+title: Analog Devices ADM1075/ADM127x/ADM1281/ADM129x digital power monitors
maintainers:
- Krzysztof Kozlowski <[email protected]>
@@ -27,6 +27,7 @@ properties:
- adi,adm1275
- adi,adm1276
- adi,adm1278
+ - adi,adm1281
- adi,adm1293
- adi,adm1294
@@ -91,6 +92,7 @@ allOf:
contains:
enum:
- adi,adm1278
+ - adi,adm1281
- adi,adm1293
- adi,adm1294
then:

Documentation/devicetree/bindings/hwmon/as370.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/as370.txt b/Documentation/devicetree/bindings/hwmon/as370.txt
deleted file mode 100644
index d102fe7..0000000
--- a/Documentation/devicetree/bindings/hwmon/as370.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-Bindings for Synaptics AS370 PVT sensors
-
-Required properties:
-- compatible : "syna,as370-hwmon"
-- reg : address and length of the register set.
-
-Example:
- hwmon@ea0810 {
- compatible = "syna,as370-hwmon";
- reg = <0xea0810 0xc>;
- };

Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yaml b/Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yaml
new file mode 100644
index 0000000..376ee7f
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yaml
@@ -0,0 +1,37 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/ibm,opal-sensor.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: IBM POWERNV platform sensors
+
+maintainers:
+ - Javier Carrasco <[email protected]>
+
+properties:
+ compatible:
+ enum:
+ - ibm,opal-sensor-cooling-fan
+ - ibm,opal-sensor-amb-temp
+ - ibm,opal-sensor-power-supply
+ - ibm,opal-sensor-power
+
+ sensor-id:
+ description:
+ An opaque id provided by the firmware to the kernel, identifies a
+ given sensor and its attribute data.
+ $ref: /schemas/types.yaml#/definitions/uint32
+
+required:
+ - compatible
+ - sensor-id
+
+additionalProperties: false
+
+examples:
+ - |
+ sensor {
+ compatible = "ibm,opal-sensor-cooling-fan";
+ sensor-id = <0x7052107>;
+ };

Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt b/Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt
deleted file mode 100644
index 5dc5d2e..0000000
--- a/Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Device-tree bindings for I2C-based On-Chip Controller hwmon device
-------------------------------------------------------------------
-
-Required properties:
- - compatible = "ibm,p8-occ-hwmon";
- - reg = <I2C address>; : I2C bus address
-
-Examples:
-
- i2c-bus@100 {
- #address-cells = <1>;
- #size-cells = <0>;
- clock-frequency = <100000>;
- < more properties >
-
- occ-hwmon@1 {
- compatible = "ibm,p8-occ-hwmon";
- reg = <0x50>;
- };
-
- occ-hwmon@2 {
- compatible = "ibm,p8-occ-hwmon";
- reg = <0x51>;
- };
- };

Documentation/devicetree/bindings/hwmon/ibmpowernv.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/ibmpowernv.txt b/Documentation/devicetree/bindings/hwmon/ibmpowernv.txt
deleted file mode 100644
index f93242b..0000000
--- a/Documentation/devicetree/bindings/hwmon/ibmpowernv.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-IBM POWERNV platform sensors
-----------------------------
-
-Required node properties:
-- compatible: must be one of
- "ibm,opal-sensor-cooling-fan"
- "ibm,opal-sensor-amb-temp"
- "ibm,opal-sensor-power-supply"
- "ibm,opal-sensor-power"
-- sensor-id: an opaque id provided by the firmware to the kernel, identifies a
- given sensor and its attribute data
-
-Example sensors node:
-
-cooling-fan#8-data {
- sensor-id = <0x7052107>;
- compatible = "ibm,opal-sensor-cooling-fan";
-};
-
-amb-temp#1-thrs {
- sensor-id = <0x5096000>;
- compatible = "ibm,opal-sensor-amb-temp";
-};

Documentation/devicetree/bindings/hwmon/lm87.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/lm87.txt b/Documentation/devicetree/bindings/hwmon/lm87.txt
deleted file mode 100644
index 758ff39..0000000
--- a/Documentation/devicetree/bindings/hwmon/lm87.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-*LM87 hwmon sensor.
-
-Required properties:
-- compatible: Should be
- "ti,lm87"
-
-- reg: I2C address
-
-optional properties:
-- has-temp3: This configures pins 18 and 19 to be used as a second
- remote temperature sensing channel. By default the pins
- are configured as voltage input pins in0 and in5.
-
-- has-in6: When set, pin 5 is configured to be used as voltage input
- in6. Otherwise the pin is set as FAN1 input.
-
-- has-in7: When set, pin 6 is configured to be used as voltage input
- in7. Otherwise the pin is set as FAN2 input.
-
-- vcc-supply: a Phandle for the regulator supplying power, can be
- configured to measure 5.0V power supply. Default is 3.3V.
-
-Example:
-
-lm87@2e {
- compatible = "ti,lm87";
- reg = <0x2e>;
- has-temp3;
- vcc-supply = <&reg_5v0>;
-};

Documentation/devicetree/bindings/hwmon/max6650.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/max6650.txt b/Documentation/devicetree/bindings/hwmon/max6650.txt
deleted file mode 100644
index f6bd87d..0000000
--- a/Documentation/devicetree/bindings/hwmon/max6650.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Bindings for MAX6651 and MAX6650 I2C fan controllers
-
-Reference:
-[1] https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf
-
-Required properties:
-- compatible : One of "maxim,max6650" or "maxim,max6651"
-- reg : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48.
-
-Optional properties, default is to retain the chip's current setting:
-- maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or
- 12000000 uV.
-- maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values
- allow more fine-grained control of slower fans.
- Valid: 1, 2, 4, 8, 16.
-- maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the
- driver selects closed-loop mode and the requested speed.
- This ensures the fan is already running before userspace
- takes over.
-
-Example:
- fan-max6650: max6650@1b {
- reg = <0x1b>;
- compatible = "maxim,max6650";
- maxim,fan-microvolt = <12000000>;
- maxim,fan-prescale = <4>;
- maxim,fan-target-rpm = <1200>;
- };

Documentation/devicetree/bindings/hwmon/maxim,max6650.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/maxim,max6650.yaml b/Documentation/devicetree/bindings/hwmon/maxim,max6650.yaml
new file mode 100644
index 0000000..2c26104
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/maxim,max6650.yaml
@@ -0,0 +1,70 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+
+$id: http://devicetree.org/schemas/hwmon/maxim,max6650.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Maxim MAX6650 and MAX6651 I2C Fan Controllers
+
+maintainers:
+ - Javier Carrasco <[email protected]>
+
+description: |
+ The MAX6650 and MAX6651 regulate and monitor the speed
+ of 5VDC/12VDC burshless fans with built-in tachometers.
+
+ Datasheets:
+ https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf
+
+properties:
+ compatible:
+ enum:
+ - maxim,max6650
+ - maxim,max6651
+
+ reg:
+ maxItems: 1
+
+ maxim,fan-microvolt:
+ description:
+ The supply voltage of the fan, either 5000000 uV or
+ 12000000 uV.
+ enum: [5000000, 12000000]
+
+ maxim,fan-prescale:
+ description:
+ Pre-scaling value, as per datasheet. Lower values
+ allow more fine-grained control of slower fans.
+ $ref: /schemas/types.yaml#/definitions/uint32
+ enum: [1, 2, 4, 8, 16]
+
+ maxim,fan-target-rpm:
+ description:
+ Initial requested fan rotation speed. If specified, the
+ driver selects closed-loop mode and the requested speed.
+ This ensures the fan is already running before userspace
+ takes over.
+ $ref: /schemas/types.yaml#/definitions/uint32
+ maximum: 30000
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ fan-controller@1b {
+ compatible = "maxim,max6650";
+ reg = <0x1b>;
+ maxim,fan-microvolt = <12000000>;
+ maxim,fan-prescale = <4>;
+ maxim,fan-target-rpm = <1200>;
+ };
+ };

Documentation/devicetree/bindings/hwmon/pmbus/adi,adp1050.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/adi,adp1050.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/adi,adp1050.yaml
new file mode 100644
index 0000000..10c2204
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/adi,adp1050.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/pmbus/adi,adp1050.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices ADP1050 digital controller with PMBus interface
+
+maintainers:
+ - Radu Sabau <[email protected]>
+
+description: |
+ The ADP1050 is used to monitor system voltages, currents and temperatures.
+ Through the PMBus interface, the ADP1050 targets isolated power supplies
+ and has four individual monitors for input/output voltage, input current
+ and temperature.
+ Datasheet:
+ https://www.analog.com/en/products/adp1050.html
+
+properties:
+ compatible:
+ const: adi,adp1050
+
+ reg:
+ maxItems: 1
+
+ vcc-supply: true
+
+required:
+ - compatible
+ - reg
+ - vcc-supply
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clock-frequency = <100000>;
+
+ hwmon@70 {
+ compatible = "adi,adp1050";
+ reg = <0x70>;
+ vcc-supply = <&vcc>;
+ };
+ };
+...

Documentation/devicetree/bindings/hwmon/pwm-fan.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt
deleted file mode 100644
index 48886f0..0000000
--- a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt
+++ /dev/null
@@ -1 +0,0 @@
-This file has moved to pwm-fan.yaml.

Documentation/devicetree/bindings/hwmon/st,stts751.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/st,stts751.yaml b/Documentation/devicetree/bindings/hwmon/st,stts751.yaml
new file mode 100644
index 0000000..9c825ad
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/st,stts751.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/st,stts751.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: STTS751 Thermometer
+
+maintainers:
+ - Javier Carrasco <[email protected]>
+
+properties:
+ compatible:
+ const: st,stts751
+
+ reg:
+ maxItems: 1
+
+ smbus-timeout-disable:
+ description:
+ When set, the smbus timeout function will be disabled.
+ $ref: /schemas/types.yaml#/definitions/flag
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ thermometer@48 {
+ compatible = "st,stts751";
+ reg = <0x48>;
+ smbus-timeout-disable;
+ };
+ };

Documentation/devicetree/bindings/hwmon/stts751.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/hwmon/stts751.txt b/Documentation/devicetree/bindings/hwmon/stts751.txt
deleted file mode 100644
index 3ee1dc3..0000000
--- a/Documentation/devicetree/bindings/hwmon/stts751.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-* STTS751 thermometer.
-
-Required node properties:
-- compatible: "stts751"
-- reg: I2C bus address of the device
-
-Optional properties:
-- smbus-timeout-disable: when set, the smbus timeout function will be disabled
-
-Example stts751 node:
-
-temp-sensor {
- compatible = "stts751";
- reg = <0x48>;
-}

Documentation/devicetree/bindings/hwmon/syna,as370.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/syna,as370.yaml b/Documentation/devicetree/bindings/hwmon/syna,as370.yaml
new file mode 100644
index 0000000..1f7005f
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/syna,as370.yaml
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/syna,as370.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Synaptics AS370 PVT sensors
+
+maintainers:
+ - Javier Carrasco <[email protected]>
+
+properties:
+ compatible:
+ const: syna,as370-hwmon
+
+ reg:
+ description:
+ Address and length of the register set.
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ sensor@ea0810 {
+ compatible = "syna,as370-hwmon";
+ reg = <0xea0810 0xc>;
+ };

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

View file
diff --git a/Documentation/devicetree/bindings/hwmon/ti,adc128d818.yaml b/Documentation/devicetree/bindings/hwmon/ti,adc128d818.yaml
new file mode 100644
index 0000000..a320354
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/ti,adc128d818.yaml
@@ -0,0 +1,63 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+
+$id: http://devicetree.org/schemas/hwmon/ti,adc128d818.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments ADC128D818 ADC System Monitor With Temperature Sensor
+
+maintainers:
+ - Javier Carrasco <[email protected]>
+
+description: |
+ The ADC128D818 is a 12-Bit, 8-Channel Analog to Digital Converter (ADC)
+ with a temperature sensor and an I2C interface.
+
+ Datasheets:
+ https://www.ti.com/product/ADC128D818
+
+properties:
+ compatible:
+ const: ti,adc128d818
+
+ reg:
+ maxItems: 1
+
+ ti,mode:
+ $ref: /schemas/types.yaml#/definitions/uint8
+ description: |
+ Operation mode.
+ Mode 0 - 7 single-ended voltage readings (IN0-IN6), 1 temperature
+ reading (internal).
+ Mode 1 - 8 single-ended voltage readings (IN0-IN7), no temperature.
+ Mode 2 - 4 pseudo-differential voltage readings
+ (IN0-IN1, IN3-IN2, IN4-IN5, IN7-IN6), 1 temperature reading (internal).
+ Mode 3 - 4 single-ended voltage readings (IN0-IN3), 2 pseudo-differential
+ voltage readings (IN4-IN5, IN7-IN6), 1 temperature reading (internal).
+ default: 0
+
+ vref-supply:
+ description:
+ The regulator to use as an external reference. If it does not exist, the
+ internal reference will be used.
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ adc@1d {
+ compatible = "ti,adc128d818";
+ reg = <0x1d>;
+ vref-supply = <&vref>;
+ ti,mode = /bits/ 8 <2>;
+ };
+ };

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

View file
diff --git a/Documentation/devicetree/bindings/hwmon/ti,lm87.yaml b/Documentation/devicetree/bindings/hwmon/ti,lm87.yaml
new file mode 100644
index 0000000..f553235
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/ti,lm87.yaml
@@ -0,0 +1,69 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+
+$id: http://devicetree.org/schemas/hwmon/ti,lm87.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments LM87 Hardware Monitor
+
+maintainers:
+ - Javier Carrasco <[email protected]>
+
+description: |
+ The LM87 is a serial interface system hardware monitor
+ with remote diode temperature sensing.
+
+ Datasheets:
+ https://www.ti.com/product/LM87

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/adm1275.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/adp1050.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/aquacomputer_d5next.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/emc1403.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/lm70.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/nzxt-kraken3.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/pmbus.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/xdp710.rst

View file

This diff is incomplete. Download the complete patch.

MAINTAINERS

View file

This diff is incomplete. Download the complete patch.

drivers/acpi/acpi_ipmi.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/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/adc128d818.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/adm1177.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/adt7411.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/adt7462.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/adt7470.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/aquacomputer_d5next.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/aspeed-g6-pwm-tach.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/ds620.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/emc1403.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/emc2103.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/emc2305.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/ftsteutates.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/g762.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/hih6130.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/hs3001.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ina209.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ina238.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ina3221.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/jc42.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lenovo-ec-sensors.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/lm70.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/lm73.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/lm87.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/lm95245.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ltc2945.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ltc2947-i2c.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ltc2990.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ltc2991.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ltc2992.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/ltc4222.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ltc4245.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/ltc4260.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/max127.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/max31730.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/max31790.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/max6621.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/mc34vr500.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/nct7904.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/npcm750-pwm-fan.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/nzxt-kraken3.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pcf8591.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/adm1266.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/adm1275.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/adp1050.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/inspur-ipsps.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/ir35221.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/ir36021.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/ir38064.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/irps5401.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/lt7182s.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/ltc3815.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/max15301.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/max16064.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/max20751.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/max31785.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/max8688.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/mp2888.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/mp2975.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/mp5990.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/mpq8785.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/pli1209bc.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/pm6764tr.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/pxe1610.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/stpddc60.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/tda38640.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/tps40422.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/tps546d24.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/xdp710.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/xdpe12284.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/xdpe152c4.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pt5161l.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pwm-fan.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/sbrmi.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/sbtsi_temp.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/sht4x.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/stts751.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/tc654.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/tc74.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/tmp102.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/tmp108.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/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.

include/acpi/acpi_bus.h

View file

This diff is incomplete. Download the complete patch.