Improve MCP3911 driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest9 patches 8 repliesIn review
- v59 patches 8 repliesSuperseded
- v49 patches 10 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 9 patches | 8 replies | Superseded |
Changes in v6 from the cover letter
- Go for devm_clk_get_enabled()
- Cosmetic cleanups
- Clarify the description of microchip,data-ready-hiz
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | iio: adc: mcp3911: make use of the sign bitdrivers/ | +2 | 0 replies | |
| 2/9 | iio: adc: mcp3911: correct "microchip,device-addr" propertydrivers/ | +8 | 0 replies | |
| 3/9 | iio: adc: mcp3911: use correct formula for AD conversiondrivers/ | +12 | 0 replies | |
| 4/9 | iio: adc: mcp3911: use resource-managed version of iio_device_registerdrivers/ | +16 | 4 replies | |
| 5/9 | iio: adc: mcp3911: add support for buffersdrivers/ drivers/ | +97 | 0 replies | |
| 6/9 | iio: adc: mcp3911: add support for interruptsdrivers/ | +53 | 0 replies | |
| 7/9 | dt-bindings: iio: adc: mcp3911: add microchip,data-ready-hiz entryDocumentation/ | +7 | 0 replies | |
| 8/9 | iio: adc: mcp3911: add support for oversampling ratiodrivers/ | +58 | 0 replies | |
| 9/9 | iio: adc: mcp3911: add support to set PGAdrivers/ | +83 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko | Krzysztof Kozlowski |
|---|---|---|
| 1/9 | R-b | |
| 2/9 | R-b | |
| 3/9 | R-b | |
| 4/9 | R-b | |
| 5/9 | R-b | |
| 6/9 | R-b | |
| 7/9 | A-b | |
| 8/9 | R-b | |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/9] Improve MCP3911 driver
This patch series intend to fix bugs and improve functionality of the MCP3911 driver. The main features added are
- Support for buffers
- Interrupt driven readings
- Support for oversampling ratio
- Support for set scale values (Gain)
Among the bug fixes, there are changes in the formula for calculate raw value and a fix for mismatch in the devicetree property.
Another general improvement for the driver is to use managed resources for all allocated resources.
See patch notes for more specific changes.
General changes for the series:
v3:
- Drop Phase patch
- Add Fixes tags for those patches that are fixes
- Move Fixes patches to the beginning of the patchset
v4:
- Split up devm-cleanup functions
- Cosmetic cleanups
- Add
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
To Kconfig
- Add .endianness = IIO_BE
v5:
- Drop remove function
- Split tx&rx transfers in mcp3911_trigger_handler()
- Moved Kconfig changes to right patch
v6:
- Go for devm_clk_get_enabled()
- Cosmetic cleanups
- Clarify the description of microchip,data-ready-hiz
Best regards,
Marcus Folkesson