linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Add support for variable sample time in lm75 driver
@ 2019-08-06  9:11 Iker Perez
  2019-08-06  9:11 ` [PATCH 1/4] hwmon: (lm75) Create structure to save all the configuration parameters Iker Perez
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Iker Perez @ 2019-08-06  9:11 UTC (permalink / raw)
  To: linux-hwmon, linux
  Cc: jdelvare, linux-kernel, Iker Perez del Palomar Sustatxa

From: Iker Perez del Palomar Sustatxa <iker.perez@codethink.co.uk>

Hello,

The objective of following patch series is to add support to lm75 driver
to be able to configure the sample time of it's supported devices,
particularly the tmp75b.

The applied changes involve:
	* Replace the current switch-case method for configuration
	  parameters selection to a structure storing them. This method
	  allows easier management of the parameters.
	* Split the writing of configuration registers into a separate
	  function. This method saves code in later patches.
	* Include new fields in lm75_params to add support for multiple
	  sample times.
	* Split the lm75_write functionality into separate, simpler,
	  functions.
	* Add support for configuring the devices via their sysfs nodes.

The patch series was based on linux-next's master branch.

Thank you Guenter Roeck, Michael Drake, Thomas Preston and Tom Eccles for
your time, help and feedback.

Regards,

Iker Perez del Palomar Sustatxa (4):
  hwmon: (lm75) Create structure to save all the configuration
    parameters.
  hwmon: (lm75) Create function from code to write into registers
  hwmon: (lm75) Add new fields into lm75_params_
  hwmon: (lm75) Modularize lm75_write and make hwmon_chip writable

 drivers/hwmon/lm75.c | 373 +++++++++++++++++++++++++++++++++++----------------
 1 file changed, 257 insertions(+), 116 deletions(-)

-- 
2.11.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-08-07 13:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-06  9:11 [PATCH 0/4] Add support for variable sample time in lm75 driver Iker Perez
2019-08-06  9:11 ` [PATCH 1/4] hwmon: (lm75) Create structure to save all the configuration parameters Iker Perez
2019-08-06 22:39   ` Guenter Roeck
2019-08-07 13:53   ` Guenter Roeck
2019-08-06  9:11 ` [PATCH 2/4] hwmon: (lm75) Create function from code to write into registers Iker Perez
2019-08-06  9:11 ` [PATCH 3/4] hwmon: (lm75) Add new fields into lm75_params_ Iker Perez
2019-08-07 13:51   ` Guenter Roeck
2019-08-06  9:11 ` [PATCH 4/4] hwmon: (lm75) Modularize lm75_write and make hwmon_chip writable Iker Perez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).