Add threshold events support
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 11 repliesIn review
Changes in v2 from the cover letter
- 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
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iio: temperature: mcp9600: Provide index for both channelsdrivers/ | +7 | 6 replies | |
| 2/2 | iio: temperature: mcp9600: add threshold events supportdrivers/ | +389 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] Add threshold events support
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(-)
Signature · 1 line
2.39.2