projects/linux·commit 7acf90fe

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

7acf90fe · Linus Torvalds <[email protected]> · 2026-08-19 09:56:28 -07:00

Pull hwmon updates from Guenter Roeck:
 "New drivers:
   - Kandou KB9002 retimer
   - PolarFire SoC temp/voltage sensor
   - Eswin EIC7700 PVT sensor
   - PMBus:
      - Analog Devices MAX16545/MAX16550 and Volterra VT7505
      - Monolithic MPQ82D00 and MPQ8646
      - Silergy SQ24860

  Added support to existing drivers:
   - asus-ec-sensors: Support for ROG STRIX Z390-E GAMING, ProArt
     Z690-CREATOR WIFI, ROG STRIX X870E-E GAMING WIFI7 R2, ROG CROSSHAIR
     X870E HERO, and ROG Maximus Z790 Hero
   - asus_rog_ryujin: Siupport for ROG Ryujin III
   - ina2xx: Support for INA232
   - k10temp: Per-CCD temperature monitoring for Zen5 Turin
   - nct6775: List NCT5585D as supported chip
   - nzxt-kraken3: Support for NZXT Kraken 2024 Elite
   - sht3x: Support for GXCAS GXHT30
   - tmp102: Add device IDs for TMP110 and TMP113
   - yogafan: Support for LOQ 15IAX9, XiaoXin Pro 13ARE 2020, IdeaPad 3
     15ALC6, Legion Pro 7 16AFR10H, Yoga Pro 7 14IAH10, Yoga 7 16ARP8,
     and Lenovo LOQ 15IAX9
   - PMBus:
      - max20830: Support for max20830c and max20840c
      - max34440: Support for MAX34452, and support for newer version of
        max34451
      - adm1275: Support for ROHM BD12780 and BD12790

  Other notable changes:
   - Constify various device attributes
   - Remove redundant dev_err() and dev_err_probe() from various drivers
   - applesmc: Convert to hwmon_device_register_with_info
   - adt7470: Add thermal zone sensor support
   - coretemp: Fix core_data leak on CPUs without PTS
   - emc1403: Drop hysteresis for low limit temperature
   - max6621: Fix various over- and underflow problems
   - PMBus:
      - Introduce pmbus_read_smbus_i2c_block_data() and use it in
        various drivers
      - Export and use pmbus_check_and_notify_faults()
      - Let PMBus drivers report the supported PMBus revision

  Various other minor fixes and improvements"

* tag 'hwmon-for-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (110 commits)
  hwmon: (emc1403) Drop hysteresis for low limit temperature
  hwmon: (coretemp) Fix core_data leak on CPUs without PTS
  hwmon: (max6621) fix negative temperature offset and crit readings
  hwmon: (max6621) fix temperature clamp range
  hwmon: (asus_rog_ryujin) Add ROG Ryujin III White Edition
  hwmon: (asus_rog_ryujin) Add ROG Ryujin III support
  hwmon: (asus_rog_ryujin) Add per-device configuration
  hwmon: (k10temp) Add per-CCD temperature monitoring for Zen5 Turin
  hwmon: (tmp102) Add TMP113 device ID
  hwmon: (tmp102) Add TMP110 device ID
  hwmon: (nct6775) Add NCT5585D to list of supported chips
  Documentation: hwmon: (nct6775) Add missing NCT6797D and NCT6798D
  hwmon: (emc1403) Add regulator support
  hwmon: (emc1403) Convert to use OF bindings
  dt-bindings: hwmon: Document SMSC EMC1402/1403/1404/1428
  hwmon: (asus-ec-sensors) add ROG STRIX Z390-E GAMING
  hwmon: (sysfs) Allow drivers to register const attributes
  hwmon: (corsair-psu) Update documentation
  hwmon: (core) Use const APIs for the dynamically allocated sysfs attributes
  hwmon: (core) Constify device attributes
  ...
Commit
7acf90feab8b009fde7def08ff2c622d0f10e99f
Parents
4e1b759c · 75f2c0b3

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

Changes

92 files changed · +6578 −657

FileStatusAddDelContent
Documentation/devicetree/bindings/hwmon/adi,adm1275.yamlmodified+32−11View file
Documentation/devicetree/bindings/hwmon/adi,adt7470.yamladded+58−0View file
Documentation/devicetree/bindings/hwmon/amphenol,chipcap2.yamlmodified+6−0View file
Documentation/devicetree/bindings/hwmon/eswin,eic7700-pvt.yamladded+72−0View file
Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yamlmodified+3−13View file
Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yamlmodified+29−1View file
Documentation/devicetree/bindings/hwmon/pmbus/adi,vt7505.yamladded+85−0View file
Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yamlmodified+4−1View file
Documentation/devicetree/bindings/hwmon/pmbus/silergy,sq24860.yamladded+74−0View file
Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yamlmodified+20−0View file
Documentation/devicetree/bindings/hwmon/sensirion,sht30.yamladded+71−0View file
Documentation/devicetree/bindings/hwmon/smsc,emc1403.yamladded+203−0View file
Documentation/devicetree/bindings/hwmon/ti,ina2xx.yamlmodified+3−0View file
Documentation/devicetree/bindings/trivial-devices.yamlmodified+4−0View file
Documentation/devicetree/bindings/vendor-prefixes.yamlmodified+4−0View file
Documentation/hwmon/adm1275.rstmodified+24−0View file
Documentation/hwmon/asus_ec_sensors.rstmodified+5−0View file
Documentation/hwmon/asus_rog_ryujin.rstmodified+14−11View file
Documentation/hwmon/chipcap2.rstmodified+2−0View file
Documentation/hwmon/coretemp.rstmodified+2−2View file
Documentation/hwmon/corsair-psu.rstmodified+3−3View file
Documentation/hwmon/emc1403.rstmodified+4−4View file
Documentation/hwmon/index.rstmodified+6−0View file
Documentation/hwmon/kb9002.rstadded+64−0View file
Documentation/hwmon/max20830.rstmodified+22−5View file
Documentation/hwmon/max34440.rstmodified+18−8View file
Documentation/hwmon/mpq82d00.rstadded+73−0View file
Documentation/hwmon/mpq8646.rstadded+300−0View file
Documentation/hwmon/nct6775.rstmodified+24−0View file
Documentation/hwmon/nzxt-kraken3.rstmodified+1−0View file
Documentation/hwmon/sg2042-mcu.rstmodified+1−1View file
Documentation/hwmon/sht3x.rstmodified+14−3View file
Documentation/hwmon/sq24860.rstadded+96−0View file
Documentation/hwmon/tvs-mpfs.rstadded+53−0View file
Documentation/hwmon/vt7505.rstadded+89−0View file
Documentation/hwmon/yogafan.rstmodified+26−1View file
MAINTAINERSmodified+30−0View file
drivers/hwmon/Kconfigmodified+44−15View file
drivers/hwmon/Makefilemodified+3−0View file
drivers/hwmon/acpi_power_meter.cmodified+1−5View file
drivers/hwmon/adt7470.cmodified+199−4View file
drivers/hwmon/applesmc.cmodified+338−152View file
drivers/hwmon/asus-ec-sensors.cmodified+81−5View file
drivers/hwmon/asus_rog_ryujin.cmodified+71−25View file
drivers/hwmon/axi-fan-control.cmodified+1−2View file
drivers/hwmon/chipcap2.cmodified+23−2View file
drivers/hwmon/coretemp.cmodified+2−1View file
drivers/hwmon/corsair-psu.cmodified+1−1View file
drivers/hwmon/cros_ec_hwmon.cmodified+29−7View file
drivers/hwmon/da9055-hwmon.cmodified+1−4View file
drivers/hwmon/eic7700-pvt.cadded+509−0View file
drivers/hwmon/eic7700-pvt.hadded+99−0View file
drivers/hwmon/emc1403.cmodified+30−18View file
drivers/hwmon/gxp-fan-ctrl.cmodified+2−104View file
drivers/hwmon/hwmon.cmodified+38−38View file
drivers/hwmon/ina2xx.cmodified+20−0View file
drivers/hwmon/k10temp.cmodified+13−1View file
drivers/hwmon/kb9002.cadded+460−0View file
drivers/hwmon/lm90.cmodified+29−29View file
drivers/hwmon/ltc4283.cmodified+1−0View file
drivers/hwmon/max6621.cmodified+4−4View file
drivers/hwmon/nct6775-core.cmodified+1−0View file
drivers/hwmon/nct6775-platform.cmodified+1−1View file
drivers/hwmon/npcm750-pwm-fan.cmodified+1−3View file
drivers/hwmon/nzxt-kraken3.cmodified+8−1View file
drivers/hwmon/peci/common.hmodified+2−2View file
drivers/hwmon/pmbus/Kconfigmodified+85−6View file
drivers/hwmon/pmbus/Makefilemodified+4−0View file
drivers/hwmon/pmbus/acbel-fsg032.cmodified+1−0View file
drivers/hwmon/pmbus/adm1275.cmodified+137−14View file
drivers/hwmon/pmbus/ir36021.cmodified+7−15View file
drivers/hwmon/pmbus/lm25066.cmodified+37−0View file
drivers/hwmon/pmbus/ltc2978.cmodified+9−12View file
drivers/hwmon/pmbus/max20830.cmodified+92−43View file
drivers/hwmon/pmbus/max34440.cmodified+74−22View file
drivers/hwmon/pmbus/mp2975.cmodified+0−5View file
drivers/hwmon/pmbus/mpq82d00.cadded+249−0View file
drivers/hwmon/pmbus/mpq8646.cadded+976−0View file
drivers/hwmon/pmbus/pmbus.hmodified+18−4View file
drivers/hwmon/pmbus/pmbus_core.cmodified+128−26View file
drivers/hwmon/pmbus/sq24860.cadded+430−0View file
drivers/hwmon/pmbus/vt7505.cadded+287−0View file
drivers/hwmon/pmbus/xdpe1a2g7b.cmodified+11−0View file
drivers/hwmon/pwm-fan.cmodified+1−5View file
drivers/hwmon/sht15.cmodified+1−3View file
drivers/hwmon/sht3x.cmodified+13−2View file
drivers/hwmon/tmp102.cmodified+2−0View file
drivers/hwmon/tmp401.cmodified+1−1View file
drivers/hwmon/tvs-mpfs.cadded+390−0View file
drivers/hwmon/xgene-hwmon.cmodified+0−4View file
drivers/hwmon/yogafan.cmodified+67−0View file
include/linux/hwmon-sysfs.hmodified+7−7View file

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

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 d6a7517..283cd16 100644
--- a/Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml
+++ b/Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml
@@ -25,19 +25,38 @@ description: |
https://www.silergy.com/
download/downloadFile?id=5669&type=product&ftype=note
+ The BD12780 and BD12780A are hot-swap controllers from ROHM. They are
+ functionally compatible with the ADM1278. The main difference between
+ the BD12780A and the BD12780 is amount of configurable I2C addresses.
+
+ Datasheets:
+ https://fscdn.rohm.com/en/products/databook/datasheet/ic/power/power_switch/bd12780muv-lb-e.pdf
+ https://fscdn.rohm.com/en/products/databook/datasheet/ic/power/power_switch/bd12780amuv-lb-e.pdf
+
+ The BD12790 is a ROHM hot-swap controller, functionally similar to the
+ ADM1272.
+
properties:
compatible:
- enum:
- - adi,adm1075
- - adi,adm1272
- - adi,adm1273
- - adi,adm1275
- - adi,adm1276
- - adi,adm1278
- - adi,adm1281
- - adi,adm1293
- - adi,adm1294
- - silergy,mc09c
+ oneOf:
+ - enum:
+ - adi,adm1075
+ - adi,adm1272
+ - adi,adm1273
+ - adi,adm1275
+ - adi,adm1276
+ - adi,adm1278
+ - adi,adm1281
+ - adi,adm1293
+ - adi,adm1294
+ - rohm,bd12780
+ - rohm,bd12790
+ - silergy,mc09c
+
+ # Require BD12780 as a fall-back for BD12780A.
+ - items:
+ - const: rohm,bd12780a
+ - const: rohm,bd12780
reg:
maxItems: 1
@@ -88,6 +107,7 @@ allOf:
enum:
- adi,adm1272
- adi,adm1273
+ - rohm,bd12790
then:
properties:
adi,volt-curr-sample-average:
@@ -104,6 +124,7 @@ allOf:
- adi,adm1281
- adi,adm1293
- adi,adm1294
+ - rohm,bd12780
- silergy,mc09c
then:
properties:

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

View file
diff --git a/Documentation/devicetree/bindings/hwmon/adi,adt7470.yaml b/Documentation/devicetree/bindings/hwmon/adi,adt7470.yaml
new file mode 100644
index 0000000..a701542
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/adi,adt7470.yaml
@@ -0,0 +1,58 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/adi,adt7470.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices ADT7470 hwmon sensor
+
+maintainers:
+ - Luiz Angelo Daros de Luca <[email protected]>
+
+description:
+ Multi-channel temperature monitor and PWM fan controller.
+ It supports monitoring up to 10 external temperature sensors and
+ controlling up to 4 fans. The fan control lines are modeled
+ as standard PWM channels.
+
+properties:
+ compatible:
+ const: adi,adt7470
+
+ reg:
+ maxItems: 1
+
+ "#pwm-cells":
+ const: 3
+
+ "#thermal-sensor-cells":
+ const: 1
+ description:
+ Valid index values are 0 to 9, corresponding to temp1 through temp10.
+
+required:
+ - compatible
+ - reg
+
+allOf:
+ - if:
+ required:
+ - "#thermal-sensor-cells"
+ then:
+ $ref: /schemas/thermal/thermal-sensor.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ hwmon@2f {
+ compatible = "adi,adt7470";
+ reg = <0x2f>;
+ #pwm-cells = <3>;
+ #thermal-sensor-cells = <1>;
+ };
+ };

Documentation/devicetree/bindings/hwmon/amphenol,chipcap2.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/amphenol,chipcap2.yaml b/Documentation/devicetree/bindings/hwmon/amphenol,chipcap2.yaml
index 17351fd..56b0cec 100644
--- a/Documentation/devicetree/bindings/hwmon/amphenol,chipcap2.yaml
+++ b/Documentation/devicetree/bindings/hwmon/amphenol,chipcap2.yaml
@@ -45,6 +45,8 @@ properties:
- const: low
- const: high
+ label: true
+
vdd-supply:
description:
Dedicated, controllable supply-regulator to reset the device and
@@ -55,6 +57,9 @@ required:
- reg
- vdd-supply
+allOf:
+ - $ref: hwmon-common.yaml#
+
additionalProperties: false
examples:
@@ -72,6 +77,7 @@ examples:
<5 IRQ_TYPE_EDGE_RISING>,
<6 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "ready", "low", "high";
+ label = "Room";
vdd-supply = <&reg_vdd>;
};
};

Documentation/devicetree/bindings/hwmon/eswin,eic7700-pvt.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/eswin,eic7700-pvt.yaml b/Documentation/devicetree/bindings/hwmon/eswin,eic7700-pvt.yaml
new file mode 100644
index 0000000..58ec863
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/eswin,eic7700-pvt.yaml
@@ -0,0 +1,72 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/eswin,eic7700-pvt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ESWIN EIC7700 PVT Sensor
+
+maintainers:
+ - Yulin Lu <[email protected]>
+ - Huan He <[email protected]>
+
+description:
+ ESWIN EIC7700 SoC integrates embedded voltage and temperature sensors to
+ monitor the internal SoC environment. The system includes two PVT sensor
+ instances. The PVT0 monitors the main SoC power domain. The PVT1 sensor
+ monitors the DDR core power domain.
+
+allOf:
+ - $ref: /schemas/hwmon/hwmon-common.yaml#
+
+properties:
+ compatible:
+ const: eswin,eic7700-pvt
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ items:
+ - description: PVT enable clock
+ - description: APB bus clock
+
+ clock-names:
+ items:
+ - const: enable
+ - const: apb
+
+ interrupts:
+ maxItems: 1
+
+ resets:
+ maxItems: 1
+
+ '#thermal-sensor-cells':
+ const: 0
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - interrupts
+ - resets
+ - '#thermal-sensor-cells'
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ sensor@50b00000 {
+ compatible = "eswin,eic7700-pvt";
+ reg = <0x50b00000 0x10000>;
+ clocks = <&clocks 244>, <&clocks 234>;
+ clock-names = "enable", "apb";
+ interrupts = <349>;
+ interrupt-parent = <&plic>;
+ label = "pvt0";
+ resets = <&reset 111>;
+ #thermal-sensor-cells = <0>;
+ };
+...

Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml b/Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml
index 4a52aac..963aa64 100644
--- a/Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml
+++ b/Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml
@@ -18,21 +18,12 @@ properties:
const: hpe,gxp-fan-ctrl
reg:
- items:
- - description: Fan controller PWM
- - description: Programmable logic
- - description: Function 2
-
- reg-names:
- items:
- - const: base
- - const: pl
- - const: fn2
+ description: Fan controller PWM
+ maxItems: 1
required:
- compatible
- reg
- - reg-names
additionalProperties: false
@@ -40,6 +31,5 @@ examples:
- |
fan-controller@1000c00 {
compatible = "hpe,gxp-fan-ctrl";
- reg = <0x1000c00 0x200>, <0xd1000000 0xff>, <0x80200000 0x100000>;
- reg-names = "base", "pl", "fn2";
+ reg = <0x1000c00 0x200>;
};

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

View file
diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml
index 1625dd5..cc50a4e 100644
--- a/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml
@@ -22,7 +22,13 @@ allOf:
properties:
compatible:
- const: adi,max20830
+ oneOf:
+ - const: adi,max20830
+ - items:
+ - enum:
+ - adi,max20830c
+ - adi,max20840c
+ - const: adi,max20830
reg:
maxItems: 1
@@ -44,15 +50,32 @@ properties:
GPIO connected to the power-good status output pin.
maxItems: 1
+ adi,vout-rfb1-ohms:
+ description:
+ Top feedback resistor (RFB1) value in ohms for VOUT sensing divider.
+ When the desired output voltage is higher than VREF, a resistor divider
+ is required. VOUT = VREF × (1 + RFB1/RFB2)
+
+ adi,vout-rfb2-ohms:
+ description:
+ Bottom feedback resistor (RFB2) value in ohms for VOUT sensing divider.
+ Datasheet recommends that RFB2 does not exceed 2.5kΩ.
+
required:
- compatible
- reg
- vddh-supply
+dependencies:
+ adi,vout-rfb1-ohms: ['adi,vout-rfb2-ohms']
+ adi,vout-rfb2-ohms: ['adi,vout-rfb1-ohms']
+
unevaluatedProperties: false
examples:
- |
+ #include <dt-bindings/gpio/gpio.h>
+
i2c {
#address-cells = <1>;
#size-cells = <0>;
@@ -61,6 +84,11 @@ examples:
compatible = "adi,max20830";
reg = <0x30>;
vddh-supply = <&vddh>;
+ avdd-supply = <&avdd>;
+ ldoin-supply = <&ldoin>;
+ pwr-good-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
+ adi,vout-rfb1-ohms = <10000>;
+ adi,vout-rfb2-ohms = <2000>;
};
};
...

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

View file
diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/adi,vt7505.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/adi,vt7505.yaml
new file mode 100644
index 0000000..ce5e945
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/adi,vt7505.yaml
@@ -0,0 +1,85 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/pmbus/adi,vt7505.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices MAX16545/MAX16550 and Volterra VT7505 PMBus controllers
+
+maintainers:
+ - Sanman Pradhan <[email protected]>
+
+description: |
+ The Analog Devices MAX16545 and MAX16550, and the Volterra VT7505, are PMBus
+ controllers that provide input/output voltage, input/output current,
+ input power and temperature monitoring over the PMBus interface.
+
+ The MAX16545 uses the same programming model as the VT7505.
+
+ Datasheets:
+ https://www.analog.com/media/en/technical-documentation/data-sheets/max16545b-max16545c.pdf
+ https://www.analog.com/media/en/technical-documentation/data-sheets/max16550.pdf
+
+properties:
+ compatible:
+ oneOf:
+ - enum:
+ - adi,max16550
+ - adi,vt7505
+ - items:
+ - const: adi,max16545
+ - const: adi,vt7505
+
+ reg:
+ maxItems: 1
+
+ adi,rload-ohms:
+ description:
+ Resistance in ohms of the external telemetry load resistor connected
+ between the ILOAD current-output pin and ground. This is not a
+ current-path shunt resistor; it sets the scaling of the reported input
+ current, output current and input power.
+ minimum: 1
+ maximum: 283383959
+ default: 4750
+
+ adi,ocp-severe-filter-us:
+ description:
+ Deglitch time, in microseconds, applied to the severe
+ overcurrent-protection comparator, programmed into the
+ MFR_CONFIG[15:14] field. The MAX16550 and VT7505 expose this field.
+ On the MAX16545 the severe overcurrent delay is fixed and these bits
+ are reserved. If omitted, the existing hardware setting is retained.
+ enum: [0, 1, 2, 10]
+
+required:
+ - compatible
+ - reg
+
+allOf:
+ # The severe OCP deglitch filter is fixed on the MAX16545, so the property
+ # is only valid for the MAX16550 and VT7505.
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: adi,max16545
+ then:
+ properties:
+ adi,ocp-severe-filter-us: false
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ regulator@40 {
+ compatible = "adi,vt7505";
+ reg = <0x40>;
+ adi,rload-ohms = <4750>;
+ adi,ocp-severe-filter-us = <10>;
+ };
+ };

Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml
index 90970a0..d7a32fb 100644
--- a/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml
@@ -18,6 +18,7 @@ properties:
- mps,mpm3695
- mps,mpm3695-25
- mps,mpm82504
+ - mps,mpq8646
- mps,mpq8785
reg:
@@ -52,7 +53,9 @@ allOf:
- if:
properties:
compatible:
- const: mps,mpq8785
+ enum:
+ - mps,mpq8646
+ - mps,mpq8785
then:
properties:
mps,vout-fb-divider-ratio-permille:

Documentation/devicetree/bindings/hwmon/pmbus/silergy,sq24860.yaml

View file
diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/silergy,sq24860.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/silergy,sq24860.yaml
new file mode 100644
index 0000000..03ef82c
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/silergy,sq24860.yaml
@@ -0,0 +1,74 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+
+$id: http://devicetree.org/schemas/hwmon/pmbus/silergy,sq24860.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Silergy SQ24860 eFuse
+
+maintainers:
+ - Ziming Zhu <[email protected]>
+
+description:
+ The Silergy SQ24860 is an integrated, high-current circuit protection and
+ power management device with PMBus interface.
+
+properties:
+ compatible:
+ const: silergy,sq24860
+
+ reg:
+ maxItems: 1
+
+ silergy,rimon-micro-ohms:
+ description:
+ Micro-ohms value of the resistance installed between the IMON pin and
+ the ground reference.
+
+ interrupts:
+ description: PMBus SMBAlert interrupt.
+ maxItems: 1
+
+ regulators:
+ type: object
+ description:
+ List of regulators provided by this controller.
+
+ properties:
+ vout:
+ $ref: /schemas/regulator/regulator.yaml#
+ type: object
+ unevaluatedProperties: false
+
+ additionalProperties: false
+
+required:
+ - compatible
+ - reg
+ - silergy,rimon-micro-ohms
+
+additionalProperties: false
+
+examples:
+ - |
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ hw-monitor@40 {
+ compatible = "silergy,sq24860";
+ reg = <0x40>;
+
+ interrupt-parent = <&gpio>;
+ interrupts = <42 8>;
+ silergy,rimon-micro-ohms = <1600000000>;
+
+ regulators {
+ cpu0_vout: vout {
+ regulator-name = "main_cpu0";
+ };
+ };
+ };
+ };

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

View file
diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml
index a20f140..fe42daa 100644
--- a/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml
@@ -46,12 +46,32 @@ properties:
additionalProperties: false
+ ti,current-range:
+ description: |
+ Configure the current limit setting. When present, this property
+ overrides the hardware setting of the physical CL pin by configuring
+ the DEVICE_SETUP register.
+ - "low": maps to 25 mV (LM25066) or 26 mV (LM5064, LM5066, LM5066i)
+ - "high": maps to 46 mV (LM25066) or 50 mV (LM5064, LM5066, LM5066i)
+ $ref: /schemas/types.yaml#/definitions/string
+ enum:
+ - low
+ - high
+
required:
- compatible
- reg
allOf:
- $ref: /schemas/hwmon/hwmon-common.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: ti,lm25056
+ then:
+ properties:
+ ti,current-range: false
unevaluatedProperties: false

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

View file
diff --git a/Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml b/Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml
new file mode 100644
index 0000000..dee0252
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml
@@ -0,0 +1,71 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/sensirion,sht30.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sensirion SHT3x and GXCAS GXHT30 humidity and temperature sensors
+
+maintainers:
+ - Zaixiang Xu <[email protected]>
+
+properties:
+ compatible:
+ oneOf:
+ - enum:
+ - sensirion,sht30
+ - sensirion,sts30
+ - items:
+ - enum:
+ - gxcas,gxht30

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/hwmon/smsc,emc1403.yaml

View file

This diff is incomplete. Download the complete patch.

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

View file

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/devicetree/bindings/vendor-prefixes.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/asus_ec_sensors.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/asus_rog_ryujin.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/chipcap2.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/coretemp.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/corsair-psu.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/kb9002.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/max20830.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/max34440.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/mpq82d00.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/mpq8646.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/nct6775.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/sg2042-mcu.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/sht3x.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/sq24860.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/tvs-mpfs.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/vt7505.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/hwmon/yogafan.rst

View file

This diff is incomplete. Download the complete patch.

MAINTAINERS

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/adt7470.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/asus-ec-sensors.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/asus_rog_ryujin.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/axi-fan-control.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/chipcap2.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/corsair-psu.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/cros_ec_hwmon.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/da9055-hwmon.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/eic7700-pvt.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/eic7700-pvt.h

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/gxp-fan-ctrl.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/ina2xx.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/k10temp.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/kb9002.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/ltc4283.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/nct6775-core.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/nct6775-platform.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/peci/common.h

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/acbel-fsg032.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/ir36021.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/pmbus/ltc2978.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/max20830.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/max34440.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/mpq82d00.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/mpq8646.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/pmbus.h

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/pmbus_core.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/sq24860.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/vt7505.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/pmbus/xdpe1a2g7b.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/sht15.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/sht3x.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/tmp401.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/tvs-mpfs.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/xgene-hwmon.c

View file

This diff is incomplete. Download the complete patch.

drivers/hwmon/yogafan.c

View file

This diff is incomplete. Download the complete patch.

include/linux/hwmon-sysfs.h

View file

This diff is incomplete. Download the complete patch.