Skip to content

iio: humidity: hdc3020: add threshold events support

Dimitri Fedrau linux-devicetree linux-iio lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 5 repliesIn review
  2. v33 patches 4 repliesSuperseded
  3. v21 patch 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch8 repliesSuperseded

Changes in v4 from the cover letter

- fix commit message of patch "iio: humidity: hdc3020: switch to 16bit register defines". (Jonathan)
- add missing include in bindings example. (Javier, Rob)
- added copyright information

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: humidity: hdc3020: switch to 16bit register definesdrivers/iio/humidity/hdc3020.c+63 -1370 replies
2/3dt-bindings: iio: humidity: hdc3020: add interrupt bindings in exampleDocumentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml+3 -01 reply
3/3iio: humidity: hdc3020: add threshold events supportdrivers/iio/humidity/hdc3020.c+247 -02 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJavier CarrascoRob Herring
1/3
2/3A-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] iio: humidity: hdc3020: add threshold events support

Based on Fix:
a69eeaad093d "iio: humidity: hdc3020: fix temperature offset" in branch fixes-togreg

Changes in V2:
- Fix alphabetical order of includes(Christophe)
- Fix typo: change varibale name "HDC3020_R_R_RH_THRESH_LOW_CLR" to HDC3020_R_T_RH_THRESH_LOW_CLR to match variable name pattern(Christophe)
- Add constants HDC3020_MIN_TEMP and HDC3020_MAX_TEMP for min/max threshold inputs (Christophe)
- Change HDC3020_MIN_TEMP to -40, as stated in the datasheet(Javier)

Changes in V3:
- drop u8 register pairs and switch to 16bit defines(Jonathan)
- create helper functions to avoid code duplication(Jonathan)
- Add interrupt bindings in example
- use the decimal part for setting thresholds(Javier)
- use return in switch cases hdc3020_read_thresh(Jonathan)
- fix interrupt handler:(Jonathan)
- return IRQ_HANDLED when we get a read back failure
- take the timestamp into a local variable
- fix multiline comments(Jonathan)
- use fixed value "hdc3020" instead of dev_id in probe
- clear interrupt after registering the interrupt handler
- remove interrupt polarity

Changes in V4:
- fix commit message of patch "iio: humidity: hdc3020: switch to 16bit register defines". (Jonathan)
- add missing include in bindings example. (Javier, Rob)
- added copyright information

Dimitri Fedrau (3):
iio: humidity: hdc3020: switch to 16bit register defines
dt-bindings: iio: humidity: hdc3020: add interrupt bindings in example
iio: humidity: hdc3020: add threshold events support

 .../bindings/iio/humidity/ti,hdc3020.yaml     |   3 +
 drivers/iio/humidity/hdc3020.c                | 445 ++++++++++++------
 2 files changed, 312 insertions(+), 136 deletions(-)
Signature · 1 line
2.39.2