Add support for LTC6373
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest5 patches 7 repliesIn review
- v45 patches 4 repliesSuperseded
- v35 patches 1 replySuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 8 replies | Superseded | |
| v1 | 3 patches | 2 replies | Superseded |
Changes in v5 from the cover letter
Move converion logic:
- Modify to use callbacks
Use pointers in match table:
- Drop enum type from state
Driver:
- Use DIV_ROUND_CLOSEST for conversion
- Remove comma from ltc6373_ext_info[]
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: iio: hmc425a: add conditional GPIO array size constraintsDocumentation/ | +30 | 0 replies | |
| 2/5 | dt-bindings: iio: hmc425a: add entry for LTC6373Documentation/ | +14 | 0 replies | |
| 3/5 | iio: amplifiers: hmc425a: move conversion logicdrivers/ | +83 | 2 replies | |
| 4/5 | iio: amplifiers: hmc425a: use pointers in match tabledrivers/ | +15 | 2 replies | |
| 5/5 | iio: amplifiers: hmc425a: add support for LTC6373 Instrumentation Amplifierdrivers/ | +120 | 3 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Conor Dooley | Nuno Sa |
|---|---|---|
| 1/5 | A-b | |
| 2/5 | A-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/5] Add support for LTC6373
The LTC6373 is a silicon, 3-bit Fully-Differential digital instrumentation amplifier that supports the following programmable gains (Vout/Vin):
G = 0.25, 0.5, 1, 2, 4, 8, 16 + Shutdown.
The programmable interface consists of 3 digitally controled inputs.
V4->V5
Move converion logic:
- Modify to use callbacks
Use pointers in match table:
- Drop enum type from state
Driver:
- Use DIV_ROUND_CLOSEST for conversion
- Remove comma from ltc6373_ext_info[]V3->V4
- Fix git commit message typo and remove newline between tagsV2->V3
- Use return instead of break in *_gain_dB_to_code()
- Add new line before return in *_code_to_gain_dB()
- Match parameter alignment for added _powerdown functions
- Add precursor patch for using pointers in the match table
- Add chip_info attributes: has_powerdown and powerdown_val
- Change probe logic to use has_powerdown for default powerdown state
- Added 'Fixes' tag to commit message of 'add conditional GPIO array...'V1->V2
Driver:
- Fix chip info table indent
- Remove enable attribute
- Add ext_info powerdown attribute
- Enable by default powerdown attribute
- Set default gain after disabling powerdown to min value
Binding:
- Fix conditional checking of GPIO array size for LTC6373
- Add precursor commit for correctly checking gpio size depending upon compatible
Dumitru Ceclan (5):
dt-bindings: iio: hmc425a: add conditional GPIO array size constraints
dt-bindings: iio: hmc425a: add entry for LTC6373
iio: amplifiers: hmc425a: move conversion logic
iio: amplifiers: hmc425a: use pointers in match table
iio: amplifiers: hmc425a: add support for LTC6373 Instrumentation
Amplifier
.../bindings/iio/amplifiers/adi,hmc425a.yaml | 47 ++- drivers/iio/amplifiers/hmc425a.c | 273 ++++++++++++++---- 2 files changed, 259 insertions(+), 61 deletions(-)
Signature · 1 line
2.42.0