forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'hwmon-for-v5.19-rc1' of git://git.kernel.org/pub/scm/linux…
…/kernel/git/groeck/linux-staging Pull hwmon updates from Guenter Roeck: "New drivers: - Driver for the Microchip LAN966x SoC - PMBus driver for Infineon Digital Multi-phase xdp152 family controllers Chip support added to existing drivers: - asus-ec-sensors: - Support for ROG STRIX X570-E GAMING WIFI II, PRIME X470-PRO, and ProArt X570 Creator WIFI - External temperature sensor support for ASUS WS X570-ACE - nct6775: - Support for I2C driver - Support for ASUS PRO H410T / PRIME H410M-R / ROG X570-E GAMING WIFI II - lm75: - Support for - Atmel AT30TS74 - pmbus/max16601: - Support for MAX16602 - aquacomputer_d5next: - Support for Aquacomputer Farbwerk - Support for Aquacomputer Octo - jc42: - Support for S-34TS04A Kernel API changes / clarifications: - The chip parameter of with_info API is now mandatory - New hwmon_device_register_for_thermal API call for use by the thermal subsystem Improvements: - PMBus and JC42 drivers now register with thermal subsystem - PMBus drivers now support get_voltage/set_voltage power operations - The adt7475 driver now supports pin configuration - The lm90 driver now supports setting extended range temperatures configuration with a devicetree property - The dell-smm driver now registers as cooling device - The OCC driver delays hwmon registration until requested by userspace ... and various other minor fixes and improvements" * tag 'hwmon-for-v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (71 commits) hwmon: (aquacomputer_d5next) Fix an error handling path in aqc_probe() hwmon: (sl28cpld) Fix typo in comment hwmon: (pmbus) Check PEC support before reading other registers hwmon: (dimmtemp) Fix bitmap handling hwmon: (lm90) enable extended range according to DTS node dt-bindings: hwmon: lm90: add ti,extended-range-enable property dt-bindings: hwmon: lm90: add missing ti,tmp461 hwmon: (ibmaem) Directly use ida_alloc()/free() hwmon: Directly use ida_alloc()/free() hwmon: (asus-ec-sensors) fix Formula VIII definition dt-bindings: trivial-devices: Add xdp152 hwmon: (sl28cpld-hwmon) Use HWMON_CHANNEL_INFO macro hwmon: (pwm-fan) Use HWMON_CHANNEL_INFO macro hwmon: (peci/dimmtemp) Use HWMON_CHANNEL_INFO macro hwmon: (peci/cputemp) Use HWMON_CHANNEL_INFO macro hwmon: (mr75203) Use HWMON_CHANNEL_INFO macro hwmon: (ltc2992) Use HWMON_CHANNEL_INFO macro hwmon: (as370-hwmon) Use HWMON_CHANNEL_INFO macro hwmon: Make chip parameter for with_info API mandatory thermal/drivers/thermal_hwmon: Use hwmon_device_register_for_thermal() ...
- Loading branch information
Showing
62 changed files
with
5,118 additions
and
2,354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
Documentation/devicetree/bindings/hwmon/microchip,lan966x.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/hwmon/microchip,lan966x.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Microchip LAN966x Hardware Monitor | ||
|
||
maintainers: | ||
- Michael Walle <[email protected]> | ||
|
||
description: | | ||
Microchip LAN966x temperature monitor and fan controller | ||
properties: | ||
compatible: | ||
enum: | ||
- microchip,lan9668-hwmon | ||
|
||
reg: | ||
items: | ||
- description: PVT registers | ||
- description: FAN registers | ||
|
||
reg-names: | ||
items: | ||
- const: pvt | ||
- const: fan | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
'#thermal-sensor-cells': | ||
const: 0 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- reg-names | ||
- clocks | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
hwmon: hwmon@e2010180 { | ||
compatible = "microchip,lan9668-hwmon"; | ||
reg = <0xe2010180 0xc>, | ||
<0xe20042a8 0xc>; | ||
reg-names = "pvt", "fan"; | ||
clocks = <&sys_clk>; | ||
#thermal-sensor-cells = <0>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
|
||
$id: http://devicetree.org/schemas/hwmon/nuvoton,nct6775.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Nuvoton NCT6775 and compatible Super I/O chips | ||
|
||
maintainers: | ||
- Zev Weiss <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- nuvoton,nct6106 | ||
- nuvoton,nct6116 | ||
- nuvoton,nct6775 | ||
- nuvoton,nct6776 | ||
- nuvoton,nct6779 | ||
- nuvoton,nct6791 | ||
- nuvoton,nct6792 | ||
- nuvoton,nct6793 | ||
- nuvoton,nct6795 | ||
- nuvoton,nct6796 | ||
- nuvoton,nct6797 | ||
- nuvoton,nct6798 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
nuvoton,tsi-channel-mask: | ||
description: | ||
Bitmask indicating which TSI temperature sensor channels are | ||
active. LSB is TSI0, bit 1 is TSI1, etc. | ||
$ref: /schemas/types.yaml#/definitions/uint32 | ||
maximum: 0xff | ||
default: 0 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
superio@4d { | ||
compatible = "nuvoton,nct6779"; | ||
reg = <0x4d>; | ||
nuvoton,tsi-channel-mask = <0x03>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/hwmon/ti,tmp401.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: TMP401, TPM411 and TMP43x temperature sensor | ||
|
||
maintainers: | ||
- Guenter Roeck <[email protected]> | ||
|
||
description: | | ||
±1°C Remote and Local temperature sensor | ||
Datasheets: | ||
https://www.ti.com/lit/ds/symlink/tmp401.pdf | ||
https://www.ti.com/lit/ds/symlink/tmp411.pdf | ||
https://www.ti.com/lit/ds/symlink/tmp431.pdf | ||
https://www.ti.com/lit/ds/symlink/tmp435.pdf | ||
properties: | ||
compatible: | ||
enum: | ||
- ti,tmp401 | ||
- ti,tmp411 | ||
- ti,tmp431 | ||
- ti,tmp432 | ||
- ti,tmp435 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
ti,extended-range-enable: | ||
description: | ||
When set, this sensor measures over extended temperature range. | ||
type: boolean | ||
|
||
ti,n-factor: | ||
description: | ||
value to be used for converting remote channel measurements to | ||
temperature. | ||
$ref: /schemas/types.yaml#/definitions/int32 | ||
items: | ||
minimum: -128 | ||
maximum: 127 | ||
|
||
ti,beta-compensation: | ||
description: | ||
value to select beta correction range. | ||
$ref: /schemas/types.yaml#/definitions/uint32 | ||
minimum: 0 | ||
maximum: 15 | ||
|
||
allOf: | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- ti,tmp401 | ||
then: | ||
properties: | ||
ti,n-factor: false | ||
|
||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- ti,tmp401 | ||
- ti,tmp411 | ||
then: | ||
properties: | ||
ti,beta-compensation: false | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
sensor@4c { | ||
compatible = "ti,tmp401"; | ||
reg = <0x4c>; | ||
}; | ||
}; | ||
- | | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
sensor@4c { | ||
compatible = "ti,tmp431"; | ||
reg = <0x4c>; | ||
ti,extended-range-enable; | ||
ti,n-factor = <0x3b>; | ||
ti,beta-compensation = <0x7>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.