* Re: [PATCH v3 21/21] docs: hwmon: Add an index file and rename docs to *.rst
From: Mauro Carvalho Chehab @ 2019-04-17 17:13 UTC (permalink / raw)
To: Guenter Roeck
Cc: Mark Rutland, Dirk Eibach, linux-aspeed, Linux Doc Mailing List,
Clemens Ladisch, Kamil Debski, Marc Hulsman, devicetree,
Huang Rui, Paul Mackerras, Jim Cromie, Lorenzo Pieralisi,
Jonathan Corbet, Joel Stanley, Steve Glendinning, Fenghua Yu,
Jean Delvare, Bartlomiej Zolnierkiewicz, Liviu Dudau,
Mauro Carvalho Chehab, Hans de Goede, Rob Herring, Rudolf Marek,
linux-arm-kernel, linux-hwmon, Support Opensource, George Joseph,
Andreas Werner, Andrew Jeffery, patches, linux-kernel,
Juerg Haefliger, Sudeep Holla, linuxppc-dev
In-Reply-To: <20190417164741.GA12147@roeck-us.net>
Em Wed, 17 Apr 2019 09:47:41 -0700
Guenter Roeck <linux@roeck-us.net> escreveu:
> On Wed, Apr 17, 2019 at 06:46:29AM -0300, Mauro Carvalho Chehab wrote:
> > Now that all files were converted to ReST format, rename them
> > and add an index.
> >
> > Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
> > Acked-by: Liviu Dudau <liviu.dudau@arm.com>
>
> I applied all patches except this one, which fails due to a conflict in
> ab8500. I also notice that this file has not been touched by your series,
> which is odd. At the same time, patch 20/21 is missing from your series,
> and has been missing all along. Does the missing patch possibly touch
> Documentation/hwmon/ab8500 ?
Patch 20/21 is the biggest one. Maybe vger rejected it either due to
its size or due to the number of c/c.
Just bounced it to you. Please let me know if you didn't receive it
yet.
Regards,
Mauro
>
> Thanks,
> Guenter
>
> > ---
> > .../devicetree/bindings/hwmon/g762.txt | 2 +-
> > Documentation/hwmon/{ab8500 => ab8500.rst} | 2 +-
> > ...guru-datasheet => abituguru-datasheet.rst} | 0
> > .../hwmon/{abituguru => abituguru.rst} | 0
> > .../hwmon/{abituguru3 => abituguru3.rst} | 0
> > Documentation/hwmon/{abx500 => abx500.rst} | 0
> > ...{acpi_power_meter => acpi_power_meter.rst} | 2 +-
> > Documentation/hwmon/{ad7314 => ad7314.rst} | 0
> > .../hwmon/{adc128d818 => adc128d818.rst} | 0
> > Documentation/hwmon/{adm1021 => adm1021.rst} | 0
> > Documentation/hwmon/{adm1025 => adm1025.rst} | 0
> > Documentation/hwmon/{adm1026 => adm1026.rst} | 0
> > Documentation/hwmon/{adm1031 => adm1031.rst} | 0
> > Documentation/hwmon/{adm1275 => adm1275.rst} | 4 +-
> > Documentation/hwmon/{adm9240 => adm9240.rst} | 0
> > Documentation/hwmon/{ads1015 => ads1015.rst} | 0
> > Documentation/hwmon/{ads7828 => ads7828.rst} | 0
> > Documentation/hwmon/{adt7410 => adt7410.rst} | 0
> > Documentation/hwmon/{adt7411 => adt7411.rst} | 0
> > Documentation/hwmon/{adt7462 => adt7462.rst} | 1 -
> > Documentation/hwmon/{adt7470 => adt7470.rst} | 0
> > Documentation/hwmon/{adt7475 => adt7475.rst} | 0
> > Documentation/hwmon/{amc6821 => amc6821.rst} | 1 -
> > Documentation/hwmon/{asb100 => asb100.rst} | 1 -
> > Documentation/hwmon/{asc7621 => asc7621.rst} | 0
> > ...{aspeed-pwm-tacho => aspeed-pwm-tacho.rst} | 0
> > .../hwmon/{coretemp => coretemp.rst} | 0
> > Documentation/hwmon/{da9052 => da9052.rst} | 0
> > Documentation/hwmon/{da9055 => da9055.rst} | 0
> > Documentation/hwmon/{dme1737 => dme1737.rst} | 0
> > Documentation/hwmon/{ds1621 => ds1621.rst} | 0
> > Documentation/hwmon/{ds620 => ds620.rst} | 0
> > Documentation/hwmon/{emc1403 => emc1403.rst} | 0
> > Documentation/hwmon/{emc2103 => emc2103.rst} | 0
> > .../hwmon/{emc6w201 => emc6w201.rst} | 0
> > Documentation/hwmon/{f71805f => f71805f.rst} | 0
> > .../hwmon/{f71882fg => f71882fg.rst} | 0
> > .../hwmon/{fam15h_power => fam15h_power.rst} | 0
> > .../hwmon/{ftsteutates => ftsteutates.rst} | 0
> > Documentation/hwmon/{g760a => g760a.rst} | 0
> > Documentation/hwmon/{g762 => g762.rst} | 2 +-
> > Documentation/hwmon/{gl518sm => gl518sm.rst} | 0
> > Documentation/hwmon/{hih6130 => hih6130.rst} | 0
> > ...on-kernel-api.txt => hwmon-kernel-api.rst} | 4 +-
> > .../hwmon/{ibm-cffps => ibm-cffps.rst} | 0
> > Documentation/hwmon/{ibmaem => ibmaem.rst} | 0
> > .../hwmon/{ibmpowernv => ibmpowernv.rst} | 0
> > Documentation/hwmon/{ina209 => ina209.rst} | 0
> > Documentation/hwmon/{ina2xx => ina2xx.rst} | 2 +-
> > Documentation/hwmon/{ina3221 => ina3221.rst} | 0
> > Documentation/hwmon/index.rst | 179 ++++++++++++++++++
> > Documentation/hwmon/{ir35221 => ir35221.rst} | 0
> > Documentation/hwmon/{it87 => it87.rst} | 0
> > Documentation/hwmon/{jc42 => jc42.rst} | 0
> > Documentation/hwmon/{k10temp => k10temp.rst} | 0
> > Documentation/hwmon/{k8temp => k8temp.rst} | 0
> > .../hwmon/{lineage-pem => lineage-pem.rst} | 0
> > Documentation/hwmon/{lm25066 => lm25066.rst} | 2 +-
> > Documentation/hwmon/{lm63 => lm63.rst} | 0
> > Documentation/hwmon/{lm70 => lm70.rst} | 0
> > Documentation/hwmon/{lm73 => lm73.rst} | 0
> > Documentation/hwmon/{lm75 => lm75.rst} | 0
> > Documentation/hwmon/{lm77 => lm77.rst} | 0
> > Documentation/hwmon/{lm78 => lm78.rst} | 0
> > Documentation/hwmon/{lm80 => lm80.rst} | 0
> > Documentation/hwmon/{lm83 => lm83.rst} | 0
> > Documentation/hwmon/{lm85 => lm85.rst} | 0
> > Documentation/hwmon/{lm87 => lm87.rst} | 0
> > Documentation/hwmon/{lm90 => lm90.rst} | 0
> > Documentation/hwmon/{lm92 => lm92.rst} | 0
> > Documentation/hwmon/{lm93 => lm93.rst} | 0
> > Documentation/hwmon/{lm95234 => lm95234.rst} | 0
> > Documentation/hwmon/{lm95245 => lm95245.rst} | 0
> > Documentation/hwmon/{ltc2945 => ltc2945.rst} | 0
> > Documentation/hwmon/{ltc2978 => ltc2978.rst} | 0
> > Documentation/hwmon/{ltc2990 => ltc2990.rst} | 0
> > Documentation/hwmon/{ltc3815 => ltc3815.rst} | 0
> > Documentation/hwmon/{ltc4151 => ltc4151.rst} | 0
> > Documentation/hwmon/{ltc4215 => ltc4215.rst} | 0
> > Documentation/hwmon/{ltc4245 => ltc4245.rst} | 0
> > Documentation/hwmon/{ltc4260 => ltc4260.rst} | 0
> > Documentation/hwmon/{ltc4261 => ltc4261.rst} | 0
> > .../hwmon/{max16064 => max16064.rst} | 2 +-
> > .../hwmon/{max16065 => max16065.rst} | 0
> > Documentation/hwmon/{max1619 => max1619.rst} | 1 -
> > Documentation/hwmon/{max1668 => max1668.rst} | 0
> > Documentation/hwmon/{max197 => max197.rst} | 0
> > .../hwmon/{max20751 => max20751.rst} | 2 +-
> > .../hwmon/{max31722 => max31722.rst} | 0
> > .../hwmon/{max31785 => max31785.rst} | 0
> > .../hwmon/{max31790 => max31790.rst} | 0
> > .../hwmon/{max34440 => max34440.rst} | 2 +-
> > Documentation/hwmon/{max6639 => max6639.rst} | 0
> > Documentation/hwmon/{max6642 => max6642.rst} | 0
> > Documentation/hwmon/{max6650 => max6650.rst} | 1 -
> > Documentation/hwmon/{max6697 => max6697.rst} | 0
> > Documentation/hwmon/{max8688 => max8688.rst} | 2 +-
> > .../hwmon/{mc13783-adc => mc13783-adc.rst} | 0
> > Documentation/hwmon/{mcp3021 => mcp3021.rst} | 0
> > .../hwmon/{menf21bmc => menf21bmc.rst} | 0
> > .../hwmon/{mlxreg-fan => mlxreg-fan.rst} | 0
> > Documentation/hwmon/{nct6683 => nct6683.rst} | 0
> > Documentation/hwmon/{nct6775 => nct6775.rst} | 0
> > Documentation/hwmon/{nct7802 => nct7802.rst} | 0
> > Documentation/hwmon/{nct7904 => nct7904.rst} | 0
> > .../{npcm750-pwm-fan => npcm750-pwm-fan.rst} | 0
> > Documentation/hwmon/{nsa320 => nsa320.rst} | 0
> > .../{ntc_thermistor => ntc_thermistor.rst} | 0
> > Documentation/hwmon/{occ => occ.rst} | 0
> > Documentation/hwmon/{pc87360 => pc87360.rst} | 0
> > Documentation/hwmon/{pc87427 => pc87427.rst} | 0
> > Documentation/hwmon/{pcf8591 => pcf8591.rst} | 0
> > .../hwmon/{pmbus-core => pmbus-core.rst} | 0
> > Documentation/hwmon/{pmbus => pmbus.rst} | 0
> > .../hwmon/{powr1220 => powr1220.rst} | 0
> > Documentation/hwmon/{pwm-fan => pwm-fan.rst} | 0
> > ...aspberrypi-hwmon => raspberrypi-hwmon.rst} | 0
> > Documentation/hwmon/{sch5627 => sch5627.rst} | 0
> > Documentation/hwmon/{sch5636 => sch5636.rst} | 0
> > .../hwmon/{scpi-hwmon => scpi-hwmon.rst} | 0
> > Documentation/hwmon/{sht15 => sht15.rst} | 0
> > Documentation/hwmon/{sht21 => sht21.rst} | 0
> > Documentation/hwmon/{sht3x => sht3x.rst} | 0
> > Documentation/hwmon/{shtc1 => shtc1.rst} | 0
> > Documentation/hwmon/{sis5595 => sis5595.rst} | 1 -
> > Documentation/hwmon/{smm665 => smm665.rst} | 0
> > .../hwmon/{smsc47b397 => smsc47b397.rst} | 0
> > .../hwmon/{smsc47m1 => smsc47m1.rst} | 0
> > .../hwmon/{smsc47m192 => smsc47m192.rst} | 0
> > ...mitting-patches => submitting-patches.rst} | 6 +-
> > .../{sysfs-interface => sysfs-interface.rst} | 0
> > Documentation/hwmon/{tc654 => tc654.rst} | 0
> > Documentation/hwmon/{tc74 => tc74.rst} | 0
> > Documentation/hwmon/{thmc50 => thmc50.rst} | 1 -
> > Documentation/hwmon/{tmp102 => tmp102.rst} | 2 +-
> > Documentation/hwmon/{tmp103 => tmp103.rst} | 2 +-
> > Documentation/hwmon/{tmp108 => tmp108.rst} | 2 +-
> > Documentation/hwmon/{tmp401 => tmp401.rst} | 2 +-
> > Documentation/hwmon/{tmp421 => tmp421.rst} | 0
> > .../hwmon/{tps40422 => tps40422.rst} | 2 +-
> > ...4030-madc-hwmon => twl4030-madc-hwmon.rst} | 0
> > Documentation/hwmon/{ucd9000 => ucd9000.rst} | 4 +-
> > Documentation/hwmon/{ucd9200 => ucd9200.rst} | 4 +-
> > .../{userspace-tools => userspace-tools.rst} | 0
> > .../hwmon/{vexpress => vexpress.rst} | 0
> > Documentation/hwmon/{via686a => via686a.rst} | 0
> > Documentation/hwmon/{vt1211 => vt1211.rst} | 0
> > .../hwmon/{w83627ehf => w83627ehf.rst} | 0
> > .../hwmon/{w83627hf => w83627hf.rst} | 0
> > Documentation/hwmon/{w83773g => w83773g.rst} | 0
> > Documentation/hwmon/{w83781d => w83781d.rst} | 0
> > Documentation/hwmon/{w83791d => w83791d.rst} | 2 +-
> > Documentation/hwmon/{w83792d => w83792d.rst} | 0
> > Documentation/hwmon/{w83793 => w83793.rst} | 0
> > Documentation/hwmon/{w83795 => w83795.rst} | 0
> > .../hwmon/{w83l785ts => w83l785ts.rst} | 0
> > .../hwmon/{w83l786ng => w83l786ng.rst} | 0
> > Documentation/hwmon/{wm831x => wm831x.rst} | 0
> > Documentation/hwmon/{wm8350 => wm8350.rst} | 0
> > .../hwmon/{xgene-hwmon => xgene-hwmon.rst} | 0
> > Documentation/hwmon/{zl6100 => zl6100.rst} | 2 +-
> > Documentation/index.rst | 1 +
> > Documentation/thermal/sysfs-api.txt | 2 +-
> > MAINTAINERS | 108 +++++------
> > drivers/hwmon/Kconfig | 8 +-
> > drivers/hwmon/ads7828.c | 2 +-
> > drivers/hwmon/max197.c | 2 +-
> > drivers/hwmon/sht15.c | 2 +-
> > include/linux/platform_data/ads7828.h | 2 +-
> > include/linux/platform_data/ds620.h | 2 +-
> > include/linux/platform_data/ina2xx.h | 2 +-
> > include/linux/platform_data/max197.h | 2 +-
> > include/linux/platform_data/ntc_thermistor.h | 2 +-
> > 173 files changed, 275 insertions(+), 102 deletions(-)
> > rename Documentation/hwmon/{ab8500 => ab8500.rst} (86%)
> > rename Documentation/hwmon/{abituguru-datasheet => abituguru-datasheet.rst} (100%)
> > rename Documentation/hwmon/{abituguru => abituguru.rst} (100%)
> > rename Documentation/hwmon/{abituguru3 => abituguru3.rst} (100%)
> > rename Documentation/hwmon/{abx500 => abx500.rst} (100%)
> > rename Documentation/hwmon/{acpi_power_meter => acpi_power_meter.rst} (97%)
> > rename Documentation/hwmon/{ad7314 => ad7314.rst} (100%)
> > rename Documentation/hwmon/{adc128d818 => adc128d818.rst} (100%)
> > rename Documentation/hwmon/{adm1021 => adm1021.rst} (100%)
> > rename Documentation/hwmon/{adm1025 => adm1025.rst} (100%)
> > rename Documentation/hwmon/{adm1026 => adm1026.rst} (100%)
> > rename Documentation/hwmon/{adm1031 => adm1031.rst} (100%)
> > rename Documentation/hwmon/{adm1275 => adm1275.rst} (97%)
> > rename Documentation/hwmon/{adm9240 => adm9240.rst} (100%)
> > rename Documentation/hwmon/{ads1015 => ads1015.rst} (100%)
> > rename Documentation/hwmon/{ads7828 => ads7828.rst} (100%)
> > rename Documentation/hwmon/{adt7410 => adt7410.rst} (100%)
> > rename Documentation/hwmon/{adt7411 => adt7411.rst} (100%)
> > rename Documentation/hwmon/{adt7462 => adt7462.rst} (99%)
> > rename Documentation/hwmon/{adt7470 => adt7470.rst} (100%)
> > rename Documentation/hwmon/{adt7475 => adt7475.rst} (100%)
> > rename Documentation/hwmon/{amc6821 => amc6821.rst} (99%)
> > rename Documentation/hwmon/{asb100 => asb100.rst} (99%)
> > rename Documentation/hwmon/{asc7621 => asc7621.rst} (100%)
> > rename Documentation/hwmon/{aspeed-pwm-tacho => aspeed-pwm-tacho.rst} (100%)
> > rename Documentation/hwmon/{coretemp => coretemp.rst} (100%)
> > rename Documentation/hwmon/{da9052 => da9052.rst} (100%)
> > rename Documentation/hwmon/{da9055 => da9055.rst} (100%)
> > rename Documentation/hwmon/{dme1737 => dme1737.rst} (100%)
> > rename Documentation/hwmon/{ds1621 => ds1621.rst} (100%)
> > rename Documentation/hwmon/{ds620 => ds620.rst} (100%)
> > rename Documentation/hwmon/{emc1403 => emc1403.rst} (100%)
> > rename Documentation/hwmon/{emc2103 => emc2103.rst} (100%)
> > rename Documentation/hwmon/{emc6w201 => emc6w201.rst} (100%)
> > rename Documentation/hwmon/{f71805f => f71805f.rst} (100%)
> > rename Documentation/hwmon/{f71882fg => f71882fg.rst} (100%)
> > rename Documentation/hwmon/{fam15h_power => fam15h_power.rst} (100%)
> > rename Documentation/hwmon/{ftsteutates => ftsteutates.rst} (100%)
> > rename Documentation/hwmon/{g760a => g760a.rst} (100%)
> > rename Documentation/hwmon/{g762 => g762.rst} (97%)
> > rename Documentation/hwmon/{gl518sm => gl518sm.rst} (100%)
> > rename Documentation/hwmon/{hih6130 => hih6130.rst} (100%)
> > rename Documentation/hwmon/{hwmon-kernel-api.txt => hwmon-kernel-api.rst} (99%)
> > rename Documentation/hwmon/{ibm-cffps => ibm-cffps.rst} (100%)
> > rename Documentation/hwmon/{ibmaem => ibmaem.rst} (100%)
> > rename Documentation/hwmon/{ibmpowernv => ibmpowernv.rst} (100%)
> > rename Documentation/hwmon/{ina209 => ina209.rst} (100%)
> > rename Documentation/hwmon/{ina2xx => ina2xx.rst} (97%)
> > rename Documentation/hwmon/{ina3221 => ina3221.rst} (100%)
> > create mode 100644 Documentation/hwmon/index.rst
> > rename Documentation/hwmon/{ir35221 => ir35221.rst} (100%)
> > rename Documentation/hwmon/{it87 => it87.rst} (100%)
> > rename Documentation/hwmon/{jc42 => jc42.rst} (100%)
> > rename Documentation/hwmon/{k10temp => k10temp.rst} (100%)
> > rename Documentation/hwmon/{k8temp => k8temp.rst} (100%)
> > rename Documentation/hwmon/{lineage-pem => lineage-pem.rst} (100%)
> > rename Documentation/hwmon/{lm25066 => lm25066.rst} (97%)
> > rename Documentation/hwmon/{lm63 => lm63.rst} (100%)
> > rename Documentation/hwmon/{lm70 => lm70.rst} (100%)
> > rename Documentation/hwmon/{lm73 => lm73.rst} (100%)
> > rename Documentation/hwmon/{lm75 => lm75.rst} (100%)
> > rename Documentation/hwmon/{lm77 => lm77.rst} (100%)
> > rename Documentation/hwmon/{lm78 => lm78.rst} (100%)
> > rename Documentation/hwmon/{lm80 => lm80.rst} (100%)
> > rename Documentation/hwmon/{lm83 => lm83.rst} (100%)
> > rename Documentation/hwmon/{lm85 => lm85.rst} (100%)
> > rename Documentation/hwmon/{lm87 => lm87.rst} (100%)
> > rename Documentation/hwmon/{lm90 => lm90.rst} (100%)
> > rename Documentation/hwmon/{lm92 => lm92.rst} (100%)
> > rename Documentation/hwmon/{lm93 => lm93.rst} (100%)
> > rename Documentation/hwmon/{lm95234 => lm95234.rst} (100%)
> > rename Documentation/hwmon/{lm95245 => lm95245.rst} (100%)
> > rename Documentation/hwmon/{ltc2945 => ltc2945.rst} (100%)
> > rename Documentation/hwmon/{ltc2978 => ltc2978.rst} (100%)
> > rename Documentation/hwmon/{ltc2990 => ltc2990.rst} (100%)
> > rename Documentation/hwmon/{ltc3815 => ltc3815.rst} (100%)
> > rename Documentation/hwmon/{ltc4151 => ltc4151.rst} (100%)
> > rename Documentation/hwmon/{ltc4215 => ltc4215.rst} (100%)
> > rename Documentation/hwmon/{ltc4245 => ltc4245.rst} (100%)
> > rename Documentation/hwmon/{ltc4260 => ltc4260.rst} (100%)
> > rename Documentation/hwmon/{ltc4261 => ltc4261.rst} (100%)
> > rename Documentation/hwmon/{max16064 => max16064.rst} (96%)
> > rename Documentation/hwmon/{max16065 => max16065.rst} (100%)
> > rename Documentation/hwmon/{max1619 => max1619.rst} (99%)
> > rename Documentation/hwmon/{max1668 => max1668.rst} (100%)
> > rename Documentation/hwmon/{max197 => max197.rst} (100%)
> > rename Documentation/hwmon/{max20751 => max20751.rst} (96%)
> > rename Documentation/hwmon/{max31722 => max31722.rst} (100%)
> > rename Documentation/hwmon/{max31785 => max31785.rst} (100%)
> > rename Documentation/hwmon/{max31790 => max31790.rst} (100%)
> > rename Documentation/hwmon/{max34440 => max34440.rst} (98%)
> > rename Documentation/hwmon/{max6639 => max6639.rst} (100%)
> > rename Documentation/hwmon/{max6642 => max6642.rst} (100%)
> > rename Documentation/hwmon/{max6650 => max6650.rst} (99%)
> > rename Documentation/hwmon/{max6697 => max6697.rst} (100%)
> > rename Documentation/hwmon/{max8688 => max8688.rst} (97%)
> > rename Documentation/hwmon/{mc13783-adc => mc13783-adc.rst} (100%)
> > rename Documentation/hwmon/{mcp3021 => mcp3021.rst} (100%)
> > rename Documentation/hwmon/{menf21bmc => menf21bmc.rst} (100%)
> > rename Documentation/hwmon/{mlxreg-fan => mlxreg-fan.rst} (100%)
> > rename Documentation/hwmon/{nct6683 => nct6683.rst} (100%)
> > rename Documentation/hwmon/{nct6775 => nct6775.rst} (100%)
> > rename Documentation/hwmon/{nct7802 => nct7802.rst} (100%)
> > rename Documentation/hwmon/{nct7904 => nct7904.rst} (100%)
> > rename Documentation/hwmon/{npcm750-pwm-fan => npcm750-pwm-fan.rst} (100%)
> > rename Documentation/hwmon/{nsa320 => nsa320.rst} (100%)
> > rename Documentation/hwmon/{ntc_thermistor => ntc_thermistor.rst} (100%)
> > rename Documentation/hwmon/{occ => occ.rst} (100%)
> > rename Documentation/hwmon/{pc87360 => pc87360.rst} (100%)
> > rename Documentation/hwmon/{pc87427 => pc87427.rst} (100%)
> > rename Documentation/hwmon/{pcf8591 => pcf8591.rst} (100%)
> > rename Documentation/hwmon/{pmbus-core => pmbus-core.rst} (100%)
> > rename Documentation/hwmon/{pmbus => pmbus.rst} (100%)
> > rename Documentation/hwmon/{powr1220 => powr1220.rst} (100%)
> > rename Documentation/hwmon/{pwm-fan => pwm-fan.rst} (100%)
> > rename Documentation/hwmon/{raspberrypi-hwmon => raspberrypi-hwmon.rst} (100%)
> > rename Documentation/hwmon/{sch5627 => sch5627.rst} (100%)
> > rename Documentation/hwmon/{sch5636 => sch5636.rst} (100%)
> > rename Documentation/hwmon/{scpi-hwmon => scpi-hwmon.rst} (100%)
> > rename Documentation/hwmon/{sht15 => sht15.rst} (100%)
> > rename Documentation/hwmon/{sht21 => sht21.rst} (100%)
> > rename Documentation/hwmon/{sht3x => sht3x.rst} (100%)
> > rename Documentation/hwmon/{shtc1 => shtc1.rst} (100%)
> > rename Documentation/hwmon/{sis5595 => sis5595.rst} (99%)
> > rename Documentation/hwmon/{smm665 => smm665.rst} (100%)
> > rename Documentation/hwmon/{smsc47b397 => smsc47b397.rst} (100%)
> > rename Documentation/hwmon/{smsc47m1 => smsc47m1.rst} (100%)
> > rename Documentation/hwmon/{smsc47m192 => smsc47m192.rst} (100%)
> > rename Documentation/hwmon/{submitting-patches => submitting-patches.rst} (98%)
> > rename Documentation/hwmon/{sysfs-interface => sysfs-interface.rst} (100%)
> > rename Documentation/hwmon/{tc654 => tc654.rst} (100%)
> > rename Documentation/hwmon/{tc74 => tc74.rst} (100%)
> > rename Documentation/hwmon/{thmc50 => thmc50.rst} (99%)
> > rename Documentation/hwmon/{tmp102 => tmp102.rst} (93%)
> > rename Documentation/hwmon/{tmp103 => tmp103.rst} (92%)
> > rename Documentation/hwmon/{tmp108 => tmp108.rst} (95%)
> > rename Documentation/hwmon/{tmp401 => tmp401.rst} (97%)
> > rename Documentation/hwmon/{tmp421 => tmp421.rst} (100%)
> > rename Documentation/hwmon/{tps40422 => tps40422.rst} (96%)
> > rename Documentation/hwmon/{twl4030-madc-hwmon => twl4030-madc-hwmon.rst} (100%)
> > rename Documentation/hwmon/{ucd9000 => ucd9000.rst} (97%)
> > rename Documentation/hwmon/{ucd9200 => ucd9200.rst} (97%)
> > rename Documentation/hwmon/{userspace-tools => userspace-tools.rst} (100%)
> > rename Documentation/hwmon/{vexpress => vexpress.rst} (100%)
> > rename Documentation/hwmon/{via686a => via686a.rst} (100%)
> > rename Documentation/hwmon/{vt1211 => vt1211.rst} (100%)
> > rename Documentation/hwmon/{w83627ehf => w83627ehf.rst} (100%)
> > rename Documentation/hwmon/{w83627hf => w83627hf.rst} (100%)
> > rename Documentation/hwmon/{w83773g => w83773g.rst} (100%)
> > rename Documentation/hwmon/{w83781d => w83781d.rst} (100%)
> > rename Documentation/hwmon/{w83791d => w83791d.rst} (99%)
> > rename Documentation/hwmon/{w83792d => w83792d.rst} (100%)
> > rename Documentation/hwmon/{w83793 => w83793.rst} (100%)
> > rename Documentation/hwmon/{w83795 => w83795.rst} (100%)
> > rename Documentation/hwmon/{w83l785ts => w83l785ts.rst} (100%)
> > rename Documentation/hwmon/{w83l786ng => w83l786ng.rst} (100%)
> > rename Documentation/hwmon/{wm831x => wm831x.rst} (100%)
> > rename Documentation/hwmon/{wm8350 => wm8350.rst} (100%)
> > rename Documentation/hwmon/{xgene-hwmon => xgene-hwmon.rst} (100%)
> > rename Documentation/hwmon/{zl6100 => zl6100.rst} (98%)
> >
> > diff --git a/Documentation/devicetree/bindings/hwmon/g762.txt b/Documentation/devicetree/bindings/hwmon/g762.txt
> > index 25cc6d8ee575..6d154c4923de 100644
> > --- a/Documentation/devicetree/bindings/hwmon/g762.txt
> > +++ b/Documentation/devicetree/bindings/hwmon/g762.txt
> > @@ -21,7 +21,7 @@ If an optional property is not set in .dts file, then current value is kept
> > unmodified (e.g. u-boot installed value).
> >
> > Additional information on operational parameters for the device is available
> > -in Documentation/hwmon/g762. A detailed datasheet for the device is available
> > +in Documentation/hwmon/g762.rst. A detailed datasheet for the device is available
> > at http://natisbad.org/NAS/refs/GMT_EDS-762_763-080710-0.2.pdf.
> >
> > Example g762 node:
> > diff --git a/Documentation/hwmon/ab8500 b/Documentation/hwmon/ab8500.rst
> > similarity index 86%
> > rename from Documentation/hwmon/ab8500
> > rename to Documentation/hwmon/ab8500.rst
> > index d87c61151239..33f93a9cec04 100644
> > --- a/Documentation/hwmon/ab8500
> > +++ b/Documentation/hwmon/ab8500.rst
> > @@ -18,7 +18,7 @@ Authors:
> > Description
> > -----------
> >
> > -See also Documentation/hwmon/abx500. This is the ST-Ericsson AB8500 specific
> > +See also Documentation/hwmon/abx500.rst. This is the ST-Ericsson AB8500 specific
> > driver.
> >
> > Currently only the AB8500 internal sensor and one external sensor for battery
> > diff --git a/Documentation/hwmon/abituguru-datasheet b/Documentation/hwmon/abituguru-datasheet.rst
> > similarity index 100%
> > rename from Documentation/hwmon/abituguru-datasheet
> > rename to Documentation/hwmon/abituguru-datasheet.rst
> > diff --git a/Documentation/hwmon/abituguru b/Documentation/hwmon/abituguru.rst
> > similarity index 100%
> > rename from Documentation/hwmon/abituguru
> > rename to Documentation/hwmon/abituguru.rst
> > diff --git a/Documentation/hwmon/abituguru3 b/Documentation/hwmon/abituguru3.rst
> > similarity index 100%
> > rename from Documentation/hwmon/abituguru3
> > rename to Documentation/hwmon/abituguru3.rst
> > diff --git a/Documentation/hwmon/abx500 b/Documentation/hwmon/abx500.rst
> > similarity index 100%
> > rename from Documentation/hwmon/abx500
> > rename to Documentation/hwmon/abx500.rst
> > diff --git a/Documentation/hwmon/acpi_power_meter b/Documentation/hwmon/acpi_power_meter.rst
> > similarity index 97%
> > rename from Documentation/hwmon/acpi_power_meter
> > rename to Documentation/hwmon/acpi_power_meter.rst
> > index 7665ca6ba957..4a0941ade0ca 100644
> > --- a/Documentation/hwmon/acpi_power_meter
> > +++ b/Documentation/hwmon/acpi_power_meter.rst
> > @@ -21,7 +21,7 @@ the ACPI 4.0 spec (Chapter 10.4). These devices have a simple set of
> > features--a power meter that returns average power use over a configurable
> > interval, an optional capping mechanism, and a couple of trip points. The
> > sysfs interface conforms with the specification outlined in the "Power" section
> > -of Documentation/hwmon/sysfs-interface.
> > +of Documentation/hwmon/sysfs-interface.rst.
> >
> > Special Features
> > ----------------
> > diff --git a/Documentation/hwmon/ad7314 b/Documentation/hwmon/ad7314.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ad7314
> > rename to Documentation/hwmon/ad7314.rst
> > diff --git a/Documentation/hwmon/adc128d818 b/Documentation/hwmon/adc128d818.rst
> > similarity index 100%
> > rename from Documentation/hwmon/adc128d818
> > rename to Documentation/hwmon/adc128d818.rst
> > diff --git a/Documentation/hwmon/adm1021 b/Documentation/hwmon/adm1021.rst
> > similarity index 100%
> > rename from Documentation/hwmon/adm1021
> > rename to Documentation/hwmon/adm1021.rst
> > diff --git a/Documentation/hwmon/adm1025 b/Documentation/hwmon/adm1025.rst
> > similarity index 100%
> > rename from Documentation/hwmon/adm1025
> > rename to Documentation/hwmon/adm1025.rst
> > diff --git a/Documentation/hwmon/adm1026 b/Documentation/hwmon/adm1026.rst
> > similarity index 100%
> > rename from Documentation/hwmon/adm1026
> > rename to Documentation/hwmon/adm1026.rst
> > diff --git a/Documentation/hwmon/adm1031 b/Documentation/hwmon/adm1031.rst
> > similarity index 100%
> > rename from Documentation/hwmon/adm1031
> > rename to Documentation/hwmon/adm1031.rst
> > diff --git a/Documentation/hwmon/adm1275 b/Documentation/hwmon/adm1275.rst
> > similarity index 97%
> > rename from Documentation/hwmon/adm1275
> > rename to Documentation/hwmon/adm1275.rst
> > index 5c5860011d6e..9a1913e5b4d9 100644
> > --- a/Documentation/hwmon/adm1275
> > +++ b/Documentation/hwmon/adm1275.rst
> > @@ -68,7 +68,7 @@ integrated 12 bit analog-to-digital converter (ADC), accessed using a
> > PMBus interface.
> >
> > The driver is a client driver to the core PMBus driver. Please see
> > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> >
> >
> > Usage Notes
> > @@ -90,7 +90,7 @@ Platform data support
> > ---------------------
> >
> > The driver supports standard PMBus driver platform data. Please see
> > -Documentation/hwmon/pmbus for details.
> > +Documentation/hwmon/pmbus.rst for details.
> >
> >
> > Sysfs entries
> > diff --git a/Documentation/hwmon/adm9240 b/Documentation/hwmon/adm9240.rst
> > similarity index 100%
> > rename from Documentation/hwmon/adm9240
> > rename to Documentation/hwmon/adm9240.rst
> > diff --git a/Documentation/hwmon/ads1015 b/Documentation/hwmon/ads1015.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ads1015
> > rename to Documentation/hwmon/ads1015.rst
> > diff --git a/Documentation/hwmon/ads7828 b/Documentation/hwmon/ads7828.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ads7828
> > rename to Documentation/hwmon/ads7828.rst
> > diff --git a/Documentation/hwmon/adt7410 b/Documentation/hwmon/adt7410.rst
> > similarity index 100%
> > rename from Documentation/hwmon/adt7410
> > rename to Documentation/hwmon/adt7410.rst
> > diff --git a/Documentation/hwmon/adt7411 b/Documentation/hwmon/adt7411.rst
> > similarity index 100%
> > rename from Documentation/hwmon/adt7411
> > rename to Documentation/hwmon/adt7411.rst
> > diff --git a/Documentation/hwmon/adt7462 b/Documentation/hwmon/adt7462.rst
> > similarity index 99%
> > rename from Documentation/hwmon/adt7462
> > rename to Documentation/hwmon/adt7462.rst
> > index a7a831118d32..139e19696188 100644
> > --- a/Documentation/hwmon/adt7462
> > +++ b/Documentation/hwmon/adt7462.rst
> > @@ -68,4 +68,3 @@ The ADT7462 will scale the pwm between the lower and higher pwm speed when
> > the temperature is between the two temperature boundaries. PWM values range
> > from 0 (off) to 255 (full speed). Fan speed will be set to maximum when the
> > temperature sensor associated with the PWM control exceeds temp#_max.
> > -
> > diff --git a/Documentation/hwmon/adt7470 b/Documentation/hwmon/adt7470.rst
> > similarity index 100%
> > rename from Documentation/hwmon/adt7470
> > rename to Documentation/hwmon/adt7470.rst
> > diff --git a/Documentation/hwmon/adt7475 b/Documentation/hwmon/adt7475.rst
> > similarity index 100%
> > rename from Documentation/hwmon/adt7475
> > rename to Documentation/hwmon/adt7475.rst
> > diff --git a/Documentation/hwmon/amc6821 b/Documentation/hwmon/amc6821.rst
> > similarity index 99%
> > rename from Documentation/hwmon/amc6821
> > rename to Documentation/hwmon/amc6821.rst
> > index d10eabcbc0f3..5ddb2849da90 100644
> > --- a/Documentation/hwmon/amc6821
> > +++ b/Documentation/hwmon/amc6821.rst
> > @@ -106,4 +106,3 @@ different settings, you can set the following parameters:
> >
> > - init=1,
> > - pwminv: 0 default pwm output, 1 inverts pwm output.
> > -
> > diff --git a/Documentation/hwmon/asb100 b/Documentation/hwmon/asb100.rst
> > similarity index 99%
> > rename from Documentation/hwmon/asb100
> > rename to Documentation/hwmon/asb100.rst
> > index 311d9f7b6926..c2d5f97085fe 100644
> > --- a/Documentation/hwmon/asb100
> > +++ b/Documentation/hwmon/asb100.rst
> > @@ -71,4 +71,3 @@ TODO:
> > * Experiment with temp. sensor types.
> > * Are there really 13 voltage inputs? Probably not...
> > * Cleanups, no doubt...
> > -
> > diff --git a/Documentation/hwmon/asc7621 b/Documentation/hwmon/asc7621.rst
> > similarity index 100%
> > rename from Documentation/hwmon/asc7621
> > rename to Documentation/hwmon/asc7621.rst
> > diff --git a/Documentation/hwmon/aspeed-pwm-tacho b/Documentation/hwmon/aspeed-pwm-tacho.rst
> > similarity index 100%
> > rename from Documentation/hwmon/aspeed-pwm-tacho
> > rename to Documentation/hwmon/aspeed-pwm-tacho.rst
> > diff --git a/Documentation/hwmon/coretemp b/Documentation/hwmon/coretemp.rst
> > similarity index 100%
> > rename from Documentation/hwmon/coretemp
> > rename to Documentation/hwmon/coretemp.rst
> > diff --git a/Documentation/hwmon/da9052 b/Documentation/hwmon/da9052.rst
> > similarity index 100%
> > rename from Documentation/hwmon/da9052
> > rename to Documentation/hwmon/da9052.rst
> > diff --git a/Documentation/hwmon/da9055 b/Documentation/hwmon/da9055.rst
> > similarity index 100%
> > rename from Documentation/hwmon/da9055
> > rename to Documentation/hwmon/da9055.rst
> > diff --git a/Documentation/hwmon/dme1737 b/Documentation/hwmon/dme1737.rst
> > similarity index 100%
> > rename from Documentation/hwmon/dme1737
> > rename to Documentation/hwmon/dme1737.rst
> > diff --git a/Documentation/hwmon/ds1621 b/Documentation/hwmon/ds1621.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ds1621
> > rename to Documentation/hwmon/ds1621.rst
> > diff --git a/Documentation/hwmon/ds620 b/Documentation/hwmon/ds620.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ds620
> > rename to Documentation/hwmon/ds620.rst
> > diff --git a/Documentation/hwmon/emc1403 b/Documentation/hwmon/emc1403.rst
> > similarity index 100%
> > rename from Documentation/hwmon/emc1403
> > rename to Documentation/hwmon/emc1403.rst
> > diff --git a/Documentation/hwmon/emc2103 b/Documentation/hwmon/emc2103.rst
> > similarity index 100%
> > rename from Documentation/hwmon/emc2103
> > rename to Documentation/hwmon/emc2103.rst
> > diff --git a/Documentation/hwmon/emc6w201 b/Documentation/hwmon/emc6w201.rst
> > similarity index 100%
> > rename from Documentation/hwmon/emc6w201
> > rename to Documentation/hwmon/emc6w201.rst
> > diff --git a/Documentation/hwmon/f71805f b/Documentation/hwmon/f71805f.rst
> > similarity index 100%
> > rename from Documentation/hwmon/f71805f
> > rename to Documentation/hwmon/f71805f.rst
> > diff --git a/Documentation/hwmon/f71882fg b/Documentation/hwmon/f71882fg.rst
> > similarity index 100%
> > rename from Documentation/hwmon/f71882fg
> > rename to Documentation/hwmon/f71882fg.rst
> > diff --git a/Documentation/hwmon/fam15h_power b/Documentation/hwmon/fam15h_power.rst
> > similarity index 100%
> > rename from Documentation/hwmon/fam15h_power
> > rename to Documentation/hwmon/fam15h_power.rst
> > diff --git a/Documentation/hwmon/ftsteutates b/Documentation/hwmon/ftsteutates.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ftsteutates
> > rename to Documentation/hwmon/ftsteutates.rst
> > diff --git a/Documentation/hwmon/g760a b/Documentation/hwmon/g760a.rst
> > similarity index 100%
> > rename from Documentation/hwmon/g760a
> > rename to Documentation/hwmon/g760a.rst
> > diff --git a/Documentation/hwmon/g762 b/Documentation/hwmon/g762.rst
> > similarity index 97%
> > rename from Documentation/hwmon/g762
> > rename to Documentation/hwmon/g762.rst
> > index 54574e26df21..0371b3365c48 100644
> > --- a/Documentation/hwmon/g762
> > +++ b/Documentation/hwmon/g762.rst
> > @@ -7,7 +7,7 @@ modes - PWM or DC - are supported by the device.
> >
> > For additional information, a detailed datasheet is available at
> > http://natisbad.org/NAS/ref/GMT_EDS-762_763-080710-0.2.pdf. sysfs
> > -bindings are described in Documentation/hwmon/sysfs-interface.
> > +bindings are described in Documentation/hwmon/sysfs-interface.rst.
> >
> > The following entries are available to the user in a subdirectory of
> > /sys/bus/i2c/drivers/g762/ to control the operation of the device.
> > diff --git a/Documentation/hwmon/gl518sm b/Documentation/hwmon/gl518sm.rst
> > similarity index 100%
> > rename from Documentation/hwmon/gl518sm
> > rename to Documentation/hwmon/gl518sm.rst
> > diff --git a/Documentation/hwmon/hih6130 b/Documentation/hwmon/hih6130.rst
> > similarity index 100%
> > rename from Documentation/hwmon/hih6130
> > rename to Documentation/hwmon/hih6130.rst
> > diff --git a/Documentation/hwmon/hwmon-kernel-api.txt b/Documentation/hwmon/hwmon-kernel-api.rst
> > similarity index 99%
> > rename from Documentation/hwmon/hwmon-kernel-api.txt
> > rename to Documentation/hwmon/hwmon-kernel-api.rst
> > index b347b959fcda..c41eb6108103 100644
> > --- a/Documentation/hwmon/hwmon-kernel-api.txt
> > +++ b/Documentation/hwmon/hwmon-kernel-api.rst
> > @@ -12,10 +12,10 @@ drivers that want to use the hardware monitoring framework.
> > This document does not describe what a hardware monitoring (hwmon) Driver or
> > Device is. It also does not describe the API which can be used by user space
> > to communicate with a hardware monitoring device. If you want to know this
> > -then please read the following file: Documentation/hwmon/sysfs-interface.
> > +then please read the following file: Documentation/hwmon/sysfs-interface.rst.
> >
> > For additional guidelines on how to write and improve hwmon drivers, please
> > -also read Documentation/hwmon/submitting-patches.
> > +also read Documentation/hwmon/submitting-patches.rst.
> >
> > The API
> > -------
> > diff --git a/Documentation/hwmon/ibm-cffps b/Documentation/hwmon/ibm-cffps.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ibm-cffps
> > rename to Documentation/hwmon/ibm-cffps.rst
> > diff --git a/Documentation/hwmon/ibmaem b/Documentation/hwmon/ibmaem.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ibmaem
> > rename to Documentation/hwmon/ibmaem.rst
> > diff --git a/Documentation/hwmon/ibmpowernv b/Documentation/hwmon/ibmpowernv.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ibmpowernv
> > rename to Documentation/hwmon/ibmpowernv.rst
> > diff --git a/Documentation/hwmon/ina209 b/Documentation/hwmon/ina209.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ina209
> > rename to Documentation/hwmon/ina209.rst
> > diff --git a/Documentation/hwmon/ina2xx b/Documentation/hwmon/ina2xx.rst
> > similarity index 97%
> > rename from Documentation/hwmon/ina2xx
> > rename to Documentation/hwmon/ina2xx.rst
> > index 95badf9c396f..94b9a260c518 100644
> > --- a/Documentation/hwmon/ina2xx
> > +++ b/Documentation/hwmon/ina2xx.rst
> > @@ -78,7 +78,7 @@ refer to the Documentation/devicetree/bindings/hwmon/ina2xx.txt for bindings
> > if the device tree is used.
> >
> > Additionally ina226 supports update_interval attribute as described in
> > -Documentation/hwmon/sysfs-interface. Internally the interval is the sum of
> > +Documentation/hwmon/sysfs-interface.rst. Internally the interval is the sum of
> > bus and shunt voltage conversion times multiplied by the averaging rate. We
> > don't touch the conversion times and only modify the number of averages. The
> > lower limit of the update_interval is 2 ms, the upper limit is 2253 ms.
> > diff --git a/Documentation/hwmon/ina3221 b/Documentation/hwmon/ina3221.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ina3221
> > rename to Documentation/hwmon/ina3221.rst
> > diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst
> > new file mode 100644
> > index 000000000000..893804414510
> > --- /dev/null
> > +++ b/Documentation/hwmon/index.rst
> > @@ -0,0 +1,179 @@
> > +=========================
> > +Linux Hardware Monitoring
> > +=========================
> > +
> > +.. toctree::
> > + :maxdepth: 1
> > +
> > + hwmon-kernel-api.rst
> > + pmbus-core.rst
> > + submitting-patches.rst
> > + sysfs-interface.rst
> > + userspace-tools.rst
> > +
> > +Hardware Monitoring Kernel Drivers
> > +==================================
> > +
> > +.. toctree::
> > + :maxdepth: 1
> > +
> > + ab8500.rst
> > + abituguru.rst
> > + abituguru3.rst
> > + abx500.rst
> > + acpi_power_meter.rst
> > + ad7314.rst
> > + adc128d818.rst
> > + adm1021.rst
> > + adm1025.rst
> > + adm1026.rst
> > + adm1031.rst
> > + adm1275.rst
> > + adm9240.rst
> > + ads1015.rst
> > + ads7828.rst
> > + adt7410.rst
> > + adt7411.rst
> > + adt7462.rst
> > + adt7470.rst
> > + adt7475.rst
> > + amc6821.rst
> > + asb100.rst
> > + asc7621.rst
> > + aspeed-pwm-tacho.rst
> > + coretemp.rst
> > + da9052.rst
> > + da9055.rst
> > + dme1737.rst
> > + ds1621.rst
> > + ds620.rst
> > + emc1403.rst
> > + emc2103.rst
> > + emc6w201.rst
> > + f71805f.rst
> > + f71882fg.rst
> > + fam15h_power.rst
> > + ftsteutates.rst
> > + g760a.rst
> > + g762.rst
> > + gl518sm.rst
> > + hih6130.rst
> > + ibmaem.rst
> > + ibm-cffps.rst
> > + ibmpowernv.rst
> > + ina209.rst
> > + ina2xx.rst
> > + ina3221.rst
> > + ir35221.rst
> > + it87.rst
> > + jc42.rst
> > + k10temp.rst
> > + k8temp.rst
> > + lineage-pem.rst
> > + lm25066.rst
> > + lm63.rst
> > + lm70.rst
> > + lm73.rst
> > + lm75.rst
> > + lm77.rst
> > + lm78.rst
> > + lm80.rst
> > + lm83.rst
> > + lm85.rst
> > + lm87.rst
> > + lm90.rst
> > + lm92.rst
> > + lm93.rst
> > + lm95234.rst
> > + lm95245.rst
> > + ltc2945.rst
> > + ltc2978.rst
> > + ltc2990.rst
> > + ltc3815.rst
> > + ltc4151.rst
> > + ltc4215.rst
> > + ltc4245.rst
> > + ltc4260.rst
> > + ltc4261.rst
> > + max16064.rst
> > + max16065.rst
> > + max1619.rst
> > + max1668.rst
> > + max197.rst
> > + max20751.rst
> > + max31722.rst
> > + max31785.rst
> > + max31790.rst
> > + max34440.rst
> > + max6639.rst
> > + max6642.rst
> > + max6650.rst
> > + max6697.rst
> > + max8688.rst
> > + mc13783-adc.rst
> > + mcp3021.rst
> > + menf21bmc.rst
> > + mlxreg-fan.rst
> > + nct6683.rst
> > + nct6775.rst
> > + nct7802.rst
> > + nct7904.rst
> > + npcm750-pwm-fan.rst
> > + nsa320.rst
> > + ntc_thermistor.rst
> > + occ.rst
> > + pc87360.rst
> > + pc87427.rst
> > + pcf8591.rst
> > + pmbus.rst
> > + powr1220.rst
> > + pwm-fan.rst
> > + raspberrypi-hwmon.rst
> > + sch5627.rst
> > + sch5636.rst
> > + scpi-hwmon.rst
> > + sht15.rst
> > + sht21.rst
> > + sht3x.rst
> > + shtc1.rst
> > + sis5595.rst
> > + smm665.rst
> > + smsc47b397.rst
> > + smsc47m192.rst
> > + smsc47m1.rst
> > + tc654.rst
> > + tc74.rst
> > + thmc50.rst
> > + tmp102.rst
> > + tmp103.rst
> > + tmp108.rst
> > + tmp401.rst
> > + tmp421.rst
> > + tps40422.rst
> > + twl4030-madc-hwmon.rst
> > + ucd9000.rst
> > + ucd9200.rst
> > + vexpress.rst
> > + via686a.rst
> > + vt1211.rst
> > + w83627ehf.rst
> > + w83627hf.rst
> > + w83773g.rst
> > + w83781d.rst
> > + w83791d.rst
> > + w83792d.rst
> > + w83793.rst
> > + w83795.rst
> > + w83l785ts.rst
> > + w83l786ng.rst
> > + wm831x.rst
> > + wm8350.rst
> > + xgene-hwmon.rst
> > + zl6100.rst
> > +
> > +.. only:: subproject and html
> > +
> > + Indices
> > + =======
> > +
> > + * :ref:`genindex`
> > diff --git a/Documentation/hwmon/ir35221 b/Documentation/hwmon/ir35221.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ir35221
> > rename to Documentation/hwmon/ir35221.rst
> > diff --git a/Documentation/hwmon/it87 b/Documentation/hwmon/it87.rst
> > similarity index 100%
> > rename from Documentation/hwmon/it87
> > rename to Documentation/hwmon/it87.rst
> > diff --git a/Documentation/hwmon/jc42 b/Documentation/hwmon/jc42.rst
> > similarity index 100%
> > rename from Documentation/hwmon/jc42
> > rename to Documentation/hwmon/jc42.rst
> > diff --git a/Documentation/hwmon/k10temp b/Documentation/hwmon/k10temp.rst
> > similarity index 100%
> > rename from Documentation/hwmon/k10temp
> > rename to Documentation/hwmon/k10temp.rst
> > diff --git a/Documentation/hwmon/k8temp b/Documentation/hwmon/k8temp.rst
> > similarity index 100%
> > rename from Documentation/hwmon/k8temp
> > rename to Documentation/hwmon/k8temp.rst
> > diff --git a/Documentation/hwmon/lineage-pem b/Documentation/hwmon/lineage-pem.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lineage-pem
> > rename to Documentation/hwmon/lineage-pem.rst
> > diff --git a/Documentation/hwmon/lm25066 b/Documentation/hwmon/lm25066.rst
> > similarity index 97%
> > rename from Documentation/hwmon/lm25066
> > rename to Documentation/hwmon/lm25066.rst
> > index 60b7f2722931..da15e3094c8c 100644
> > --- a/Documentation/hwmon/lm25066
> > +++ b/Documentation/hwmon/lm25066.rst
> > @@ -69,7 +69,7 @@ LM25066, LM5064, and LM5066/LM5066I Power Management, Monitoring,
> > Control, and Protection ICs.
> >
> > The driver is a client driver to the core PMBus driver. Please see
> > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> >
> >
> > Usage Notes
> > diff --git a/Documentation/hwmon/lm63 b/Documentation/hwmon/lm63.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm63
> > rename to Documentation/hwmon/lm63.rst
> > diff --git a/Documentation/hwmon/lm70 b/Documentation/hwmon/lm70.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm70
> > rename to Documentation/hwmon/lm70.rst
> > diff --git a/Documentation/hwmon/lm73 b/Documentation/hwmon/lm73.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm73
> > rename to Documentation/hwmon/lm73.rst
> > diff --git a/Documentation/hwmon/lm75 b/Documentation/hwmon/lm75.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm75
> > rename to Documentation/hwmon/lm75.rst
> > diff --git a/Documentation/hwmon/lm77 b/Documentation/hwmon/lm77.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm77
> > rename to Documentation/hwmon/lm77.rst
> > diff --git a/Documentation/hwmon/lm78 b/Documentation/hwmon/lm78.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm78
> > rename to Documentation/hwmon/lm78.rst
> > diff --git a/Documentation/hwmon/lm80 b/Documentation/hwmon/lm80.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm80
> > rename to Documentation/hwmon/lm80.rst
> > diff --git a/Documentation/hwmon/lm83 b/Documentation/hwmon/lm83.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm83
> > rename to Documentation/hwmon/lm83.rst
> > diff --git a/Documentation/hwmon/lm85 b/Documentation/hwmon/lm85.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm85
> > rename to Documentation/hwmon/lm85.rst
> > diff --git a/Documentation/hwmon/lm87 b/Documentation/hwmon/lm87.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm87
> > rename to Documentation/hwmon/lm87.rst
> > diff --git a/Documentation/hwmon/lm90 b/Documentation/hwmon/lm90.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm90
> > rename to Documentation/hwmon/lm90.rst
> > diff --git a/Documentation/hwmon/lm92 b/Documentation/hwmon/lm92.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm92
> > rename to Documentation/hwmon/lm92.rst
> > diff --git a/Documentation/hwmon/lm93 b/Documentation/hwmon/lm93.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm93
> > rename to Documentation/hwmon/lm93.rst
> > diff --git a/Documentation/hwmon/lm95234 b/Documentation/hwmon/lm95234.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm95234
> > rename to Documentation/hwmon/lm95234.rst
> > diff --git a/Documentation/hwmon/lm95245 b/Documentation/hwmon/lm95245.rst
> > similarity index 100%
> > rename from Documentation/hwmon/lm95245
> > rename to Documentation/hwmon/lm95245.rst
> > diff --git a/Documentation/hwmon/ltc2945 b/Documentation/hwmon/ltc2945.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ltc2945
> > rename to Documentation/hwmon/ltc2945.rst
> > diff --git a/Documentation/hwmon/ltc2978 b/Documentation/hwmon/ltc2978.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ltc2978
> > rename to Documentation/hwmon/ltc2978.rst
> > diff --git a/Documentation/hwmon/ltc2990 b/Documentation/hwmon/ltc2990.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ltc2990
> > rename to Documentation/hwmon/ltc2990.rst
> > diff --git a/Documentation/hwmon/ltc3815 b/Documentation/hwmon/ltc3815.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ltc3815
> > rename to Documentation/hwmon/ltc3815.rst
> > diff --git a/Documentation/hwmon/ltc4151 b/Documentation/hwmon/ltc4151.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ltc4151
> > rename to Documentation/hwmon/ltc4151.rst
> > diff --git a/Documentation/hwmon/ltc4215 b/Documentation/hwmon/ltc4215.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ltc4215
> > rename to Documentation/hwmon/ltc4215.rst
> > diff --git a/Documentation/hwmon/ltc4245 b/Documentation/hwmon/ltc4245.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ltc4245
> > rename to Documentation/hwmon/ltc4245.rst
> > diff --git a/Documentation/hwmon/ltc4260 b/Documentation/hwmon/ltc4260.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ltc4260
> > rename to Documentation/hwmon/ltc4260.rst
> > diff --git a/Documentation/hwmon/ltc4261 b/Documentation/hwmon/ltc4261.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ltc4261
> > rename to Documentation/hwmon/ltc4261.rst
> > diff --git a/Documentation/hwmon/max16064 b/Documentation/hwmon/max16064.rst
> > similarity index 96%
> > rename from Documentation/hwmon/max16064
> > rename to Documentation/hwmon/max16064.rst
> > index 61ec679dc477..6d5e9538991f 100644
> > --- a/Documentation/hwmon/max16064
> > +++ b/Documentation/hwmon/max16064.rst
> > @@ -21,7 +21,7 @@ This driver supports hardware monitoring for Maxim MAX16064 Quad Power-Supply
> > Controller with Active-Voltage Output Control and PMBus Interface.
> >
> > The driver is a client driver to the core PMBus driver.
> > -Please see Documentation/hwmon/pmbus for details on PMBus client drivers.
> > +Please see Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> >
> >
> > Usage Notes
> > diff --git a/Documentation/hwmon/max16065 b/Documentation/hwmon/max16065.rst
> > similarity index 100%
> > rename from Documentation/hwmon/max16065
> > rename to Documentation/hwmon/max16065.rst
> > diff --git a/Documentation/hwmon/max1619 b/Documentation/hwmon/max1619.rst
> > similarity index 99%
> > rename from Documentation/hwmon/max1619
> > rename to Documentation/hwmon/max1619.rst
> > index 4b3762c4eceb..e25956e70f73 100644
> > --- a/Documentation/hwmon/max1619
> > +++ b/Documentation/hwmon/max1619.rst
> > @@ -31,4 +31,3 @@ Only the external sensor has high and low limits.
> > The max1619 driver will not update its values more frequently than every
> > other second; reading them more often will do no harm, but will return
> > 'old' values.
> > -
> > diff --git a/Documentation/hwmon/max1668 b/Documentation/hwmon/max1668.rst
> > similarity index 100%
> > rename from Documentation/hwmon/max1668
> > rename to Documentation/hwmon/max1668.rst
> > diff --git a/Documentation/hwmon/max197 b/Documentation/hwmon/max197.rst
> > similarity index 100%
> > rename from Documentation/hwmon/max197
> > rename to Documentation/hwmon/max197.rst
> > diff --git a/Documentation/hwmon/max20751 b/Documentation/hwmon/max20751.rst
> > similarity index 96%
> > rename from Documentation/hwmon/max20751
> > rename to Documentation/hwmon/max20751.rst
> > index d546695900ef..aa4469be6674 100644
> > --- a/Documentation/hwmon/max20751
> > +++ b/Documentation/hwmon/max20751.rst
> > @@ -23,7 +23,7 @@ This driver supports MAX20751 Multiphase Master with PMBus Interface
> > and Internal Buck Converter.
> >
> > The driver is a client driver to the core PMBus driver.
> > -Please see Documentation/hwmon/pmbus for details on PMBus client drivers.
> > +Please see Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> >
> >
> > Usage Notes
> > diff --git a/Documentation/hwmon/max31722 b/Documentation/hwmon/max31722.rst
> > similarity index 100%
> > rename from Documentation/hwmon/max31722
> > rename to Documentation/hwmon/max31722.rst
> > diff --git a/Documentation/hwmon/max31785 b/Documentation/hwmon/max31785.rst
> > similarity index 100%
> > rename from Documentation/hwmon/max31785
> > rename to Documentation/hwmon/max31785.rst
> > diff --git a/Documentation/hwmon/max31790 b/Documentation/hwmon/max31790.rst
> > similarity index 100%
> > rename from Documentation/hwmon/max31790
> > rename to Documentation/hwmon/max31790.rst
> > diff --git a/Documentation/hwmon/max34440 b/Documentation/hwmon/max34440.rst
> > similarity index 98%
> > rename from Documentation/hwmon/max34440
> > rename to Documentation/hwmon/max34440.rst
> > index 639838ef29fd..939138e12b02 100644
> > --- a/Documentation/hwmon/max34440
> > +++ b/Documentation/hwmon/max34440.rst
> > @@ -76,7 +76,7 @@ based on GIN pins. The MAX34460 supports 12 voltage channels, and the MAX34461
> > supports 16 voltage channels.
> >
> > The driver is a client driver to the core PMBus driver. Please see
> > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> >
> >
> > Usage Notes
> > diff --git a/Documentation/hwmon/max6639 b/Documentation/hwmon/max6639.rst
> > similarity index 100%
> > rename from Documentation/hwmon/max6639
> > rename to Documentation/hwmon/max6639.rst
> > diff --git a/Documentation/hwmon/max6642 b/Documentation/hwmon/max6642.rst
> > similarity index 100%
> > rename from Documentation/hwmon/max6642
> > rename to Documentation/hwmon/max6642.rst
> > diff --git a/Documentation/hwmon/max6650 b/Documentation/hwmon/max6650.rst
> > similarity index 99%
> > rename from Documentation/hwmon/max6650
> > rename to Documentation/hwmon/max6650.rst
> > index 74dc3f0caaa2..253482add082 100644
> > --- a/Documentation/hwmon/max6650
> > +++ b/Documentation/hwmon/max6650.rst
> > @@ -72,4 +72,3 @@ clock: The clock frequency in Hz of the chip the driver should assume [254000]
> >
> > Please have a look at the MAX6650/6651 data sheet and make sure that you fully
> > understand the meaning of these parameters before you attempt to change them.
> > -
> > diff --git a/Documentation/hwmon/max6697 b/Documentation/hwmon/max6697.rst
> > similarity index 100%
> > rename from Documentation/hwmon/max6697
> > rename to Documentation/hwmon/max6697.rst
> > diff --git a/Documentation/hwmon/max8688 b/Documentation/hwmon/max8688.rst
> > similarity index 97%
> > rename from Documentation/hwmon/max8688
> > rename to Documentation/hwmon/max8688.rst
> > index 43da139234c1..009487759c61 100644
> > --- a/Documentation/hwmon/max8688
> > +++ b/Documentation/hwmon/max8688.rst
> > @@ -21,7 +21,7 @@ This driver supports hardware monitoring for Maxim MAX8688 Digital Power-Supply
> > Controller/Monitor with PMBus Interface.
> >
> > The driver is a client driver to the core PMBus driver. Please see
> > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> >
> >
> > Usage Notes
> > diff --git a/Documentation/hwmon/mc13783-adc b/Documentation/hwmon/mc13783-adc.rst
> > similarity index 100%
> > rename from Documentation/hwmon/mc13783-adc
> > rename to Documentation/hwmon/mc13783-adc.rst
> > diff --git a/Documentation/hwmon/mcp3021 b/Documentation/hwmon/mcp3021.rst
> > similarity index 100%
> > rename from Documentation/hwmon/mcp3021
> > rename to Documentation/hwmon/mcp3021.rst
> > diff --git a/Documentation/hwmon/menf21bmc b/Documentation/hwmon/menf21bmc.rst
> > similarity index 100%
> > rename from Documentation/hwmon/menf21bmc
> > rename to Documentation/hwmon/menf21bmc.rst
> > diff --git a/Documentation/hwmon/mlxreg-fan b/Documentation/hwmon/mlxreg-fan.rst
> > similarity index 100%
> > rename from Documentation/hwmon/mlxreg-fan
> > rename to Documentation/hwmon/mlxreg-fan.rst
> > diff --git a/Documentation/hwmon/nct6683 b/Documentation/hwmon/nct6683.rst
> > similarity index 100%
> > rename from Documentation/hwmon/nct6683
> > rename to Documentation/hwmon/nct6683.rst
> > diff --git a/Documentation/hwmon/nct6775 b/Documentation/hwmon/nct6775.rst
> > similarity index 100%
> > rename from Documentation/hwmon/nct6775
> > rename to Documentation/hwmon/nct6775.rst
> > diff --git a/Documentation/hwmon/nct7802 b/Documentation/hwmon/nct7802.rst
> > similarity index 100%
> > rename from Documentation/hwmon/nct7802
> > rename to Documentation/hwmon/nct7802.rst
> > diff --git a/Documentation/hwmon/nct7904 b/Documentation/hwmon/nct7904.rst
> > similarity index 100%
> > rename from Documentation/hwmon/nct7904
> > rename to Documentation/hwmon/nct7904.rst
> > diff --git a/Documentation/hwmon/npcm750-pwm-fan b/Documentation/hwmon/npcm750-pwm-fan.rst
> > similarity index 100%
> > rename from Documentation/hwmon/npcm750-pwm-fan
> > rename to Documentation/hwmon/npcm750-pwm-fan.rst
> > diff --git a/Documentation/hwmon/nsa320 b/Documentation/hwmon/nsa320.rst
> > similarity index 100%
> > rename from Documentation/hwmon/nsa320
> > rename to Documentation/hwmon/nsa320.rst
> > diff --git a/Documentation/hwmon/ntc_thermistor b/Documentation/hwmon/ntc_thermistor.rst
> > similarity index 100%
> > rename from Documentation/hwmon/ntc_thermistor
> > rename to Documentation/hwmon/ntc_thermistor.rst
> > diff --git a/Documentation/hwmon/occ b/Documentation/hwmon/occ.rst
> > similarity index 100%
> > rename from Documentation/hwmon/occ
> > rename to Documentation/hwmon/occ.rst
> > diff --git a/Documentation/hwmon/pc87360 b/Documentation/hwmon/pc87360.rst
> > similarity index 100%
> > rename from Documentation/hwmon/pc87360
> > rename to Documentation/hwmon/pc87360.rst
> > diff --git a/Documentation/hwmon/pc87427 b/Documentation/hwmon/pc87427.rst
> > similarity index 100%
> > rename from Documentation/hwmon/pc87427
> > rename to Documentation/hwmon/pc87427.rst
> > diff --git a/Documentation/hwmon/pcf8591 b/Documentation/hwmon/pcf8591.rst
> > similarity index 100%
> > rename from Documentation/hwmon/pcf8591
> > rename to Documentation/hwmon/pcf8591.rst
> > diff --git a/Documentation/hwmon/pmbus-core b/Documentation/hwmon/pmbus-core.rst
> > similarity index 100%
> > rename from Documentation/hwmon/pmbus-core
> > rename to Documentation/hwmon/pmbus-core.rst
> > diff --git a/Documentation/hwmon/pmbus b/Documentation/hwmon/pmbus.rst
> > similarity index 100%
> > rename from Documentation/hwmon/pmbus
> > rename to Documentation/hwmon/pmbus.rst
> > diff --git a/Documentation/hwmon/powr1220 b/Documentation/hwmon/powr1220.rst
> > similarity index 100%
> > rename from Documentation/hwmon/powr1220
> > rename to Documentation/hwmon/powr1220.rst
> > diff --git a/Documentation/hwmon/pwm-fan b/Documentation/hwmon/pwm-fan.rst
> > similarity index 100%
> > rename from Documentation/hwmon/pwm-fan
> > rename to Documentation/hwmon/pwm-fan.rst
> > diff --git a/Documentation/hwmon/raspberrypi-hwmon b/Documentation/hwmon/raspberrypi-hwmon.rst
> > similarity index 100%
> > rename from Documentation/hwmon/raspberrypi-hwmon
> > rename to Documentation/hwmon/raspberrypi-hwmon.rst
> > diff --git a/Documentation/hwmon/sch5627 b/Documentation/hwmon/sch5627.rst
> > similarity index 100%
> > rename from Documentation/hwmon/sch5627
> > rename to Documentation/hwmon/sch5627.rst
> > diff --git a/Documentation/hwmon/sch5636 b/Documentation/hwmon/sch5636.rst
> > similarity index 100%
> > rename from Documentation/hwmon/sch5636
> > rename to Documentation/hwmon/sch5636.rst
> > diff --git a/Documentation/hwmon/scpi-hwmon b/Documentation/hwmon/scpi-hwmon.rst
> > similarity index 100%
> > rename from Documentation/hwmon/scpi-hwmon
> > rename to Documentation/hwmon/scpi-hwmon.rst
> > diff --git a/Documentation/hwmon/sht15 b/Documentation/hwmon/sht15.rst
> > similarity index 100%
> > rename from Documentation/hwmon/sht15
> > rename to Documentation/hwmon/sht15.rst
> > diff --git a/Documentation/hwmon/sht21 b/Documentation/hwmon/sht21.rst
> > similarity index 100%
> > rename from Documentation/hwmon/sht21
> > rename to Documentation/hwmon/sht21.rst
> > diff --git a/Documentation/hwmon/sht3x b/Documentation/hwmon/sht3x.rst
> > similarity index 100%
> > rename from Documentation/hwmon/sht3x
> > rename to Documentation/hwmon/sht3x.rst
> > diff --git a/Documentation/hwmon/shtc1 b/Documentation/hwmon/shtc1.rst
> > similarity index 100%
> > rename from Documentation/hwmon/shtc1
> > rename to Documentation/hwmon/shtc1.rst
> > diff --git a/Documentation/hwmon/sis5595 b/Documentation/hwmon/sis5595.rst
> > similarity index 99%
> > rename from Documentation/hwmon/sis5595
> > rename to Documentation/hwmon/sis5595.rst
> > index 5acba6b0c0db..16123b3bfff9 100644
> > --- a/Documentation/hwmon/sis5595
> > +++ b/Documentation/hwmon/sis5595.rst
> > @@ -121,4 +121,3 @@ Problems
> > --------
> > Some chips refuse to be enabled. We don't know why.
> > The driver will recognize this and print a message in dmesg.
> > -
> > diff --git a/Documentation/hwmon/smm665 b/Documentation/hwmon/smm665.rst
> > similarity index 100%
> > rename from Documentation/hwmon/smm665
> > rename to Documentation/hwmon/smm665.rst
> > diff --git a/Documentation/hwmon/smsc47b397 b/Documentation/hwmon/smsc47b397.rst
> > similarity index 100%
> > rename from Documentation/hwmon/smsc47b397
> > rename to Documentation/hwmon/smsc47b397.rst
> > diff --git a/Documentation/hwmon/smsc47m1 b/Documentation/hwmon/smsc47m1.rst
> > similarity index 100%
> > rename from Documentation/hwmon/smsc47m1
> > rename to Documentation/hwmon/smsc47m1.rst
> > diff --git a/Documentation/hwmon/smsc47m192 b/Documentation/hwmon/smsc47m192.rst
> > similarity index 100%
> > rename from Documentation/hwmon/smsc47m192
> > rename to Documentation/hwmon/smsc47m192.rst
> > diff --git a/Documentation/hwmon/submitting-patches b/Documentation/hwmon/submitting-patches.rst
> > similarity index 98%
> > rename from Documentation/hwmon/submitting-patches
> > rename to Documentation/hwmon/submitting-patches.rst
> > index 12540b7d9b50..f9796b9d9db6 100644
> > --- a/Documentation/hwmon/submitting-patches
> > +++ b/Documentation/hwmon/submitting-patches.rst
> > @@ -39,7 +39,7 @@ increase the chances of your change being accepted.
> > 2. Adding functionality to existing drivers
> > -------------------------------------------
> >
> > -* Make sure the documentation in Documentation/hwmon/<driver_name> is up to
> > +* Make sure the documentation in Documentation/hwmon/<driver_name>.rst is up to
> > date.
> >
> > * Make sure the information in Kconfig is up to date.
> > @@ -61,7 +61,7 @@ increase the chances of your change being accepted.
> >
> > * Consider adding yourself to MAINTAINERS.
> >
> > -* Document the driver in Documentation/hwmon/<driver_name>.
> > +* Document the driver in Documentation/hwmon/<driver_name>.rst.
> >
> > * Add the driver to Kconfig and Makefile in alphabetical order.
> >
> > @@ -134,7 +134,7 @@ increase the chances of your change being accepted.
> > non-standard attributes, or you believe you do, discuss it on the mailing list
> > first. Either case, provide a detailed explanation why you need the
> > non-standard attribute(s).
> > - Standard attributes are specified in Documentation/hwmon/sysfs-interface.
> > + Standard attributes are specified in Documentation/hwmon/sysfs-interface.rst.
> >
> > * When deciding which sysfs attributes to support, look at the chip's
> > capabilities. While we do not expect your driver to support everything the
> > diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface.rst
> > similarity index 100%
> > rename from Documentation/hwmon/sysfs-interface
> > rename to Documentation/hwmon/sysfs-interface.rst
> > diff --git a/Documentation/hwmon/tc654 b/Documentation/hwmon/tc654.rst
> > similarity index 100%
> > rename from Documentation/hwmon/tc654
> > rename to Documentation/hwmon/tc654.rst
> > diff --git a/Documentation/hwmon/tc74 b/Documentation/hwmon/tc74.rst
> > similarity index 100%
> > rename from Documentation/hwmon/tc74
> > rename to Documentation/hwmon/tc74.rst
> > diff --git a/Documentation/hwmon/thmc50 b/Documentation/hwmon/thmc50.rst
> > similarity index 99%
> > rename from Documentation/hwmon/thmc50
> > rename to Documentation/hwmon/thmc50.rst
> > index 6dba1b59b20c..cfff3885287d 100644
> > --- a/Documentation/hwmon/thmc50
> > +++ b/Documentation/hwmon/thmc50.rst
> > @@ -87,4 +87,3 @@ so it stops fans even if the value 0 into the ANALOG_OUT register does not.
> >
> > The driver was tested on Compaq AP550 with two ADM1022 chips (one works
> > in the temp3 mode), five temperature readings and two fans.
> > -
> > diff --git a/Documentation/hwmon/tmp102 b/Documentation/hwmon/tmp102.rst
> > similarity index 93%
> > rename from Documentation/hwmon/tmp102
> > rename to Documentation/hwmon/tmp102.rst
> > index 5e34821df4ab..b1f585531a88 100644
> > --- a/Documentation/hwmon/tmp102
> > +++ b/Documentation/hwmon/tmp102.rst
> > @@ -28,4 +28,4 @@ The TMP102 has a programmable update rate that can select between 8, 4, 1, and
> > 0.5 Hz. (Currently the driver only supports the default of 4 Hz).
> >
> > The driver provides the common sysfs-interface for temperatures (see
> > -Documentation/hwmon/sysfs-interface under Temperatures).
> > +Documentation/hwmon/sysfs-interface.rst under Temperatures).
> > diff --git a/Documentation/hwmon/tmp103 b/Documentation/hwmon/tmp103.rst
> > similarity index 92%
> > rename from Documentation/hwmon/tmp103
> > rename to Documentation/hwmon/tmp103.rst
> > index 7682a795e38c..15d25806d585 100644
> > --- a/Documentation/hwmon/tmp103
> > +++ b/Documentation/hwmon/tmp103.rst
> > @@ -27,7 +27,7 @@ Resolution: 8 Bits
> > Accuracy: ±1°C Typ (–10°C to +100°C)
> >
> > The driver provides the common sysfs-interface for temperatures (see
> > -Documentation/hwmon/sysfs-interface under Temperatures).
> > +Documentation/hwmon/sysfs-interface.rst under Temperatures).
> >
> > Please refer how to instantiate this driver:
> > Documentation/i2c/instantiating-devices
> > diff --git a/Documentation/hwmon/tmp108 b/Documentation/hwmon/tmp108.rst
> > similarity index 95%
> > rename from Documentation/hwmon/tmp108
> > rename to Documentation/hwmon/tmp108.rst
> > index 7e08b7ef1e2f..5f4266a16cb2 100644
> > --- a/Documentation/hwmon/tmp108
> > +++ b/Documentation/hwmon/tmp108.rst
> > @@ -38,4 +38,4 @@ and then the device is shut down automatically. (This driver only supports
> > continuous mode.)
> >
> > The driver provides the common sysfs-interface for temperatures (see
> > -Documentation/hwmon/sysfs-interface under Temperatures).
> > +Documentation/hwmon/sysfs-interface.rst under Temperatures).
> > diff --git a/Documentation/hwmon/tmp401 b/Documentation/hwmon/tmp401.rst
> > similarity index 97%
> > rename from Documentation/hwmon/tmp401
> > rename to Documentation/hwmon/tmp401.rst
> > index bd865bbdb38d..6a05a0719bc7 100644
> > --- a/Documentation/hwmon/tmp401
> > +++ b/Documentation/hwmon/tmp401.rst
> > @@ -68,7 +68,7 @@ supported by the driver so far, so using the default resolution of 0.5
> > degree).
> >
> > The driver provides the common sysfs-interface for temperatures (see
> > -Documentation/hwmon/sysfs-interface under Temperatures).
> > +Documentation/hwmon/sysfs-interface.rst under Temperatures).
> >
> > The TMP411 and TMP431 chips are compatible with TMP401. TMP411 provides
> > some additional features.
> > diff --git a/Documentation/hwmon/tmp421 b/Documentation/hwmon/tmp421.rst
> > similarity index 100%
> > rename from Documentation/hwmon/tmp421
> > rename to Documentation/hwmon/tmp421.rst
> > diff --git a/Documentation/hwmon/tps40422 b/Documentation/hwmon/tps40422.rst
> > similarity index 96%
> > rename from Documentation/hwmon/tps40422
> > rename to Documentation/hwmon/tps40422.rst
> > index 359751eb5ed4..b691e30479dd 100644
> > --- a/Documentation/hwmon/tps40422
> > +++ b/Documentation/hwmon/tps40422.rst
> > @@ -21,7 +21,7 @@ This driver supports TI TPS40422 Dual-Output or Two-Phase Synchronous Buck
> > Controller with PMBus
> >
> > The driver is a client driver to the core PMBus driver.
> > -Please see Documentation/hwmon/pmbus for details on PMBus client drivers.
> > +Please see Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> >
> >
> > Usage Notes
> > diff --git a/Documentation/hwmon/twl4030-madc-hwmon b/Documentation/hwmon/twl4030-madc-hwmon.rst
> > similarity index 100%
> > rename from Documentation/hwmon/twl4030-madc-hwmon
> > rename to Documentation/hwmon/twl4030-madc-hwmon.rst
> > diff --git a/Documentation/hwmon/ucd9000 b/Documentation/hwmon/ucd9000.rst
> > similarity index 97%
> > rename from Documentation/hwmon/ucd9000
> > rename to Documentation/hwmon/ucd9000.rst
> > index d69061b7312c..ebc4f2b3bfea 100644
> > --- a/Documentation/hwmon/ucd9000
> > +++ b/Documentation/hwmon/ucd9000.rst
> > @@ -57,7 +57,7 @@ system-health monitor. The device integrates a 12-bit ADC for monitoring up to
> > 13 power-supply voltage, current, or temperature inputs.
> >
> > This driver is a client driver to the core PMBus driver. Please see
> > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> >
> >
> > Usage Notes
> > @@ -72,7 +72,7 @@ Platform data support
> > ---------------------
> >
> > The driver supports standard PMBus driver platform data. Please see
> > -Documentation/hwmon/pmbus for details.
> > +Documentation/hwmon/pmbus.rst for details.
> >
> >
> > Sysfs entries
> > diff --git a/Documentation/hwmon/ucd9200 b/Documentation/hwmon/ucd9200.rst
> > similarity index 97%
> > rename from Documentation/hwmon/ucd9200
> > rename to Documentation/hwmon/ucd9200.rst
> > index 44eda4a579b6..b819dfd75f71 100644
> > --- a/Documentation/hwmon/ucd9200
> > +++ b/Documentation/hwmon/ucd9200.rst
> > @@ -33,7 +33,7 @@ dedicated circuitry for DC/DC loop management with flash memory and a serial
> > interface to support configuration, monitoring and management.
> >
> > This driver is a client driver to the core PMBus driver. Please see
> > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> >
> >
> > Usage Notes
> > @@ -48,7 +48,7 @@ Platform data support
> > ---------------------
> >
> > The driver supports standard PMBus driver platform data. Please see
> > -Documentation/hwmon/pmbus for details.
> > +Documentation/hwmon/pmbus.rst for details.
> >
> >
> > Sysfs entries
> > diff --git a/Documentation/hwmon/userspace-tools b/Documentation/hwmon/userspace-tools.rst
> > similarity index 100%
> > rename from Documentation/hwmon/userspace-tools
> > rename to Documentation/hwmon/userspace-tools.rst
> > diff --git a/Documentation/hwmon/vexpress b/Documentation/hwmon/vexpress.rst
> > similarity index 100%
> > rename from Documentation/hwmon/vexpress
> > rename to Documentation/hwmon/vexpress.rst
> > diff --git a/Documentation/hwmon/via686a b/Documentation/hwmon/via686a.rst
> > similarity index 100%
> > rename from Documentation/hwmon/via686a
> > rename to Documentation/hwmon/via686a.rst
> > diff --git a/Documentation/hwmon/vt1211 b/Documentation/hwmon/vt1211.rst
> > similarity index 100%
> > rename from Documentation/hwmon/vt1211
> > rename to Documentation/hwmon/vt1211.rst
> > diff --git a/Documentation/hwmon/w83627ehf b/Documentation/hwmon/w83627ehf.rst
> > similarity index 100%
> > rename from Documentation/hwmon/w83627ehf
> > rename to Documentation/hwmon/w83627ehf.rst
> > diff --git a/Documentation/hwmon/w83627hf b/Documentation/hwmon/w83627hf.rst
> > similarity index 100%
> > rename from Documentation/hwmon/w83627hf
> > rename to Documentation/hwmon/w83627hf.rst
> > diff --git a/Documentation/hwmon/w83773g b/Documentation/hwmon/w83773g.rst
> > similarity index 100%
> > rename from Documentation/hwmon/w83773g
> > rename to Documentation/hwmon/w83773g.rst
> > diff --git a/Documentation/hwmon/w83781d b/Documentation/hwmon/w83781d.rst
> > similarity index 100%
> > rename from Documentation/hwmon/w83781d
> > rename to Documentation/hwmon/w83781d.rst
> > diff --git a/Documentation/hwmon/w83791d b/Documentation/hwmon/w83791d.rst
> > similarity index 99%
> > rename from Documentation/hwmon/w83791d
> > rename to Documentation/hwmon/w83791d.rst
> > index a91f9e5fb0c6..3adaed39b157 100644
> > --- a/Documentation/hwmon/w83791d
> > +++ b/Documentation/hwmon/w83791d.rst
> > @@ -102,7 +102,7 @@ This file is used for both legacy and new code.
> >
> > The sysfs interface to the beep bitmask has migrated from the original legacy
> > method of a single sysfs beep_mask file to a newer method using multiple
> > -`*_beep` files as described in `Documentation/hwmon/sysfs-interface`.
> > +`*_beep` files as described in `Documentation/hwmon/sysfs-interface.rst`.
> >
> > A similar change has occurred for the bitmap corresponding to the alarms. The
> > original legacy method used a single sysfs alarms file containing a bitmap
> > diff --git a/Documentation/hwmon/w83792d b/Documentation/hwmon/w83792d.rst
> > similarity index 100%
> > rename from Documentation/hwmon/w83792d
> > rename to Documentation/hwmon/w83792d.rst
> > diff --git a/Documentation/hwmon/w83793 b/Documentation/hwmon/w83793.rst
> > similarity index 100%
> > rename from Documentation/hwmon/w83793
> > rename to Documentation/hwmon/w83793.rst
> > diff --git a/Documentation/hwmon/w83795 b/Documentation/hwmon/w83795.rst
> > similarity index 100%
> > rename from Documentation/hwmon/w83795
> > rename to Documentation/hwmon/w83795.rst
> > diff --git a/Documentation/hwmon/w83l785ts b/Documentation/hwmon/w83l785ts.rst
> > similarity index 100%
> > rename from Documentation/hwmon/w83l785ts
> > rename to Documentation/hwmon/w83l785ts.rst
> > diff --git a/Documentation/hwmon/w83l786ng b/Documentation/hwmon/w83l786ng.rst
> > similarity index 100%
> > rename from Documentation/hwmon/w83l786ng
> > rename to Documentation/hwmon/w83l786ng.rst
> > diff --git a/Documentation/hwmon/wm831x b/Documentation/hwmon/wm831x.rst
> > similarity index 100%
> > rename from Documentation/hwmon/wm831x
> > rename to Documentation/hwmon/wm831x.rst
> > diff --git a/Documentation/hwmon/wm8350 b/Documentation/hwmon/wm8350.rst
> > similarity index 100%
> > rename from Documentation/hwmon/wm8350
> > rename to Documentation/hwmon/wm8350.rst
> > diff --git a/Documentation/hwmon/xgene-hwmon b/Documentation/hwmon/xgene-hwmon.rst
> > similarity index 100%
> > rename from Documentation/hwmon/xgene-hwmon
> > rename to Documentation/hwmon/xgene-hwmon.rst
> > diff --git a/Documentation/hwmon/zl6100 b/Documentation/hwmon/zl6100.rst
> > similarity index 98%
> > rename from Documentation/hwmon/zl6100
> > rename to Documentation/hwmon/zl6100.rst
> > index 4029970bace4..41513bb7fe51 100644
> > --- a/Documentation/hwmon/zl6100
> > +++ b/Documentation/hwmon/zl6100.rst
> > @@ -113,7 +113,7 @@ This driver supports hardware monitoring for Intersil / Zilker Labs ZL6100 and
> > compatible digital DC-DC controllers.
> >
> > The driver is a client driver to the core PMBus driver. Please see
> > -Documentation/hwmon/pmbus and Documentation.hwmon/pmbus-core for details
> > +Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details
> > on PMBus client drivers.
> >
> >
> > diff --git a/Documentation/index.rst b/Documentation/index.rst
> > index 80a421cb935e..3a710dc24fc8 100644
> > --- a/Documentation/index.rst
> > +++ b/Documentation/index.rst
> > @@ -83,6 +83,7 @@ needed).
> > media/index
> > networking/index
> > input/index
> > + hwmon/index
> > gpu/index
> > security/index
> > sound/index
> > diff --git a/Documentation/thermal/sysfs-api.txt b/Documentation/thermal/sysfs-api.txt
> > index 911399730c1c..c3fa500df92c 100644
> > --- a/Documentation/thermal/sysfs-api.txt
> > +++ b/Documentation/thermal/sysfs-api.txt
> > @@ -316,7 +316,7 @@ ACPI thermal zones.
> > |---temp[1-*]_input: The current temperature of thermal zone [1-*]
> > |---temp[1-*]_critical: The critical trip point of thermal zone [1-*]
> >
> > -Please read Documentation/hwmon/sysfs-interface for additional information.
> > +Please read Documentation/hwmon/sysfs-interface.rst for additional information.
> >
> > ***************************
> > * Thermal zone attributes *
> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index 349e5d8c3f58..6269c9d671ca 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -468,7 +468,7 @@ ADM1025 HARDWARE MONITOR DRIVER
> > M: Jean Delvare <jdelvare@suse.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/adm1025
> > +F: Documentation/hwmon/adm1025.rst
> > F: drivers/hwmon/adm1025.c
> >
> > ADM1029 HARDWARE MONITOR DRIVER
> > @@ -520,7 +520,7 @@ ADS1015 HARDWARE MONITOR DRIVER
> > M: Dirk Eibach <eibach@gdsys.de>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/ads1015
> > +F: Documentation/hwmon/ads1015.rst
> > F: drivers/hwmon/ads1015.c
> > F: include/linux/platform_data/ads1015.h
> >
> > @@ -533,7 +533,7 @@ ADT7475 HARDWARE MONITOR DRIVER
> > M: Jean Delvare <jdelvare@suse.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/adt7475
> > +F: Documentation/hwmon/adt7475.rst
> > F: drivers/hwmon/adt7475.c
> >
> > ADVANSYS SCSI DRIVER
> > @@ -764,7 +764,7 @@ AMD FAM15H PROCESSOR POWER MONITORING DRIVER
> > M: Huang Rui <ray.huang@amd.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Supported
> > -F: Documentation/hwmon/fam15h_power
> > +F: Documentation/hwmon/fam15h_power.rst
> > F: drivers/hwmon/fam15h_power.c
> >
> > AMD FCH GPIO DRIVER
> > @@ -2531,7 +2531,7 @@ ASC7621 HARDWARE MONITOR DRIVER
> > M: George Joseph <george.joseph@fairview5.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/asc7621
> > +F: Documentation/hwmon/asc7621.rst
> > F: drivers/hwmon/asc7621.c
> >
> > ASPEED VIDEO ENGINE DRIVER
> > @@ -4071,7 +4071,7 @@ CORETEMP HARDWARE MONITORING DRIVER
> > M: Fenghua Yu <fenghua.yu@intel.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/coretemp
> > +F: Documentation/hwmon/coretemp.rst
> > F: drivers/hwmon/coretemp.c
> >
> > COSA/SRP SYNC SERIAL DRIVER
> > @@ -4627,7 +4627,7 @@ DIALOG SEMICONDUCTOR DRIVERS
> > M: Support Opensource <support.opensource@diasemi.com>
> > W: http://www.dialog-semiconductor.com/products
> > S: Supported
> > -F: Documentation/hwmon/da90??
> > +F: Documentation/hwmon/da90??.rst
> > F: Documentation/devicetree/bindings/mfd/da90*.txt
> > F: Documentation/devicetree/bindings/input/da90??-onkey.txt
> > F: Documentation/devicetree/bindings/thermal/da90??-thermal.txt
> > @@ -4778,7 +4778,7 @@ DME1737 HARDWARE MONITOR DRIVER
> > M: Juerg Haefliger <juergh@gmail.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/dme1737
> > +F: Documentation/hwmon/dme1737.rst
> > F: drivers/hwmon/dme1737.c
> >
> > DMI/SMBIOS SUPPORT
> > @@ -6006,7 +6006,7 @@ F71805F HARDWARE MONITORING DRIVER
> > M: Jean Delvare <jdelvare@suse.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/f71805f
> > +F: Documentation/hwmon/f71805f.rst
> > F: drivers/hwmon/f71805f.c
> >
> > FADDR2LINE
> > @@ -7687,7 +7687,7 @@ INA209 HARDWARE MONITOR DRIVER
> > M: Guenter Roeck <linux@roeck-us.net>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/ina209
> > +F: Documentation/hwmon/ina209.rst
> > F: Documentation/devicetree/bindings/hwmon/ina2xx.txt
> > F: drivers/hwmon/ina209.c
> >
> > @@ -7695,7 +7695,7 @@ INA2XX HARDWARE MONITOR DRIVER
> > M: Guenter Roeck <linux@roeck-us.net>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/ina2xx
> > +F: Documentation/hwmon/ina2xx.rst
> > F: drivers/hwmon/ina2xx.c
> > F: include/linux/platform_data/ina2xx.h
> >
> > @@ -8328,7 +8328,7 @@ IT87 HARDWARE MONITORING DRIVER
> > M: Jean Delvare <jdelvare@suse.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/it87
> > +F: Documentation/hwmon/it87.rst
> > F: drivers/hwmon/it87.c
> >
> > IT913X MEDIA DRIVER
> > @@ -8372,7 +8372,7 @@ M: Guenter Roeck <linux@roeck-us.net>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > F: drivers/hwmon/jc42.c
> > -F: Documentation/hwmon/jc42
> > +F: Documentation/hwmon/jc42.rst
> >
> > JFS FILESYSTEM
> > M: Dave Kleikamp <shaggy@kernel.org>
> > @@ -8420,14 +8420,14 @@ K10TEMP HARDWARE MONITORING DRIVER
> > M: Clemens Ladisch <clemens@ladisch.de>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/k10temp
> > +F: Documentation/hwmon/k10temp.rst
> > F: drivers/hwmon/k10temp.c
> >
> > K8TEMP HARDWARE MONITORING DRIVER
> > M: Rudolf Marek <r.marek@assembler.cz>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/k8temp
> > +F: Documentation/hwmon/k8temp.rst
> > F: drivers/hwmon/k8temp.c
> >
> > KASAN
> > @@ -9118,21 +9118,21 @@ LM78 HARDWARE MONITOR DRIVER
> > M: Jean Delvare <jdelvare@suse.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/lm78
> > +F: Documentation/hwmon/lm78.rst
> > F: drivers/hwmon/lm78.c
> >
> > LM83 HARDWARE MONITOR DRIVER
> > M: Jean Delvare <jdelvare@suse.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/lm83
> > +F: Documentation/hwmon/lm83.rst
> > F: drivers/hwmon/lm83.c
> >
> > LM90 HARDWARE MONITOR DRIVER
> > M: Jean Delvare <jdelvare@suse.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/lm90
> > +F: Documentation/hwmon/lm90.rst
> > F: Documentation/devicetree/bindings/hwmon/lm90.txt
> > F: drivers/hwmon/lm90.c
> > F: include/dt-bindings/thermal/lm90.h
> > @@ -9141,7 +9141,7 @@ LM95234 HARDWARE MONITOR DRIVER
> > M: Guenter Roeck <linux@roeck-us.net>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/lm95234
> > +F: Documentation/hwmon/lm95234.rst
> > F: drivers/hwmon/lm95234.c
> >
> > LME2510 MEDIA DRIVER
> > @@ -9214,7 +9214,7 @@ LTC4261 HARDWARE MONITOR DRIVER
> > M: Guenter Roeck <linux@roeck-us.net>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/ltc4261
> > +F: Documentation/hwmon/ltc4261.rst
> > F: drivers/hwmon/ltc4261.c
> >
> > LTC4306 I2C MULTIPLEXER DRIVER
> > @@ -9445,7 +9445,7 @@ MAX16065 HARDWARE MONITOR DRIVER
> > M: Guenter Roeck <linux@roeck-us.net>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/max16065
> > +F: Documentation/hwmon/max16065.rst
> > F: drivers/hwmon/max16065.c
> >
> > MAX2175 SDR TUNER DRIVER
> > @@ -9461,14 +9461,14 @@ F: include/uapi/linux/max2175.h
> > MAX6650 HARDWARE MONITOR AND FAN CONTROLLER DRIVER
> > L: linux-hwmon@vger.kernel.org
> > S: Orphan
> > -F: Documentation/hwmon/max6650
> > +F: Documentation/hwmon/max6650.rst
> > F: drivers/hwmon/max6650.c
> >
> > MAX6697 HARDWARE MONITOR DRIVER
> > M: Guenter Roeck <linux@roeck-us.net>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/max6697
> > +F: Documentation/hwmon/max6697.rst
> > F: Documentation/devicetree/bindings/hwmon/max6697.txt
> > F: drivers/hwmon/max6697.c
> > F: include/linux/platform_data/max6697.h
> > @@ -10118,7 +10118,7 @@ F: drivers/mfd/menf21bmc.c
> > F: drivers/watchdog/menf21bmc_wdt.c
> > F: drivers/leds/leds-menf21bmc.c
> > F: drivers/hwmon/menf21bmc_hwmon.c
> > -F: Documentation/hwmon/menf21bmc
> > +F: Documentation/hwmon/menf21bmc.rst
> >
> > MEN Z069 WATCHDOG DRIVER
> > M: Johannes Thumshirn <jth@kernel.org>
> > @@ -10747,7 +10747,7 @@ NCT6775 HARDWARE MONITOR DRIVER
> > M: Guenter Roeck <linux@roeck-us.net>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/nct6775
> > +F: Documentation/hwmon/nct6775.rst
> > F: drivers/hwmon/nct6775.c
> >
> > NET_FAILOVER MODULE
> > @@ -11841,7 +11841,7 @@ PC87360 HARDWARE MONITORING DRIVER
> > M: Jim Cromie <jim.cromie@gmail.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/pc87360
> > +F: Documentation/hwmon/pc87360.rst
> > F: drivers/hwmon/pc87360.c
> >
> > PC8736x GPIO DRIVER
> > @@ -11853,7 +11853,7 @@ PC87427 HARDWARE MONITORING DRIVER
> > M: Jean Delvare <jdelvare@suse.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/pc87427
> > +F: Documentation/hwmon/pc87427.rst
> > F: drivers/hwmon/pc87427.c
> >
> > PCA9532 LED DRIVER
> > @@ -12421,23 +12421,23 @@ S: Maintained
> > F: Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt
> > F: Documentation/devicetree/bindings/hwmon/max31785.txt
> > F: Documentation/devicetree/bindings/hwmon/ltc2978.txt
> > -F: Documentation/hwmon/adm1275
> > -F: Documentation/hwmon/ibm-cffps
> > -F: Documentation/hwmon/ir35221
> > -F: Documentation/hwmon/lm25066
> > -F: Documentation/hwmon/ltc2978
> > -F: Documentation/hwmon/ltc3815
> > -F: Documentation/hwmon/max16064
> > -F: Documentation/hwmon/max20751
> > -F: Documentation/hwmon/max31785
> > -F: Documentation/hwmon/max34440
> > -F: Documentation/hwmon/max8688
> > -F: Documentation/hwmon/pmbus
> > -F: Documentation/hwmon/pmbus-core
> > -F: Documentation/hwmon/tps40422
> > -F: Documentation/hwmon/ucd9000
> > -F: Documentation/hwmon/ucd9200
> > -F: Documentation/hwmon/zl6100
> > +F: Documentation/hwmon/adm1275.rst
> > +F: Documentation/hwmon/ibm-cffps.rst
> > +F: Documentation/hwmon/ir35221.rst
> > +F: Documentation/hwmon/lm25066.rst
> > +F: Documentation/hwmon/ltc2978.rst
> > +F: Documentation/hwmon/ltc3815.rst
> > +F: Documentation/hwmon/max16064.rst
> > +F: Documentation/hwmon/max20751.rst
> > +F: Documentation/hwmon/max31785.rst
> > +F: Documentation/hwmon/max34440.rst
> > +F: Documentation/hwmon/max8688.rst
> > +F: Documentation/hwmon/pmbus.rst
> > +F: Documentation/hwmon/pmbus-core.rst
> > +F: Documentation/hwmon/tps40422.rst
> > +F: Documentation/hwmon/ucd9000.rst
> > +F: Documentation/hwmon/ucd9200.rst
> > +F: Documentation/hwmon/zl6100.rst
> > F: drivers/hwmon/pmbus/
> > F: include/linux/pmbus.h
> >
> > @@ -12701,7 +12701,7 @@ M: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Supported
> > F: Documentation/devicetree/bindings/hwmon/pwm-fan.txt
> > -F: Documentation/hwmon/pwm-fan
> > +F: Documentation/hwmon/pwm-fan.rst
> > F: drivers/hwmon/pwm-fan.c
> >
> > PWM IR Transmitter
> > @@ -14366,21 +14366,21 @@ SMM665 HARDWARE MONITOR DRIVER
> > M: Guenter Roeck <linux@roeck-us.net>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/smm665
> > +F: Documentation/hwmon/smm665.rst
> > F: drivers/hwmon/smm665.c
> >
> > SMSC EMC2103 HARDWARE MONITOR DRIVER
> > M: Steve Glendinning <steve.glendinning@shawell.net>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/emc2103
> > +F: Documentation/hwmon/emc2103.rst
> > F: drivers/hwmon/emc2103.c
> >
> > SMSC SCH5627 HARDWARE MONITOR DRIVER
> > M: Hans de Goede <hdegoede@redhat.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Supported
> > -F: Documentation/hwmon/sch5627
> > +F: Documentation/hwmon/sch5627.rst
> > F: drivers/hwmon/sch5627.c
> >
> > SMSC UFX6000 and UFX7000 USB to VGA DRIVER
> > @@ -14393,7 +14393,7 @@ SMSC47B397 HARDWARE MONITOR DRIVER
> > M: Jean Delvare <jdelvare@suse.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/smsc47b397
> > +F: Documentation/hwmon/smsc47b397.rst
> > F: drivers/hwmon/smsc47b397.c
> >
> > SMSC911x ETHERNET DRIVER
> > @@ -15744,7 +15744,7 @@ TMP401 HARDWARE MONITOR DRIVER
> > M: Guenter Roeck <linux@roeck-us.net>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/tmp401
> > +F: Documentation/hwmon/tmp401.rst
> > F: drivers/hwmon/tmp401.c
> >
> > TMPFS (SHMEM FILESYSTEM)
> > @@ -16796,7 +16796,7 @@ VT1211 HARDWARE MONITOR DRIVER
> > M: Juerg Haefliger <juergh@gmail.com>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/vt1211
> > +F: Documentation/hwmon/vt1211.rst
> > F: drivers/hwmon/vt1211.c
> >
> > VT8231 HARDWARE MONITOR DRIVER
> > @@ -16824,14 +16824,14 @@ W83791D HARDWARE MONITORING DRIVER
> > M: Marc Hulsman <m.hulsman@tudelft.nl>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/w83791d
> > +F: Documentation/hwmon/w83791d.rst
> > F: drivers/hwmon/w83791d.c
> >
> > W83793 HARDWARE MONITORING DRIVER
> > M: Rudolf Marek <r.marek@assembler.cz>
> > L: linux-hwmon@vger.kernel.org
> > S: Maintained
> > -F: Documentation/hwmon/w83793
> > +F: Documentation/hwmon/w83793.rst
> > F: drivers/hwmon/w83793.c
> >
> > W83795 HARDWARE MONITORING DRIVER
> > @@ -16940,7 +16940,7 @@ L: patches@opensource.cirrus.com
> > T: git https://github.com/CirrusLogic/linux-drivers.git
> > W: https://github.com/CirrusLogic/linux-drivers/wiki
> > S: Supported
> > -F: Documentation/hwmon/wm83??
> > +F: Documentation/hwmon/wm83??.rst
> > F: Documentation/devicetree/bindings/extcon/extcon-arizona.txt
> > F: Documentation/devicetree/bindings/regulator/arizona-regulator.txt
> > F: Documentation/devicetree/bindings/mfd/arizona.txt
> > diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
> > index dedd5febd3aa..470ba66b18b0 100644
> > --- a/drivers/hwmon/Kconfig
> > +++ b/drivers/hwmon/Kconfig
> > @@ -17,7 +17,7 @@ menuconfig HWMON
> >
> > To find out which specific driver(s) you need, use the
> > sensors-detect script from the lm_sensors package. Read
> > - <file:Documentation/hwmon/userspace-tools> for details.
> > + <file:Documentation/hwmon/userspace-tools.rst> for details.
> >
> > This support can also be built as a module. If so, the module
> > will be called hwmon.
> > @@ -59,7 +59,7 @@ config SENSORS_ABITUGURU
> > chip can be found on Abit uGuru featuring motherboards (most modern
> > Abit motherboards from before end 2005). For more info and a list
> > of which motherboards have which revision see
> > - Documentation/hwmon/abituguru
> > + Documentation/hwmon/abituguru.rst
> >
> > This driver can also be built as a module. If so, the module
> > will be called abituguru.
> > @@ -73,7 +73,7 @@ config SENSORS_ABITUGURU3
> > and their settings is supported. The third revision of the Abit
> > uGuru chip can be found on recent Abit motherboards (since end
> > 2005). For more info and a list of which motherboards have which
> > - revision see Documentation/hwmon/abituguru3
> > + revision see Documentation/hwmon/abituguru3.rst
> >
> > This driver can also be built as a module. If so, the module
> > will be called abituguru3.
> > @@ -643,7 +643,7 @@ config SENSORS_CORETEMP
> > help
> > If you say yes here you get support for the temperature
> > sensor inside your CPU. Most of the family 6 CPUs
> > - are supported. Check Documentation/hwmon/coretemp for details.
> > + are supported. Check Documentation/hwmon/coretemp.rst for details.
> >
> > config SENSORS_IT87
> > tristate "ITE IT87xx and compatibles"
> > diff --git a/drivers/hwmon/ads7828.c b/drivers/hwmon/ads7828.c
> > index e6be617e3fb2..03d6e782777a 100644
> > --- a/drivers/hwmon/ads7828.c
> > +++ b/drivers/hwmon/ads7828.c
> > @@ -8,7 +8,7 @@
> > *
> > * ADS7830 support, by Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
> > *
> > - * For further information, see the Documentation/hwmon/ads7828 file.
> > + * For further information, see the Documentation/hwmon/ads7828.rst file.
> > *
> > * This program is free software; you can redistribute it and/or modify
> > * it under the terms of the GNU General Public License as published by
> > diff --git a/drivers/hwmon/max197.c b/drivers/hwmon/max197.c
> > index 3d9e210beedf..dd6a35219a18 100644
> > --- a/drivers/hwmon/max197.c
> > +++ b/drivers/hwmon/max197.c
> > @@ -8,7 +8,7 @@
> > * it under the terms of the GNU General Public License version 2 as
> > * published by the Free Software Foundation.
> > *
> > - * For further information, see the Documentation/hwmon/max197 file.
> > + * For further information, see the Documentation/hwmon/max197.rst file.
> > */
> >
> > #include <linux/kernel.h>
> > diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c
> > index 39b41e35c2bf..7f4a63959730 100644
> > --- a/drivers/hwmon/sht15.c
> > +++ b/drivers/hwmon/sht15.c
> > @@ -10,7 +10,7 @@
> > *
> > * Copyright (c) 2007 Wouter Horre
> > *
> > - * For further information, see the Documentation/hwmon/sht15 file.
> > + * For further information, see the Documentation/hwmon/sht15.rst file.
> > */
> >
> > #include <linux/interrupt.h>
> > diff --git a/include/linux/platform_data/ads7828.h b/include/linux/platform_data/ads7828.h
> > index 3245f45f9d77..a3370a007702 100644
> > --- a/include/linux/platform_data/ads7828.h
> > +++ b/include/linux/platform_data/ads7828.h
> > @@ -4,7 +4,7 @@
> > * Copyright (c) 2012 Savoir-faire Linux Inc.
> > * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
> > *
> > - * For further information, see the Documentation/hwmon/ads7828 file.
> > + * For further information, see the Documentation/hwmon/ads7828.rst file.
> > *
> > * This program is free software; you can redistribute it and/or modify
> > * it under the terms of the GNU General Public License version 2 as
> > diff --git a/include/linux/platform_data/ds620.h b/include/linux/platform_data/ds620.h
> > index 6ef58bb77e46..f0ce22a78bb8 100644
> > --- a/include/linux/platform_data/ds620.h
> > +++ b/include/linux/platform_data/ds620.h
> > @@ -14,7 +14,7 @@ struct ds620_platform_data {
> > * 1 = PO_LOW
> > * 2 = PO_HIGH
> > *
> > - * (see Documentation/hwmon/ds620)
> > + * (see Documentation/hwmon/ds620.rst)
> > */
> > int pomode;
> > };
> > diff --git a/include/linux/platform_data/ina2xx.h b/include/linux/platform_data/ina2xx.h
> > index 9f0aa1b48c78..dde59fd3590f 100644
> > --- a/include/linux/platform_data/ina2xx.h
> > +++ b/include/linux/platform_data/ina2xx.h
> > @@ -7,7 +7,7 @@
> > * it under the terms of the GNU General Public License version 2 as
> > * published by the Free Software Foundation.
> > *
> > - * For further information, see the Documentation/hwmon/ina2xx file.
> > + * For further information, see the Documentation/hwmon/ina2xx.rst file.
> > */
> >
> > /**
> > diff --git a/include/linux/platform_data/max197.h b/include/linux/platform_data/max197.h
> > index 8da8f94ee15c..2bbd0919bc89 100644
> > --- a/include/linux/platform_data/max197.h
> > +++ b/include/linux/platform_data/max197.h
> > @@ -8,7 +8,7 @@
> > * it under the terms of the GNU General Public License version 2 as
> > * published by the Free Software Foundation.
> > *
> > - * For further information, see the Documentation/hwmon/max197 file.
> > + * For further information, see the Documentation/hwmon/max197.rst file.
> > */
> >
> > #ifndef _PDATA_MAX197_H
> > diff --git a/include/linux/platform_data/ntc_thermistor.h b/include/linux/platform_data/ntc_thermistor.h
> > index ee03d429742b..5fa115d3ea4b 100644
> > --- a/include/linux/platform_data/ntc_thermistor.h
> > +++ b/include/linux/platform_data/ntc_thermistor.h
> > @@ -42,7 +42,7 @@ struct ntc_thermistor_platform_data {
> > * read_uV()
> > *
> > * How to setup pullup_ohm, pulldown_ohm, and connect is
> > - * described at Documentation/hwmon/ntc_thermistor
> > + * described at Documentation/hwmon/ntc_thermistor.rst
> > *
> > * pullup/down_ohm: 0 for infinite / not-connected
> > *
Thanks,
Mauro
^ permalink raw reply
* Re: [PATCH v3 21/21] docs: hwmon: Add an index file and rename docs to *.rst
From: Mauro Carvalho Chehab @ 2019-04-17 17:22 UTC (permalink / raw)
To: Guenter Roeck
Cc: Mark Rutland, Dirk Eibach, linux-aspeed, Linux Doc Mailing List,
Clemens Ladisch, Kamil Debski, Marc Hulsman, devicetree,
Huang Rui, Paul Mackerras, Jim Cromie, Lorenzo Pieralisi,
Jonathan Corbet, Joel Stanley, Steve Glendinning, Fenghua Yu,
Jean Delvare, Bartlomiej Zolnierkiewicz, Liviu Dudau,
Hans de Goede, Rob Herring, Rudolf Marek, linux-arm-kernel,
linux-hwmon, Support Opensource, George Joseph, Andreas Werner,
Andrew Jeffery, patches, linux-kernel, Juerg Haefliger,
Sudeep Holla, linuxppc-dev
In-Reply-To: <20190417141352.3225bbb3@coco.lan>
Em Wed, 17 Apr 2019 14:13:52 -0300
Mauro Carvalho Chehab <mchehab+samsung@kernel.org> escreveu:
> Em Wed, 17 Apr 2019 09:47:41 -0700
> Guenter Roeck <linux@roeck-us.net> escreveu:
>
> > On Wed, Apr 17, 2019 at 06:46:29AM -0300, Mauro Carvalho Chehab wrote:
> > > Now that all files were converted to ReST format, rename them
> > > and add an index.
> > >
> > > Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
> > > Acked-by: Liviu Dudau <liviu.dudau@arm.com>
> >
> > I applied all patches except this one, which fails due to a conflict in
> > ab8500. I also notice that this file has not been touched by your series,
> > which is odd. At the same time, patch 20/21 is missing from your series,
> > and has been missing all along. Does the missing patch possibly touch
> > Documentation/hwmon/ab8500 ?
>
> Patch 20/21 is the biggest one. Maybe vger rejected it either due to
> its size or due to the number of c/c.
>
> Just bounced it to you. Please let me know if you didn't receive it
> yet.
Btw, LKML got it:
https://lore.kernel.org/lkml/cccc2a52363a5aaeea10e186ead8570503ea648e.1555494108.git.mchehab+samsung@kernel.org/
>
> Regards,
> Mauro
>
> >
> > Thanks,
> > Guenter
> >
> > > ---
> > > .../devicetree/bindings/hwmon/g762.txt | 2 +-
> > > Documentation/hwmon/{ab8500 => ab8500.rst} | 2 +-
> > > ...guru-datasheet => abituguru-datasheet.rst} | 0
> > > .../hwmon/{abituguru => abituguru.rst} | 0
> > > .../hwmon/{abituguru3 => abituguru3.rst} | 0
> > > Documentation/hwmon/{abx500 => abx500.rst} | 0
> > > ...{acpi_power_meter => acpi_power_meter.rst} | 2 +-
> > > Documentation/hwmon/{ad7314 => ad7314.rst} | 0
> > > .../hwmon/{adc128d818 => adc128d818.rst} | 0
> > > Documentation/hwmon/{adm1021 => adm1021.rst} | 0
> > > Documentation/hwmon/{adm1025 => adm1025.rst} | 0
> > > Documentation/hwmon/{adm1026 => adm1026.rst} | 0
> > > Documentation/hwmon/{adm1031 => adm1031.rst} | 0
> > > Documentation/hwmon/{adm1275 => adm1275.rst} | 4 +-
> > > Documentation/hwmon/{adm9240 => adm9240.rst} | 0
> > > Documentation/hwmon/{ads1015 => ads1015.rst} | 0
> > > Documentation/hwmon/{ads7828 => ads7828.rst} | 0
> > > Documentation/hwmon/{adt7410 => adt7410.rst} | 0
> > > Documentation/hwmon/{adt7411 => adt7411.rst} | 0
> > > Documentation/hwmon/{adt7462 => adt7462.rst} | 1 -
> > > Documentation/hwmon/{adt7470 => adt7470.rst} | 0
> > > Documentation/hwmon/{adt7475 => adt7475.rst} | 0
> > > Documentation/hwmon/{amc6821 => amc6821.rst} | 1 -
> > > Documentation/hwmon/{asb100 => asb100.rst} | 1 -
> > > Documentation/hwmon/{asc7621 => asc7621.rst} | 0
> > > ...{aspeed-pwm-tacho => aspeed-pwm-tacho.rst} | 0
> > > .../hwmon/{coretemp => coretemp.rst} | 0
> > > Documentation/hwmon/{da9052 => da9052.rst} | 0
> > > Documentation/hwmon/{da9055 => da9055.rst} | 0
> > > Documentation/hwmon/{dme1737 => dme1737.rst} | 0
> > > Documentation/hwmon/{ds1621 => ds1621.rst} | 0
> > > Documentation/hwmon/{ds620 => ds620.rst} | 0
> > > Documentation/hwmon/{emc1403 => emc1403.rst} | 0
> > > Documentation/hwmon/{emc2103 => emc2103.rst} | 0
> > > .../hwmon/{emc6w201 => emc6w201.rst} | 0
> > > Documentation/hwmon/{f71805f => f71805f.rst} | 0
> > > .../hwmon/{f71882fg => f71882fg.rst} | 0
> > > .../hwmon/{fam15h_power => fam15h_power.rst} | 0
> > > .../hwmon/{ftsteutates => ftsteutates.rst} | 0
> > > Documentation/hwmon/{g760a => g760a.rst} | 0
> > > Documentation/hwmon/{g762 => g762.rst} | 2 +-
> > > Documentation/hwmon/{gl518sm => gl518sm.rst} | 0
> > > Documentation/hwmon/{hih6130 => hih6130.rst} | 0
> > > ...on-kernel-api.txt => hwmon-kernel-api.rst} | 4 +-
> > > .../hwmon/{ibm-cffps => ibm-cffps.rst} | 0
> > > Documentation/hwmon/{ibmaem => ibmaem.rst} | 0
> > > .../hwmon/{ibmpowernv => ibmpowernv.rst} | 0
> > > Documentation/hwmon/{ina209 => ina209.rst} | 0
> > > Documentation/hwmon/{ina2xx => ina2xx.rst} | 2 +-
> > > Documentation/hwmon/{ina3221 => ina3221.rst} | 0
> > > Documentation/hwmon/index.rst | 179 ++++++++++++++++++
> > > Documentation/hwmon/{ir35221 => ir35221.rst} | 0
> > > Documentation/hwmon/{it87 => it87.rst} | 0
> > > Documentation/hwmon/{jc42 => jc42.rst} | 0
> > > Documentation/hwmon/{k10temp => k10temp.rst} | 0
> > > Documentation/hwmon/{k8temp => k8temp.rst} | 0
> > > .../hwmon/{lineage-pem => lineage-pem.rst} | 0
> > > Documentation/hwmon/{lm25066 => lm25066.rst} | 2 +-
> > > Documentation/hwmon/{lm63 => lm63.rst} | 0
> > > Documentation/hwmon/{lm70 => lm70.rst} | 0
> > > Documentation/hwmon/{lm73 => lm73.rst} | 0
> > > Documentation/hwmon/{lm75 => lm75.rst} | 0
> > > Documentation/hwmon/{lm77 => lm77.rst} | 0
> > > Documentation/hwmon/{lm78 => lm78.rst} | 0
> > > Documentation/hwmon/{lm80 => lm80.rst} | 0
> > > Documentation/hwmon/{lm83 => lm83.rst} | 0
> > > Documentation/hwmon/{lm85 => lm85.rst} | 0
> > > Documentation/hwmon/{lm87 => lm87.rst} | 0
> > > Documentation/hwmon/{lm90 => lm90.rst} | 0
> > > Documentation/hwmon/{lm92 => lm92.rst} | 0
> > > Documentation/hwmon/{lm93 => lm93.rst} | 0
> > > Documentation/hwmon/{lm95234 => lm95234.rst} | 0
> > > Documentation/hwmon/{lm95245 => lm95245.rst} | 0
> > > Documentation/hwmon/{ltc2945 => ltc2945.rst} | 0
> > > Documentation/hwmon/{ltc2978 => ltc2978.rst} | 0
> > > Documentation/hwmon/{ltc2990 => ltc2990.rst} | 0
> > > Documentation/hwmon/{ltc3815 => ltc3815.rst} | 0
> > > Documentation/hwmon/{ltc4151 => ltc4151.rst} | 0
> > > Documentation/hwmon/{ltc4215 => ltc4215.rst} | 0
> > > Documentation/hwmon/{ltc4245 => ltc4245.rst} | 0
> > > Documentation/hwmon/{ltc4260 => ltc4260.rst} | 0
> > > Documentation/hwmon/{ltc4261 => ltc4261.rst} | 0
> > > .../hwmon/{max16064 => max16064.rst} | 2 +-
> > > .../hwmon/{max16065 => max16065.rst} | 0
> > > Documentation/hwmon/{max1619 => max1619.rst} | 1 -
> > > Documentation/hwmon/{max1668 => max1668.rst} | 0
> > > Documentation/hwmon/{max197 => max197.rst} | 0
> > > .../hwmon/{max20751 => max20751.rst} | 2 +-
> > > .../hwmon/{max31722 => max31722.rst} | 0
> > > .../hwmon/{max31785 => max31785.rst} | 0
> > > .../hwmon/{max31790 => max31790.rst} | 0
> > > .../hwmon/{max34440 => max34440.rst} | 2 +-
> > > Documentation/hwmon/{max6639 => max6639.rst} | 0
> > > Documentation/hwmon/{max6642 => max6642.rst} | 0
> > > Documentation/hwmon/{max6650 => max6650.rst} | 1 -
> > > Documentation/hwmon/{max6697 => max6697.rst} | 0
> > > Documentation/hwmon/{max8688 => max8688.rst} | 2 +-
> > > .../hwmon/{mc13783-adc => mc13783-adc.rst} | 0
> > > Documentation/hwmon/{mcp3021 => mcp3021.rst} | 0
> > > .../hwmon/{menf21bmc => menf21bmc.rst} | 0
> > > .../hwmon/{mlxreg-fan => mlxreg-fan.rst} | 0
> > > Documentation/hwmon/{nct6683 => nct6683.rst} | 0
> > > Documentation/hwmon/{nct6775 => nct6775.rst} | 0
> > > Documentation/hwmon/{nct7802 => nct7802.rst} | 0
> > > Documentation/hwmon/{nct7904 => nct7904.rst} | 0
> > > .../{npcm750-pwm-fan => npcm750-pwm-fan.rst} | 0
> > > Documentation/hwmon/{nsa320 => nsa320.rst} | 0
> > > .../{ntc_thermistor => ntc_thermistor.rst} | 0
> > > Documentation/hwmon/{occ => occ.rst} | 0
> > > Documentation/hwmon/{pc87360 => pc87360.rst} | 0
> > > Documentation/hwmon/{pc87427 => pc87427.rst} | 0
> > > Documentation/hwmon/{pcf8591 => pcf8591.rst} | 0
> > > .../hwmon/{pmbus-core => pmbus-core.rst} | 0
> > > Documentation/hwmon/{pmbus => pmbus.rst} | 0
> > > .../hwmon/{powr1220 => powr1220.rst} | 0
> > > Documentation/hwmon/{pwm-fan => pwm-fan.rst} | 0
> > > ...aspberrypi-hwmon => raspberrypi-hwmon.rst} | 0
> > > Documentation/hwmon/{sch5627 => sch5627.rst} | 0
> > > Documentation/hwmon/{sch5636 => sch5636.rst} | 0
> > > .../hwmon/{scpi-hwmon => scpi-hwmon.rst} | 0
> > > Documentation/hwmon/{sht15 => sht15.rst} | 0
> > > Documentation/hwmon/{sht21 => sht21.rst} | 0
> > > Documentation/hwmon/{sht3x => sht3x.rst} | 0
> > > Documentation/hwmon/{shtc1 => shtc1.rst} | 0
> > > Documentation/hwmon/{sis5595 => sis5595.rst} | 1 -
> > > Documentation/hwmon/{smm665 => smm665.rst} | 0
> > > .../hwmon/{smsc47b397 => smsc47b397.rst} | 0
> > > .../hwmon/{smsc47m1 => smsc47m1.rst} | 0
> > > .../hwmon/{smsc47m192 => smsc47m192.rst} | 0
> > > ...mitting-patches => submitting-patches.rst} | 6 +-
> > > .../{sysfs-interface => sysfs-interface.rst} | 0
> > > Documentation/hwmon/{tc654 => tc654.rst} | 0
> > > Documentation/hwmon/{tc74 => tc74.rst} | 0
> > > Documentation/hwmon/{thmc50 => thmc50.rst} | 1 -
> > > Documentation/hwmon/{tmp102 => tmp102.rst} | 2 +-
> > > Documentation/hwmon/{tmp103 => tmp103.rst} | 2 +-
> > > Documentation/hwmon/{tmp108 => tmp108.rst} | 2 +-
> > > Documentation/hwmon/{tmp401 => tmp401.rst} | 2 +-
> > > Documentation/hwmon/{tmp421 => tmp421.rst} | 0
> > > .../hwmon/{tps40422 => tps40422.rst} | 2 +-
> > > ...4030-madc-hwmon => twl4030-madc-hwmon.rst} | 0
> > > Documentation/hwmon/{ucd9000 => ucd9000.rst} | 4 +-
> > > Documentation/hwmon/{ucd9200 => ucd9200.rst} | 4 +-
> > > .../{userspace-tools => userspace-tools.rst} | 0
> > > .../hwmon/{vexpress => vexpress.rst} | 0
> > > Documentation/hwmon/{via686a => via686a.rst} | 0
> > > Documentation/hwmon/{vt1211 => vt1211.rst} | 0
> > > .../hwmon/{w83627ehf => w83627ehf.rst} | 0
> > > .../hwmon/{w83627hf => w83627hf.rst} | 0
> > > Documentation/hwmon/{w83773g => w83773g.rst} | 0
> > > Documentation/hwmon/{w83781d => w83781d.rst} | 0
> > > Documentation/hwmon/{w83791d => w83791d.rst} | 2 +-
> > > Documentation/hwmon/{w83792d => w83792d.rst} | 0
> > > Documentation/hwmon/{w83793 => w83793.rst} | 0
> > > Documentation/hwmon/{w83795 => w83795.rst} | 0
> > > .../hwmon/{w83l785ts => w83l785ts.rst} | 0
> > > .../hwmon/{w83l786ng => w83l786ng.rst} | 0
> > > Documentation/hwmon/{wm831x => wm831x.rst} | 0
> > > Documentation/hwmon/{wm8350 => wm8350.rst} | 0
> > > .../hwmon/{xgene-hwmon => xgene-hwmon.rst} | 0
> > > Documentation/hwmon/{zl6100 => zl6100.rst} | 2 +-
> > > Documentation/index.rst | 1 +
> > > Documentation/thermal/sysfs-api.txt | 2 +-
> > > MAINTAINERS | 108 +++++------
> > > drivers/hwmon/Kconfig | 8 +-
> > > drivers/hwmon/ads7828.c | 2 +-
> > > drivers/hwmon/max197.c | 2 +-
> > > drivers/hwmon/sht15.c | 2 +-
> > > include/linux/platform_data/ads7828.h | 2 +-
> > > include/linux/platform_data/ds620.h | 2 +-
> > > include/linux/platform_data/ina2xx.h | 2 +-
> > > include/linux/platform_data/max197.h | 2 +-
> > > include/linux/platform_data/ntc_thermistor.h | 2 +-
> > > 173 files changed, 275 insertions(+), 102 deletions(-)
> > > rename Documentation/hwmon/{ab8500 => ab8500.rst} (86%)
> > > rename Documentation/hwmon/{abituguru-datasheet => abituguru-datasheet.rst} (100%)
> > > rename Documentation/hwmon/{abituguru => abituguru.rst} (100%)
> > > rename Documentation/hwmon/{abituguru3 => abituguru3.rst} (100%)
> > > rename Documentation/hwmon/{abx500 => abx500.rst} (100%)
> > > rename Documentation/hwmon/{acpi_power_meter => acpi_power_meter.rst} (97%)
> > > rename Documentation/hwmon/{ad7314 => ad7314.rst} (100%)
> > > rename Documentation/hwmon/{adc128d818 => adc128d818.rst} (100%)
> > > rename Documentation/hwmon/{adm1021 => adm1021.rst} (100%)
> > > rename Documentation/hwmon/{adm1025 => adm1025.rst} (100%)
> > > rename Documentation/hwmon/{adm1026 => adm1026.rst} (100%)
> > > rename Documentation/hwmon/{adm1031 => adm1031.rst} (100%)
> > > rename Documentation/hwmon/{adm1275 => adm1275.rst} (97%)
> > > rename Documentation/hwmon/{adm9240 => adm9240.rst} (100%)
> > > rename Documentation/hwmon/{ads1015 => ads1015.rst} (100%)
> > > rename Documentation/hwmon/{ads7828 => ads7828.rst} (100%)
> > > rename Documentation/hwmon/{adt7410 => adt7410.rst} (100%)
> > > rename Documentation/hwmon/{adt7411 => adt7411.rst} (100%)
> > > rename Documentation/hwmon/{adt7462 => adt7462.rst} (99%)
> > > rename Documentation/hwmon/{adt7470 => adt7470.rst} (100%)
> > > rename Documentation/hwmon/{adt7475 => adt7475.rst} (100%)
> > > rename Documentation/hwmon/{amc6821 => amc6821.rst} (99%)
> > > rename Documentation/hwmon/{asb100 => asb100.rst} (99%)
> > > rename Documentation/hwmon/{asc7621 => asc7621.rst} (100%)
> > > rename Documentation/hwmon/{aspeed-pwm-tacho => aspeed-pwm-tacho.rst} (100%)
> > > rename Documentation/hwmon/{coretemp => coretemp.rst} (100%)
> > > rename Documentation/hwmon/{da9052 => da9052.rst} (100%)
> > > rename Documentation/hwmon/{da9055 => da9055.rst} (100%)
> > > rename Documentation/hwmon/{dme1737 => dme1737.rst} (100%)
> > > rename Documentation/hwmon/{ds1621 => ds1621.rst} (100%)
> > > rename Documentation/hwmon/{ds620 => ds620.rst} (100%)
> > > rename Documentation/hwmon/{emc1403 => emc1403.rst} (100%)
> > > rename Documentation/hwmon/{emc2103 => emc2103.rst} (100%)
> > > rename Documentation/hwmon/{emc6w201 => emc6w201.rst} (100%)
> > > rename Documentation/hwmon/{f71805f => f71805f.rst} (100%)
> > > rename Documentation/hwmon/{f71882fg => f71882fg.rst} (100%)
> > > rename Documentation/hwmon/{fam15h_power => fam15h_power.rst} (100%)
> > > rename Documentation/hwmon/{ftsteutates => ftsteutates.rst} (100%)
> > > rename Documentation/hwmon/{g760a => g760a.rst} (100%)
> > > rename Documentation/hwmon/{g762 => g762.rst} (97%)
> > > rename Documentation/hwmon/{gl518sm => gl518sm.rst} (100%)
> > > rename Documentation/hwmon/{hih6130 => hih6130.rst} (100%)
> > > rename Documentation/hwmon/{hwmon-kernel-api.txt => hwmon-kernel-api.rst} (99%)
> > > rename Documentation/hwmon/{ibm-cffps => ibm-cffps.rst} (100%)
> > > rename Documentation/hwmon/{ibmaem => ibmaem.rst} (100%)
> > > rename Documentation/hwmon/{ibmpowernv => ibmpowernv.rst} (100%)
> > > rename Documentation/hwmon/{ina209 => ina209.rst} (100%)
> > > rename Documentation/hwmon/{ina2xx => ina2xx.rst} (97%)
> > > rename Documentation/hwmon/{ina3221 => ina3221.rst} (100%)
> > > create mode 100644 Documentation/hwmon/index.rst
> > > rename Documentation/hwmon/{ir35221 => ir35221.rst} (100%)
> > > rename Documentation/hwmon/{it87 => it87.rst} (100%)
> > > rename Documentation/hwmon/{jc42 => jc42.rst} (100%)
> > > rename Documentation/hwmon/{k10temp => k10temp.rst} (100%)
> > > rename Documentation/hwmon/{k8temp => k8temp.rst} (100%)
> > > rename Documentation/hwmon/{lineage-pem => lineage-pem.rst} (100%)
> > > rename Documentation/hwmon/{lm25066 => lm25066.rst} (97%)
> > > rename Documentation/hwmon/{lm63 => lm63.rst} (100%)
> > > rename Documentation/hwmon/{lm70 => lm70.rst} (100%)
> > > rename Documentation/hwmon/{lm73 => lm73.rst} (100%)
> > > rename Documentation/hwmon/{lm75 => lm75.rst} (100%)
> > > rename Documentation/hwmon/{lm77 => lm77.rst} (100%)
> > > rename Documentation/hwmon/{lm78 => lm78.rst} (100%)
> > > rename Documentation/hwmon/{lm80 => lm80.rst} (100%)
> > > rename Documentation/hwmon/{lm83 => lm83.rst} (100%)
> > > rename Documentation/hwmon/{lm85 => lm85.rst} (100%)
> > > rename Documentation/hwmon/{lm87 => lm87.rst} (100%)
> > > rename Documentation/hwmon/{lm90 => lm90.rst} (100%)
> > > rename Documentation/hwmon/{lm92 => lm92.rst} (100%)
> > > rename Documentation/hwmon/{lm93 => lm93.rst} (100%)
> > > rename Documentation/hwmon/{lm95234 => lm95234.rst} (100%)
> > > rename Documentation/hwmon/{lm95245 => lm95245.rst} (100%)
> > > rename Documentation/hwmon/{ltc2945 => ltc2945.rst} (100%)
> > > rename Documentation/hwmon/{ltc2978 => ltc2978.rst} (100%)
> > > rename Documentation/hwmon/{ltc2990 => ltc2990.rst} (100%)
> > > rename Documentation/hwmon/{ltc3815 => ltc3815.rst} (100%)
> > > rename Documentation/hwmon/{ltc4151 => ltc4151.rst} (100%)
> > > rename Documentation/hwmon/{ltc4215 => ltc4215.rst} (100%)
> > > rename Documentation/hwmon/{ltc4245 => ltc4245.rst} (100%)
> > > rename Documentation/hwmon/{ltc4260 => ltc4260.rst} (100%)
> > > rename Documentation/hwmon/{ltc4261 => ltc4261.rst} (100%)
> > > rename Documentation/hwmon/{max16064 => max16064.rst} (96%)
> > > rename Documentation/hwmon/{max16065 => max16065.rst} (100%)
> > > rename Documentation/hwmon/{max1619 => max1619.rst} (99%)
> > > rename Documentation/hwmon/{max1668 => max1668.rst} (100%)
> > > rename Documentation/hwmon/{max197 => max197.rst} (100%)
> > > rename Documentation/hwmon/{max20751 => max20751.rst} (96%)
> > > rename Documentation/hwmon/{max31722 => max31722.rst} (100%)
> > > rename Documentation/hwmon/{max31785 => max31785.rst} (100%)
> > > rename Documentation/hwmon/{max31790 => max31790.rst} (100%)
> > > rename Documentation/hwmon/{max34440 => max34440.rst} (98%)
> > > rename Documentation/hwmon/{max6639 => max6639.rst} (100%)
> > > rename Documentation/hwmon/{max6642 => max6642.rst} (100%)
> > > rename Documentation/hwmon/{max6650 => max6650.rst} (99%)
> > > rename Documentation/hwmon/{max6697 => max6697.rst} (100%)
> > > rename Documentation/hwmon/{max8688 => max8688.rst} (97%)
> > > rename Documentation/hwmon/{mc13783-adc => mc13783-adc.rst} (100%)
> > > rename Documentation/hwmon/{mcp3021 => mcp3021.rst} (100%)
> > > rename Documentation/hwmon/{menf21bmc => menf21bmc.rst} (100%)
> > > rename Documentation/hwmon/{mlxreg-fan => mlxreg-fan.rst} (100%)
> > > rename Documentation/hwmon/{nct6683 => nct6683.rst} (100%)
> > > rename Documentation/hwmon/{nct6775 => nct6775.rst} (100%)
> > > rename Documentation/hwmon/{nct7802 => nct7802.rst} (100%)
> > > rename Documentation/hwmon/{nct7904 => nct7904.rst} (100%)
> > > rename Documentation/hwmon/{npcm750-pwm-fan => npcm750-pwm-fan.rst} (100%)
> > > rename Documentation/hwmon/{nsa320 => nsa320.rst} (100%)
> > > rename Documentation/hwmon/{ntc_thermistor => ntc_thermistor.rst} (100%)
> > > rename Documentation/hwmon/{occ => occ.rst} (100%)
> > > rename Documentation/hwmon/{pc87360 => pc87360.rst} (100%)
> > > rename Documentation/hwmon/{pc87427 => pc87427.rst} (100%)
> > > rename Documentation/hwmon/{pcf8591 => pcf8591.rst} (100%)
> > > rename Documentation/hwmon/{pmbus-core => pmbus-core.rst} (100%)
> > > rename Documentation/hwmon/{pmbus => pmbus.rst} (100%)
> > > rename Documentation/hwmon/{powr1220 => powr1220.rst} (100%)
> > > rename Documentation/hwmon/{pwm-fan => pwm-fan.rst} (100%)
> > > rename Documentation/hwmon/{raspberrypi-hwmon => raspberrypi-hwmon.rst} (100%)
> > > rename Documentation/hwmon/{sch5627 => sch5627.rst} (100%)
> > > rename Documentation/hwmon/{sch5636 => sch5636.rst} (100%)
> > > rename Documentation/hwmon/{scpi-hwmon => scpi-hwmon.rst} (100%)
> > > rename Documentation/hwmon/{sht15 => sht15.rst} (100%)
> > > rename Documentation/hwmon/{sht21 => sht21.rst} (100%)
> > > rename Documentation/hwmon/{sht3x => sht3x.rst} (100%)
> > > rename Documentation/hwmon/{shtc1 => shtc1.rst} (100%)
> > > rename Documentation/hwmon/{sis5595 => sis5595.rst} (99%)
> > > rename Documentation/hwmon/{smm665 => smm665.rst} (100%)
> > > rename Documentation/hwmon/{smsc47b397 => smsc47b397.rst} (100%)
> > > rename Documentation/hwmon/{smsc47m1 => smsc47m1.rst} (100%)
> > > rename Documentation/hwmon/{smsc47m192 => smsc47m192.rst} (100%)
> > > rename Documentation/hwmon/{submitting-patches => submitting-patches.rst} (98%)
> > > rename Documentation/hwmon/{sysfs-interface => sysfs-interface.rst} (100%)
> > > rename Documentation/hwmon/{tc654 => tc654.rst} (100%)
> > > rename Documentation/hwmon/{tc74 => tc74.rst} (100%)
> > > rename Documentation/hwmon/{thmc50 => thmc50.rst} (99%)
> > > rename Documentation/hwmon/{tmp102 => tmp102.rst} (93%)
> > > rename Documentation/hwmon/{tmp103 => tmp103.rst} (92%)
> > > rename Documentation/hwmon/{tmp108 => tmp108.rst} (95%)
> > > rename Documentation/hwmon/{tmp401 => tmp401.rst} (97%)
> > > rename Documentation/hwmon/{tmp421 => tmp421.rst} (100%)
> > > rename Documentation/hwmon/{tps40422 => tps40422.rst} (96%)
> > > rename Documentation/hwmon/{twl4030-madc-hwmon => twl4030-madc-hwmon.rst} (100%)
> > > rename Documentation/hwmon/{ucd9000 => ucd9000.rst} (97%)
> > > rename Documentation/hwmon/{ucd9200 => ucd9200.rst} (97%)
> > > rename Documentation/hwmon/{userspace-tools => userspace-tools.rst} (100%)
> > > rename Documentation/hwmon/{vexpress => vexpress.rst} (100%)
> > > rename Documentation/hwmon/{via686a => via686a.rst} (100%)
> > > rename Documentation/hwmon/{vt1211 => vt1211.rst} (100%)
> > > rename Documentation/hwmon/{w83627ehf => w83627ehf.rst} (100%)
> > > rename Documentation/hwmon/{w83627hf => w83627hf.rst} (100%)
> > > rename Documentation/hwmon/{w83773g => w83773g.rst} (100%)
> > > rename Documentation/hwmon/{w83781d => w83781d.rst} (100%)
> > > rename Documentation/hwmon/{w83791d => w83791d.rst} (99%)
> > > rename Documentation/hwmon/{w83792d => w83792d.rst} (100%)
> > > rename Documentation/hwmon/{w83793 => w83793.rst} (100%)
> > > rename Documentation/hwmon/{w83795 => w83795.rst} (100%)
> > > rename Documentation/hwmon/{w83l785ts => w83l785ts.rst} (100%)
> > > rename Documentation/hwmon/{w83l786ng => w83l786ng.rst} (100%)
> > > rename Documentation/hwmon/{wm831x => wm831x.rst} (100%)
> > > rename Documentation/hwmon/{wm8350 => wm8350.rst} (100%)
> > > rename Documentation/hwmon/{xgene-hwmon => xgene-hwmon.rst} (100%)
> > > rename Documentation/hwmon/{zl6100 => zl6100.rst} (98%)
> > >
> > > diff --git a/Documentation/devicetree/bindings/hwmon/g762.txt b/Documentation/devicetree/bindings/hwmon/g762.txt
> > > index 25cc6d8ee575..6d154c4923de 100644
> > > --- a/Documentation/devicetree/bindings/hwmon/g762.txt
> > > +++ b/Documentation/devicetree/bindings/hwmon/g762.txt
> > > @@ -21,7 +21,7 @@ If an optional property is not set in .dts file, then current value is kept
> > > unmodified (e.g. u-boot installed value).
> > >
> > > Additional information on operational parameters for the device is available
> > > -in Documentation/hwmon/g762. A detailed datasheet for the device is available
> > > +in Documentation/hwmon/g762.rst. A detailed datasheet for the device is available
> > > at http://natisbad.org/NAS/refs/GMT_EDS-762_763-080710-0.2.pdf.
> > >
> > > Example g762 node:
> > > diff --git a/Documentation/hwmon/ab8500 b/Documentation/hwmon/ab8500.rst
> > > similarity index 86%
> > > rename from Documentation/hwmon/ab8500
> > > rename to Documentation/hwmon/ab8500.rst
> > > index d87c61151239..33f93a9cec04 100644
> > > --- a/Documentation/hwmon/ab8500
> > > +++ b/Documentation/hwmon/ab8500.rst
> > > @@ -18,7 +18,7 @@ Authors:
> > > Description
> > > -----------
> > >
> > > -See also Documentation/hwmon/abx500. This is the ST-Ericsson AB8500 specific
> > > +See also Documentation/hwmon/abx500.rst. This is the ST-Ericsson AB8500 specific
> > > driver.
> > >
> > > Currently only the AB8500 internal sensor and one external sensor for battery
> > > diff --git a/Documentation/hwmon/abituguru-datasheet b/Documentation/hwmon/abituguru-datasheet.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/abituguru-datasheet
> > > rename to Documentation/hwmon/abituguru-datasheet.rst
> > > diff --git a/Documentation/hwmon/abituguru b/Documentation/hwmon/abituguru.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/abituguru
> > > rename to Documentation/hwmon/abituguru.rst
> > > diff --git a/Documentation/hwmon/abituguru3 b/Documentation/hwmon/abituguru3.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/abituguru3
> > > rename to Documentation/hwmon/abituguru3.rst
> > > diff --git a/Documentation/hwmon/abx500 b/Documentation/hwmon/abx500.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/abx500
> > > rename to Documentation/hwmon/abx500.rst
> > > diff --git a/Documentation/hwmon/acpi_power_meter b/Documentation/hwmon/acpi_power_meter.rst
> > > similarity index 97%
> > > rename from Documentation/hwmon/acpi_power_meter
> > > rename to Documentation/hwmon/acpi_power_meter.rst
> > > index 7665ca6ba957..4a0941ade0ca 100644
> > > --- a/Documentation/hwmon/acpi_power_meter
> > > +++ b/Documentation/hwmon/acpi_power_meter.rst
> > > @@ -21,7 +21,7 @@ the ACPI 4.0 spec (Chapter 10.4). These devices have a simple set of
> > > features--a power meter that returns average power use over a configurable
> > > interval, an optional capping mechanism, and a couple of trip points. The
> > > sysfs interface conforms with the specification outlined in the "Power" section
> > > -of Documentation/hwmon/sysfs-interface.
> > > +of Documentation/hwmon/sysfs-interface.rst.
> > >
> > > Special Features
> > > ----------------
> > > diff --git a/Documentation/hwmon/ad7314 b/Documentation/hwmon/ad7314.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ad7314
> > > rename to Documentation/hwmon/ad7314.rst
> > > diff --git a/Documentation/hwmon/adc128d818 b/Documentation/hwmon/adc128d818.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/adc128d818
> > > rename to Documentation/hwmon/adc128d818.rst
> > > diff --git a/Documentation/hwmon/adm1021 b/Documentation/hwmon/adm1021.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/adm1021
> > > rename to Documentation/hwmon/adm1021.rst
> > > diff --git a/Documentation/hwmon/adm1025 b/Documentation/hwmon/adm1025.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/adm1025
> > > rename to Documentation/hwmon/adm1025.rst
> > > diff --git a/Documentation/hwmon/adm1026 b/Documentation/hwmon/adm1026.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/adm1026
> > > rename to Documentation/hwmon/adm1026.rst
> > > diff --git a/Documentation/hwmon/adm1031 b/Documentation/hwmon/adm1031.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/adm1031
> > > rename to Documentation/hwmon/adm1031.rst
> > > diff --git a/Documentation/hwmon/adm1275 b/Documentation/hwmon/adm1275.rst
> > > similarity index 97%
> > > rename from Documentation/hwmon/adm1275
> > > rename to Documentation/hwmon/adm1275.rst
> > > index 5c5860011d6e..9a1913e5b4d9 100644
> > > --- a/Documentation/hwmon/adm1275
> > > +++ b/Documentation/hwmon/adm1275.rst
> > > @@ -68,7 +68,7 @@ integrated 12 bit analog-to-digital converter (ADC), accessed using a
> > > PMBus interface.
> > >
> > > The driver is a client driver to the core PMBus driver. Please see
> > > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> > >
> > >
> > > Usage Notes
> > > @@ -90,7 +90,7 @@ Platform data support
> > > ---------------------
> > >
> > > The driver supports standard PMBus driver platform data. Please see
> > > -Documentation/hwmon/pmbus for details.
> > > +Documentation/hwmon/pmbus.rst for details.
> > >
> > >
> > > Sysfs entries
> > > diff --git a/Documentation/hwmon/adm9240 b/Documentation/hwmon/adm9240.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/adm9240
> > > rename to Documentation/hwmon/adm9240.rst
> > > diff --git a/Documentation/hwmon/ads1015 b/Documentation/hwmon/ads1015.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ads1015
> > > rename to Documentation/hwmon/ads1015.rst
> > > diff --git a/Documentation/hwmon/ads7828 b/Documentation/hwmon/ads7828.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ads7828
> > > rename to Documentation/hwmon/ads7828.rst
> > > diff --git a/Documentation/hwmon/adt7410 b/Documentation/hwmon/adt7410.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/adt7410
> > > rename to Documentation/hwmon/adt7410.rst
> > > diff --git a/Documentation/hwmon/adt7411 b/Documentation/hwmon/adt7411.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/adt7411
> > > rename to Documentation/hwmon/adt7411.rst
> > > diff --git a/Documentation/hwmon/adt7462 b/Documentation/hwmon/adt7462.rst
> > > similarity index 99%
> > > rename from Documentation/hwmon/adt7462
> > > rename to Documentation/hwmon/adt7462.rst
> > > index a7a831118d32..139e19696188 100644
> > > --- a/Documentation/hwmon/adt7462
> > > +++ b/Documentation/hwmon/adt7462.rst
> > > @@ -68,4 +68,3 @@ The ADT7462 will scale the pwm between the lower and higher pwm speed when
> > > the temperature is between the two temperature boundaries. PWM values range
> > > from 0 (off) to 255 (full speed). Fan speed will be set to maximum when the
> > > temperature sensor associated with the PWM control exceeds temp#_max.
> > > -
> > > diff --git a/Documentation/hwmon/adt7470 b/Documentation/hwmon/adt7470.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/adt7470
> > > rename to Documentation/hwmon/adt7470.rst
> > > diff --git a/Documentation/hwmon/adt7475 b/Documentation/hwmon/adt7475.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/adt7475
> > > rename to Documentation/hwmon/adt7475.rst
> > > diff --git a/Documentation/hwmon/amc6821 b/Documentation/hwmon/amc6821.rst
> > > similarity index 99%
> > > rename from Documentation/hwmon/amc6821
> > > rename to Documentation/hwmon/amc6821.rst
> > > index d10eabcbc0f3..5ddb2849da90 100644
> > > --- a/Documentation/hwmon/amc6821
> > > +++ b/Documentation/hwmon/amc6821.rst
> > > @@ -106,4 +106,3 @@ different settings, you can set the following parameters:
> > >
> > > - init=1,
> > > - pwminv: 0 default pwm output, 1 inverts pwm output.
> > > -
> > > diff --git a/Documentation/hwmon/asb100 b/Documentation/hwmon/asb100.rst
> > > similarity index 99%
> > > rename from Documentation/hwmon/asb100
> > > rename to Documentation/hwmon/asb100.rst
> > > index 311d9f7b6926..c2d5f97085fe 100644
> > > --- a/Documentation/hwmon/asb100
> > > +++ b/Documentation/hwmon/asb100.rst
> > > @@ -71,4 +71,3 @@ TODO:
> > > * Experiment with temp. sensor types.
> > > * Are there really 13 voltage inputs? Probably not...
> > > * Cleanups, no doubt...
> > > -
> > > diff --git a/Documentation/hwmon/asc7621 b/Documentation/hwmon/asc7621.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/asc7621
> > > rename to Documentation/hwmon/asc7621.rst
> > > diff --git a/Documentation/hwmon/aspeed-pwm-tacho b/Documentation/hwmon/aspeed-pwm-tacho.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/aspeed-pwm-tacho
> > > rename to Documentation/hwmon/aspeed-pwm-tacho.rst
> > > diff --git a/Documentation/hwmon/coretemp b/Documentation/hwmon/coretemp.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/coretemp
> > > rename to Documentation/hwmon/coretemp.rst
> > > diff --git a/Documentation/hwmon/da9052 b/Documentation/hwmon/da9052.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/da9052
> > > rename to Documentation/hwmon/da9052.rst
> > > diff --git a/Documentation/hwmon/da9055 b/Documentation/hwmon/da9055.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/da9055
> > > rename to Documentation/hwmon/da9055.rst
> > > diff --git a/Documentation/hwmon/dme1737 b/Documentation/hwmon/dme1737.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/dme1737
> > > rename to Documentation/hwmon/dme1737.rst
> > > diff --git a/Documentation/hwmon/ds1621 b/Documentation/hwmon/ds1621.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ds1621
> > > rename to Documentation/hwmon/ds1621.rst
> > > diff --git a/Documentation/hwmon/ds620 b/Documentation/hwmon/ds620.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ds620
> > > rename to Documentation/hwmon/ds620.rst
> > > diff --git a/Documentation/hwmon/emc1403 b/Documentation/hwmon/emc1403.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/emc1403
> > > rename to Documentation/hwmon/emc1403.rst
> > > diff --git a/Documentation/hwmon/emc2103 b/Documentation/hwmon/emc2103.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/emc2103
> > > rename to Documentation/hwmon/emc2103.rst
> > > diff --git a/Documentation/hwmon/emc6w201 b/Documentation/hwmon/emc6w201.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/emc6w201
> > > rename to Documentation/hwmon/emc6w201.rst
> > > diff --git a/Documentation/hwmon/f71805f b/Documentation/hwmon/f71805f.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/f71805f
> > > rename to Documentation/hwmon/f71805f.rst
> > > diff --git a/Documentation/hwmon/f71882fg b/Documentation/hwmon/f71882fg.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/f71882fg
> > > rename to Documentation/hwmon/f71882fg.rst
> > > diff --git a/Documentation/hwmon/fam15h_power b/Documentation/hwmon/fam15h_power.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/fam15h_power
> > > rename to Documentation/hwmon/fam15h_power.rst
> > > diff --git a/Documentation/hwmon/ftsteutates b/Documentation/hwmon/ftsteutates.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ftsteutates
> > > rename to Documentation/hwmon/ftsteutates.rst
> > > diff --git a/Documentation/hwmon/g760a b/Documentation/hwmon/g760a.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/g760a
> > > rename to Documentation/hwmon/g760a.rst
> > > diff --git a/Documentation/hwmon/g762 b/Documentation/hwmon/g762.rst
> > > similarity index 97%
> > > rename from Documentation/hwmon/g762
> > > rename to Documentation/hwmon/g762.rst
> > > index 54574e26df21..0371b3365c48 100644
> > > --- a/Documentation/hwmon/g762
> > > +++ b/Documentation/hwmon/g762.rst
> > > @@ -7,7 +7,7 @@ modes - PWM or DC - are supported by the device.
> > >
> > > For additional information, a detailed datasheet is available at
> > > http://natisbad.org/NAS/ref/GMT_EDS-762_763-080710-0.2.pdf. sysfs
> > > -bindings are described in Documentation/hwmon/sysfs-interface.
> > > +bindings are described in Documentation/hwmon/sysfs-interface.rst.
> > >
> > > The following entries are available to the user in a subdirectory of
> > > /sys/bus/i2c/drivers/g762/ to control the operation of the device.
> > > diff --git a/Documentation/hwmon/gl518sm b/Documentation/hwmon/gl518sm.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/gl518sm
> > > rename to Documentation/hwmon/gl518sm.rst
> > > diff --git a/Documentation/hwmon/hih6130 b/Documentation/hwmon/hih6130.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/hih6130
> > > rename to Documentation/hwmon/hih6130.rst
> > > diff --git a/Documentation/hwmon/hwmon-kernel-api.txt b/Documentation/hwmon/hwmon-kernel-api.rst
> > > similarity index 99%
> > > rename from Documentation/hwmon/hwmon-kernel-api.txt
> > > rename to Documentation/hwmon/hwmon-kernel-api.rst
> > > index b347b959fcda..c41eb6108103 100644
> > > --- a/Documentation/hwmon/hwmon-kernel-api.txt
> > > +++ b/Documentation/hwmon/hwmon-kernel-api.rst
> > > @@ -12,10 +12,10 @@ drivers that want to use the hardware monitoring framework.
> > > This document does not describe what a hardware monitoring (hwmon) Driver or
> > > Device is. It also does not describe the API which can be used by user space
> > > to communicate with a hardware monitoring device. If you want to know this
> > > -then please read the following file: Documentation/hwmon/sysfs-interface.
> > > +then please read the following file: Documentation/hwmon/sysfs-interface.rst.
> > >
> > > For additional guidelines on how to write and improve hwmon drivers, please
> > > -also read Documentation/hwmon/submitting-patches.
> > > +also read Documentation/hwmon/submitting-patches.rst.
> > >
> > > The API
> > > -------
> > > diff --git a/Documentation/hwmon/ibm-cffps b/Documentation/hwmon/ibm-cffps.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ibm-cffps
> > > rename to Documentation/hwmon/ibm-cffps.rst
> > > diff --git a/Documentation/hwmon/ibmaem b/Documentation/hwmon/ibmaem.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ibmaem
> > > rename to Documentation/hwmon/ibmaem.rst
> > > diff --git a/Documentation/hwmon/ibmpowernv b/Documentation/hwmon/ibmpowernv.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ibmpowernv
> > > rename to Documentation/hwmon/ibmpowernv.rst
> > > diff --git a/Documentation/hwmon/ina209 b/Documentation/hwmon/ina209.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ina209
> > > rename to Documentation/hwmon/ina209.rst
> > > diff --git a/Documentation/hwmon/ina2xx b/Documentation/hwmon/ina2xx.rst
> > > similarity index 97%
> > > rename from Documentation/hwmon/ina2xx
> > > rename to Documentation/hwmon/ina2xx.rst
> > > index 95badf9c396f..94b9a260c518 100644
> > > --- a/Documentation/hwmon/ina2xx
> > > +++ b/Documentation/hwmon/ina2xx.rst
> > > @@ -78,7 +78,7 @@ refer to the Documentation/devicetree/bindings/hwmon/ina2xx.txt for bindings
> > > if the device tree is used.
> > >
> > > Additionally ina226 supports update_interval attribute as described in
> > > -Documentation/hwmon/sysfs-interface. Internally the interval is the sum of
> > > +Documentation/hwmon/sysfs-interface.rst. Internally the interval is the sum of
> > > bus and shunt voltage conversion times multiplied by the averaging rate. We
> > > don't touch the conversion times and only modify the number of averages. The
> > > lower limit of the update_interval is 2 ms, the upper limit is 2253 ms.
> > > diff --git a/Documentation/hwmon/ina3221 b/Documentation/hwmon/ina3221.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ina3221
> > > rename to Documentation/hwmon/ina3221.rst
> > > diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst
> > > new file mode 100644
> > > index 000000000000..893804414510
> > > --- /dev/null
> > > +++ b/Documentation/hwmon/index.rst
> > > @@ -0,0 +1,179 @@
> > > +=========================
> > > +Linux Hardware Monitoring
> > > +=========================
> > > +
> > > +.. toctree::
> > > + :maxdepth: 1
> > > +
> > > + hwmon-kernel-api.rst
> > > + pmbus-core.rst
> > > + submitting-patches.rst
> > > + sysfs-interface.rst
> > > + userspace-tools.rst
> > > +
> > > +Hardware Monitoring Kernel Drivers
> > > +==================================
> > > +
> > > +.. toctree::
> > > + :maxdepth: 1
> > > +
> > > + ab8500.rst
> > > + abituguru.rst
> > > + abituguru3.rst
> > > + abx500.rst
> > > + acpi_power_meter.rst
> > > + ad7314.rst
> > > + adc128d818.rst
> > > + adm1021.rst
> > > + adm1025.rst
> > > + adm1026.rst
> > > + adm1031.rst
> > > + adm1275.rst
> > > + adm9240.rst
> > > + ads1015.rst
> > > + ads7828.rst
> > > + adt7410.rst
> > > + adt7411.rst
> > > + adt7462.rst
> > > + adt7470.rst
> > > + adt7475.rst
> > > + amc6821.rst
> > > + asb100.rst
> > > + asc7621.rst
> > > + aspeed-pwm-tacho.rst
> > > + coretemp.rst
> > > + da9052.rst
> > > + da9055.rst
> > > + dme1737.rst
> > > + ds1621.rst
> > > + ds620.rst
> > > + emc1403.rst
> > > + emc2103.rst
> > > + emc6w201.rst
> > > + f71805f.rst
> > > + f71882fg.rst
> > > + fam15h_power.rst
> > > + ftsteutates.rst
> > > + g760a.rst
> > > + g762.rst
> > > + gl518sm.rst
> > > + hih6130.rst
> > > + ibmaem.rst
> > > + ibm-cffps.rst
> > > + ibmpowernv.rst
> > > + ina209.rst
> > > + ina2xx.rst
> > > + ina3221.rst
> > > + ir35221.rst
> > > + it87.rst
> > > + jc42.rst
> > > + k10temp.rst
> > > + k8temp.rst
> > > + lineage-pem.rst
> > > + lm25066.rst
> > > + lm63.rst
> > > + lm70.rst
> > > + lm73.rst
> > > + lm75.rst
> > > + lm77.rst
> > > + lm78.rst
> > > + lm80.rst
> > > + lm83.rst
> > > + lm85.rst
> > > + lm87.rst
> > > + lm90.rst
> > > + lm92.rst
> > > + lm93.rst
> > > + lm95234.rst
> > > + lm95245.rst
> > > + ltc2945.rst
> > > + ltc2978.rst
> > > + ltc2990.rst
> > > + ltc3815.rst
> > > + ltc4151.rst
> > > + ltc4215.rst
> > > + ltc4245.rst
> > > + ltc4260.rst
> > > + ltc4261.rst
> > > + max16064.rst
> > > + max16065.rst
> > > + max1619.rst
> > > + max1668.rst
> > > + max197.rst
> > > + max20751.rst
> > > + max31722.rst
> > > + max31785.rst
> > > + max31790.rst
> > > + max34440.rst
> > > + max6639.rst
> > > + max6642.rst
> > > + max6650.rst
> > > + max6697.rst
> > > + max8688.rst
> > > + mc13783-adc.rst
> > > + mcp3021.rst
> > > + menf21bmc.rst
> > > + mlxreg-fan.rst
> > > + nct6683.rst
> > > + nct6775.rst
> > > + nct7802.rst
> > > + nct7904.rst
> > > + npcm750-pwm-fan.rst
> > > + nsa320.rst
> > > + ntc_thermistor.rst
> > > + occ.rst
> > > + pc87360.rst
> > > + pc87427.rst
> > > + pcf8591.rst
> > > + pmbus.rst
> > > + powr1220.rst
> > > + pwm-fan.rst
> > > + raspberrypi-hwmon.rst
> > > + sch5627.rst
> > > + sch5636.rst
> > > + scpi-hwmon.rst
> > > + sht15.rst
> > > + sht21.rst
> > > + sht3x.rst
> > > + shtc1.rst
> > > + sis5595.rst
> > > + smm665.rst
> > > + smsc47b397.rst
> > > + smsc47m192.rst
> > > + smsc47m1.rst
> > > + tc654.rst
> > > + tc74.rst
> > > + thmc50.rst
> > > + tmp102.rst
> > > + tmp103.rst
> > > + tmp108.rst
> > > + tmp401.rst
> > > + tmp421.rst
> > > + tps40422.rst
> > > + twl4030-madc-hwmon.rst
> > > + ucd9000.rst
> > > + ucd9200.rst
> > > + vexpress.rst
> > > + via686a.rst
> > > + vt1211.rst
> > > + w83627ehf.rst
> > > + w83627hf.rst
> > > + w83773g.rst
> > > + w83781d.rst
> > > + w83791d.rst
> > > + w83792d.rst
> > > + w83793.rst
> > > + w83795.rst
> > > + w83l785ts.rst
> > > + w83l786ng.rst
> > > + wm831x.rst
> > > + wm8350.rst
> > > + xgene-hwmon.rst
> > > + zl6100.rst
> > > +
> > > +.. only:: subproject and html
> > > +
> > > + Indices
> > > + =======
> > > +
> > > + * :ref:`genindex`
> > > diff --git a/Documentation/hwmon/ir35221 b/Documentation/hwmon/ir35221.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ir35221
> > > rename to Documentation/hwmon/ir35221.rst
> > > diff --git a/Documentation/hwmon/it87 b/Documentation/hwmon/it87.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/it87
> > > rename to Documentation/hwmon/it87.rst
> > > diff --git a/Documentation/hwmon/jc42 b/Documentation/hwmon/jc42.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/jc42
> > > rename to Documentation/hwmon/jc42.rst
> > > diff --git a/Documentation/hwmon/k10temp b/Documentation/hwmon/k10temp.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/k10temp
> > > rename to Documentation/hwmon/k10temp.rst
> > > diff --git a/Documentation/hwmon/k8temp b/Documentation/hwmon/k8temp.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/k8temp
> > > rename to Documentation/hwmon/k8temp.rst
> > > diff --git a/Documentation/hwmon/lineage-pem b/Documentation/hwmon/lineage-pem.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lineage-pem
> > > rename to Documentation/hwmon/lineage-pem.rst
> > > diff --git a/Documentation/hwmon/lm25066 b/Documentation/hwmon/lm25066.rst
> > > similarity index 97%
> > > rename from Documentation/hwmon/lm25066
> > > rename to Documentation/hwmon/lm25066.rst
> > > index 60b7f2722931..da15e3094c8c 100644
> > > --- a/Documentation/hwmon/lm25066
> > > +++ b/Documentation/hwmon/lm25066.rst
> > > @@ -69,7 +69,7 @@ LM25066, LM5064, and LM5066/LM5066I Power Management, Monitoring,
> > > Control, and Protection ICs.
> > >
> > > The driver is a client driver to the core PMBus driver. Please see
> > > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> > >
> > >
> > > Usage Notes
> > > diff --git a/Documentation/hwmon/lm63 b/Documentation/hwmon/lm63.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm63
> > > rename to Documentation/hwmon/lm63.rst
> > > diff --git a/Documentation/hwmon/lm70 b/Documentation/hwmon/lm70.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm70
> > > rename to Documentation/hwmon/lm70.rst
> > > diff --git a/Documentation/hwmon/lm73 b/Documentation/hwmon/lm73.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm73
> > > rename to Documentation/hwmon/lm73.rst
> > > diff --git a/Documentation/hwmon/lm75 b/Documentation/hwmon/lm75.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm75
> > > rename to Documentation/hwmon/lm75.rst
> > > diff --git a/Documentation/hwmon/lm77 b/Documentation/hwmon/lm77.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm77
> > > rename to Documentation/hwmon/lm77.rst
> > > diff --git a/Documentation/hwmon/lm78 b/Documentation/hwmon/lm78.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm78
> > > rename to Documentation/hwmon/lm78.rst
> > > diff --git a/Documentation/hwmon/lm80 b/Documentation/hwmon/lm80.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm80
> > > rename to Documentation/hwmon/lm80.rst
> > > diff --git a/Documentation/hwmon/lm83 b/Documentation/hwmon/lm83.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm83
> > > rename to Documentation/hwmon/lm83.rst
> > > diff --git a/Documentation/hwmon/lm85 b/Documentation/hwmon/lm85.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm85
> > > rename to Documentation/hwmon/lm85.rst
> > > diff --git a/Documentation/hwmon/lm87 b/Documentation/hwmon/lm87.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm87
> > > rename to Documentation/hwmon/lm87.rst
> > > diff --git a/Documentation/hwmon/lm90 b/Documentation/hwmon/lm90.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm90
> > > rename to Documentation/hwmon/lm90.rst
> > > diff --git a/Documentation/hwmon/lm92 b/Documentation/hwmon/lm92.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm92
> > > rename to Documentation/hwmon/lm92.rst
> > > diff --git a/Documentation/hwmon/lm93 b/Documentation/hwmon/lm93.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm93
> > > rename to Documentation/hwmon/lm93.rst
> > > diff --git a/Documentation/hwmon/lm95234 b/Documentation/hwmon/lm95234.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm95234
> > > rename to Documentation/hwmon/lm95234.rst
> > > diff --git a/Documentation/hwmon/lm95245 b/Documentation/hwmon/lm95245.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/lm95245
> > > rename to Documentation/hwmon/lm95245.rst
> > > diff --git a/Documentation/hwmon/ltc2945 b/Documentation/hwmon/ltc2945.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ltc2945
> > > rename to Documentation/hwmon/ltc2945.rst
> > > diff --git a/Documentation/hwmon/ltc2978 b/Documentation/hwmon/ltc2978.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ltc2978
> > > rename to Documentation/hwmon/ltc2978.rst
> > > diff --git a/Documentation/hwmon/ltc2990 b/Documentation/hwmon/ltc2990.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ltc2990
> > > rename to Documentation/hwmon/ltc2990.rst
> > > diff --git a/Documentation/hwmon/ltc3815 b/Documentation/hwmon/ltc3815.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ltc3815
> > > rename to Documentation/hwmon/ltc3815.rst
> > > diff --git a/Documentation/hwmon/ltc4151 b/Documentation/hwmon/ltc4151.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ltc4151
> > > rename to Documentation/hwmon/ltc4151.rst
> > > diff --git a/Documentation/hwmon/ltc4215 b/Documentation/hwmon/ltc4215.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ltc4215
> > > rename to Documentation/hwmon/ltc4215.rst
> > > diff --git a/Documentation/hwmon/ltc4245 b/Documentation/hwmon/ltc4245.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ltc4245
> > > rename to Documentation/hwmon/ltc4245.rst
> > > diff --git a/Documentation/hwmon/ltc4260 b/Documentation/hwmon/ltc4260.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ltc4260
> > > rename to Documentation/hwmon/ltc4260.rst
> > > diff --git a/Documentation/hwmon/ltc4261 b/Documentation/hwmon/ltc4261.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ltc4261
> > > rename to Documentation/hwmon/ltc4261.rst
> > > diff --git a/Documentation/hwmon/max16064 b/Documentation/hwmon/max16064.rst
> > > similarity index 96%
> > > rename from Documentation/hwmon/max16064
> > > rename to Documentation/hwmon/max16064.rst
> > > index 61ec679dc477..6d5e9538991f 100644
> > > --- a/Documentation/hwmon/max16064
> > > +++ b/Documentation/hwmon/max16064.rst
> > > @@ -21,7 +21,7 @@ This driver supports hardware monitoring for Maxim MAX16064 Quad Power-Supply
> > > Controller with Active-Voltage Output Control and PMBus Interface.
> > >
> > > The driver is a client driver to the core PMBus driver.
> > > -Please see Documentation/hwmon/pmbus for details on PMBus client drivers.
> > > +Please see Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> > >
> > >
> > > Usage Notes
> > > diff --git a/Documentation/hwmon/max16065 b/Documentation/hwmon/max16065.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/max16065
> > > rename to Documentation/hwmon/max16065.rst
> > > diff --git a/Documentation/hwmon/max1619 b/Documentation/hwmon/max1619.rst
> > > similarity index 99%
> > > rename from Documentation/hwmon/max1619
> > > rename to Documentation/hwmon/max1619.rst
> > > index 4b3762c4eceb..e25956e70f73 100644
> > > --- a/Documentation/hwmon/max1619
> > > +++ b/Documentation/hwmon/max1619.rst
> > > @@ -31,4 +31,3 @@ Only the external sensor has high and low limits.
> > > The max1619 driver will not update its values more frequently than every
> > > other second; reading them more often will do no harm, but will return
> > > 'old' values.
> > > -
> > > diff --git a/Documentation/hwmon/max1668 b/Documentation/hwmon/max1668.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/max1668
> > > rename to Documentation/hwmon/max1668.rst
> > > diff --git a/Documentation/hwmon/max197 b/Documentation/hwmon/max197.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/max197
> > > rename to Documentation/hwmon/max197.rst
> > > diff --git a/Documentation/hwmon/max20751 b/Documentation/hwmon/max20751.rst
> > > similarity index 96%
> > > rename from Documentation/hwmon/max20751
> > > rename to Documentation/hwmon/max20751.rst
> > > index d546695900ef..aa4469be6674 100644
> > > --- a/Documentation/hwmon/max20751
> > > +++ b/Documentation/hwmon/max20751.rst
> > > @@ -23,7 +23,7 @@ This driver supports MAX20751 Multiphase Master with PMBus Interface
> > > and Internal Buck Converter.
> > >
> > > The driver is a client driver to the core PMBus driver.
> > > -Please see Documentation/hwmon/pmbus for details on PMBus client drivers.
> > > +Please see Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> > >
> > >
> > > Usage Notes
> > > diff --git a/Documentation/hwmon/max31722 b/Documentation/hwmon/max31722.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/max31722
> > > rename to Documentation/hwmon/max31722.rst
> > > diff --git a/Documentation/hwmon/max31785 b/Documentation/hwmon/max31785.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/max31785
> > > rename to Documentation/hwmon/max31785.rst
> > > diff --git a/Documentation/hwmon/max31790 b/Documentation/hwmon/max31790.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/max31790
> > > rename to Documentation/hwmon/max31790.rst
> > > diff --git a/Documentation/hwmon/max34440 b/Documentation/hwmon/max34440.rst
> > > similarity index 98%
> > > rename from Documentation/hwmon/max34440
> > > rename to Documentation/hwmon/max34440.rst
> > > index 639838ef29fd..939138e12b02 100644
> > > --- a/Documentation/hwmon/max34440
> > > +++ b/Documentation/hwmon/max34440.rst
> > > @@ -76,7 +76,7 @@ based on GIN pins. The MAX34460 supports 12 voltage channels, and the MAX34461
> > > supports 16 voltage channels.
> > >
> > > The driver is a client driver to the core PMBus driver. Please see
> > > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> > >
> > >
> > > Usage Notes
> > > diff --git a/Documentation/hwmon/max6639 b/Documentation/hwmon/max6639.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/max6639
> > > rename to Documentation/hwmon/max6639.rst
> > > diff --git a/Documentation/hwmon/max6642 b/Documentation/hwmon/max6642.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/max6642
> > > rename to Documentation/hwmon/max6642.rst
> > > diff --git a/Documentation/hwmon/max6650 b/Documentation/hwmon/max6650.rst
> > > similarity index 99%
> > > rename from Documentation/hwmon/max6650
> > > rename to Documentation/hwmon/max6650.rst
> > > index 74dc3f0caaa2..253482add082 100644
> > > --- a/Documentation/hwmon/max6650
> > > +++ b/Documentation/hwmon/max6650.rst
> > > @@ -72,4 +72,3 @@ clock: The clock frequency in Hz of the chip the driver should assume [254000]
> > >
> > > Please have a look at the MAX6650/6651 data sheet and make sure that you fully
> > > understand the meaning of these parameters before you attempt to change them.
> > > -
> > > diff --git a/Documentation/hwmon/max6697 b/Documentation/hwmon/max6697.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/max6697
> > > rename to Documentation/hwmon/max6697.rst
> > > diff --git a/Documentation/hwmon/max8688 b/Documentation/hwmon/max8688.rst
> > > similarity index 97%
> > > rename from Documentation/hwmon/max8688
> > > rename to Documentation/hwmon/max8688.rst
> > > index 43da139234c1..009487759c61 100644
> > > --- a/Documentation/hwmon/max8688
> > > +++ b/Documentation/hwmon/max8688.rst
> > > @@ -21,7 +21,7 @@ This driver supports hardware monitoring for Maxim MAX8688 Digital Power-Supply
> > > Controller/Monitor with PMBus Interface.
> > >
> > > The driver is a client driver to the core PMBus driver. Please see
> > > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> > >
> > >
> > > Usage Notes
> > > diff --git a/Documentation/hwmon/mc13783-adc b/Documentation/hwmon/mc13783-adc.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/mc13783-adc
> > > rename to Documentation/hwmon/mc13783-adc.rst
> > > diff --git a/Documentation/hwmon/mcp3021 b/Documentation/hwmon/mcp3021.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/mcp3021
> > > rename to Documentation/hwmon/mcp3021.rst
> > > diff --git a/Documentation/hwmon/menf21bmc b/Documentation/hwmon/menf21bmc.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/menf21bmc
> > > rename to Documentation/hwmon/menf21bmc.rst
> > > diff --git a/Documentation/hwmon/mlxreg-fan b/Documentation/hwmon/mlxreg-fan.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/mlxreg-fan
> > > rename to Documentation/hwmon/mlxreg-fan.rst
> > > diff --git a/Documentation/hwmon/nct6683 b/Documentation/hwmon/nct6683.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/nct6683
> > > rename to Documentation/hwmon/nct6683.rst
> > > diff --git a/Documentation/hwmon/nct6775 b/Documentation/hwmon/nct6775.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/nct6775
> > > rename to Documentation/hwmon/nct6775.rst
> > > diff --git a/Documentation/hwmon/nct7802 b/Documentation/hwmon/nct7802.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/nct7802
> > > rename to Documentation/hwmon/nct7802.rst
> > > diff --git a/Documentation/hwmon/nct7904 b/Documentation/hwmon/nct7904.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/nct7904
> > > rename to Documentation/hwmon/nct7904.rst
> > > diff --git a/Documentation/hwmon/npcm750-pwm-fan b/Documentation/hwmon/npcm750-pwm-fan.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/npcm750-pwm-fan
> > > rename to Documentation/hwmon/npcm750-pwm-fan.rst
> > > diff --git a/Documentation/hwmon/nsa320 b/Documentation/hwmon/nsa320.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/nsa320
> > > rename to Documentation/hwmon/nsa320.rst
> > > diff --git a/Documentation/hwmon/ntc_thermistor b/Documentation/hwmon/ntc_thermistor.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/ntc_thermistor
> > > rename to Documentation/hwmon/ntc_thermistor.rst
> > > diff --git a/Documentation/hwmon/occ b/Documentation/hwmon/occ.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/occ
> > > rename to Documentation/hwmon/occ.rst
> > > diff --git a/Documentation/hwmon/pc87360 b/Documentation/hwmon/pc87360.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/pc87360
> > > rename to Documentation/hwmon/pc87360.rst
> > > diff --git a/Documentation/hwmon/pc87427 b/Documentation/hwmon/pc87427.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/pc87427
> > > rename to Documentation/hwmon/pc87427.rst
> > > diff --git a/Documentation/hwmon/pcf8591 b/Documentation/hwmon/pcf8591.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/pcf8591
> > > rename to Documentation/hwmon/pcf8591.rst
> > > diff --git a/Documentation/hwmon/pmbus-core b/Documentation/hwmon/pmbus-core.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/pmbus-core
> > > rename to Documentation/hwmon/pmbus-core.rst
> > > diff --git a/Documentation/hwmon/pmbus b/Documentation/hwmon/pmbus.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/pmbus
> > > rename to Documentation/hwmon/pmbus.rst
> > > diff --git a/Documentation/hwmon/powr1220 b/Documentation/hwmon/powr1220.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/powr1220
> > > rename to Documentation/hwmon/powr1220.rst
> > > diff --git a/Documentation/hwmon/pwm-fan b/Documentation/hwmon/pwm-fan.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/pwm-fan
> > > rename to Documentation/hwmon/pwm-fan.rst
> > > diff --git a/Documentation/hwmon/raspberrypi-hwmon b/Documentation/hwmon/raspberrypi-hwmon.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/raspberrypi-hwmon
> > > rename to Documentation/hwmon/raspberrypi-hwmon.rst
> > > diff --git a/Documentation/hwmon/sch5627 b/Documentation/hwmon/sch5627.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/sch5627
> > > rename to Documentation/hwmon/sch5627.rst
> > > diff --git a/Documentation/hwmon/sch5636 b/Documentation/hwmon/sch5636.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/sch5636
> > > rename to Documentation/hwmon/sch5636.rst
> > > diff --git a/Documentation/hwmon/scpi-hwmon b/Documentation/hwmon/scpi-hwmon.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/scpi-hwmon
> > > rename to Documentation/hwmon/scpi-hwmon.rst
> > > diff --git a/Documentation/hwmon/sht15 b/Documentation/hwmon/sht15.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/sht15
> > > rename to Documentation/hwmon/sht15.rst
> > > diff --git a/Documentation/hwmon/sht21 b/Documentation/hwmon/sht21.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/sht21
> > > rename to Documentation/hwmon/sht21.rst
> > > diff --git a/Documentation/hwmon/sht3x b/Documentation/hwmon/sht3x.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/sht3x
> > > rename to Documentation/hwmon/sht3x.rst
> > > diff --git a/Documentation/hwmon/shtc1 b/Documentation/hwmon/shtc1.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/shtc1
> > > rename to Documentation/hwmon/shtc1.rst
> > > diff --git a/Documentation/hwmon/sis5595 b/Documentation/hwmon/sis5595.rst
> > > similarity index 99%
> > > rename from Documentation/hwmon/sis5595
> > > rename to Documentation/hwmon/sis5595.rst
> > > index 5acba6b0c0db..16123b3bfff9 100644
> > > --- a/Documentation/hwmon/sis5595
> > > +++ b/Documentation/hwmon/sis5595.rst
> > > @@ -121,4 +121,3 @@ Problems
> > > --------
> > > Some chips refuse to be enabled. We don't know why.
> > > The driver will recognize this and print a message in dmesg.
> > > -
> > > diff --git a/Documentation/hwmon/smm665 b/Documentation/hwmon/smm665.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/smm665
> > > rename to Documentation/hwmon/smm665.rst
> > > diff --git a/Documentation/hwmon/smsc47b397 b/Documentation/hwmon/smsc47b397.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/smsc47b397
> > > rename to Documentation/hwmon/smsc47b397.rst
> > > diff --git a/Documentation/hwmon/smsc47m1 b/Documentation/hwmon/smsc47m1.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/smsc47m1
> > > rename to Documentation/hwmon/smsc47m1.rst
> > > diff --git a/Documentation/hwmon/smsc47m192 b/Documentation/hwmon/smsc47m192.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/smsc47m192
> > > rename to Documentation/hwmon/smsc47m192.rst
> > > diff --git a/Documentation/hwmon/submitting-patches b/Documentation/hwmon/submitting-patches.rst
> > > similarity index 98%
> > > rename from Documentation/hwmon/submitting-patches
> > > rename to Documentation/hwmon/submitting-patches.rst
> > > index 12540b7d9b50..f9796b9d9db6 100644
> > > --- a/Documentation/hwmon/submitting-patches
> > > +++ b/Documentation/hwmon/submitting-patches.rst
> > > @@ -39,7 +39,7 @@ increase the chances of your change being accepted.
> > > 2. Adding functionality to existing drivers
> > > -------------------------------------------
> > >
> > > -* Make sure the documentation in Documentation/hwmon/<driver_name> is up to
> > > +* Make sure the documentation in Documentation/hwmon/<driver_name>.rst is up to
> > > date.
> > >
> > > * Make sure the information in Kconfig is up to date.
> > > @@ -61,7 +61,7 @@ increase the chances of your change being accepted.
> > >
> > > * Consider adding yourself to MAINTAINERS.
> > >
> > > -* Document the driver in Documentation/hwmon/<driver_name>.
> > > +* Document the driver in Documentation/hwmon/<driver_name>.rst.
> > >
> > > * Add the driver to Kconfig and Makefile in alphabetical order.
> > >
> > > @@ -134,7 +134,7 @@ increase the chances of your change being accepted.
> > > non-standard attributes, or you believe you do, discuss it on the mailing list
> > > first. Either case, provide a detailed explanation why you need the
> > > non-standard attribute(s).
> > > - Standard attributes are specified in Documentation/hwmon/sysfs-interface.
> > > + Standard attributes are specified in Documentation/hwmon/sysfs-interface.rst.
> > >
> > > * When deciding which sysfs attributes to support, look at the chip's
> > > capabilities. While we do not expect your driver to support everything the
> > > diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/sysfs-interface
> > > rename to Documentation/hwmon/sysfs-interface.rst
> > > diff --git a/Documentation/hwmon/tc654 b/Documentation/hwmon/tc654.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/tc654
> > > rename to Documentation/hwmon/tc654.rst
> > > diff --git a/Documentation/hwmon/tc74 b/Documentation/hwmon/tc74.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/tc74
> > > rename to Documentation/hwmon/tc74.rst
> > > diff --git a/Documentation/hwmon/thmc50 b/Documentation/hwmon/thmc50.rst
> > > similarity index 99%
> > > rename from Documentation/hwmon/thmc50
> > > rename to Documentation/hwmon/thmc50.rst
> > > index 6dba1b59b20c..cfff3885287d 100644
> > > --- a/Documentation/hwmon/thmc50
> > > +++ b/Documentation/hwmon/thmc50.rst
> > > @@ -87,4 +87,3 @@ so it stops fans even if the value 0 into the ANALOG_OUT register does not.
> > >
> > > The driver was tested on Compaq AP550 with two ADM1022 chips (one works
> > > in the temp3 mode), five temperature readings and two fans.
> > > -
> > > diff --git a/Documentation/hwmon/tmp102 b/Documentation/hwmon/tmp102.rst
> > > similarity index 93%
> > > rename from Documentation/hwmon/tmp102
> > > rename to Documentation/hwmon/tmp102.rst
> > > index 5e34821df4ab..b1f585531a88 100644
> > > --- a/Documentation/hwmon/tmp102
> > > +++ b/Documentation/hwmon/tmp102.rst
> > > @@ -28,4 +28,4 @@ The TMP102 has a programmable update rate that can select between 8, 4, 1, and
> > > 0.5 Hz. (Currently the driver only supports the default of 4 Hz).
> > >
> > > The driver provides the common sysfs-interface for temperatures (see
> > > -Documentation/hwmon/sysfs-interface under Temperatures).
> > > +Documentation/hwmon/sysfs-interface.rst under Temperatures).
> > > diff --git a/Documentation/hwmon/tmp103 b/Documentation/hwmon/tmp103.rst
> > > similarity index 92%
> > > rename from Documentation/hwmon/tmp103
> > > rename to Documentation/hwmon/tmp103.rst
> > > index 7682a795e38c..15d25806d585 100644
> > > --- a/Documentation/hwmon/tmp103
> > > +++ b/Documentation/hwmon/tmp103.rst
> > > @@ -27,7 +27,7 @@ Resolution: 8 Bits
> > > Accuracy: ±1°C Typ (–10°C to +100°C)
> > >
> > > The driver provides the common sysfs-interface for temperatures (see
> > > -Documentation/hwmon/sysfs-interface under Temperatures).
> > > +Documentation/hwmon/sysfs-interface.rst under Temperatures).
> > >
> > > Please refer how to instantiate this driver:
> > > Documentation/i2c/instantiating-devices
> > > diff --git a/Documentation/hwmon/tmp108 b/Documentation/hwmon/tmp108.rst
> > > similarity index 95%
> > > rename from Documentation/hwmon/tmp108
> > > rename to Documentation/hwmon/tmp108.rst
> > > index 7e08b7ef1e2f..5f4266a16cb2 100644
> > > --- a/Documentation/hwmon/tmp108
> > > +++ b/Documentation/hwmon/tmp108.rst
> > > @@ -38,4 +38,4 @@ and then the device is shut down automatically. (This driver only supports
> > > continuous mode.)
> > >
> > > The driver provides the common sysfs-interface for temperatures (see
> > > -Documentation/hwmon/sysfs-interface under Temperatures).
> > > +Documentation/hwmon/sysfs-interface.rst under Temperatures).
> > > diff --git a/Documentation/hwmon/tmp401 b/Documentation/hwmon/tmp401.rst
> > > similarity index 97%
> > > rename from Documentation/hwmon/tmp401
> > > rename to Documentation/hwmon/tmp401.rst
> > > index bd865bbdb38d..6a05a0719bc7 100644
> > > --- a/Documentation/hwmon/tmp401
> > > +++ b/Documentation/hwmon/tmp401.rst
> > > @@ -68,7 +68,7 @@ supported by the driver so far, so using the default resolution of 0.5
> > > degree).
> > >
> > > The driver provides the common sysfs-interface for temperatures (see
> > > -Documentation/hwmon/sysfs-interface under Temperatures).
> > > +Documentation/hwmon/sysfs-interface.rst under Temperatures).
> > >
> > > The TMP411 and TMP431 chips are compatible with TMP401. TMP411 provides
> > > some additional features.
> > > diff --git a/Documentation/hwmon/tmp421 b/Documentation/hwmon/tmp421.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/tmp421
> > > rename to Documentation/hwmon/tmp421.rst
> > > diff --git a/Documentation/hwmon/tps40422 b/Documentation/hwmon/tps40422.rst
> > > similarity index 96%
> > > rename from Documentation/hwmon/tps40422
> > > rename to Documentation/hwmon/tps40422.rst
> > > index 359751eb5ed4..b691e30479dd 100644
> > > --- a/Documentation/hwmon/tps40422
> > > +++ b/Documentation/hwmon/tps40422.rst
> > > @@ -21,7 +21,7 @@ This driver supports TI TPS40422 Dual-Output or Two-Phase Synchronous Buck
> > > Controller with PMBus
> > >
> > > The driver is a client driver to the core PMBus driver.
> > > -Please see Documentation/hwmon/pmbus for details on PMBus client drivers.
> > > +Please see Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> > >
> > >
> > > Usage Notes
> > > diff --git a/Documentation/hwmon/twl4030-madc-hwmon b/Documentation/hwmon/twl4030-madc-hwmon.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/twl4030-madc-hwmon
> > > rename to Documentation/hwmon/twl4030-madc-hwmon.rst
> > > diff --git a/Documentation/hwmon/ucd9000 b/Documentation/hwmon/ucd9000.rst
> > > similarity index 97%
> > > rename from Documentation/hwmon/ucd9000
> > > rename to Documentation/hwmon/ucd9000.rst
> > > index d69061b7312c..ebc4f2b3bfea 100644
> > > --- a/Documentation/hwmon/ucd9000
> > > +++ b/Documentation/hwmon/ucd9000.rst
> > > @@ -57,7 +57,7 @@ system-health monitor. The device integrates a 12-bit ADC for monitoring up to
> > > 13 power-supply voltage, current, or temperature inputs.
> > >
> > > This driver is a client driver to the core PMBus driver. Please see
> > > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> > >
> > >
> > > Usage Notes
> > > @@ -72,7 +72,7 @@ Platform data support
> > > ---------------------
> > >
> > > The driver supports standard PMBus driver platform data. Please see
> > > -Documentation/hwmon/pmbus for details.
> > > +Documentation/hwmon/pmbus.rst for details.
> > >
> > >
> > > Sysfs entries
> > > diff --git a/Documentation/hwmon/ucd9200 b/Documentation/hwmon/ucd9200.rst
> > > similarity index 97%
> > > rename from Documentation/hwmon/ucd9200
> > > rename to Documentation/hwmon/ucd9200.rst
> > > index 44eda4a579b6..b819dfd75f71 100644
> > > --- a/Documentation/hwmon/ucd9200
> > > +++ b/Documentation/hwmon/ucd9200.rst
> > > @@ -33,7 +33,7 @@ dedicated circuitry for DC/DC loop management with flash memory and a serial
> > > interface to support configuration, monitoring and management.
> > >
> > > This driver is a client driver to the core PMBus driver. Please see
> > > -Documentation/hwmon/pmbus for details on PMBus client drivers.
> > > +Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
> > >
> > >
> > > Usage Notes
> > > @@ -48,7 +48,7 @@ Platform data support
> > > ---------------------
> > >
> > > The driver supports standard PMBus driver platform data. Please see
> > > -Documentation/hwmon/pmbus for details.
> > > +Documentation/hwmon/pmbus.rst for details.
> > >
> > >
> > > Sysfs entries
> > > diff --git a/Documentation/hwmon/userspace-tools b/Documentation/hwmon/userspace-tools.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/userspace-tools
> > > rename to Documentation/hwmon/userspace-tools.rst
> > > diff --git a/Documentation/hwmon/vexpress b/Documentation/hwmon/vexpress.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/vexpress
> > > rename to Documentation/hwmon/vexpress.rst
> > > diff --git a/Documentation/hwmon/via686a b/Documentation/hwmon/via686a.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/via686a
> > > rename to Documentation/hwmon/via686a.rst
> > > diff --git a/Documentation/hwmon/vt1211 b/Documentation/hwmon/vt1211.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/vt1211
> > > rename to Documentation/hwmon/vt1211.rst
> > > diff --git a/Documentation/hwmon/w83627ehf b/Documentation/hwmon/w83627ehf.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/w83627ehf
> > > rename to Documentation/hwmon/w83627ehf.rst
> > > diff --git a/Documentation/hwmon/w83627hf b/Documentation/hwmon/w83627hf.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/w83627hf
> > > rename to Documentation/hwmon/w83627hf.rst
> > > diff --git a/Documentation/hwmon/w83773g b/Documentation/hwmon/w83773g.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/w83773g
> > > rename to Documentation/hwmon/w83773g.rst
> > > diff --git a/Documentation/hwmon/w83781d b/Documentation/hwmon/w83781d.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/w83781d
> > > rename to Documentation/hwmon/w83781d.rst
> > > diff --git a/Documentation/hwmon/w83791d b/Documentation/hwmon/w83791d.rst
> > > similarity index 99%
> > > rename from Documentation/hwmon/w83791d
> > > rename to Documentation/hwmon/w83791d.rst
> > > index a91f9e5fb0c6..3adaed39b157 100644
> > > --- a/Documentation/hwmon/w83791d
> > > +++ b/Documentation/hwmon/w83791d.rst
> > > @@ -102,7 +102,7 @@ This file is used for both legacy and new code.
> > >
> > > The sysfs interface to the beep bitmask has migrated from the original legacy
> > > method of a single sysfs beep_mask file to a newer method using multiple
> > > -`*_beep` files as described in `Documentation/hwmon/sysfs-interface`.
> > > +`*_beep` files as described in `Documentation/hwmon/sysfs-interface.rst`.
> > >
> > > A similar change has occurred for the bitmap corresponding to the alarms. The
> > > original legacy method used a single sysfs alarms file containing a bitmap
> > > diff --git a/Documentation/hwmon/w83792d b/Documentation/hwmon/w83792d.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/w83792d
> > > rename to Documentation/hwmon/w83792d.rst
> > > diff --git a/Documentation/hwmon/w83793 b/Documentation/hwmon/w83793.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/w83793
> > > rename to Documentation/hwmon/w83793.rst
> > > diff --git a/Documentation/hwmon/w83795 b/Documentation/hwmon/w83795.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/w83795
> > > rename to Documentation/hwmon/w83795.rst
> > > diff --git a/Documentation/hwmon/w83l785ts b/Documentation/hwmon/w83l785ts.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/w83l785ts
> > > rename to Documentation/hwmon/w83l785ts.rst
> > > diff --git a/Documentation/hwmon/w83l786ng b/Documentation/hwmon/w83l786ng.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/w83l786ng
> > > rename to Documentation/hwmon/w83l786ng.rst
> > > diff --git a/Documentation/hwmon/wm831x b/Documentation/hwmon/wm831x.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/wm831x
> > > rename to Documentation/hwmon/wm831x.rst
> > > diff --git a/Documentation/hwmon/wm8350 b/Documentation/hwmon/wm8350.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/wm8350
> > > rename to Documentation/hwmon/wm8350.rst
> > > diff --git a/Documentation/hwmon/xgene-hwmon b/Documentation/hwmon/xgene-hwmon.rst
> > > similarity index 100%
> > > rename from Documentation/hwmon/xgene-hwmon
> > > rename to Documentation/hwmon/xgene-hwmon.rst
> > > diff --git a/Documentation/hwmon/zl6100 b/Documentation/hwmon/zl6100.rst
> > > similarity index 98%
> > > rename from Documentation/hwmon/zl6100
> > > rename to Documentation/hwmon/zl6100.rst
> > > index 4029970bace4..41513bb7fe51 100644
> > > --- a/Documentation/hwmon/zl6100
> > > +++ b/Documentation/hwmon/zl6100.rst
> > > @@ -113,7 +113,7 @@ This driver supports hardware monitoring for Intersil / Zilker Labs ZL6100 and
> > > compatible digital DC-DC controllers.
> > >
> > > The driver is a client driver to the core PMBus driver. Please see
> > > -Documentation/hwmon/pmbus and Documentation.hwmon/pmbus-core for details
> > > +Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details
> > > on PMBus client drivers.
> > >
> > >
> > > diff --git a/Documentation/index.rst b/Documentation/index.rst
> > > index 80a421cb935e..3a710dc24fc8 100644
> > > --- a/Documentation/index.rst
> > > +++ b/Documentation/index.rst
> > > @@ -83,6 +83,7 @@ needed).
> > > media/index
> > > networking/index
> > > input/index
> > > + hwmon/index
> > > gpu/index
> > > security/index
> > > sound/index
> > > diff --git a/Documentation/thermal/sysfs-api.txt b/Documentation/thermal/sysfs-api.txt
> > > index 911399730c1c..c3fa500df92c 100644
> > > --- a/Documentation/thermal/sysfs-api.txt
> > > +++ b/Documentation/thermal/sysfs-api.txt
> > > @@ -316,7 +316,7 @@ ACPI thermal zones.
> > > |---temp[1-*]_input: The current temperature of thermal zone [1-*]
> > > |---temp[1-*]_critical: The critical trip point of thermal zone [1-*]
> > >
> > > -Please read Documentation/hwmon/sysfs-interface for additional information.
> > > +Please read Documentation/hwmon/sysfs-interface.rst for additional information.
> > >
> > > ***************************
> > > * Thermal zone attributes *
> > > diff --git a/MAINTAINERS b/MAINTAINERS
> > > index 349e5d8c3f58..6269c9d671ca 100644
> > > --- a/MAINTAINERS
> > > +++ b/MAINTAINERS
> > > @@ -468,7 +468,7 @@ ADM1025 HARDWARE MONITOR DRIVER
> > > M: Jean Delvare <jdelvare@suse.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/adm1025
> > > +F: Documentation/hwmon/adm1025.rst
> > > F: drivers/hwmon/adm1025.c
> > >
> > > ADM1029 HARDWARE MONITOR DRIVER
> > > @@ -520,7 +520,7 @@ ADS1015 HARDWARE MONITOR DRIVER
> > > M: Dirk Eibach <eibach@gdsys.de>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/ads1015
> > > +F: Documentation/hwmon/ads1015.rst
> > > F: drivers/hwmon/ads1015.c
> > > F: include/linux/platform_data/ads1015.h
> > >
> > > @@ -533,7 +533,7 @@ ADT7475 HARDWARE MONITOR DRIVER
> > > M: Jean Delvare <jdelvare@suse.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/adt7475
> > > +F: Documentation/hwmon/adt7475.rst
> > > F: drivers/hwmon/adt7475.c
> > >
> > > ADVANSYS SCSI DRIVER
> > > @@ -764,7 +764,7 @@ AMD FAM15H PROCESSOR POWER MONITORING DRIVER
> > > M: Huang Rui <ray.huang@amd.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Supported
> > > -F: Documentation/hwmon/fam15h_power
> > > +F: Documentation/hwmon/fam15h_power.rst
> > > F: drivers/hwmon/fam15h_power.c
> > >
> > > AMD FCH GPIO DRIVER
> > > @@ -2531,7 +2531,7 @@ ASC7621 HARDWARE MONITOR DRIVER
> > > M: George Joseph <george.joseph@fairview5.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/asc7621
> > > +F: Documentation/hwmon/asc7621.rst
> > > F: drivers/hwmon/asc7621.c
> > >
> > > ASPEED VIDEO ENGINE DRIVER
> > > @@ -4071,7 +4071,7 @@ CORETEMP HARDWARE MONITORING DRIVER
> > > M: Fenghua Yu <fenghua.yu@intel.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/coretemp
> > > +F: Documentation/hwmon/coretemp.rst
> > > F: drivers/hwmon/coretemp.c
> > >
> > > COSA/SRP SYNC SERIAL DRIVER
> > > @@ -4627,7 +4627,7 @@ DIALOG SEMICONDUCTOR DRIVERS
> > > M: Support Opensource <support.opensource@diasemi.com>
> > > W: http://www.dialog-semiconductor.com/products
> > > S: Supported
> > > -F: Documentation/hwmon/da90??
> > > +F: Documentation/hwmon/da90??.rst
> > > F: Documentation/devicetree/bindings/mfd/da90*.txt
> > > F: Documentation/devicetree/bindings/input/da90??-onkey.txt
> > > F: Documentation/devicetree/bindings/thermal/da90??-thermal.txt
> > > @@ -4778,7 +4778,7 @@ DME1737 HARDWARE MONITOR DRIVER
> > > M: Juerg Haefliger <juergh@gmail.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/dme1737
> > > +F: Documentation/hwmon/dme1737.rst
> > > F: drivers/hwmon/dme1737.c
> > >
> > > DMI/SMBIOS SUPPORT
> > > @@ -6006,7 +6006,7 @@ F71805F HARDWARE MONITORING DRIVER
> > > M: Jean Delvare <jdelvare@suse.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/f71805f
> > > +F: Documentation/hwmon/f71805f.rst
> > > F: drivers/hwmon/f71805f.c
> > >
> > > FADDR2LINE
> > > @@ -7687,7 +7687,7 @@ INA209 HARDWARE MONITOR DRIVER
> > > M: Guenter Roeck <linux@roeck-us.net>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/ina209
> > > +F: Documentation/hwmon/ina209.rst
> > > F: Documentation/devicetree/bindings/hwmon/ina2xx.txt
> > > F: drivers/hwmon/ina209.c
> > >
> > > @@ -7695,7 +7695,7 @@ INA2XX HARDWARE MONITOR DRIVER
> > > M: Guenter Roeck <linux@roeck-us.net>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/ina2xx
> > > +F: Documentation/hwmon/ina2xx.rst
> > > F: drivers/hwmon/ina2xx.c
> > > F: include/linux/platform_data/ina2xx.h
> > >
> > > @@ -8328,7 +8328,7 @@ IT87 HARDWARE MONITORING DRIVER
> > > M: Jean Delvare <jdelvare@suse.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/it87
> > > +F: Documentation/hwmon/it87.rst
> > > F: drivers/hwmon/it87.c
> > >
> > > IT913X MEDIA DRIVER
> > > @@ -8372,7 +8372,7 @@ M: Guenter Roeck <linux@roeck-us.net>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > F: drivers/hwmon/jc42.c
> > > -F: Documentation/hwmon/jc42
> > > +F: Documentation/hwmon/jc42.rst
> > >
> > > JFS FILESYSTEM
> > > M: Dave Kleikamp <shaggy@kernel.org>
> > > @@ -8420,14 +8420,14 @@ K10TEMP HARDWARE MONITORING DRIVER
> > > M: Clemens Ladisch <clemens@ladisch.de>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/k10temp
> > > +F: Documentation/hwmon/k10temp.rst
> > > F: drivers/hwmon/k10temp.c
> > >
> > > K8TEMP HARDWARE MONITORING DRIVER
> > > M: Rudolf Marek <r.marek@assembler.cz>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/k8temp
> > > +F: Documentation/hwmon/k8temp.rst
> > > F: drivers/hwmon/k8temp.c
> > >
> > > KASAN
> > > @@ -9118,21 +9118,21 @@ LM78 HARDWARE MONITOR DRIVER
> > > M: Jean Delvare <jdelvare@suse.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/lm78
> > > +F: Documentation/hwmon/lm78.rst
> > > F: drivers/hwmon/lm78.c
> > >
> > > LM83 HARDWARE MONITOR DRIVER
> > > M: Jean Delvare <jdelvare@suse.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/lm83
> > > +F: Documentation/hwmon/lm83.rst
> > > F: drivers/hwmon/lm83.c
> > >
> > > LM90 HARDWARE MONITOR DRIVER
> > > M: Jean Delvare <jdelvare@suse.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/lm90
> > > +F: Documentation/hwmon/lm90.rst
> > > F: Documentation/devicetree/bindings/hwmon/lm90.txt
> > > F: drivers/hwmon/lm90.c
> > > F: include/dt-bindings/thermal/lm90.h
> > > @@ -9141,7 +9141,7 @@ LM95234 HARDWARE MONITOR DRIVER
> > > M: Guenter Roeck <linux@roeck-us.net>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/lm95234
> > > +F: Documentation/hwmon/lm95234.rst
> > > F: drivers/hwmon/lm95234.c
> > >
> > > LME2510 MEDIA DRIVER
> > > @@ -9214,7 +9214,7 @@ LTC4261 HARDWARE MONITOR DRIVER
> > > M: Guenter Roeck <linux@roeck-us.net>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/ltc4261
> > > +F: Documentation/hwmon/ltc4261.rst
> > > F: drivers/hwmon/ltc4261.c
> > >
> > > LTC4306 I2C MULTIPLEXER DRIVER
> > > @@ -9445,7 +9445,7 @@ MAX16065 HARDWARE MONITOR DRIVER
> > > M: Guenter Roeck <linux@roeck-us.net>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/max16065
> > > +F: Documentation/hwmon/max16065.rst
> > > F: drivers/hwmon/max16065.c
> > >
> > > MAX2175 SDR TUNER DRIVER
> > > @@ -9461,14 +9461,14 @@ F: include/uapi/linux/max2175.h
> > > MAX6650 HARDWARE MONITOR AND FAN CONTROLLER DRIVER
> > > L: linux-hwmon@vger.kernel.org
> > > S: Orphan
> > > -F: Documentation/hwmon/max6650
> > > +F: Documentation/hwmon/max6650.rst
> > > F: drivers/hwmon/max6650.c
> > >
> > > MAX6697 HARDWARE MONITOR DRIVER
> > > M: Guenter Roeck <linux@roeck-us.net>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/max6697
> > > +F: Documentation/hwmon/max6697.rst
> > > F: Documentation/devicetree/bindings/hwmon/max6697.txt
> > > F: drivers/hwmon/max6697.c
> > > F: include/linux/platform_data/max6697.h
> > > @@ -10118,7 +10118,7 @@ F: drivers/mfd/menf21bmc.c
> > > F: drivers/watchdog/menf21bmc_wdt.c
> > > F: drivers/leds/leds-menf21bmc.c
> > > F: drivers/hwmon/menf21bmc_hwmon.c
> > > -F: Documentation/hwmon/menf21bmc
> > > +F: Documentation/hwmon/menf21bmc.rst
> > >
> > > MEN Z069 WATCHDOG DRIVER
> > > M: Johannes Thumshirn <jth@kernel.org>
> > > @@ -10747,7 +10747,7 @@ NCT6775 HARDWARE MONITOR DRIVER
> > > M: Guenter Roeck <linux@roeck-us.net>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/nct6775
> > > +F: Documentation/hwmon/nct6775.rst
> > > F: drivers/hwmon/nct6775.c
> > >
> > > NET_FAILOVER MODULE
> > > @@ -11841,7 +11841,7 @@ PC87360 HARDWARE MONITORING DRIVER
> > > M: Jim Cromie <jim.cromie@gmail.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/pc87360
> > > +F: Documentation/hwmon/pc87360.rst
> > > F: drivers/hwmon/pc87360.c
> > >
> > > PC8736x GPIO DRIVER
> > > @@ -11853,7 +11853,7 @@ PC87427 HARDWARE MONITORING DRIVER
> > > M: Jean Delvare <jdelvare@suse.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/pc87427
> > > +F: Documentation/hwmon/pc87427.rst
> > > F: drivers/hwmon/pc87427.c
> > >
> > > PCA9532 LED DRIVER
> > > @@ -12421,23 +12421,23 @@ S: Maintained
> > > F: Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt
> > > F: Documentation/devicetree/bindings/hwmon/max31785.txt
> > > F: Documentation/devicetree/bindings/hwmon/ltc2978.txt
> > > -F: Documentation/hwmon/adm1275
> > > -F: Documentation/hwmon/ibm-cffps
> > > -F: Documentation/hwmon/ir35221
> > > -F: Documentation/hwmon/lm25066
> > > -F: Documentation/hwmon/ltc2978
> > > -F: Documentation/hwmon/ltc3815
> > > -F: Documentation/hwmon/max16064
> > > -F: Documentation/hwmon/max20751
> > > -F: Documentation/hwmon/max31785
> > > -F: Documentation/hwmon/max34440
> > > -F: Documentation/hwmon/max8688
> > > -F: Documentation/hwmon/pmbus
> > > -F: Documentation/hwmon/pmbus-core
> > > -F: Documentation/hwmon/tps40422
> > > -F: Documentation/hwmon/ucd9000
> > > -F: Documentation/hwmon/ucd9200
> > > -F: Documentation/hwmon/zl6100
> > > +F: Documentation/hwmon/adm1275.rst
> > > +F: Documentation/hwmon/ibm-cffps.rst
> > > +F: Documentation/hwmon/ir35221.rst
> > > +F: Documentation/hwmon/lm25066.rst
> > > +F: Documentation/hwmon/ltc2978.rst
> > > +F: Documentation/hwmon/ltc3815.rst
> > > +F: Documentation/hwmon/max16064.rst
> > > +F: Documentation/hwmon/max20751.rst
> > > +F: Documentation/hwmon/max31785.rst
> > > +F: Documentation/hwmon/max34440.rst
> > > +F: Documentation/hwmon/max8688.rst
> > > +F: Documentation/hwmon/pmbus.rst
> > > +F: Documentation/hwmon/pmbus-core.rst
> > > +F: Documentation/hwmon/tps40422.rst
> > > +F: Documentation/hwmon/ucd9000.rst
> > > +F: Documentation/hwmon/ucd9200.rst
> > > +F: Documentation/hwmon/zl6100.rst
> > > F: drivers/hwmon/pmbus/
> > > F: include/linux/pmbus.h
> > >
> > > @@ -12701,7 +12701,7 @@ M: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Supported
> > > F: Documentation/devicetree/bindings/hwmon/pwm-fan.txt
> > > -F: Documentation/hwmon/pwm-fan
> > > +F: Documentation/hwmon/pwm-fan.rst
> > > F: drivers/hwmon/pwm-fan.c
> > >
> > > PWM IR Transmitter
> > > @@ -14366,21 +14366,21 @@ SMM665 HARDWARE MONITOR DRIVER
> > > M: Guenter Roeck <linux@roeck-us.net>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/smm665
> > > +F: Documentation/hwmon/smm665.rst
> > > F: drivers/hwmon/smm665.c
> > >
> > > SMSC EMC2103 HARDWARE MONITOR DRIVER
> > > M: Steve Glendinning <steve.glendinning@shawell.net>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/emc2103
> > > +F: Documentation/hwmon/emc2103.rst
> > > F: drivers/hwmon/emc2103.c
> > >
> > > SMSC SCH5627 HARDWARE MONITOR DRIVER
> > > M: Hans de Goede <hdegoede@redhat.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Supported
> > > -F: Documentation/hwmon/sch5627
> > > +F: Documentation/hwmon/sch5627.rst
> > > F: drivers/hwmon/sch5627.c
> > >
> > > SMSC UFX6000 and UFX7000 USB to VGA DRIVER
> > > @@ -14393,7 +14393,7 @@ SMSC47B397 HARDWARE MONITOR DRIVER
> > > M: Jean Delvare <jdelvare@suse.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/smsc47b397
> > > +F: Documentation/hwmon/smsc47b397.rst
> > > F: drivers/hwmon/smsc47b397.c
> > >
> > > SMSC911x ETHERNET DRIVER
> > > @@ -15744,7 +15744,7 @@ TMP401 HARDWARE MONITOR DRIVER
> > > M: Guenter Roeck <linux@roeck-us.net>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/tmp401
> > > +F: Documentation/hwmon/tmp401.rst
> > > F: drivers/hwmon/tmp401.c
> > >
> > > TMPFS (SHMEM FILESYSTEM)
> > > @@ -16796,7 +16796,7 @@ VT1211 HARDWARE MONITOR DRIVER
> > > M: Juerg Haefliger <juergh@gmail.com>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/vt1211
> > > +F: Documentation/hwmon/vt1211.rst
> > > F: drivers/hwmon/vt1211.c
> > >
> > > VT8231 HARDWARE MONITOR DRIVER
> > > @@ -16824,14 +16824,14 @@ W83791D HARDWARE MONITORING DRIVER
> > > M: Marc Hulsman <m.hulsman@tudelft.nl>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/w83791d
> > > +F: Documentation/hwmon/w83791d.rst
> > > F: drivers/hwmon/w83791d.c
> > >
> > > W83793 HARDWARE MONITORING DRIVER
> > > M: Rudolf Marek <r.marek@assembler.cz>
> > > L: linux-hwmon@vger.kernel.org
> > > S: Maintained
> > > -F: Documentation/hwmon/w83793
> > > +F: Documentation/hwmon/w83793.rst
> > > F: drivers/hwmon/w83793.c
> > >
> > > W83795 HARDWARE MONITORING DRIVER
> > > @@ -16940,7 +16940,7 @@ L: patches@opensource.cirrus.com
> > > T: git https://github.com/CirrusLogic/linux-drivers.git
> > > W: https://github.com/CirrusLogic/linux-drivers/wiki
> > > S: Supported
> > > -F: Documentation/hwmon/wm83??
> > > +F: Documentation/hwmon/wm83??.rst
> > > F: Documentation/devicetree/bindings/extcon/extcon-arizona.txt
> > > F: Documentation/devicetree/bindings/regulator/arizona-regulator.txt
> > > F: Documentation/devicetree/bindings/mfd/arizona.txt
> > > diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
> > > index dedd5febd3aa..470ba66b18b0 100644
> > > --- a/drivers/hwmon/Kconfig
> > > +++ b/drivers/hwmon/Kconfig
> > > @@ -17,7 +17,7 @@ menuconfig HWMON
> > >
> > > To find out which specific driver(s) you need, use the
> > > sensors-detect script from the lm_sensors package. Read
> > > - <file:Documentation/hwmon/userspace-tools> for details.
> > > + <file:Documentation/hwmon/userspace-tools.rst> for details.
> > >
> > > This support can also be built as a module. If so, the module
> > > will be called hwmon.
> > > @@ -59,7 +59,7 @@ config SENSORS_ABITUGURU
> > > chip can be found on Abit uGuru featuring motherboards (most modern
> > > Abit motherboards from before end 2005). For more info and a list
> > > of which motherboards have which revision see
> > > - Documentation/hwmon/abituguru
> > > + Documentation/hwmon/abituguru.rsthttps://lore.kernel.org/lkml/cccc2a52363a5aaeea10e186ead8570503ea648e.1555494108.git.mchehab+samsung@kernel.org/
> > >
> > > This driver can also be built as a module. If so, the module
> > > will be called abituguru.
> > > @@ -73,7 +73,7 @@ config SENSORS_ABITUGURU3
> > > and their settings is supported. The third revision of the Abit
> > > uGuru chip can be found on recent Abit motherboards (since end
> > > 2005). For more info and a list of which motherboards have which
> > > - revision see Documentation/hwmon/abituguru3
> > > + revision see Documentation/hwmon/abituguru3.rst
> > >
> > > This driver can also be built as a module. If so, the module
> > > will be called abituguru3.
> > > @@ -643,7 +643,7 @@ config SENSORS_CORETEMP
> > > help
> > > If you say yes here you get support for the temperature
> > > sensor inside your CPU. Most of the family 6 CPUs
> > > - are supported. Check Documentation/hwmon/coretemp for details.
> > > + are supported. Check Documentation/hwmon/coretemp.rst for details.
> > >
> > > config SENSORS_IT87
> > > tristate "ITE IT87xx and compatibles"
> > > diff --git a/drivers/hwmon/ads7828.c b/drivers/hwmon/ads7828.c
> > > index e6be617e3fb2..03d6e782777a 100644
> > > --- a/drivers/hwmon/ads7828.c
> > > +++ b/drivers/hwmon/ads7828.c
> > > @@ -8,7 +8,7 @@
> > > *
> > > * ADS7830 support, by Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
> > > *
> > > - * For further information, see the Documentation/hwmon/ads7828 file.
> > > + * For further information, see the Documentation/hwmon/ads7828.rst file.
> > > *
> > > * This program is free software; you can redistribute it and/or modify
> > > * it under the terms of the GNU General Public License as published by
> > > diff --git a/drivers/hwmon/max197.c b/drivers/hwmon/max197.c
> > > index 3d9e210beedf..dd6a35219a18 100644
> > > --- a/drivers/hwmon/max197.c
> > > +++ b/drivers/hwmon/max197.c
> > > @@ -8,7 +8,7 @@
> > > * it under the terms of the GNU General Public License version 2 as
> > > * published by the Free Software Foundation.
> > > *
> > > - * For further information, see the Documentation/hwmon/max197 file.
> > > + * For further information, see the Documentation/hwmon/max197.rst file.
> > > */
> > >
> > > #include <linux/kernel.h>
> > > diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c
> > > index 39b41e35c2bf..7f4a63959730 100644
> > > --- a/drivers/hwmon/sht15.c
> > > +++ b/drivers/hwmon/sht15.c
> > > @@ -10,7 +10,7 @@
> > > *
> > > * Copyright (c) 2007 Wouter Horre
> > > *
> > > - * For further information, see the Documentation/hwmon/sht15 file.
> > > + * For further information, see the Documentation/hwmon/sht15.rst file.
> > > */
> > >
> > > #include <linux/interrupt.h>
> > > diff --git a/include/linux/platform_data/ads7828.h b/include/linux/platform_data/ads7828.h
> > > index 3245f45f9d77..a3370a007702 100644
> > > --- a/include/linux/platform_data/ads7828.h
> > > +++ b/include/linux/platform_data/ads7828.h
> > > @@ -4,7 +4,7 @@
> > > * Copyright (c) 2012 Savoir-faire Linux Inc.
> > > * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
> > > *
> > > - * For further information, see the Documentation/hwmon/ads7828 file.
> > > + * For further information, see the Documentation/hwmon/ads7828.rst file.
> > > *
> > > * This program is free software; you can redistribute it and/or modify
> > > * it under the terms of the GNU General Public License version 2 as
> > > diff --git a/include/linux/platform_data/ds620.h b/include/linux/platform_data/ds620.h
> > > index 6ef58bb77e46..f0ce22a78bb8 100644
> > > --- a/include/linux/platform_data/ds620.h
> > > +++ b/include/linux/platform_data/ds620.h
> > > @@ -14,7 +14,7 @@ struct ds620_platform_data {
> > > * 1 = PO_LOW
> > > * 2 = PO_HIGH
> > > *
> > > - * (see Documentation/hwmon/ds620)
> > > + * (see Documentation/hwmon/ds620.rst)
> > > */
> > > int pomode;
> > > };
> > > diff --git a/include/linux/platform_data/ina2xx.h b/include/linux/platform_data/ina2xx.h
> > > index 9f0aa1b48c78..dde59fd3590f 100644
> > > --- a/include/linux/platform_data/ina2xx.h
> > > +++ b/include/linux/platform_data/ina2xx.h
> > > @@ -7,7 +7,7 @@
> > > * it under the terms of the GNU General Public License version 2 as
> > > * published by the Free Software Foundation.
> > > *
> > > - * For further information, see the Documentation/hwmon/ina2xx file.
> > > + * For further information, see the Documentation/hwmon/ina2xx.rst file.
> > > */
> > >
> > > /**
> > > diff --git a/include/linux/platform_data/max197.h b/include/linux/platform_data/max197.h
> > > index 8da8f94ee15c..2bbd0919bc89 100644
> > > --- a/include/linux/platform_data/max197.h
> > > +++ b/include/linux/platform_data/max197.h
> > > @@ -8,7 +8,7 @@
> > > * it under the terms of the GNU General Public License version 2 as
> > > * published by the Free Software Foundation.
> > > *
> > > - * For further information, see the Documentation/hwmon/max197 file.
> > > + * For further information, see the Documentation/hwmon/max197.rst file.
> > > */
> > >
> > > #ifndef _PDATA_MAX197_H
> > > diff --git a/include/linux/platform_data/ntc_thermistor.h b/include/linux/platform_data/ntc_thermistor.h
> > > index ee03d429742b..5fa115d3ea4b 100644
> > > --- a/include/linux/platform_data/ntc_thermistor.h
> > > +++ b/include/linux/platform_data/ntc_thermistor.h
> > > @@ -42,7 +42,7 @@ struct ntc_thermistor_platform_data {
> > > * read_uV()
> > > *
> > > * How to setup pullup_ohm, pulldown_ohm, and connect is
> > > - * described at Documentation/hwmon/ntc_thermistor
> > > + * described at Documentation/hwmon/ntc_thermistor.rst
> > > *
> > > * pullup/down_ohm: 0 for infinite / not-connected
> > > *
>
>
>
> Thanks,
> Mauro
Thanks,
Mauro
^ permalink raw reply
* Re: [PATCH v3 21/21] docs: hwmon: Add an index file and rename docs to *.rst
From: Guenter Roeck @ 2019-04-17 17:43 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: Mark Rutland, Dirk Eibach, linux-aspeed, Linux Doc Mailing List,
Clemens Ladisch, Kamil Debski, Marc Hulsman, devicetree,
Huang Rui, Paul Mackerras, Jim Cromie, Lorenzo Pieralisi,
Jonathan Corbet, Joel Stanley, Steve Glendinning, Fenghua Yu,
Jean Delvare, Bartlomiej Zolnierkiewicz, Liviu Dudau,
Hans de Goede, Rob Herring, Rudolf Marek, linux-arm-kernel,
linux-hwmon, Support Opensource, George Joseph, Andreas Werner,
Andrew Jeffery, patches, linux-kernel, Juerg Haefliger,
Sudeep Holla, linuxppc-dev
In-Reply-To: <20190417142215.791df5e7@coco.lan>
On Wed, Apr 17, 2019 at 02:22:15PM -0300, Mauro Carvalho Chehab wrote:
> Em Wed, 17 Apr 2019 14:13:52 -0300
> Mauro Carvalho Chehab <mchehab+samsung@kernel.org> escreveu:
>
> > Em Wed, 17 Apr 2019 09:47:41 -0700
> > Guenter Roeck <linux@roeck-us.net> escreveu:
> >
> > > On Wed, Apr 17, 2019 at 06:46:29AM -0300, Mauro Carvalho Chehab wrote:
> > > > Now that all files were converted to ReST format, rename them
> > > > and add an index.
> > > >
> > > > Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
> > > > Acked-by: Liviu Dudau <liviu.dudau@arm.com>
> > >
> > > I applied all patches except this one, which fails due to a conflict in
> > > ab8500. I also notice that this file has not been touched by your series,
> > > which is odd. At the same time, patch 20/21 is missing from your series,
> > > and has been missing all along. Does the missing patch possibly touch
> > > Documentation/hwmon/ab8500 ?
> >
> > Patch 20/21 is the biggest one. Maybe vger rejected it either due to
> > its size or due to the number of c/c.
> >
> > Just bounced it to you. Please let me know if you didn't receive it
> > yet.
>
> Btw, LKML got it:
>
> https://lore.kernel.org/lkml/cccc2a52363a5aaeea10e186ead8570503ea648e.1555494108.git.mchehab+samsung@kernel.org/
>
patchwork didn't get it (or didn't accept it). I got it now.
All patches applied, and pushed out to hwmon-next.
We have one (new) unconverted file left - Documentation/hwmon/lochnagar.
Can you by any chance have a look into that as well ?
Thanks!
Guenter
^ permalink raw reply
* Re: [PATCH v3 21/21] docs: hwmon: Add an index file and rename docs to *.rst
From: Guenter Roeck @ 2019-04-17 17:47 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: Mark Rutland, Dirk Eibach, linux-aspeed, Linux Doc Mailing List,
Clemens Ladisch, Kamil Debski, Marc Hulsman, devicetree,
Huang Rui, Paul Mackerras, Jim Cromie, Lorenzo Pieralisi,
Jonathan Corbet, Joel Stanley, Steve Glendinning, Fenghua Yu,
Jean Delvare, Bartlomiej Zolnierkiewicz, Liviu Dudau,
Hans de Goede, Rob Herring, Rudolf Marek, linux-arm-kernel,
linux-hwmon, Support Opensource, George Joseph, Andreas Werner,
Andrew Jeffery, patches, linux-kernel, Juerg Haefliger,
Sudeep Holla, linuxppc-dev
In-Reply-To: <20190417174337.GA16749@roeck-us.net>
On Wed, Apr 17, 2019 at 10:43:37AM -0700, Guenter Roeck wrote:
> On Wed, Apr 17, 2019 at 02:22:15PM -0300, Mauro Carvalho Chehab wrote:
> > Em Wed, 17 Apr 2019 14:13:52 -0300
> > Mauro Carvalho Chehab <mchehab+samsung@kernel.org> escreveu:
> >
> > > Em Wed, 17 Apr 2019 09:47:41 -0700
> > > Guenter Roeck <linux@roeck-us.net> escreveu:
> > >
> > > > On Wed, Apr 17, 2019 at 06:46:29AM -0300, Mauro Carvalho Chehab wrote:
> > > > > Now that all files were converted to ReST format, rename them
> > > > > and add an index.
> > > > >
> > > > > Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
> > > > > Acked-by: Liviu Dudau <liviu.dudau@arm.com>
> > > >
> > > > I applied all patches except this one, which fails due to a conflict in
> > > > ab8500. I also notice that this file has not been touched by your series,
> > > > which is odd. At the same time, patch 20/21 is missing from your series,
> > > > and has been missing all along. Does the missing patch possibly touch
> > > > Documentation/hwmon/ab8500 ?
> > >
> > > Patch 20/21 is the biggest one. Maybe vger rejected it either due to
> > > its size or due to the number of c/c.
> > >
> > > Just bounced it to you. Please let me know if you didn't receive it
> > > yet.
> >
> > Btw, LKML got it:
> >
> > https://lore.kernel.org/lkml/cccc2a52363a5aaeea10e186ead8570503ea648e.1555494108.git.mchehab+samsung@kernel.org/
> >
> patchwork didn't get it (or didn't accept it). I got it now.
> All patches applied, and pushed out to hwmon-next.
>
> We have one (new) unconverted file left - Documentation/hwmon/lochnagar.
Plus ir38064 and isl68137. Lots of new drivers recently.
Guenter
^ permalink raw reply
* Re: [PATCH -next] ALSA: ps3: Remove set but not used variables 'start_vaddr' and 'pcm_index'
From: Geoff Levand @ 2019-04-17 18:19 UTC (permalink / raw)
To: Yue Haibing, perex, tiwai, benh, paulus, mpe
Cc: alsa-devel, linuxppc-dev, linux-kernel
In-Reply-To: <20190417145722.20448-1-yuehaibing@huawei.com>
On 4/17/19 7:57 AM, Yue Haibing wrote:
> From: YueHaibing <yuehaibing@huawei.com>
>
> Fixes gcc '-Wunused-but-set-variable' warnings:
>
> sound/ppc/snd_ps3.c: In function 'snd_ps3_program_dma':
> sound/ppc/snd_ps3.c:236:8: warning: variable 'start_vaddr' set but not used [-Wunused-but-set-variable]
> sound/ppc/snd_ps3.c: In function 'snd_ps3_pcm_open':
> sound/ppc/snd_ps3.c:529:6: warning: variable 'pcm_index' set but not used [-Wunused-but-set-variable]
>
> They are never used and can be removed.
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> sound/ppc/snd_ps3.c | 4 ----
> 1 file changed, 4 deletions(-)
Seems OK. Thanks for submitting.
Acked-by: Geoff Levand <geoff@infradead.org>
^ permalink raw reply
* Re: [PATCH -next] ASoC: fsl_micfil: Remove set but not used variable 'osr'
From: Nicolin Chen @ 2019-04-17 18:35 UTC (permalink / raw)
To: Daniel Baluta, Cosmin-Gabriel Samoila
Cc: Linux-ALSA, linuxppc-dev, Timur Tabi, Xiubo Li,
Linux Kernel Mailing List, Takashi Iwai, Yue Haibing,
Liam Girdwood, Jaroslav Kysela, Mark Brown, Fabio Estevam
In-Reply-To: <CAEnQRZAug2kQoFTN6W47URBKwHcU5Zmmy=04smOtMomuzz6_TA@mail.gmail.com>
On Wed, Apr 17, 2019 at 06:25:11PM +0300, Daniel Baluta wrote:
> Looks good to me. Just one question for Cosmin:
> > diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c
> > index 40c07e7..f7f2d29 100644
> > --- a/sound/soc/fsl/fsl_micfil.c
> > +++ b/sound/soc/fsl/fsl_micfil.c
> > @@ -151,12 +151,9 @@ static inline int get_clk_div(struct fsl_micfil *micfil,
> > {
> > u32 ctrl2_reg;
> > long mclk_rate;
> > - int osr;
> > int clk_div;
> >
> > regmap_read(micfil->regmap, REG_MICFIL_CTRL2, &ctrl2_reg);
>
> I noticed now that we also read ctrl2_reg without using it. Is this as intended?
For Cosmin,
Same question here.
Btw, I just noticed that the initial patch of adding this driver
did not seemly include most of FSL maintainers/reviewers. Please
run get_maintainer.pl to add all listed reviewers when sending a
change to the maillist.
Thanks
Nicolin
^ permalink raw reply
* Re: [PATCH V3 1/2] ASoC: fsl_asrc: replace the process_option table with function
From: Nicolin Chen @ 2019-04-17 18:52 UTC (permalink / raw)
To: S.j. Wang
Cc: alsa-devel@alsa-project.org, timur@kernel.org,
Xiubo.Lee@gmail.com, festevam@gmail.com,
linux-kernel@vger.kernel.org, broonie@kernel.org,
linuxppc-dev@lists.ozlabs.org
In-Reply-To: <1eaeb882bdd69108c8ce897398c5c36ece6d49c5.1555491598.git.shengjiu.wang@nxp.com>
Hi Shengjiu,
This looks better. Just a couple of more small comments inline.
On Wed, Apr 17, 2019 at 09:06:18AM +0000, S.j. Wang wrote:
> +static int fsl_asrc_sel_proc(int inrate, int outrate, int *pre_proc,
> + int *post_proc)
Just a nit: it looks better by grouping them two-two.
static int fsl_asrc_sel_proc(int inrate, int outrate,
int *pre_proc, int *post_proc)
> + /* Condition for selection of post-processing */
> + post_proc_cond2 = (inrate * 15 > outrate * 16 && outrate < 56000) ||
> + (inrate > 56000 && outrate < 56000);
Could align the indentation:
post_proc_cond2 = (inrate * 15 > outrate * 16 && outrate < 56000) ||
(inrate > 56000 && outrate < 56000);
Here:
> + /* Does not support cases: Tsout > 8.125 * Tsin */
> + if (inrate * 8 > 65 * outrate)
> + return -EINVAL;
And here:
> + ret = fsl_asrc_sel_proc(inrate, outrate, &pre_proc, &post_proc);
> + if (ret) {
> + pair_err("No supported pre-processing options\n");
> + return ret;
> + }
Instead of a general message, I was thinking of a more specific
one by telling users that the ratio between the two rates isn't
supported -- something similar to what I suggested previously:
pair_err("Does not support %d (input) > 8.125 * %d (output)\n",
outrate, inrate);
Thanks
Nicolin
^ permalink raw reply
* Re: [PATCH -next] ASoC: fsl_micfil: Remove set but not used variable 'osr'
From: Nicolin Chen @ 2019-04-17 19:14 UTC (permalink / raw)
To: gabrielcsmo
Cc: Daniel Baluta, linuxppc-dev, Timur Tabi, Xiubo Li,
Linux Kernel Mailing List, Takashi Iwai, Yue Haibing,
Liam Girdwood, Jaroslav Kysela, Mark Brown, Linux-ALSA,
Fabio Estevam
In-Reply-To: <3228ff50862b0bad95561bd5276cbfcad5d6213c.camel@gmail.com>
On Wed, Apr 17, 2019 at 09:58:37PM +0300, gabrielcsmo@gmail.com wrote:
> Nicolin, I am pretty sure I've ran the get_maintainer.pl script but
> I will pay more attention next time... sorry if I forgot to add you.
It's okay for that one as I trust Mark's review anyway. Just
adding us would offload some of his burden, especially for a
device specific change.
Thanks
^ permalink raw reply
* Re: [PATCH -next] ALSA: ps3: Remove set but not used variables 'start_vaddr' and 'pcm_index'
From: Takashi Iwai @ 2019-04-17 19:18 UTC (permalink / raw)
To: Geoff Levand
Cc: alsa-devel, Yue Haibing, linux-kernel, perex, paulus,
linuxppc-dev
In-Reply-To: <1078ccec-2cc9-f16d-caca-32ac9c3cce4d@infradead.org>
On Wed, 17 Apr 2019 20:19:30 +0200,
Geoff Levand wrote:
>
> On 4/17/19 7:57 AM, Yue Haibing wrote:
> > From: YueHaibing <yuehaibing@huawei.com>
> >
> > Fixes gcc '-Wunused-but-set-variable' warnings:
> >
> > sound/ppc/snd_ps3.c: In function 'snd_ps3_program_dma':
> > sound/ppc/snd_ps3.c:236:8: warning: variable 'start_vaddr' set but not used [-Wunused-but-set-variable]
> > sound/ppc/snd_ps3.c: In function 'snd_ps3_pcm_open':
> > sound/ppc/snd_ps3.c:529:6: warning: variable 'pcm_index' set but not used [-Wunused-but-set-variable]
> >
> > They are never used and can be removed.
> >
> > Reported-by: Hulk Robot <hulkci@huawei.com>
> > Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> > ---
> > sound/ppc/snd_ps3.c | 4 ----
> > 1 file changed, 4 deletions(-)
>
> Seems OK. Thanks for submitting.
>
> Acked-by: Geoff Levand <geoff@infradead.org>
Applied now. Thanks.
Takashi
^ permalink raw reply
* Re: [PATCH v3 10/26] compat_ioctl: use correct compat_ptr() translation in drivers
From: Al Viro @ 2019-04-17 21:21 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Shen Jing, linux-scsi, y2038, Frank Haverkamp, Kashyap Desai,
Felipe Balbi, Jerry Zhang, James E.J. Bottomley, linux-fsdevel,
Vincent Pelletier, megaraidlinux.pdl, Felipe Balbi,
Martin K. Petersen, Shivasharan S, Greg Kroah-Hartman, linux-usb,
linux-kernel, Andrzej Pietrasiewicz, Sumit Saxena,
Andrew Donnellan, Frederic Barrat, linuxppc-dev
In-Reply-To: <20190416202013.4034148-11-arnd@arndb.de>
On Tue, Apr 16, 2019 at 10:19:48PM +0200, Arnd Bergmann wrote:
> A handful of drivers all have a trivial wrapper around their ioctl
> handler, but don't call the compat_ptr() conversion function at the
> moment. In practice this does not matter, since none of them are used
> on the s390 architecture and for all other architectures, compat_ptr()
> does not do anything, but using the new compat_ptr_ioctl()
> helper makes it more correct in theory, and simplifies the code.
>
> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> drivers/misc/cxl/flash.c | 8 +-------
> drivers/misc/genwqe/card_dev.c | 23 +----------------------
> drivers/scsi/megaraid/megaraid_mm.c | 28 +---------------------------
> drivers/usb/gadget/function/f_fs.c | 12 +-----------
ACK, provided that all their ioctls are taking pointers (which is
worth mentioning in commit message, assuming it's true)
^ permalink raw reply
* Re: [RFC PATCH] virtio_ring: Use DMA API if guest memory is encrypted
From: Thiago Jung Bauermann @ 2019-04-17 21:42 UTC (permalink / raw)
To: Michael S. Tsirkin
Cc: Mike Anderson, Michael Roth, Jean-Philippe Brucker, Jason Wang,
Alexey Kardashevskiy, Ram Pai, linux-kernel, virtualization,
iommu, linuxppc-dev, Christoph Hellwig, David Gibson
In-Reply-To: <20190323165456-mutt-send-email-mst@kernel.org>
Michael S. Tsirkin <mst@redhat.com> writes:
> On Thu, Mar 21, 2019 at 09:05:04PM -0300, Thiago Jung Bauermann wrote:
>>
>> Michael S. Tsirkin <mst@redhat.com> writes:
>>
>> > On Wed, Mar 20, 2019 at 01:13:41PM -0300, Thiago Jung Bauermann wrote:
>> >> >From what I understand of the ACCESS_PLATFORM definition, the host will
>> >> only ever try to access memory addresses that are supplied to it by the
>> >> guest, so all of the secure guest memory that the host cares about is
>> >> accessible:
>> >>
>> >> If this feature bit is set to 0, then the device has same access to
>> >> memory addresses supplied to it as the driver has. In particular,
>> >> the device will always use physical addresses matching addresses
>> >> used by the driver (typically meaning physical addresses used by the
>> >> CPU) and not translated further, and can access any address supplied
>> >> to it by the driver. When clear, this overrides any
>> >> platform-specific description of whether device access is limited or
>> >> translated in any way, e.g. whether an IOMMU may be present.
>> >>
>> >> All of the above is true for POWER guests, whether they are secure
>> >> guests or not.
>> >>
>> >> Or are you saying that a virtio device may want to access memory
>> >> addresses that weren't supplied to it by the driver?
>> >
>> > Your logic would apply to IOMMUs as well. For your mode, there are
>> > specific encrypted memory regions that driver has access to but device
>> > does not. that seems to violate the constraint.
>>
>> Right, if there's a pre-configured 1:1 mapping in the IOMMU such that
>> the device can ignore the IOMMU for all practical purposes I would
>> indeed say that the logic would apply to IOMMUs as well. :-)
>>
>> I guess I'm still struggling with the purpose of signalling to the
>> driver that the host may not have access to memory addresses that it
>> will never try to access.
>
> For example, one of the benefits is to signal to host that driver does
> not expect ability to access all memory. If it does, host can
> fail initialization gracefully.
But why would the ability to access all memory be necessary or even
useful? When would the host access memory that the driver didn't tell it
to access?
>> >> >> > But the name "sev_active" makes me scared because at least AMD guys who
>> >> >> > were doing the sensible thing and setting ACCESS_PLATFORM
>> >> >>
>> >> >> My understanding is, AMD guest-platform knows in advance that their
>> >> >> guest will run in secure mode and hence sets the flag at the time of VM
>> >> >> instantiation. Unfortunately we dont have that luxury on our platforms.
>> >> >
>> >> > Well you do have that luxury. It looks like that there are existing
>> >> > guests that already acknowledge ACCESS_PLATFORM and you are not happy
>> >> > with how that path is slow. So you are trying to optimize for
>> >> > them by clearing ACCESS_PLATFORM and then you have lost ability
>> >> > to invoke DMA API.
>> >> >
>> >> > For example if there was another flag just like ACCESS_PLATFORM
>> >> > just not yet used by anyone, you would be all fine using that right?
>> >>
>> >> Yes, a new flag sounds like a great idea. What about the definition
>> >> below?
>> >>
>> >> VIRTIO_F_ACCESS_PLATFORM_NO_IOMMU This feature has the same meaning as
>> >> VIRTIO_F_ACCESS_PLATFORM both when set and when not set, with the
>> >> exception that the IOMMU is explicitly defined to be off or bypassed
>> >> when accessing memory addresses supplied to the device by the
>> >> driver. This flag should be set by the guest if offered, but to
>> >> allow for backward-compatibility device implementations allow for it
>> >> to be left unset by the guest. It is an error to set both this flag
>> >> and VIRTIO_F_ACCESS_PLATFORM.
>> >
>> > It looks kind of narrow but it's an option.
>>
>> Great!
>>
>> > I wonder how we'll define what's an iommu though.
>>
>> Hm, it didn't occur to me it could be an issue. I'll try.
I rephrased it in terms of address translation. What do you think of
this version? The flag name is slightly different too:
VIRTIO_F_ACCESS_PLATFORM_NO_TRANSLATION This feature has the same
meaning as VIRTIO_F_ACCESS_PLATFORM both when set and when not set,
with the exception that address translation is guaranteed to be
unnecessary when accessing memory addresses supplied to the device
by the driver. Which is to say, the device will always use physical
addresses matching addresses used by the driver (typically meaning
physical addresses used by the CPU) and not translated further. This
flag should be set by the guest if offered, but to allow for
backward-compatibility device implementations allow for it to be
left unset by the guest. It is an error to set both this flag and
VIRTIO_F_ACCESS_PLATFORM.
>> > Another idea is maybe something like virtio-iommu?
>>
>> You mean, have legacy guests use virtio-iommu to request an IOMMU
>> bypass? If so, it's an interesting idea for new guests but it doesn't
>> help with guests that are out today in the field, which don't have A
>> virtio-iommu driver.
>
> I presume legacy guests don't use encrypted memory so why do we
> worry about them at all?
They don't use encrypted memory, but a host machine will run a mix of
secure and legacy guests. And since the hypervisor doesn't know whether
a guest will be secure or not at the time it is launched, legacy guests
will have to be launched with the same configuration as secure guests.
>> >> > Is there any justification to doing that beyond someone putting
>> >> > out slow code in the past?
>> >>
>> >> The definition of the ACCESS_PLATFORM flag is generic and captures the
>> >> notion of memory access restrictions for the device. Unfortunately, on
>> >> powerpc pSeries guests it also implies that the IOMMU is turned on
>> >
>> > IIUC that's really because on pSeries IOMMU is *always* turned on.
>> > Platform has no way to say what you want it to say
>> > which is bypass the iommu for the specific device.
>>
>> Yes, that's correct. pSeries guests running on KVM are in a gray area
>> where theoretically they use an IOMMU but in practice KVM ignores it.
>> It's unfortunate but it's the reality on the ground today. :-/
>
> Well it's not just the reality, virt setups need something that
> emulated IOMMUs don't provide. That is not uncommon, e.g.
> intel's VTD has a "cache mode" field which AFAIK is only used for virt.
That's good to know. Thanks for this example.
--
Thiago Jung Bauermann
IBM Linux Technology Center
^ permalink raw reply
* Re: [RFC PATCH] virtio_ring: Use DMA API if guest memory is encrypted
From: Thiago Jung Bauermann @ 2019-04-17 21:42 UTC (permalink / raw)
To: David Gibson
Cc: Mike Anderson, Michael Roth, Michael S. Tsirkin,
Jean-Philippe Brucker, Jason Wang, Alexey Kardashevskiy, Ram Pai,
linux-kernel, virtualization, iommu, linuxppc-dev,
Christoph Hellwig
In-Reply-To: <20190325005710.GC29295@umbus>
David Gibson <david@gibson.dropbear.id.au> writes:
> On Sat, Mar 23, 2019 at 05:01:35PM -0400, Michael S. Tsirkin wrote:
>> On Thu, Mar 21, 2019 at 09:05:04PM -0300, Thiago Jung Bauermann wrote:
>> > Michael S. Tsirkin <mst@redhat.com> writes:
> [snip]
>> > >> > Is there any justification to doing that beyond someone putting
>> > >> > out slow code in the past?
>> > >>
>> > >> The definition of the ACCESS_PLATFORM flag is generic and captures the
>> > >> notion of memory access restrictions for the device. Unfortunately, on
>> > >> powerpc pSeries guests it also implies that the IOMMU is turned on
>> > >
>> > > IIUC that's really because on pSeries IOMMU is *always* turned on.
>> > > Platform has no way to say what you want it to say
>> > > which is bypass the iommu for the specific device.
>> >
>> > Yes, that's correct. pSeries guests running on KVM are in a gray area
>> > where theoretically they use an IOMMU but in practice KVM ignores it.
>> > It's unfortunate but it's the reality on the ground today. :-/
>
> Um.. I'm not sure what you mean by this. As far as I'm concerned
> there is always a guest-visible (paravirtualized) IOMMU, and that will
> be backed onto the host IOMMU when necessary.
There is, but vhost will ignore it and directly map the guest memory
when ACCESS_PLATFORM (the flag previously known as IOMMU_PLATFORM) isn't
set. From QEMU's hw/virtio/vhost.c:
static int vhost_dev_has_iommu(struct vhost_dev *dev)
{
VirtIODevice *vdev = dev->vdev;
return virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM);
}
static void *vhost_memory_map(struct vhost_dev *dev, hwaddr addr,
hwaddr *plen, int is_write)
{
if (!vhost_dev_has_iommu(dev)) {
return cpu_physical_memory_map(addr, plen, is_write);
} else {
return (void *)(uintptr_t)addr;
}
}
--
Thiago Jung Bauermann
IBM Linux Technology Center
^ permalink raw reply
* Re: [PATCH] Linux: Define struct termios2 in <termios.h> under _GNU_SOURCE [BZ #10339]
From: Joseph Myers @ 2019-04-17 21:22 UTC (permalink / raw)
To: Florian Weimer
Cc: linux-api, libc-alpha, linuxppc-dev, adhemerval.zanella, hpa
In-Reply-To: <875zrnlakd.fsf@oldenburg2.str.redhat.com>
On Tue, 9 Apr 2019, Florian Weimer wrote:
> diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
> index 52ac6ad484..4cb5e4f0d2 100644
> --- a/sysdeps/unix/sysv/linux/Makefile
> +++ b/sysdeps/unix/sysv/linux/Makefile
> @@ -156,6 +156,7 @@ endif
>
> ifeq ($(subdir),termios)
> sysdep_headers += termio.h
> +tests += tst-termios2
> endif
This is missing the addition of bits/termios2-struct.h to the installed
headers.
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply
* Re: [PATCH] Linux: Define struct termios2 in <termios.h> under _GNU_SOURCE [BZ #10339]
From: H. Peter Anvin @ 2019-04-17 22:04 UTC (permalink / raw)
To: Adhemerval Zanella, Florian Weimer; +Cc: linux-api, libc-alpha, linuxppc-dev
In-Reply-To: <bfe6744f-7326-0a06-e43c-9f88abce7032@linaro.org>
On 4/15/19 10:22 AM, Adhemerval Zanella wrote:
>>
>> New interfaces are only necessary for the handful of architectures that don't have the speed fields *and* to space to put them in.
>
> Based on your WIP, it seems that both sparc and mips could be adapted.
> Do we still have glibc supported architecture that would require compat
> symbols?
>
>>
>> Using symbol versioning doesn't really help much since the real problem is that struct termios can be passed around in userspace, and the interfaces between user space libraries don't have any versioning. However, my POC code deals with that too by only seeing BOTHER when necessary, so if the structure is extended garbage in the extra fields will be ignored unless new baud rates are in use.
>
> Yeah, we discussed this earlier and if recall correctly it was not settled
> that all architectures would allow the use to extra space for the new
> fields. It seems the case, which makes the adaptation for termios2 even easier.
>
> The question I have for kernel side is whether termios2 is fully compatible
> with termios, meaning that if there is conner cases we need to handle in
> userland.
>
It depends on what you mean with "fully compatible."
Functionality-wise, the termios2 interfaces are a strict superset. There
is not, however, any guarantee that struct kernel_termios2 *contains* a
contiguous binary equivalent to struct kernel_termios (in fact, on most
architectures, it doesn't.)
>>
>> My POC code deals with Alpha as well by falling back to the old interfaces if necessary and possible, otherwise return error.
>>
>> Exporting termios2 to user space feels a bit odd at this stage as it would only be usable as a fallback on old glibc. Call it kernel_termios2 at least. ioctls using struct termios *must* be changed to kernel_termios anyway!
>>
>
> I still prefer to avoid export it to userland and make it usable through
> default termios, as your wip does. My understanding is new interfaces
> should be semantic equal to current one with the only deviation that
> non-standard baudrates will handled as its values. The only issue I
> can foresee is if POSIX starts to export new bauds value.
>
... which will be easy to handle: just define a Bxxxx constant with the
value equal to the baud rate.
-hhpa
^ permalink raw reply
* Re: [PATCH] Linux: Define struct termios2 in <termios.h> under _GNU_SOURCE [BZ #10339]
From: H. Peter Anvin @ 2019-04-17 22:06 UTC (permalink / raw)
To: Florian Weimer; +Cc: linux-api, libc-alpha, linuxppc-dev, Adhemerval Zanella
In-Reply-To: <87lg0az2xk.fsf@oldenburg2.str.redhat.com>
On 4/16/19 2:59 AM, Florian Weimer wrote:
> * hpa:
>
>> Using symbol versioning doesn't really help much since the real
>> problem is that struct termios can be passed around in userspace, and
>> the interfaces between user space libraries don't have any
>> versioning. However, my POC code deals with that too by only seeing
>> BOTHER when necessary, so if the structure is extended garbage in the
>> extra fields will be ignored unless new baud rates are in use.
>
> That still doesn't solve the problem of changing struct offsets after a
> struct field of type struct termios.
>
>> Exporting termios2 to user space feels a bit odd at this stage as it
>> would only be usable as a fallback on old glibc. Call it
>> kernel_termios2 at least.
>
> I'm not sure why we should do that? The kernel calls it struct termios2
> in its UAPI headers. If that name is not appropriate, it should be
> changed first in the UAPI headers.
>
It should; I believe the namespace we ought to use is struct
__kernel_termios[2].
"struct termios" defined in these headers is obviously completely wrong
for userspace.
-hpa
^ permalink raw reply
* Re: [PATCH v4 2/8] powerpc/mm/hash64: Map all the kernel regions in the same 0xc range
From: kbuild test robot @ 2019-04-17 22:27 UTC (permalink / raw)
To: Aneesh Kumar K.V
Cc: npiggin, paulus, kbuild-all, Aneesh Kumar K.V, linuxppc-dev
In-Reply-To: <20190417125920.785-3-aneesh.kumar@linux.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 5459 bytes --]
Hi "Aneesh,
I love your patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[also build test ERROR on v5.1-rc5 next-20190417]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/Update-hash-MMU-kernel-mapping-to-be-in-sync-with-radix/20190417-223135
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-pseries_defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
In file included from include/linux/kernel.h:11:0,
from arch/powerpc/mm/pgtable-radix.c:14:
arch/powerpc/mm/pgtable-radix.c: In function '__map_kernel_page':
>> include/linux/compiler.h:344:38: error: call to '__compiletime_assert_139' declared with attribute error: BUILD_BUG_ON failed: RADIX_KERN_MAP_SIZE != MAX_EA_BITS_PER_CONTEXT
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
include/linux/compiler.h:325:4: note: in definition of macro '__compiletime_assert'
prefix ## suffix(); \
^~~~~~
include/linux/compiler.h:344:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
^~~~~~~~~~~~~~~~
>> arch/powerpc/mm/pgtable-radix.c:139:2: note: in expansion of macro 'BUILD_BUG_ON'
BUILD_BUG_ON(RADIX_KERN_MAP_SIZE != MAX_EA_BITS_PER_CONTEXT);
^~~~~~~~~~~~
--
In file included from include/linux/kernel.h:11:0,
from arch/powerpc//mm/pgtable-radix.c:14:
arch/powerpc//mm/pgtable-radix.c: In function '__map_kernel_page':
>> include/linux/compiler.h:344:38: error: call to '__compiletime_assert_139' declared with attribute error: BUILD_BUG_ON failed: RADIX_KERN_MAP_SIZE != MAX_EA_BITS_PER_CONTEXT
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
include/linux/compiler.h:325:4: note: in definition of macro '__compiletime_assert'
prefix ## suffix(); \
^~~~~~
include/linux/compiler.h:344:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
^~~~~~~~~~~~~~~~
arch/powerpc//mm/pgtable-radix.c:139:2: note: in expansion of macro 'BUILD_BUG_ON'
BUILD_BUG_ON(RADIX_KERN_MAP_SIZE != MAX_EA_BITS_PER_CONTEXT);
^~~~~~~~~~~~
vim +/__compiletime_assert_139 +344 include/linux/compiler.h
9a8ab1c3 Daniel Santos 2013-02-21 330
9a8ab1c3 Daniel Santos 2013-02-21 331 #define _compiletime_assert(condition, msg, prefix, suffix) \
9a8ab1c3 Daniel Santos 2013-02-21 332 __compiletime_assert(condition, msg, prefix, suffix)
9a8ab1c3 Daniel Santos 2013-02-21 333
9a8ab1c3 Daniel Santos 2013-02-21 334 /**
9a8ab1c3 Daniel Santos 2013-02-21 335 * compiletime_assert - break build and emit msg if condition is false
9a8ab1c3 Daniel Santos 2013-02-21 336 * @condition: a compile-time constant condition to check
9a8ab1c3 Daniel Santos 2013-02-21 337 * @msg: a message to emit if condition is false
9a8ab1c3 Daniel Santos 2013-02-21 338 *
9a8ab1c3 Daniel Santos 2013-02-21 339 * In tradition of POSIX assert, this macro will break the build if the
9a8ab1c3 Daniel Santos 2013-02-21 340 * supplied condition is *false*, emitting the supplied error message if the
9a8ab1c3 Daniel Santos 2013-02-21 341 * compiler has support to do so.
9a8ab1c3 Daniel Santos 2013-02-21 342 */
9a8ab1c3 Daniel Santos 2013-02-21 343 #define compiletime_assert(condition, msg) \
9a8ab1c3 Daniel Santos 2013-02-21 @344 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
9a8ab1c3 Daniel Santos 2013-02-21 345
:::::: The code at line 344 was first introduced by commit
:::::: 9a8ab1c39970a4938a72d94e6fd13be88a797590 bug.h, compiler.h: introduce compiletime_assert & BUILD_BUG_ON_MSG
:::::: TO: Daniel Santos <daniel.santos@pobox.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 22699 bytes --]
^ permalink raw reply
* Re: [PATCH -next] ASoC: fsl_micfil: Remove set but not used variable 'osr'
From: gabrielcsmo @ 2019-04-17 18:58 UTC (permalink / raw)
To: Nicolin Chen, Daniel Baluta
Cc: Linux-ALSA, linuxppc-dev, Timur Tabi, Xiubo Li,
Linux Kernel Mailing List, Takashi Iwai, Yue Haibing,
Liam Girdwood, Jaroslav Kysela, Mark Brown, Fabio Estevam
In-Reply-To: <20190417183518.GA5073@Asurada-Nvidia.nvidia.com>
On Wed, 2019-04-17 at 11:35 -0700, Nicolin Chen wrote:
> On Wed, Apr 17, 2019 at 06:25:11PM +0300, Daniel Baluta wrote:
>
> > Looks good to me. Just one question for Cosmin:
> > > diff --git a/sound/soc/fsl/fsl_micfil.c
> > > b/sound/soc/fsl/fsl_micfil.c
> > > index 40c07e7..f7f2d29 100644
> > > --- a/sound/soc/fsl/fsl_micfil.c
> > > +++ b/sound/soc/fsl/fsl_micfil.c
> > > @@ -151,12 +151,9 @@ static inline int get_clk_div(struct
> > > fsl_micfil *micfil,
> > > {
> > > u32 ctrl2_reg;
> > > long mclk_rate;
> > > - int osr;
> > > int clk_div;
> > >
> > > regmap_read(micfil->regmap, REG_MICFIL_CTRL2,
> > > &ctrl2_reg);
> >
> > I noticed now that we also read ctrl2_reg without using it. Is this
> > as intended?
>
> For Cosmin,
>
> Same question here.
>
> Btw, I just noticed that the initial patch of adding this driver
> did not seemly include most of FSL maintainers/reviewers. Please
> run get_maintainer.pl to add all listed reviewers when sending a
> change to the maillist.
>
> Thanks
> Nicolin
Hello,
The regmap_read is not used anymore in this implementation and I've
forgot to remove it - it can be safetly removed.
Nicolin, I am pretty sure I've ran the get_maintainer.pl script but
I will pay more attention next time... sorry if I forgot to add you.
Best regards,
Cosmin
^ permalink raw reply
* Re: [PATCH RFT V2 2/8] clk: fractional-divider: add explicit big endian support
From: Stephen Boyd @ 2019-04-17 23:30 UTC (permalink / raw)
To: Jonas Gorski, linux-arm-kernel, linux-clk, linux-rockchip,
linux-tegra, linuxppc-dev
Cc: Peter De Schrijver, Fabio Estevam, Heiko Stuebner,
Michael Turquette, Michal Simek, Jonathan Hunter,
Prashant Gaikwad, Paul Mackerras, NXP Linux Team,
Pengutronix Kernel Team, Thierry Reding, Anatolij Gustschin,
Shawn Guo, Sascha Hauer
In-Reply-To: <20190415101046.5872-3-jonas.gorski@gmail.com>
Quoting Jonas Gorski (2019-04-15 03:10:40)
> diff --git a/drivers/clk/clk-fractional-divider.c b/drivers/clk/clk-fractional-divider.c
> index fdfe2e423d15..b9988d3b3828 100644
> --- a/drivers/clk/clk-fractional-divider.c
> +++ b/drivers/clk/clk-fractional-divider.c
> @@ -13,6 +13,22 @@
> #include <linux/slab.h>
> #include <linux/rational.h>
>
> +static inline u32 clk_fd_readl(struct clk_fractional_divider *fd)
> +{
> + if (fd->flags & CLK_FRAC_DIVIDER_BIG_ENDIAN)
> + return ioread32be(fd->reg);
> + else
> + return clk_readl(fd->reg);
Can you write it without the else?
if (fd->flags & CLK_FRAC_DIVIDER_BIG_ENDIAN)
return ioread32be(fd->reg);
return clk_readl(fd->reg);
This same comment applies to all the basic clk types.
^ permalink raw reply
* Re: [PATCH RFT V2 1/8] clk: divider: add explicit big endian support
From: Stephen Boyd @ 2019-04-17 23:32 UTC (permalink / raw)
To: Jonas Gorski, linux-arm-kernel, linux-clk, linux-rockchip,
linux-tegra, linuxppc-dev
Cc: Peter De Schrijver, Fabio Estevam, Heiko Stuebner,
Michael Turquette, Michal Simek, Jonathan Hunter,
Prashant Gaikwad, Paul Mackerras, NXP Linux Team,
Pengutronix Kernel Team, Thierry Reding, Anatolij Gustschin,
Shawn Guo, Sascha Hauer
In-Reply-To: <20190415101046.5872-2-jonas.gorski@gmail.com>
Quoting Jonas Gorski (2019-04-15 03:10:39)
> @@ -370,7 +388,7 @@ static long clk_divider_round_rate(struct clk_hw *hw, unsigned long rate,
> if (divider->flags & CLK_DIVIDER_READ_ONLY) {
> u32 val;
>
> - val = clk_readl(divider->reg) >> divider->shift;
> + val = clk_div_readl(divider->reg) >> divider->shift;
Good deal that kbuild running sparse found that this was supposed to be
divider and not divider->reg. If you can fix that and remove the else in
all the basic type readl wrappers then this series looks good to merge
for me.
^ permalink raw reply
* Re: [PATCH v3] powerpc/pseries: Only wait for dying CPU after call to rtas_stop_self()
From: Thiago Jung Bauermann @ 2019-04-18 1:00 UTC (permalink / raw)
To: Nicholas Piggin
Cc: Gautham R Shenoy, Michael Bringmann, linuxppc-dev, linux-kernel,
Tyrel Datwyler
In-Reply-To: <1555389147.okxbj1prw2.astroid@bobo.none>
Hello Nick,
Thank you very much for reviewing this patch!
Nicholas Piggin <npiggin@gmail.com> writes:
> Thiago Jung Bauermann's on April 11, 2019 9:08 am:
>>
>> Thiago Jung Bauermann <bauerman@linux.ibm.com> writes:
>>
>>> diff --git a/arch/powerpc/platforms/pseries/hotplug-cpu.c b/arch/powerpc/platforms/pseries/hotplug-cpu.c
>>> index 97feb6e79f1a..ac6dc35ab829 100644
>>> --- a/arch/powerpc/platforms/pseries/hotplug-cpu.c
>>> +++ b/arch/powerpc/platforms/pseries/hotplug-cpu.c
>>> @@ -214,13 +214,22 @@ static void pseries_cpu_die(unsigned int cpu)
>>> msleep(1);
>>> }
>>> } else if (get_preferred_offline_state(cpu) == CPU_STATE_OFFLINE) {
>>> + /*
>>> + * If the current state is not offline yet, it means that the
>>> + * dying CPU (which is either in pseries_mach_cpu_die() or in
>>> + * the process of getting there) didn't have a chance yet to
>>> + * call rtas_stop_self() and therefore it's too early to query
>>> + * if the CPU is stopped.
>>> + */
>>> + spin_event_timeout(get_cpu_current_state(cpu) == CPU_STATE_OFFLINE,
>>> + 100000, 100);
>
> If the CPU state does not go to offline here, you should give up and
> return online, right? Otherwise I think query-cpu-stopped-state can
> get confused by CPUs in idle and you get a false positive.
Can it get confused? My impression from reading the definition for
query-cpu-stopped-state in the PAPR is that it will simply return a
CPU_status value of 2 in that case, meaning that "the processor thread
is not in the RTAS stopped state", but I don't know much about this.
> That race can still happen, we would really need a sequence count check
> over current CPU state to ensure we got a race-free qcss value, but at
> least a check here should make the race implausible to hit.
Actually, since rtas_stop_self() panics if the processor fails to stop
and also since callers of pseries_cpu_die()¹ already assume that it is
going to succeed in stopping the CPU (given that the function returns
void and can't signal an error), a more straightforward way of
eliminating the race is to simply do this:
diff --git a/arch/powerpc/platforms/pseries/hotplug-cpu.c b/arch/powerpc/platforms/pseries/hotplug-cpu.c
index 97feb6e79f1a..2331a609f48f 100644
--- a/arch/powerpc/platforms/pseries/hotplug-cpu.c
+++ b/arch/powerpc/platforms/pseries/hotplug-cpu.c
@@ -215,7 +215,7 @@ static void pseries_cpu_die(unsigned int cpu)
}
} else if (get_preferred_offline_state(cpu) == CPU_STATE_OFFLINE) {
- for (tries = 0; tries < 25; tries++) {
+ while (true) {
cpu_status = smp_query_cpu_stopped(pcpu);
if (cpu_status == QCSS_STOPPED ||
cpu_status == QCSS_HARDWARE_ERROR)
What do you think?
--
Thiago Jung Bauermann
IBM Linux Technology Center
¹ dlpar_offline_cpu() and takedown_cpu() in generic code
^ permalink raw reply related
* Re: [PATCH v3 7/8] powerpc/mm: Consolidate radix and hash address map details
From: Nicholas Piggin @ 2019-04-18 1:20 UTC (permalink / raw)
To: Aneesh Kumar K.V, Michael Ellerman, paulus; +Cc: linuxppc-dev
In-Reply-To: <878sw8vmha.fsf@concordia.ellerman.id.au>
Michael Ellerman's on April 17, 2019 10:34 pm:
> Nicholas Piggin <npiggin@gmail.com> writes:
>> Aneesh Kumar K.V's on April 16, 2019 8:07 pm:
>>> We now have
>>>
>>> 4K page size config
>>>
>>> kernel_region_map_size = 16TB
>>> kernel vmalloc start = 0xc000100000000000
>>> kernel IO start = 0xc000200000000000
>>> kernel vmemmap start = 0xc000300000000000
>>>
>>> with 64K page size config:
>>>
>>> kernel_region_map_size = 512TB
>>> kernel vmalloc start = 0xc008000000000000
>>> kernel IO start = 0xc00a000000000000
>>> kernel vmemmap start = 0xc00c000000000000
>>
>> Hey Aneesh,
>>
>> I like the series, I like consolidating the address spaces into 0xc,
>> and making the layouts match or similar isn't a bad thing. I don't
>> see any real reason to force limitations on one layout or another --
>> you could make the argument that 4k radix should match 64k radix
>> as much as matching 4k hash IMO.
>
> I don't think I agree. The 4K and 64K layouts must be different because
> the page size is different and therefore the span of the page tables is
> different. (Unless you shrunk the 64K layouts to match 4K but that would
> be silly)
Both 4K and 64K radix map 52 bits of EA.
> On the other hand there's no good reason why hash & radix need to
> differ, it's just that radix has a more strictly defined layout and it
> didn't match what hash used when we added radix. We really should have
> done this realignment of the hash address ranges before we merged radix.
Well radix is limited by hardware, hash is more limited by software.
There is no real reason to define the addressing limit for radix any
less than what the hardware supports, for example. Hash is free to
match those limits if that's what we implement but it also does not
need to.
>> I wouldn't like to tie them too strongly to the same base defines
>> that force them to stay in sync.
>>
>> Can we drop this patch? Or at least keep the users of the H_ and R_
>> defines and set them to the same thing in map.h?
>
> I don't understand why that would be a good thing?
Hash could be expanded in future, radix may be expanded or get
different page table layouts. I don't see why you'd tie them
together artificially.
> We have all this indirection through variables at the moment, for what
> appear to be constants. It makes the code harder to follow and it's less
> efficient as well.
What part is less efficient that matters?
Thanks,
Nick
^ permalink raw reply
* Re: [PATCH v3] powerpc/pseries: Only wait for dying CPU after call to rtas_stop_self()
From: Nicholas Piggin @ 2019-04-18 1:55 UTC (permalink / raw)
To: Thiago Jung Bauermann
Cc: Gautham R Shenoy, Michael Bringmann, linuxppc-dev, linux-kernel,
Tyrel Datwyler
In-Reply-To: <87r2a0jffq.fsf@morokweng.localdomain>
Thiago Jung Bauermann's on April 18, 2019 11:00 am:
>
> Hello Nick,
>
> Thank you very much for reviewing this patch!
>
> Nicholas Piggin <npiggin@gmail.com> writes:
>
>> Thiago Jung Bauermann's on April 11, 2019 9:08 am:
>>>
>>> Thiago Jung Bauermann <bauerman@linux.ibm.com> writes:
>>>
>>>> diff --git a/arch/powerpc/platforms/pseries/hotplug-cpu.c b/arch/powerpc/platforms/pseries/hotplug-cpu.c
>>>> index 97feb6e79f1a..ac6dc35ab829 100644
>>>> --- a/arch/powerpc/platforms/pseries/hotplug-cpu.c
>>>> +++ b/arch/powerpc/platforms/pseries/hotplug-cpu.c
>>>> @@ -214,13 +214,22 @@ static void pseries_cpu_die(unsigned int cpu)
>>>> msleep(1);
>>>> }
>>>> } else if (get_preferred_offline_state(cpu) == CPU_STATE_OFFLINE) {
>>>> + /*
>>>> + * If the current state is not offline yet, it means that the
>>>> + * dying CPU (which is either in pseries_mach_cpu_die() or in
>>>> + * the process of getting there) didn't have a chance yet to
>>>> + * call rtas_stop_self() and therefore it's too early to query
>>>> + * if the CPU is stopped.
>>>> + */
>>>> + spin_event_timeout(get_cpu_current_state(cpu) == CPU_STATE_OFFLINE,
>>>> + 100000, 100);
>>
>> If the CPU state does not go to offline here, you should give up and
>> return online, right? Otherwise I think query-cpu-stopped-state can
>> get confused by CPUs in idle and you get a false positive.
>
> Can it get confused? My impression from reading the definition for
> query-cpu-stopped-state in the PAPR is that it will simply return a
> CPU_status value of 2 in that case, meaning that "the processor thread
> is not in the RTAS stopped state", but I don't know much about this.
In QEMU (non-KVM) mode, qcss I think may get confused between H_CEDE
and rtas-stop-self. KVM mode may be okay because H_CEDE is handled in
the kernel.
>> That race can still happen, we would really need a sequence count check
>> over current CPU state to ensure we got a race-free qcss value, but at
>> least a check here should make the race implausible to hit.
>
> Actually, since rtas_stop_self() panics if the processor fails to stop
> and also since callers of pseries_cpu_die()¹ already assume that it is
> going to succeed in stopping the CPU (given that the function returns
> void and can't signal an error), a more straightforward way of
> eliminating the race is to simply do this:
>
> diff --git a/arch/powerpc/platforms/pseries/hotplug-cpu.c b/arch/powerpc/platforms/pseries/hotplug-cpu.c
> index 97feb6e79f1a..2331a609f48f 100644
> --- a/arch/powerpc/platforms/pseries/hotplug-cpu.c
> +++ b/arch/powerpc/platforms/pseries/hotplug-cpu.c
> @@ -215,7 +215,7 @@ static void pseries_cpu_die(unsigned int cpu)
> }
> } else if (get_preferred_offline_state(cpu) == CPU_STATE_OFFLINE) {
>
> - for (tries = 0; tries < 25; tries++) {
> + while (true) {
> cpu_status = smp_query_cpu_stopped(pcpu);
> if (cpu_status == QCSS_STOPPED ||
> cpu_status == QCSS_HARDWARE_ERROR)
>
>
> What do you think?
Yeah I think that may be a good idea, just makes things much simpler.
Thanks,
Nick
^ permalink raw reply
* Re: [PATCH V3 1/2] ASoC: fsl_asrc: replace the process_option table with function
From: S.j. Wang @ 2019-04-18 2:37 UTC (permalink / raw)
To: Nicolin Chen
Cc: alsa-devel@alsa-project.org, timur@kernel.org,
Xiubo.Lee@gmail.com, festevam@gmail.com,
linux-kernel@vger.kernel.org, broonie@kernel.org,
linuxppc-dev@lists.ozlabs.org
Hi
>
> Hi Shengjiu,
>
> This looks better. Just a couple of more small comments inline.
>
> On Wed, Apr 17, 2019 at 09:06:18AM +0000, S.j. Wang wrote:
>
> > +static int fsl_asrc_sel_proc(int inrate, int outrate, int *pre_proc,
> > + int *post_proc)
>
> Just a nit: it looks better by grouping them two-two.
>
> static int fsl_asrc_sel_proc(int inrate, int outrate,
> int *pre_proc, int *post_proc)
>
> > + /* Condition for selection of post-processing */
> > + post_proc_cond2 = (inrate * 15 > outrate * 16 && outrate < 56000) ||
> > + (inrate > 56000 && outrate < 56000);
>
> Could align the indentation:
> post_proc_cond2 = (inrate * 15 > outrate * 16 && outrate < 56000) ||
> (inrate > 56000 && outrate < 56000);
>
> Here:
> > + /* Does not support cases: Tsout > 8.125 * Tsin */
> > + if (inrate * 8 > 65 * outrate)
> > + return -EINVAL;
> And here:
> > + ret = fsl_asrc_sel_proc(inrate, outrate, &pre_proc, &post_proc);
> > + if (ret) {
> > + pair_err("No supported pre-processing options\n");
> > + return ret;
> > + }
>
> Instead of a general message, I was thinking of a more specific one by
> telling users that the ratio between the two rates isn't supported --
> something similar to what I suggested previously:
>
> pair_err("Does not support %d (input) > 8.125 * %d (output)\n",
> outrate, inrate);
>
In fsl_asrc_sel_proc, we can't call the pair_err for there is no
struct fsl_asrc_pair *pair in the argument. Do you think we need to
add this argument?
> Thanks
> Nicolin
^ permalink raw reply
* [PATCH] ASoC: fsl_esai: Add pm runtime function
From: S.j. Wang @ 2019-04-18 3:29 UTC (permalink / raw)
To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com,
festevam@gmail.com, broonie@kernel.org,
alsa-devel@alsa-project.org
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
In imx8 when systerm enter suspend state, the power of subsystem will
be off, the clock enable state will be lost and register configuration
will be lost. So the driver need to enter runtime suspend state in
suspend.
With this implementation the suspend function almost same as runtime
suspend function, so remove the suspend function, just use
pm_runtime_force_suspend instead, and same for the resume function.
And also need to move clock enablement to runtime resume and clock
disablement to runtime suspend.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
sound/soc/fsl/fsl_esai.c | 141 ++++++++++++++++++++++++++---------------------
1 file changed, 77 insertions(+), 64 deletions(-)
diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c
index bad0dfed6b68..b1e27db3752b 100644
--- a/sound/soc/fsl/fsl_esai.c
+++ b/sound/soc/fsl/fsl_esai.c
@@ -9,6 +9,7 @@
#include <linux/module.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
+#include <linux/pm_runtime.h>
#include <sound/dmaengine_pcm.h>
#include <sound/pcm_params.h>
@@ -466,30 +467,6 @@ static int fsl_esai_startup(struct snd_pcm_substream *substream,
struct snd_soc_dai *dai)
{
struct fsl_esai *esai_priv = snd_soc_dai_get_drvdata(dai);
- int ret;
-
- /*
- * Some platforms might use the same bit to gate all three or two of
- * clocks, so keep all clocks open/close at the same time for safety
- */
- ret = clk_prepare_enable(esai_priv->coreclk);
- if (ret)
- return ret;
- if (!IS_ERR(esai_priv->spbaclk)) {
- ret = clk_prepare_enable(esai_priv->spbaclk);
- if (ret)
- goto err_spbaclk;
- }
- if (!IS_ERR(esai_priv->extalclk)) {
- ret = clk_prepare_enable(esai_priv->extalclk);
- if (ret)
- goto err_extalck;
- }
- if (!IS_ERR(esai_priv->fsysclk)) {
- ret = clk_prepare_enable(esai_priv->fsysclk);
- if (ret)
- goto err_fsysclk;
- }
if (!dai->active) {
/* Set synchronous mode */
@@ -506,16 +483,6 @@ static int fsl_esai_startup(struct snd_pcm_substream *substream,
return 0;
-err_fsysclk:
- if (!IS_ERR(esai_priv->extalclk))
- clk_disable_unprepare(esai_priv->extalclk);
-err_extalck:
- if (!IS_ERR(esai_priv->spbaclk))
- clk_disable_unprepare(esai_priv->spbaclk);
-err_spbaclk:
- clk_disable_unprepare(esai_priv->coreclk);
-
- return ret;
}
static int fsl_esai_hw_params(struct snd_pcm_substream *substream,
@@ -576,20 +543,6 @@ static int fsl_esai_hw_params(struct snd_pcm_substream *substream,
return 0;
}
-static void fsl_esai_shutdown(struct snd_pcm_substream *substream,
- struct snd_soc_dai *dai)
-{
- struct fsl_esai *esai_priv = snd_soc_dai_get_drvdata(dai);
-
- if (!IS_ERR(esai_priv->fsysclk))
- clk_disable_unprepare(esai_priv->fsysclk);
- if (!IS_ERR(esai_priv->extalclk))
- clk_disable_unprepare(esai_priv->extalclk);
- if (!IS_ERR(esai_priv->spbaclk))
- clk_disable_unprepare(esai_priv->spbaclk);
- clk_disable_unprepare(esai_priv->coreclk);
-}
-
static int fsl_esai_trigger(struct snd_pcm_substream *substream, int cmd,
struct snd_soc_dai *dai)
{
@@ -658,7 +611,6 @@ static int fsl_esai_trigger(struct snd_pcm_substream *substream, int cmd,
static const struct snd_soc_dai_ops fsl_esai_dai_ops = {
.startup = fsl_esai_startup,
- .shutdown = fsl_esai_shutdown,
.trigger = fsl_esai_trigger,
.hw_params = fsl_esai_hw_params,
.set_sysclk = fsl_esai_set_dai_sysclk,
@@ -947,6 +899,10 @@ static int fsl_esai_probe(struct platform_device *pdev)
return ret;
}
+ pm_runtime_enable(&pdev->dev);
+
+ regcache_cache_only(esai_priv->regmap, true);
+
ret = imx_pcm_dma_init(pdev, IMX_ESAI_DMABUF_SIZE);
if (ret)
dev_err(&pdev->dev, "failed to init imx pcm dma: %d\n", ret);
@@ -954,6 +910,13 @@ static int fsl_esai_probe(struct platform_device *pdev)
return ret;
}
+static int fsl_esai_remove(struct platform_device *pdev)
+{
+ pm_runtime_disable(&pdev->dev);
+
+ return 0;
+}
+
static const struct of_device_id fsl_esai_dt_ids[] = {
{ .compatible = "fsl,imx35-esai", },
{ .compatible = "fsl,vf610-esai", },
@@ -961,23 +924,37 @@ static int fsl_esai_probe(struct platform_device *pdev)
};
MODULE_DEVICE_TABLE(of, fsl_esai_dt_ids);
-#ifdef CONFIG_PM_SLEEP
-static int fsl_esai_suspend(struct device *dev)
-{
- struct fsl_esai *esai = dev_get_drvdata(dev);
-
- regcache_cache_only(esai->regmap, true);
- regcache_mark_dirty(esai->regmap);
-
- return 0;
-}
-
-static int fsl_esai_resume(struct device *dev)
+#ifdef CONFIG_PM
+static int fsl_esai_runtime_resume(struct device *dev)
{
struct fsl_esai *esai = dev_get_drvdata(dev);
int ret;
+ /*
+ * Some platforms might use the same bit to gate all three or two of
+ * clocks, so keep all clocks open/close at the same time for safety
+ */
+ ret = clk_prepare_enable(esai->coreclk);
+ if (ret)
+ return ret;
+ if (!IS_ERR(esai->spbaclk)) {
+ ret = clk_prepare_enable(esai->spbaclk);
+ if (ret)
+ goto err_spbaclk;
+ }
+ if (!IS_ERR(esai->extalclk)) {
+ ret = clk_prepare_enable(esai->extalclk);
+ if (ret)
+ goto err_extalclk;
+ }
+ if (!IS_ERR(esai->fsysclk)) {
+ ret = clk_prepare_enable(esai->fsysclk);
+ if (ret)
+ goto err_fsysclk;
+ }
+
regcache_cache_only(esai->regmap, false);
+ regcache_mark_dirty(esai->regmap);
/* FIFO reset for safety */
regmap_update_bits(esai->regmap, REG_ESAI_TFCR,
@@ -987,22 +964,58 @@ static int fsl_esai_resume(struct device *dev)
ret = regcache_sync(esai->regmap);
if (ret)
- return ret;
+ goto err_regcache_sync;
/* FIFO reset done */
regmap_update_bits(esai->regmap, REG_ESAI_TFCR, ESAI_xFCR_xFR, 0);
regmap_update_bits(esai->regmap, REG_ESAI_RFCR, ESAI_xFCR_xFR, 0);
return 0;
+
+err_regcache_sync:
+ if (!IS_ERR(esai->fsysclk))
+ clk_disable_unprepare(esai->fsysclk);
+err_fsysclk:
+ if (!IS_ERR(esai->extalclk))
+ clk_disable_unprepare(esai->extalclk);
+err_extalclk:
+ if (!IS_ERR(esai->spbaclk))
+ clk_disable_unprepare(esai->spbaclk);
+err_spbaclk:
+ clk_disable_unprepare(esai->coreclk);
+
+ return ret;
+}
+
+static int fsl_esai_runtime_suspend(struct device *dev)
+{
+ struct fsl_esai *esai = dev_get_drvdata(dev);
+
+ regcache_cache_only(esai->regmap, true);
+
+ if (!IS_ERR(esai->fsysclk))
+ clk_disable_unprepare(esai->fsysclk);
+ if (!IS_ERR(esai->extalclk))
+ clk_disable_unprepare(esai->extalclk);
+ if (!IS_ERR(esai->spbaclk))
+ clk_disable_unprepare(esai->spbaclk);
+ clk_disable_unprepare(esai->coreclk);
+
+ return 0;
}
-#endif /* CONFIG_PM_SLEEP */
+#endif /* CONFIG_PM */
static const struct dev_pm_ops fsl_esai_pm_ops = {
- SET_SYSTEM_SLEEP_PM_OPS(fsl_esai_suspend, fsl_esai_resume)
+ SET_RUNTIME_PM_OPS(fsl_esai_runtime_suspend,
+ fsl_esai_runtime_resume,
+ NULL)
+ SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
+ pm_runtime_force_resume)
};
static struct platform_driver fsl_esai_driver = {
.probe = fsl_esai_probe,
+ .remove = fsl_esai_remove,
.driver = {
.name = "fsl-esai-dai",
.pm = &fsl_esai_pm_ops,
--
1.9.1
^ permalink raw reply related
* Re: [PATCH v4 2/8] powerpc/mm/hash64: Map all the kernel regions in the same 0xc range
From: Aneesh Kumar K.V @ 2019-04-18 3:47 UTC (permalink / raw)
To: npiggin, paulus, mpe; +Cc: linuxppc-dev
In-Reply-To: <20190417125920.785-3-aneesh.kumar@linux.ibm.com>
On 4/17/19 6:29 PM, Aneesh Kumar K.V wrote:
> This patch maps vmalloc, IO and vmemap regions in the 0xc address range
> instead of the current 0xd and 0xf range. This brings the mapping closer
> to radix translation mode.
>
> With hash 64K page size each of this region is 512TB whereas with 4K config
> we are limited by the max page table range of 64TB and hence there regions
> are of 16TB size.
>
> The kernel mapping is now:
>
> On 4K hash
>
> kernel_region_map_size = 16TB
> kernel vmalloc start = 0xc000100000000000
> kernel IO start = 0xc000200000000000
> kernel vmemmap start = 0xc000300000000000
>
> 64K hash, 64K radix and 4k radix:
>
> kernel_region_map_size = 512TB
> kernel vmalloc start = 0xc008000000000000
> kernel IO start = 0xc00a000000000000
> kernel vmemmap start = 0xc00c000000000000
I missed this when sending out the patch.
diff --git a/arch/powerpc/mm/pgtable-radix.c
b/arch/powerpc/mm/pgtable-radix.c
index 263c3ff662c3..30fc0909f1d8 100644
--- a/arch/powerpc/mm/pgtable-radix.c
+++ b/arch/powerpc/mm/pgtable-radix.c
@@ -136,7 +136,7 @@ static int __map_kernel_page(unsigned long ea,
unsigned long pa,
BUILD_BUG_ON(TASK_SIZE_USER64 > RADIX_PGTABLE_RANGE);
#ifdef CONFIG_PPC_64K_PAGES
- BUILD_BUG_ON(RADIX_KERN_MAP_SIZE != MAX_EA_BITS_PER_CONTEXT);
+ BUILD_BUG_ON(RADIX_KERN_MAP_SIZE != (1UL <<
MAX_EA_BITS_PER_CONTEXT));
#endif
if (unlikely(!slab_is_available()))
^ permalink raw reply related
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox