All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v10 0/7] i2c: xiic: use generic device property accessors
@ 2026-02-04  7:01 ` Abdurrahman Hussain via B4 Relay
  0 siblings, 0 replies; 21+ messages in thread
From: Abdurrahman Hussain @ 2026-02-04  7:01 UTC (permalink / raw)
  To: Michal Simek, Andi Shyti, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Andy Shevchenko, linux-arm-kernel, linux-i2c, linux-kernel,
	devicetree, Abdurrahman Hussain, Andrew Lunn

- Switch to generic device property accessors.
- Switch to managed devm_ functions to simplify error handling.
- General cleanups.
- Skip clock setup on non-OF systems where clock is not specified via
firmware.

Signed-off-by: Abdurrahman Hussain <abdurrahman@nexthop.ai>
---
Changes in v10:
- Moved dev_dbg() change from patch 4 to patch 5.
- Reworded description in patch 6.
- Addressed Andy's comment in patch 7 (&pdev->dev -> dev).
- Link to v9: https://lore.kernel.org/r/20260202-i2c-xiic-v9-0-ce4695f5267d@nexthop.ai

Changes in v9:
- Fix an issue found by the test robot in the cleanup patch.
- Reworded the clock change description.
- Add a patch to switch to i2c_add_numbered_adapter().
- Link to v8: https://lore.kernel.org/r/20260201-i2c-xiic-v8-0-deb2dd158d1a@nexthop.ai

Changes in v8:
- Made the clock change the last patch in the series.
- Reworded the clock change description.
- Changed dev->fwnode to dev_fwnode(dev).
- Link to v7: https://lore.kernel.org/r/20260129-i2c-xiic-v7-0-727e434897ef@nexthop.ai

Changes in v7:
- Drop the dt-bindings patch.
- Skip clock setup on non-OF systems.
- Minor commit body rewording.
- Applied code-review trailers with `b4 trailers -u`
- Link to v6: https://lore.kernel.org/r/20260127-i2c-xiic-v6-0-e82e2f6f657c@nexthop.ai

Changes in v6:
- Cosmetic changes to address the comments.
- Added a patch to use resource format specifier in debug log.
- Link to v5: https://lore.kernel.org/r/20260126-i2c-xiic-v5-0-88a16a28721c@nexthop.ai

Changes in v5:
- Reorder the cosmetic patch to be the last in the series.
- Added a documentation patch to describe the optional clock.
- Minor commit body rewording.
- Link to v4: https://lore.kernel.org/r/20260123-i2c-xiic-v4-0-4a3eba3510ce@nexthop.ai

Changes in v4:
- Reorder the cosmetic patch to be the first in the series.
- Amend the mutex_init patch to also switch to the managed pm_runtime_
  variant.
- Link to v3: https://lore.kernel.org/r/20260123-i2c-xiic-v3-0-eb7cd4254dfb@nexthop.ai

Changes in v3:
- Reorder the "optional clock" patch to be the first in the series. 
- Add a patch to switch to devm_mutex_init().
- Remove dup message in error path.
- Cosmetic: use temporary dev variable.
- Link to v2: https://lore.kernel.org/r/20260122-i2c-xiic-v2-0-134f5d743e8b@nexthop.ai

Changes in v2:
- Split the patch into two independent changes.
- Added struct device *dev at the top of probe() and remove() to re-use.
- Switched to device_set_node(...)

---
Abdurrahman Hussain (7):
      i2c: xiic: switch to devres managed APIs
      i2c: xiic: remove duplicate error message
      i2c: xiic: switch to generic device property accessors
      i2c: xiic: cosmetic cleanup
      i2c: xiic: cosmetic: use resource format specifier in debug log
      i2c: xiic: use numbered adapter registration
      i2c: xiic: skip input clock setup on non-OF systems

 drivers/i2c/busses/i2c-xiic.c | 99 +++++++++++++++++++------------------------
 1 file changed, 43 insertions(+), 56 deletions(-)
---
base-commit: 18f7fcd5e69a04df57b563360b88be72471d6b62
change-id: 20260122-i2c-xiic-3ba89ff5ea93

Best regards,
-- 
Abdurrahman Hussain <abdurrahman@nexthop.ai>


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2026-02-04 17:59 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-04  7:01 [PATCH v10 0/7] i2c: xiic: use generic device property accessors Abdurrahman Hussain
2026-02-04  7:01 ` Abdurrahman Hussain via B4 Relay
2026-02-04  7:01 ` [PATCH v10 1/7] i2c: xiic: switch to devres managed APIs Abdurrahman Hussain
2026-02-04  7:01   ` Abdurrahman Hussain via B4 Relay
2026-02-04 10:00   ` Jonathan Cameron
2026-02-04 10:11     ` Andy Shevchenko
2026-02-04 17:59       ` Abdurrahman Hussain
2026-02-04 17:58     ` Abdurrahman Hussain
2026-02-04  7:01 ` [PATCH v10 2/7] i2c: xiic: remove duplicate error message Abdurrahman Hussain
2026-02-04  7:01   ` Abdurrahman Hussain via B4 Relay
2026-02-04 10:01   ` Jonathan Cameron
2026-02-04  7:02 ` [PATCH v10 3/7] i2c: xiic: switch to generic device property accessors Abdurrahman Hussain
2026-02-04  7:02   ` Abdurrahman Hussain via B4 Relay
2026-02-04  7:02 ` [PATCH v10 4/7] i2c: xiic: cosmetic cleanup Abdurrahman Hussain
2026-02-04  7:02   ` Abdurrahman Hussain via B4 Relay
2026-02-04  7:02 ` [PATCH v10 5/7] i2c: xiic: cosmetic: use resource format specifier in debug log Abdurrahman Hussain
2026-02-04  7:02   ` Abdurrahman Hussain via B4 Relay
2026-02-04  7:02 ` [PATCH v10 6/7] i2c: xiic: use numbered adapter registration Abdurrahman Hussain
2026-02-04  7:02   ` Abdurrahman Hussain via B4 Relay
2026-02-04  7:02 ` [PATCH v10 7/7] i2c: xiic: skip input clock setup on non-OF systems Abdurrahman Hussain
2026-02-04  7:02   ` Abdurrahman Hussain via B4 Relay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.