Skip to content

iio: mcp9600: Features and improvements

Ben Collins linux-devicetree linux-iio lkml 5 versions – In review

Get series with b4
b4 am [email protected] change-id 20250819-upstream-changes-c89af86743fa

Versions newest first

  1. v8 Latest5 patches 9 repliesIn review
  2. v75 patches 7 repliesSuperseded inferred link
  3. v45 patches 4 repliesSuperseded inferred link
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v30 of 5 patches1 replySuperseded inferred link
v15 patches24 repliesSuperseded

Changes in v8 from the cover letter

- Style changes in dt-bindings example
- Simplify some return value checks
- Move assignment to where it's checked
- Speeling

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: iio: mcp9600: Set default 3 for thermocouple-typeDocumentation/devicetree/bindings/iio/temperature/microchip,mcp9600.yaml+1 -01 reply
2/5dt-bindings: iio: mcp9600: Add microchip,mcp9601 and add constraintsDocumentation/devicetree/bindings/iio/temperature/microchip,mcp9600.yaml+53 -32 replies
3/5iio: mcp9600: White space and fixed width cleanupdrivers/iio/temperature/mcp9600.c+7 -70 replies
4/5iio: mcp9600: Recognize chip id for mcp9601drivers/iio/temperature/Kconfig drivers/iio/temperature/mcp9600.c+57 -194 replies
5/5iio: mcp9600: Add support for thermocouple-typedrivers/iio/temperature/mcp9600.c+70 -10 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiDavid LechnerAndy Shevchenko
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v8 thread

Cover letter [PATCH v8 0/5] iio: mcp9600: Features and improvements

ChangeLog:
v7 -> v8:
- Style changes in dt-bindings example
- Simplify some return value checks
- Move assignment to where it's checked
- Speeling

v6 -> v7:
- Separate out the mcp9600 IIR series into its own series as there is a lot of conversation around implementation (removed related comments from this changelog).

v5 -> v6:
- Fix accidental typo added in dt-bindings: IRQ_TYPE_EDGE_RISIN
- Correct some constraints in dt-bindings
- Reverse if/then for mcp9601 vs mcp9600 constraints in dt-bindings
- Updates to changelog for patch 2/6 (dt-bindings mcp9600)
- Cleanup tabs that were converted to spaces
- Split thermocouple-type default to separate patch

v4 -> v5:
- None

v3 -> v4:
- Based on feedback from David Lechner <[email protected]>
* Allow fallback compatible in dt-bindings for mcp9601.
- Based on feedback from Jonathan Cameron <[email protected]>
* Be explicit in patch description for fixed width changes.
* Check chip_info for NULL to quiet warnings from kernel-test-robot
* Remove "and similar" for long description of MCP9600.
- Set default 3 for thermocouple in dt-binding
- Rework open/short circuit in dt-bindings

v2 -> v3:
- Improve changelogs in each patch
- Based on feedback from Andy Shevchenko <[email protected]>
* Set register offsets to fixed width
* Fix typos
* Future-proof Kconfig changes
* Convert to using chip_info paradigm
* Verbiage: dt -> firmware description
* Use proper specifiers and drop castings
* Fix register offset to be fixed-width
* u8 for cfg var
* Fix % type for u32 to be %u
* Make blank lines consistent between case statements

v1 -> v2:
- Break into individual patches

v1:
- Initial patch to enable IIR and thermocouple-type
- Recognize mcp9601

---
- Link to v7: https://lore.kernel.org/r/[email protected]

---
Ben Collins (5):
dt-bindings: iio: mcp9600: Set default 3 for thermocouple-type
dt-bindings: iio: mcp9600: Add microchip,mcp9601 and add constraints
iio: mcp9600: White space and fixed width cleanup
iio: mcp9600: Recognize chip id for mcp9601
iio: mcp9600: Add support for thermocouple-type

 .../iio/temperature/microchip,mcp9600.yaml         |  57 +++++++-
 drivers/iio/temperature/Kconfig                    |   8 +-
 drivers/iio/temperature/mcp9600.c                  | 151 +++++++++++++++++----
 3 files changed, 187 insertions(+), 29 deletions(-)

---
base-commit: c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9
change-id: 20250819-upstream-changes-c89af86743fa

Best regards,

Signature · 1 line
Ben Collins <[email protected]>