linux/Documentation/hwmon
Nicolin Chen a9e9dd9c6d hwmon: (ina3221) Read channel input source info from DT
An ina3221 chip has three input ports. Each port is used
to measure the voltage and current of its input source.

The DT binding now has defined bindings for their input
sources, so the driver should read these information and
handle accordingly.

This patch adds a new structure of input source specific
information including input source label, shunt resistor
value and its connection status. It exposes these labels
via in[123]_label sysfs nodes upon available, and also
disables those channels where there are no input source
being connected. Meanwhile, it also adds in[123]_enable
sysfs nodes for users to get control of three channels,
and returns -ENODATA code for any sensor read according
to hwmon ABI.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-10-10 20:37:13 -07:00
..
ab8500 hwmon: Add ST-Ericsson ABX500 hwmon driver 2013-04-16 18:27:52 -07:00
abituguru hwmon: (abituguru) Fix typos in documentation 2016-06-27 18:58:02 -07:00
abituguru3 Fix common misspellings 2011-03-31 11:26:23 -03:00
abituguru-datasheet Documentation/hwmon/abituguru-datasheet fix a typo 2013-08-20 12:41:10 +02:00
abx500 hwmon: Add ST-Ericsson ABX500 hwmon driver 2013-04-16 18:27:52 -07:00
acpi_power_meter
ad7314 hwmon: AD7314 driver (ported from IIO) 2011-10-24 11:09:41 -07:00
adc128d818 hwmon: Driver for TI ADC128D818 2014-03-03 08:01:04 -08:00
adm1021 hwmon: (adm1021) Clarify documentation regarding Xeon processors 2011-04-29 16:33:36 +02:00
adm1025 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
adm1026 Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
adm1031 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
adm1275 hwmon: (pmbus/adm1275) Add support for ADM1272 2018-03-22 09:32:17 -07:00
adm9240 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
ads1015 hwmon: (ads1015) move header file out of I2C realm 2017-06-11 17:08:19 -07:00
ads7828 hwmon: (ads7828) add support for ADS7830 2012-12-05 10:55:54 -08:00
adt7410 hwmon: (adt7410) Add support for the adt7310/adt7320 2013-04-07 21:16:38 -07:00
adt7411
adt7462
adt7470 hwmon: (adt7470) Expose PWM frequency to sysfs 2016-09-08 21:34:16 -07:00
adt7475 hwmon: (adt7475) temperature smoothing 2017-06-11 17:08:19 -07:00
amc6821
asb100
asc7621
aspeed-pwm-tacho drivers: hwmon: Support for ASPEED PWM/Fan tach 2017-04-10 13:12:18 -07:00
coretemp hwmon: (coretemp) Document and add support for additional CPU models 2013-01-25 21:03:55 -08:00
da9052 hwmon: Fix spelling of Celsius 2012-10-10 15:25:56 +02:00
da9055 hwmon: DA9055 HWMON driver 2012-12-05 10:55:55 -08:00
dme1737 hwmon: (dme1737) Add support for in7 for SCH5127 2011-01-12 21:55:13 +01:00
ds620 hwmon: Support for Dallas Semiconductor DS620 2011-01-09 09:10:10 -08:00
ds1621 Documentation: fix spelling mistakes of "Celcius" -- > "Celsius" 2017-01-04 14:36:17 -07:00
emc6w201 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
emc1403 hwmon: (emc1403) Make all hyst attributes except for temp1_crit_hyst read-only 2014-05-21 16:02:24 -07:00
emc2103 hwmon: Add driver for SMSC EMC2103 temperature monitor and fan controller 2010-08-14 21:08:54 +02:00
f71805f Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
f71882fg hwmon: (f71882fg) Add support for the F71869A 2011-07-03 13:32:53 +02:00
fam15h_power hwmon: (fam15h_power) Add documentation for TDP and accumulated power algorithm 2016-04-19 06:32:35 -07:00
ftsteutates hwmon: (ftsteutates) Fix clearing alarm sysfs entries 2017-08-13 08:24:01 -07:00
g760a Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
g762 Add support for GMT G762/G763 PWM fan controllers 2013-06-27 10:31:42 -07:00
gl518sm Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
hih6130 hwmon: Honeywell Humidicon HIH-6130/HIH-6131 humidity and temperature sensor driver 2012-07-21 21:48:44 -07:00
hwmon-kernel-api.txt hwmon: (core) check parent dev != NULL when chip != NULL 2018-05-21 07:51:59 -07:00
ibm-cffps Documentation: hwmon: Document the IBM CFF power supply 2017-08-29 18:07:13 -07:00
ibmaem
ibmpowernv hwmon: (ibmpowernv) Add attributes to enable/disable sensor groups 2018-07-31 19:56:45 +10:00
ina2xx hwmon: (ina2xx) fix sysfs shunt resistor read access 2018-08-26 17:45:25 -07:00
ina209 hwmon: Driver for Texas Instruments INA209 2013-02-06 09:57:59 -08:00
ina3221 hwmon: (ina3221) Read channel input source info from DT 2018-10-10 20:37:13 -07:00
ir35221 hwmon: (pmbus) Add client driver for IR35221 2017-06-11 17:08:19 -07:00
it87 hwmon: (it87) Add support for IT8628E 2016-04-19 06:32:38 -07:00
jc42 hwmon: (jc42) Add support for Microchip MCP9808 temperature sensor 2016-06-27 18:58:04 -07:00
k8temp Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
k10temp hwmon: (k10temp) Add support for F15h M60h 2014-09-22 11:14:52 -07:00
lineage-pem hwmon: Update my e-mail address in driver documentation 2013-03-03 21:45:47 -08:00
lm63 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
lm70 hwmon: (lm70) Add support for TI TMP122/124 2017-01-21 12:26:38 -08:00
lm73 hwmon: (lm73) Add support for max/min alarms 2013-02-06 09:57:58 -08:00
lm75 hwmon: (lm75) Add MAX31725/6 support 2018-10-10 20:37:13 -07:00
lm77 hwmon: (lm77) Do not preserve hysteresis when updating critical temp limit 2014-05-21 16:02:20 -07:00
lm78 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
lm80 hwmon: (lm80) Add detection of NatSemi/TI LM96080 2012-03-18 18:27:43 -07:00
lm83 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
lm85 hwmon: (lm85) Add support for EMC6D103S 2011-03-14 22:36:25 -07:00
lm87 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
lm90 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
lm92 hwmon: (lm92) Add max6635 to lm92_id[] 2018-03-22 09:33:24 -07:00
lm93 hwmon: (lm93) Add support for LM94 2011-01-18 12:22:54 -08:00
lm25066 hwmon: (pmbus/lm25066) Drop support for LM25063 2018-01-02 15:05:34 -08:00
lm95234 hwmon: (lm95234) Add support for LM95233 2014-12-02 06:11:53 -08:00
lm95245 hwmon: (lm95245) Add support for LM95235 2014-12-02 03:44:18 -08:00
ltc2945 hwmon: Driver for Linear Technologies LTC2945 2014-03-03 08:01:03 -08:00
ltc2978 drivers: hwmon: (pmbus/ltc2978) Add support for LTM4686 uModule 2018-10-10 20:37:13 -07:00
ltc2990 hwmon: (ltc2990) support all measurement modes 2018-05-21 07:52:01 -07:00
ltc3815 hwmon: (pmbus) Add client driver for LTC3815 2015-12-18 08:20:59 -08:00
ltc4151 hwmon: Add support for LTC4151 2011-03-14 22:39:11 -07:00
ltc4215
ltc4245 hwmon: (ltc4245) move header file out of I2C realm 2017-06-11 17:08:19 -07:00
ltc4260 hwmon: Driver for Linear Technologies LTC4260 2014-03-03 08:01:03 -08:00
ltc4261 hwmon: Update my e-mail address in driver documentation 2013-03-03 21:45:47 -08:00
max197 hwmon: add Maxim MAX197 support 2012-09-23 21:08:33 -07:00
max1619 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
max1668 hwmon: (max1668) Fix typo in documentation 2016-06-27 18:58:02 -07:00
max6639 hwmon: Driver for Maxim MAX6639 2011-03-14 22:36:24 -07:00
max6642 hwmon: Add support for MAX6642 2011-05-19 08:19:32 -07:00
max6650 hwmon: (max6650) Allow fan shutdown and initial rpm target 2016-09-08 21:34:17 -07:00
max6697 hwmon: Driver for Maxim MAX6697 and compatibles 2013-02-06 09:57:56 -08:00
max8688 Doc: hwmon: Fix typo "montoring" in hwmon 2016-03-05 06:25:34 -08:00
max16064 Doc: hwmon: Fix typo "montoring" in hwmon 2016-03-05 06:25:34 -08:00
max16065 hwmon: Update my e-mail address in driver documentation 2013-03-03 21:45:47 -08:00
max20751 hwmon: (pmbus) Add support for MAX20751 2015-08-09 13:44:27 -07:00
max31722 hwmon: (max31722) Add support for MAX31722/MAX31723 temperature sensors 2016-04-19 06:32:34 -07:00
max31785 hwmon: (pmbus/max31785) Add dual tachometer support 2018-01-02 15:05:34 -08:00
max31790 hwmon: Driver for Maxim MAX31790 2015-10-14 07:57:14 -07:00
max34440 hwmon: (pmbus/max34440) Add support for MAX34451. 2018-07-08 20:08:13 -07:00
mc13783-adc hwmon: (mc13783-adc) Use nxp.com URLs 2018-10-10 20:37:13 -07:00
mcp3021 hwmon: (mcp3021) Add MCP3221 support 2012-09-23 21:08:36 -07:00
menf21bmc hwmon: (menf21bmc) Introduce MEN14F021P00 BMC HWMON driver 2014-09-24 15:36:33 +01:00
mlxreg-fan hwmon: (mlxreg-fan) Add support for Mellanox FAN driver 2018-07-08 20:08:13 -07:00
nct6683 hwmon: Driver for NCT6683D 2014-05-21 16:02:27 -07:00
nct6775 hwmon: (nct6775) Add support for NCT6796D 2018-03-10 19:00:14 -08:00
nct7802 hwmon: (nct7802) Add auto_point attributes 2015-08-09 13:44:27 -07:00
nct7904 hwmon: (nct7904) Rename pwm attributes to match hwmon ABI 2015-07-29 20:06:46 -07:00
npcm750-pwm-fan hwmon: Add NPCM7xx PWM and Fan driver 2018-07-08 20:08:13 -07:00
nsa320 hwmon: Create an NSA320 hardware monitoring driver 2016-03-08 18:40:49 -08:00
ntc_thermistor hwmon: (ntc_thermistor) Add support for ncpXXxh103 2016-03-05 06:25:34 -08:00
pc87360 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
pc87427 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
pcf8591 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
pmbus Doc: hwmon: Fix typo "montoring" in hwmon 2016-03-05 06:25:34 -08:00
pmbus-core hwmon: (pmbus) move header file out of I2C realm 2017-06-11 17:08:19 -07:00
powr1220 hwmon: Add support for Lattice's POWR1220 power manager IC 2014-08-04 07:01:33 -07:00
pwm-fan hwmon: Add pwm-fan driver 2014-08-04 07:01:38 -07:00
raspberrypi-hwmon hwmon: Add support for RPi voltage sensor 2018-07-09 10:47:27 -07:00
sch5627 hwmon: (sch56xx) Add support for the integrated watchdog (v2) 2012-03-20 06:42:05 -07:00
sch5636 hwmon: (sch56xx) Add support for the integrated watchdog (v2) 2012-03-20 06:42:05 -07:00
scpi-hwmon hwmon: Support sensors exported via ARM SCP interface 2015-10-09 11:05:52 +01:00
sht3x hwmon: (sht3x) Update data sheet URL 2018-03-10 19:00:14 -08:00
sht15 hwmon: (sht15) Root out platform data 2017-10-29 18:36:03 -07:00
sht21 hwmon: (sht21) Update data sheet URLs 2018-03-10 19:00:14 -08:00
shtc1 hwmon: add support for Sensirion SHTC1 sensor 2014-06-12 08:36:48 -07:00
sis5595
smm665 hwmon: Update my e-mail address in driver documentation 2013-03-03 21:45:47 -08:00
smsc47b397
smsc47m1 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
smsc47m192
submitting-patches docs: fix locations of several documents that got moved 2016-10-24 08:12:35 -02:00
sysfs-interface hwmon: Document the sensor enable attribute 2018-07-08 20:08:13 -07:00
tc74 hwmon: add driver for Microchip TC74 2015-06-21 22:54:53 -07:00
tc654 docs: hwmon: Fix typo "Microship" should be "Microchip" 2017-04-02 07:01:53 -07:00
thmc50 Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
tmp102
tmp103 hwmon: Driver for TI TMP103 temperature sensor 2014-08-04 07:01:33 -07:00
tmp108 hwmon: Add Texas Instruments TMP108 temperature sensor driver. 2016-12-09 21:54:25 -08:00
tmp401 hwmon: (tmp401) Add support for TI TMP461 2016-06-27 18:58:03 -07:00
tmp421 hwmon: (tmp421) Add support for TMP441 and TMP442 2014-08-04 07:01:38 -07:00
tps40422 hwmon: (pmbus) Add tps40422 front-end driver 2014-08-04 07:01:38 -07:00
twl4030-madc-hwmon hwmon: Fix spelling of Celsius 2012-10-10 15:25:56 +02:00
ucd9000 hwmon: (ucd9000) Add support for UCD90160 Power Supply Sequencer 2016-09-08 21:34:16 -07:00
ucd9200 hwmon: Update my e-mail address in driver documentation 2013-03-03 21:45:47 -08:00
userspace-tools
vexpress hwmon: Versatile Express hwmon driver 2012-10-16 17:12:35 +01:00
via686a Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
vt1211
w83l785ts Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
w83l786ng
w83627ehf Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
w83627hf hwmon: (w83627hf) Document W83627THF voltage pin mapping 2011-01-12 21:55:11 +01:00
w83773g hwmon: (w83773g) Add documentation 2018-01-02 15:05:34 -08:00
w83781d Fix common misspellings 2011-03-31 11:26:23 -03:00
w83791d hwmon: (w83792d) Update module author 2013-09-06 14:05:42 +02:00
w83792d hwmon: (w83792d) Additional PWM outputs support 2015-07-03 14:39:05 +02:00
w83793 hwmon: (w83793) Implement the standard intrusion detection interface 2011-01-12 21:55:10 +01:00
w83795 Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
wm831x Fix typo milivolt => millivolt 2012-04-05 16:58:23 -07:00
wm8350
xgene-hwmon hwmon: Add xgene hwmon driver 2016-09-08 21:34:16 -07:00
zl6100 Doc: hwmon: Fix typo "montoring" in hwmon 2016-03-05 06:25:34 -08:00