hwmon: (f71882fg) Document all supported
Subsystems (2)
PATCH 3/3 hwmon: (f71882fg) Document all supported
The list of supported devices was not always well documented in all places. Clarify and list all devices in documentation, Kconfig and the driver itself.
--- Documentation/hwmon/f71882fg | 11 +++++++++++ drivers/hwmon/Kconfig | 14 +++++++++++--- drivers/hwmon/f71882fg.c | 2 +- 3 files changed, 23 insertions(+), 4 deletions(-)
Documentation/hwmon/f71882fg +11 -0
@@ -2,6 +2,10 @@ Kernel driver f71882fg =========== Supported chips: + * Fintek F71808E + Prefix: 'f71808e' + Addresses scanned: none, address read from Super I/O config space + Datasheet: Not public * Fintek F71858FG Prefix: 'f71858fg' Addresses scanned: none, address read from Super I/O config space
@@ -30,6 +34,13 @@ Supported chips: Prefix: 'f8000' Addresses scanned: none, address read from Super I/O config space Datasheet: Not public + * Fintek F81801U + Prefix: 'f71889fg' + Addresses scanned: none, address read from Super I/O config space + Datasheet: Not public + Note: This is the 64-pin variant of the F71889FG, they have the + same device ID and are fully compatible as far as hardware + monitoring is concerned. Author: Hans de Goede <[email protected]>
drivers/hwmon/Kconfig +11 -3
@@ -315,11 +315,19 @@ config SENSORS_F71805F will be called f71805f. config SENSORS_F71882FG - tristate "Fintek F71858FG, F71862FG, F71882FG, F71889FG and F8000" + tristate "Fintek F71882FG and compatibles" help If you say yes here you get support for hardware monitoring - features of the Fintek F71858FG, F71862FG/71863FG, F71882FG/F71883FG, - F71889FG and F8000 Super-I/O chips. + features of many Fintek Super-I/O (LPC) chips. The currently + supported chips are: + F71808E + F71858FG + F71862FG and F71863FG + F71869F and F71869E + F71882FG and F71883FG + F71889FG and F81801U + F71889ED + F8000 This driver can also be built as a module. If so, the module will be called f71882fg.
drivers/hwmon/f71882fg.c +1 -1
@@ -114,7 +114,7 @@ static const char *f71882fg_names[] = {"f71862fg" ,"f71869" ,/* Both f71869f and f71869e, reg. compatible and same id */ "f71882fg" , -"f71889fg" , +"f71889fg" ,/* f81801u too, same id */ "f71889ed" , "f8000", };
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH 3/3] hwmon: (f71882fg) Document all
Quoted 12 lines · Jean Delvare
The list of supported devices was not always well documented in all places. Clarify and list all devices in documentation,
Kconfigand the driver itself.Signed-off-by Jean Delvare <[email protected]>Cc Hans de Goede <[email protected]>--- Documentation/hwmon/f71882fg | 11 +++++++++++ drivers/hwmon/Kconfig | 14 +++++++++++--- drivers/hwmon/f71882fg.c | 2 +- 3 files changed, 23 insertions(+), 4 deletions(-)
[ ... ]
Quoted 9 lines
config
SENSORS_F71882FGdrivers/hwmon/Kconfig +1
-3- tristate "Fintek F71858FG, F71862FG, F71882FG, F71889FG and F8000" + tristate "Fintek F71882FG and compatibles" help If you say yes here you get support for hardware monitoring - features of the Fintek F71858FG, F71862FG/71863FG, F71882FG/F71883FG, - F71889FG and F8000 Super-I/O chips.
drivers/hwmon/Kconfig config SENSORS_F71805F · line 330
Quoted 10 lines
drivers/hwmon/Kconfig +10
-0+ features of many Fintek Super-I/O (LPC) chips. The currently + supported chips are: + F71808E + F71858FG + F71862FG and F71863FG + F71869F and F71869E + F71882FG and F71883FG + F71889FG and F81801U + F71889ED + F8000
Why not just a simple list ? The grouping seems to be a bit arbitrary unless one knows that the "and" chip IDs are the same - but users won't usually know that.
Nitpick, so
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH 3/3] hwmon: (f71882fg) Document all
In reply to Jean DelvareHi Guenter,
Quoted 27 lines · Guenter Roeck
Quoted 12 lines · Jean Delvare
The list of supported devices was not always well documented in all places. Clarify and list all devices in documentation,
Kconfigand the driver itself.Signed-off-by Jean Delvare <[email protected]>Cc Hans de Goede <[email protected]>--- Documentation/hwmon/f71882fg | 11 +++++++++++ drivers/hwmon/Kconfig | 14 +++++++++++--- drivers/hwmon/f71882fg.c | 2 +- 3 files changed, 23 insertions(+), 4 deletions(-)[ ... ]
Quoted 13 lines
config
SENSORS_F71882FG(quoted diff) +6
-3- tristate "Fintek F71858FG, F71862FG, F71882FG, F71889FG and F8000" + tristate "Fintek F71882FG and compatibles" help If you say yes here you get support for hardware monitoring - features of the Fintek F71858FG, F71862FG/71863FG, F71882FG/F71883FG, - F71889FG and F8000 Super-I/O chips. + features of many Fintek Super-I/O (LPC) chips. The currently + supported chips are: + F71808E + F71858FG + F71862FG and F71863FG
Quoted 8 lines
Review
Quoted 6 lines
(quoted diff) +5
-0+ F71869F and F71869E + F71882FG and F71883FG + F71889FG and F81801U + F71889ED + F8000Why not just a simple list ? The grouping seems to be a bit arbitrary unless one knows that the "and" chip IDs are the same - but users won't usually know that.
Thanks for the review(s). Does the following look better?
From: Jean Delvare <[email protected]>
Subject: hwmon: (f71882fg) Document all supported devices
The list of supported devices was not always well documented in all places. Clarify and list all devices in documentation, Kconfig and the driver itself.
--- Documentation/hwmon/f71882fg | 11 +++++++++++ drivers/hwmon/Kconfig | 16 +++++++++++++--- drivers/hwmon/f71882fg.c | 2 +- 3 files changed, 25 insertions(+), 4 deletions(-)
Documentation/hwmon/f71882fg +11 -0
@@ -2,6 +2,10 @@ Kernel driver f71882fg =========== Supported chips: + * Fintek F71808E + Prefix: 'f71808e' + Addresses scanned: none, address read from Super I/O config space + Datasheet: Not public * Fintek F71858FG Prefix: 'f71858fg' Addresses scanned: none, address read from Super I/O config space
@@ -30,6 +34,13 @@ Supported chips: Prefix: 'f8000' Addresses scanned: none, address read from Super I/O config space Datasheet: Not public + * Fintek F81801U + Prefix: 'f71889fg' + Addresses scanned: none, address read from Super I/O config space + Datasheet: Not public + Note: This is the 64-pin variant of the F71889FG, they have the + same device ID and are fully compatible as far as hardware + monitoring is concerned. Author: Hans de Goede <[email protected]>
drivers/hwmon/Kconfig +13 -3
@@ -315,11 +315,21 @@ config SENSORS_F71805F will be called f71805f. config SENSORS_F71882FG - tristate "Fintek F71858FG, F71862FG, F71882FG, F71889FG and F8000" + tristate "Fintek F71882FG and compatibles" help If you say yes here you get support for hardware monitoring - features of the Fintek F71858FG, F71862FG/71863FG, F71882FG/F71883FG, - F71889FG and F8000 Super-I/O chips. + features of many Fintek Super-I/O (LPC) chips. The currently + supported chips are: + F71808E + F71858FG + F71862FG + F71863FG + F71869F/E + F71882FG + F71883FG + F71889FG/ED + F8000 + F81801U This driver can also be built as a module. If so, the module will be called f71882fg.
drivers/hwmon/f71882fg.c +1 -1
@@ -114,7 +114,7 @@ static const char *f71882fg_names[] = {"f71862fg" ,"f71869" ,/* Both f71869f and f71869e, reg. compatible and same id */ "f71882fg" , -"f71889fg" , +"f71889fg" ,/* f81801u too, same id */ "f71889ed" , "f8000", };
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH 3/3] hwmon: (f71882fg) Document all
In reply to Jean DelvareHi,
I cannot believe I forgot to add the f71808e to Documentation/f71882fg (note I did faithfully add the f71889ed and the f71869, when adding
support for them, in the same patch set ?!).
Regards,
Hans
Quoted 115 lines · Jean Delvare
Hi Guenter,
Quoted 27 lines · Guenter Roeck
Quoted 12 lines · Jean Delvare
The list of supported devices was not always well documented in all places. Clarify and list all devices in documentation,
Kconfigand the driver itself.Signed-off-by Jean Delvare<[email protected]>Cc Hans de Goede<[email protected]>--- Documentation/hwmon/f71882fg | 11 +++++++++++ drivers/hwmon/Kconfig | 14 +++++++++++--- drivers/hwmon/f71882fg.c | 2 +- 3 files changed, 23 insertions(+), 4 deletions(-)[ ... ]
Quoted 13 lines
config
SENSORS_F71882FGdrivers/hwmon/Kconfig +6
-3- tristate "Fintek F71858FG, F71862FG, F71882FG, F71889FG and F8000" + tristate "Fintek F71882FG and compatibles" help If you say yes here you get support for hardware monitoring - features of the Fintek F71858FG, F71862FG/71863FG, F71882FG/F71883FG, - F71889FG and F8000 Super-I/O chips. + features of many Fintek Super-I/O (LPC) chips. The currently + supported chips are: + F71808E + F71858FG + F71862FG and F71863FGQuoted 8 lines
drivers/hwmon/Kconfig config SENSORS_F71805F · line 330
Quoted 6 lines
drivers/hwmon/Kconfig +5
-0+ F71869F and F71869E + F71882FG and F71883FG + F71889FG and F81801U + F71889ED + F8000Why not just a simple list ? The grouping seems to be a bit arbitrary unless one knows that the "and" chip IDs are the same - but users won't usually know that.
Thanks for the review(s). Does the following look better?
From: Jean Delvare<[email protected]>
Subject: hwmon: (f71882fg) Document all supported devicesThe list of supported devices was not always well documented in all places. Clarify and list all devices in documentation,
Kconfigand the driver itself.Signed-off-by Jean Delvare<[email protected]>Cc Hans de Goede<[email protected]>Acked-by Guenter Roeck<[email protected]>--- Documentation/hwmon/f71882fg | 11 +++++++++++ drivers/hwmon/Kconfig | 16 +++++++++++++--- drivers/hwmon/f71882fg.c | 2 +- 3 files changed, 25 insertions(+), 4 deletions(-)Documentation/hwmon/f71882fg +11
-0@@ -2,6 +2,10 @@ Kernel driver f71882fg =========== Supported chips: + * Fintek F71808E + Prefix: 'f71808e' + Addresses scanned: none, address read from Super I/O config space + Datasheet: Not public * Fintek F71858FG Prefix: 'f71858fg' Addresses scanned: none, address read from Super I/O config space@@ -30,6 +34,13 @@ Supported chips: Prefix: 'f8000' Addresses scanned: none, address read from Super I/O config space Datasheet: Not public + * Fintek F81801U + Prefix: 'f71889fg' + Addresses scanned: none, address read from Super I/O config space + Datasheet: Not public + Note: This is the 64-pin variant of the F71889FG, they have the + same device ID and are fully compatible as far as hardware + monitoring is concerned. Author: Hans de Goede<[email protected]>drivers/hwmon/Kconfig +13
-3@@ -315,11 +315,21 @@ config SENSORS_F71805F will be called f71805f. config SENSORS_F71882FG - tristate "Fintek F71858FG, F71862FG, F71882FG, F71889FG and F8000" + tristate "Fintek F71882FG and compatibles" help If you say yes here you get support for hardware monitoring - features of the Fintek F71858FG, F71862FG/71863FG, F71882FG/F71883FG, - F71889FG and F8000 Super-I/O chips. + features of many Fintek Super-I/O (LPC) chips. The currently + supported chips are: + F71808E + F71858FG + F71862FG + F71863FG + F71869F/E + F71882FG + F71883FG + F71889FG/ED + F8000 + F81801U This driver can also be built as a module. If so, the module will be called f71882fg.
drivers/hwmon/f71882fg.c static const char *f71882fg_names[] = { · line 120
Quoted 8 lines
drivers/hwmon/f71882fg.c +1
-1@@ -114,7 +114,7 @@ static const char *f71882fg_names[] = {"f71862fg" ,"f71869" ,/* Both f71869f and f71869e, reg. compatible and same id */ "f71882fg" , -"f71889fg" , +"f71889fg" ,/* f81801u too, same id */ "f71889ed" , "f8000", };
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH 3/3] hwmon: (f71882fg) Document all
In reply to Jean DelvareHi Jean,
Quoted 2 lines · Jean Delvare
Hi Guenter,
[ ... ]
Quoted 11 lines
config
SENSORS_F71882FGdrivers/hwmon/Kconfig +3
-3- tristate "Fintek F71858FG, F71862FG, F71882FG, F71889FG and F8000" + tristate "Fintek F71882FG and compatibles" help If you say yes here you get support for hardware monitoring - features of the Fintek F71858FG, F71862FG/71863FG, F71882FG/F71883FG, - F71889FG and F8000 Super-I/O chips. + features of many Fintek Super-I/O (LPC) chips. The currently + supported chips are:
drivers/hwmon/Kconfig config SENSORS_F71805F
Quoted 10 lines
drivers/hwmon/Kconfig +10
-0+ F71808E + F71858FG + F71862FG + F71863FG + F71869F/E + F71882FG + F71883FG + F71889FG/ED + F8000 + F81801U
I meant something like
F71808E, F71858FG, F71862FG, F71863FG, F71869F/E, F71882FG, F71883FG, F71889FG/ED, F8000, F81801U
but yes, the above is ok as well.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH 3/3] hwmon: (f71882fg) Document all
In reply to Jean DelvareQuoted 28 lines · Guenter Roeck
Hi Jean,
Quoted 2 lines · Jean Delvare
Hi Guenter,
[ ... ]
Quoted 11 lines
config
SENSORS_F71882FGdrivers/hwmon/Kconfig +3
-3- tristate "Fintek F71858FG, F71862FG, F71882FG, F71889FG and F8000" + tristate "Fintek F71882FG and compatibles" help If you say yes here you get support for hardware monitoring - features of the Fintek F71858FG, F71862FG/71863FG, F71882FG/F71883FG, - F71889FG and F8000 Super-I/O chips. + features of many Fintek Super-I/O (LPC) chips. The currently + supported chips are:drivers/hwmon/Kconfig config SENSORS_F71805F
Quoted 10 lines
drivers/hwmon/Kconfig +10
-0+ F71808E + F71858FG + F71862FG + F71863FG + F71869F/E + F71882FG + F71883FG + F71889FG/ED + F8000 + F81801UI meant something like
Quoted 4 lines
F71808E, F71858FG, F71862FG, F71863FG, F71869F/E, F71882FG, F71883FG, F71889FG/ED, F8000, F81801Ubut yes, the above is ok as well.
I tend to prefer "vertical" lists because patches adding or removing items are much more readable. With "horizontal" lists, add an item near the beginning of the first line and everything else is shifted, and you have to check the diff very carefully.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH 3/3] hwmon: (f71882fg) Document all
In reply to Jean DelvareHi Jean,
Quoted 32 lines · Jean Delvare
Quoted 31 lines · Guenter Roeck
Hi Jean,
Quoted 2 lines · Jean Delvare
Hi Guenter,
[ ... ]
Quoted 11 lines
config
SENSORS_F71882FGdrivers/hwmon/Kconfig +3
-3- tristate "Fintek F71858FG, F71862FG, F71882FG, F71889FG and F8000" + tristate "Fintek F71882FG and compatibles" help If you say yes here you get support for hardware monitoring - features of the Fintek F71858FG, F71862FG/71863FG, F71882FG/F71883FG, - F71889FG and F8000 Super-I/O chips. + features of many Fintek Super-I/O (LPC) chips. The currently + supported chips are:drivers/hwmon/Kconfig config SENSORS_F71805F
Quoted 10 lines
drivers/hwmon/Kconfig +10
-0+ F71808E + F71858FG + F71862FG + F71863FG + F71869F/E + F71882FG + F71883FG + F71889FG/ED + F8000 + F81801UI meant something like
F71808E, F71858FG, F71862FG, F71863FG, F71869F/E, F71882FG, F71883FG, F71889FG/ED, F8000, F81801U
Quoted 6 lines
Quoted 1 line
but yes, the above is ok as well.
I tend to prefer "vertical" lists because patches adding or removing items are much more readable. With "horizontal" lists, add an item near the beginning of the first line and everything else is shifted, and you have to check the diff very carefully.
Good point ... makes sense.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors