linux/drivers/hwmon
Linus Torvalds d5f7411411 gpio updates for v6.18-rc1
GPIO core:
 - add support for sparse pin ranges to the glue between GPIO and pinctrl
 - use a common prefix across all GPIO descriptor flags for improved
   namespacing
 
 New drivers:
 - add new GPIO driver for the Nuvoton NCT6694
 - add new GPIO driver for MAX7360
 
 Driver improvements:
 - add support for Tegra 256 to the gpio-tegra186 driver
 - add support for Loongson-2K0300 to the gpio-loongson-64bit driver
 - refactor the gpio-aggregator module to expose its GPIO forwarder API
   to other in-kernel users (to enable merging of a new pinctrl driver
   that uses it)
 - convert all remaining drivers to using the modernized generic GPIO chip
   API and remove the old interface
 - stop displaying global GPIO numbers in debugfs output of controller
   drivers
 - extend the gpio-regmap helper with a new config option and improve its
   support for GPIO interrupts
 - remove redundant fast_io parameter from regmap configs in GPIO drivers
   that already use MMIO regmaps which imply it
 - add support for a new model in gpio-mmio: ixp4xx expansion bus
 - order includes alphabetically in a few drivers for better readability
 - use generic device properties where applicable
 - use devm_mutex_init() where applicable
 - extend build coverage of drivers by enabling more to be compiled with
   COMPILE_TEST enabled
 - allow building gpio-stmpe as a module
 - use dev_err_probe() where it makes sense in drivers
 
 Late driver fixes:
 - fix setting GPIO direction to output in gpio-mpfs
 
 Documentation:
 - document the usage of software nodes with GPIO chips
 
 Device-tree bindings:
 - Add DT bindings documents for new hardware: Tegra256, MAX7360
 - Document a new model in Loongson bindings: LS2K0300
 - Document a new model using the generic GPIO binding: IXP4xx
 - Convert the DT binding for fsl,mxs-pinctrl to YAML
 - fix the schema ID in the "trivial" GPIO schema
 - describe GPIO hogs in the generic GPIO binding
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEFp3rbAvDxGAT0sefEacuoBRx13IFAmjaTpAACgkQEacuoBRx
 13Iqwg//bcAxAcYGsEzMqcid9ugu+1KFiULWhgIYi4PBeX72UR7ZtSbzQ+hwTY68
 Vs1W7eoeaglHwd46K/oXEBsnOvot/gQBjuw4QmYbO6viDWY9OuU81xppgAyw4IEx
 wBmPiRVHHRNhcAA9/lu5OkFSWeeBNqcUkWlGgyUzsIIpQnadBRYXga+qFW9mq4m5
 FMSCagsNP0tnRG4ae1Ek8SAbi3BiKaC/bpxukLVvv6Ma6CUktN2d49gW24h9NbKi
 clflMVWgWgZBgYVk7Nmz5IQwYtvQz2M3y4Mb4VsuSWXWKRjX+gJb0knmq1fa8SEn
 lx1MyhSgkpdtUx/bzLjZrPvesbiS1JnyLRAQVa+vtOU8ct2GSWjbKK9vY9w6guVT
 KlptBNxxyQQi3WVtC+lvYz303gAlm5R2veehTMkmR6PIAE+zQ3EBNstiEEQsoMb2
 npAqr/maodIo+FvUpFghSTfG2dSNRnXpRXmGzn49Y3LSjZu/7gC0B5mZYuGghK/g
 UIvo3m40G/ajTUSyWOWPViUnJPkNMiQTHiH8MrXFUO/sbCavZCC2xp37D0ezWfIx
 KRq3KPLHEL39dDvLFkpTQccOfSXch/bVFNX0X6EtfyAx4rSCphbX25IaWeuhJ9Ox
 N3bALHVs0hMvY5nq0sUDTgf8oQMbpqKdAhKnSae3SBWLhon/EaA=
 =TZ1G
 -----END PGP SIGNATURE-----

Merge tag 'gpio-updates-for-v6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux

Pull gpio updates from Bartosz Golaszewski:
 "There are two new drivers and support for more models in existing
  ones.

  The generic GPIO API has been reworked and all users converted
  which allowed us to move the fields specific to the generic GPIO
  implementation out of the high-level struct gpio_chip into its own
  structure that wraps the gpio_chip.

  Other than that, there's nothing too exciting. Mostly minor tweaks and
  fixes all over the place, some refactoring and some small new features
  in helper modules.

  GPIO core:
   - add support for sparse pin ranges to the glue between GPIO and
     pinctrl
   - use a common prefix across all GPIO descriptor flags for improved
     namespacing

  New drivers:
   - add new GPIO driver for the Nuvoton NCT6694
   - add new GPIO driver for MAX7360

  Driver improvements:
   - add support for Tegra 256 to the gpio-tegra186 driver
   - add support for Loongson-2K0300 to the gpio-loongson-64bit driver
   - refactor the gpio-aggregator module to expose its GPIO forwarder
     API to other in-kernel users (to enable merging of a new pinctrl
     driver that uses it)
   - convert all remaining drivers to using the modernized generic GPIO
     chip API and remove the old interface
   - stop displaying global GPIO numbers in debugfs output of controller
     drivers
   - extend the gpio-regmap helper with a new config option and improve
     its support for GPIO interrupts
   - remove redundant fast_io parameter from regmap configs in GPIO
     drivers that already use MMIO regmaps which imply it
   - add support for a new model in gpio-mmio: ixp4xx expansion bus
   - order includes alphabetically in a few drivers for better
     readability
   - use generic device properties where applicable
   - use devm_mutex_init() where applicable
   - extend build coverage of drivers by enabling more to be compiled
     with COMPILE_TEST enabled
   - allow building gpio-stmpe as a module
   - use dev_err_probe() where it makes sense in drivers

  Late driver fixes:
   - fix setting GPIO direction to output in gpio-mpfs

  Documentation:
   - document the usage of software nodes with GPIO chips

  Device-tree bindings:
   - Add DT bindings documents for new hardware: Tegra256, MAX7360
   - Document a new model in Loongson bindings: LS2K0300
   - Document a new model using the generic GPIO binding: IXP4xx
   - Convert the DT binding for fsl,mxs-pinctrl to YAML
   - fix the schema ID in the "trivial" GPIO schema
   - describe GPIO hogs in the generic GPIO binding"

* tag 'gpio-updates-for-v6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: (122 commits)
  gpio: mpfs: fix setting gpio direction to output
  gpio: generic: move GPIO_GENERIC_ flags to the correct header
  gpio: generic: rename BGPIOF_ flags to GPIO_GENERIC_
  gpio: nomadik: fix the debugfs helper stub
  MAINTAINERS: Add entry on MAX7360 driver
  input: misc: Add support for MAX7360 rotary
  input: keyboard: Add support for MAX7360 keypad
  gpio: max7360: Add MAX7360 gpio support
  gpio: regmap: Allow to provide init_valid_mask callback
  gpio: regmap: Allow to allocate regmap-irq device
  pwm: max7360: Add MAX7360 PWM support
  pinctrl: Add MAX7360 pinctrl driver
  mfd: Add max7360 support
  dt-bindings: mfd: gpio: Add MAX7360
  rtc: Add Nuvoton NCT6694 RTC support
  hwmon: Add Nuvoton NCT6694 HWMON support
  watchdog: Add Nuvoton NCT6694 WDT support
  can: Add Nuvoton NCT6694 CANFD support
  i2c: Add Nuvoton NCT6694 I2C support
  gpio: Add Nuvoton NCT6694 GPIO support
  ...
2025-10-01 11:34:12 -07:00
..
occ hwmon: (occ) fix unaligned accesses 2025-06-16 06:30:57 -07:00
peci hwmon: (peci/dimmtemp) Do not provide fake thresholds data 2025-02-24 18:10:10 -08:00
pmbus hwmon: (pmbus/mp5990) add support for MP5998 2025-09-24 07:38:07 -07:00
Kconfig gpio updates for v6.18-rc1 2025-10-01 11:34:12 -07:00
Makefile gpio updates for v6.18-rc1 2025-10-01 11:34:12 -07:00
abituguru.c
abituguru3.c
acpi_power_meter.c hwmon: (acpi_power_meter) Replace the deprecated hwmon_device_register 2025-03-21 08:01:05 -07:00
ad7314.c hwmon: (ad7314) Validate leading zero bits and return error 2025-03-02 08:42:01 -08:00
ad7414.c
ad7418.c
adc128d818.c
adcxx.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm1177.c
adm9240.c
ads7828.c
ads7871.c
adt7x10.c
adt7x10.h
adt7310.c
adt7410.c
adt7411.c
adt7462.c
adt7470.c
adt7475.c hwmon: (adt7475) Implement support for #pwm-cells = <3> 2025-07-20 16:38:34 -07:00
aht10.c hwmon: (aht10) Drop doctype annotations from static functions 2025-04-23 07:18:27 -07:00
amc6821.c hwmon: (amc6821) Add cooling device support 2025-07-20 16:38:34 -07:00
applesmc.c
aquacomputer_d5next.c
as370-hwmon.c
asb100.c
asc7621.c
aspeed-g6-pwm-tach.c
aspeed-pwm-tacho.c
asus-ec-sensors.c hwmon: (asus-ec-sensors) add TUF GAMING X670E PLUS WIFI 2025-09-25 08:08:13 -07:00
asus_atk0110.c
asus_rog_ryujin.c
asus_wmi_sensors.c
atxp1.c
axi-fan-control.c include: linux: move adi-axi-common.h out of fpga 2025-06-30 17:57:15 -07:00
bt1-pvt.c
bt1-pvt.h
cgbc-hwmon.c hwmon: Add Congatec Board Controller monitoring driver 2025-03-17 11:15:53 -07:00
chipcap2.c
coretemp.c hwmon: (coretemp) Replace x86_model checks with VFM ones 2025-09-07 16:33:47 -07:00
corsair-cpro.c hwmon: (corsair-cpro) Validate the size of the received input buffer 2025-07-15 10:36:35 -07:00
corsair-psu.c hwmon: (corsair-psu) add support for HX1200i Series 2025 2025-07-20 16:38:34 -07:00
cros_ec_hwmon.c hwmon: (cros_ec) register fans into thermal framework cooling devices 2025-09-25 08:08:14 -07:00
da9052-hwmon.c
da9055-hwmon.c
dell-smm-hwmon.c hwmon: (dell-smm) Add support for Dell OptiPlex 7040 2025-09-24 07:50:42 -07:00
dme1737.c
drivetemp.c
ds620.c
ds1621.c
emc6w201.c
emc1403.c
emc2103.c
emc2305.c hwmon: (emc2305) Set initial PWM minimum value during probe based on thermal state 2025-07-20 16:38:34 -07:00
f71805f.c
f71882fg.c
f75375s.c
fam15h_power.c x86/msr: Rename 'rdmsrl_safe()' to 'rdmsrq_safe()' 2025-04-10 11:58:38 +02:00
fschmd.c
ftsteutates.c hwmon: (ftsteutates) Fix TOCTOU race in fts_read() 2025-06-16 06:30:57 -07:00
g760a.c
g762.c
gigabyte_waterforce.c
gl518sm.c
gl520sm.c
gpd-fan.c hwmon: (gpd-fan) Fix range check for pwm input 2025-09-24 07:38:33 -07:00
gpio-fan.c hwmon: (gpio-fan) Add regulator support 2025-04-23 07:18:27 -07:00
gsc-hwmon.c hwmon: (gsc-hwmon) fix fan pwm setpoint show functions 2025-07-20 16:37:09 -07:00
gxp-fan-ctrl.c
hih6130.c
hp-wmi-sensors.c hwmon: (hp-wmi-sensors) Use the WMI bus API when accessing sensors 2025-02-24 13:19:12 +02:00
hs3001.c
htu31.c hwmon: add driver for HTU31 2025-03-18 08:03:40 -07:00
hwmon-vid.c x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
hwmon.c hwmon: Serialize accesses in hwmon core 2025-09-08 06:24:50 -07:00
i5k_amb.c
i5500_temp.c
ibmaem.c hwmon: (ibmaem) match return type of wait_for_completion_timeout 2025-07-20 16:38:34 -07:00
ibmpex.c
ibmpowernv.c
iio_hwmon.c
ina2xx.c hwmon: (ina2xx) make regulator 'vs' support optional 2025-04-23 07:18:27 -07:00
ina209.c
ina238.c hwmon: (ina238) Add support for INA700 2025-09-07 16:35:12 -07:00
ina3221.c hwmon: (ina3221) Use per-client debugfs entry 2025-02-02 17:34:06 -08:00
intel-m10-bmc-hwmon.c
isl28022.c hwmon: (isl28022) Fix current reading calculation 2025-05-19 21:56:18 -07:00
it87.c
jc42.c
k8temp.c
k10temp.c hwmon: (k10temp) Add device ID for Strix Halo 2025-09-07 16:33:47 -07:00
kbatt.c hwmon: Add KEBA battery monitoring controller support 2025-04-23 07:18:27 -07:00
kfan.c hwmon: Add KEBA fan controller support 2025-05-12 18:05:54 -07:00
lan966x-hwmon.c
lenovo-ec-sensors.c hwmon: (lenovo-ec-sensors) Update P8 supprt 2025-09-07 16:33:47 -07:00
lineage-pem.c
lm63.c
lm70.c
lm73.c
lm75.c hwmon: (lm75) Add NXP P3T1750 support 2025-09-07 16:33:47 -07:00
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c
lm90.c hwmon: (lm90) Use to_delayed_work() 2025-04-23 07:18:27 -07:00
lm92.c
lm93.c
lm95234.c
lm95241.c
lm95245.c
lochnagar-hwmon.c
ltc2945.c
ltc2947-core.c
ltc2947-i2c.c
ltc2947-spi.c
ltc2947.h
ltc2990.c
ltc2991.c
ltc2992.c treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
ltc4151.c
ltc4215.c
ltc4222.c
ltc4245.c
ltc4260.c
ltc4261.c
ltc4282.c hwmon: (ltc4282) remove the use of dev_err_probe() 2025-09-07 16:33:47 -07:00
ltq-cputemp.c
max127.c
max197.c
max1111.c
max1619.c
max1668.c
max6620.c
max6621.c
max6639.c hwmon: (max6639) Allow setting target RPM 2025-04-23 07:18:27 -07:00
max6650.c
max6697.c
max16065.c
max31722.c
max31730.c
max31760.c
max31790.c
max31827.c hwmon: (max31827) use sysfs_emit() in temp1_resolution_show() 2025-07-20 16:38:34 -07:00
max77705-hwmon.c hwmon: (max77705) Add initial support 2025-04-23 07:21:15 -07:00
mc33xs2410_hwmon.c hwmon: add support for MC33XS2410 hardware monitoring 2025-07-24 09:20:39 +02:00
mc34vr500.c
mc13783-adc.c
mcp3021.c
menf21bmc_hwmon.c
mlxreg-fan.c hwmon: (mlxreg-fan) Add support for new flavour of capability register 2025-09-25 08:08:14 -07:00
mr75203.c
nct6683.c hwmon: (nct6683) Add customer ID for AMD BC-250 2025-03-02 08:14:41 -08:00
nct6694-hwmon.c hwmon: Add Nuvoton NCT6694 HWMON support 2025-09-16 14:41:57 +01:00
nct6775-core.c hwmon: (nct6775-core) Fix out of bounds access for NCT679{8,9} 2025-03-17 04:44:20 -07:00
nct6775-i2c.c
nct6775-platform.c hwmon: (nct6775) Use int type to store negative error codes 2025-09-07 16:33:47 -07:00
nct6775.h
nct7363.c hwmon: (isl28022, nct7363) Convert to use maple tree register cache 2025-05-01 20:10:36 -07:00
nct7802.c
nct7904.c
npcm750-pwm-fan.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
nsa320-hwmon.c
ntc_thermistor.c hwmon updates for v6.15 2025-03-25 19:55:29 -07:00
nzxt-kraken2.c
nzxt-kraken3.c
nzxt-smart2.c hwmon: (nzxt-smart2) Use devm_mutex_init() 2025-09-07 16:35:18 -07:00
pc87360.c
pc87427.c
pcf8591.c
powerz.c
powr1220.c
pt5161l.c hwmon: (pt5161l) Use per-client debugfs entry 2025-03-05 21:17:56 -08:00
pwm-fan.c hwmon: (pwm-fan) Implement after shutdown fan settings 2025-09-07 16:33:48 -07:00
qnap-mcu-hwmon.c hwmon: (qnap-mcu) Remove (explicitly) unused header 2025-04-23 07:18:26 -07:00
raspberrypi-hwmon.c
sa67mcu-hwmon.c hwmon: add SMARC-sAM67 support 2025-09-25 08:08:13 -07:00
sbtsi_temp.c hwmon: (sbtsi_temp) AMD CPU extended temperature range support 2025-09-07 16:33:47 -07:00
sch56xx-common.c hwmon: (sch56xx-common) don't print superfluous errors 2025-09-07 16:33:47 -07:00
sch56xx-common.h
sch5627.c
sch5636.c
scmi-hwmon.c
scpi-hwmon.c
sfctemp.c
sg2042-mcu.c hwmon: (sg2042) Add back module description/author tags 2025-02-06 18:51:18 -08:00
sht3x.c hwmon: (sht3x) Use per-client debugfs entry 2025-02-02 17:34:06 -08:00
sht4x.c
sht15.c
sht21.c hwmon: (sht21) Add devicetree support 2025-09-09 05:26:11 -07:00
shtc1.c
sis5595.c
sl28cpld-hwmon.c
smpro-hwmon.c
smsc47b397.c
smsc47m1.c
smsc47m192.c
sparx5-temp.c
spd5118.c hwmon: (spd5118) Detect and support 16-bit register addressing 2025-04-23 07:18:27 -07:00
stts751.c
surface_fan.c
surface_temp.c
sy7636a-hwmon.c hwmon: sy7636a: add alias 2025-09-09 05:26:43 -07:00
tc74.c
tc654.c
thmc50.c
tmp102.c hwmon: tmp102: Add support for label 2025-09-07 16:33:48 -07:00
tmp103.c
tmp108.c
tmp401.c
tmp421.c
tmp464.c
tmp513.c
tps23861.c hwmon: (tps23861) Use per-client debugfs entry 2025-02-02 17:34:06 -08:00
ultra45_env.c
vexpress-hwmon.c
via-cputemp.c
via686a.c
vt1211.c
vt8231.c
w83l785ts.c
w83l786ng.c
w83627ehf.c hwmon: (w83627ehf) make the read-only arrays 'bit' static const 2025-07-20 16:38:34 -07:00
w83627hf.c
w83773g.c
w83781d.c
w83791d.c
w83792d.c
w83793.c
w83795.c
wm831x-hwmon.c
wm8350-hwmon.c
xgene-hwmon.c hwmon: (xgene-hwmon) Simplify PCC shared memory region handling 2025-04-23 07:18:27 -07:00