public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add threshold events support
@ 2024-05-17  8:10 Dimitri Fedrau
  2024-05-17  8:10 ` [PATCH v2 1/2] iio: temperature: mcp9600: Provide index for both channels Dimitri Fedrau
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Dimitri Fedrau @ 2024-05-17  8:10 UTC (permalink / raw)
  Cc: Jonathan Cameron, Lars-Peter Clausen, Dimitri Fedrau, Andrew Hepp,
	Marcelo Schmitt, linux-iio, linux-kernel

Add patch for providing index for both channels and add patch for threshold
events support for the MCP9600 device.

Changes in V2:
  - Remove pretty printing patches from series
  - Add patch for providing index for both channels(ABI change)!
    Suggested by Jonathan, hope this okay.
  - Remove formatting in a precursor patch
  - Add lock documentation
  - Add define MCP9600_TEMP_SCALE_NUM and use it instead of MICRO. MICRO is
    type unsigned long which we have to cast to int when using
    multiplication or division, because we are handling negative values.
  - Use switch statement in mcp9600_write_thresh
  - Replaced generic interrupt handler with four separate interrupt handler
  - Use one lock instead of four
  - Added error check for mcp9600_probe_alerts
     

Dimitri Fedrau (2):
  iio: temperature: mcp9600: Provide index for both channels
  iio: temperature: mcp9600: add threshold events support

 drivers/iio/temperature/mcp9600.c | 398 +++++++++++++++++++++++++++++-
 1 file changed, 396 insertions(+), 2 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-05-23 11:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-17  8:10 [PATCH v2 0/2] Add threshold events support Dimitri Fedrau
2024-05-17  8:10 ` [PATCH v2 1/2] iio: temperature: mcp9600: Provide index for both channels Dimitri Fedrau
2024-05-17 15:30   ` Markus Elfring
2024-05-19 16:14   ` Jonathan Cameron
2024-05-19 20:32     ` Dimitri Fedrau
2024-05-20 12:17       ` Jonathan Cameron
2024-05-21  2:28     ` Andrew Hepp
2024-05-23 11:21       ` Dimitri Fedrau
2024-05-17  8:10 ` [PATCH v2 2/2] iio: temperature: mcp9600: add threshold events support Dimitri Fedrau
2024-05-19 16:42   ` Jonathan Cameron
2024-05-19 21:00     ` Dimitri Fedrau
2024-05-20 12:18       ` Jonathan Cameron
2024-05-23 11:14         ` Dimitri Fedrau
2024-05-17 13:28 ` [PATCH v2 0/2] Add " Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox