All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] i2c: xiic: use generic device property accessors
@ 2026-01-23  8:02 ` Abdurrahman Hussain via B4 Relay
  0 siblings, 0 replies; 25+ messages in thread
From: Abdurrahman Hussain @ 2026-01-23  8:02 UTC (permalink / raw)
  To: Michal Simek, Andi Shyti
  Cc: Andy Shevchenko, linux-arm-kernel, linux-i2c, linux-kernel,
	Abdurrahman Hussain

Switch to generic device property accessors and make minor code
refactoring.

Make the clock optional since the driver is designed to operate without
explicit configuration in firmware thus making it useful on platforms
where clock is not or cannot be provided.

Changed 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(...)

Signed-off-by: Abdurrahman Hussain <abdurrahman@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

---
Abdurrahman Hussain (5):
      i2c: xiic: make the clock optional
      i2c: xiic: switch to managed version of mutex_init
      i2c: xiic: remove duplicate error message
      i2c: xiic: switch to generic device property accessors
      i2c: xiic: minor cosmetic cleanup

 drivers/i2c/busses/i2c-xiic.c | 74 ++++++++++++++++++++-----------------------
 1 file changed, 35 insertions(+), 39 deletions(-)
---
base-commit: 944aacb68baf7624ab8d277d0ebf07f025ca137c
change-id: 20260122-i2c-xiic-3ba89ff5ea93

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


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

end of thread, other threads:[~2026-01-23 22:25 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23  8:02 [PATCH v3 0/5] i2c: xiic: use generic device property accessors Abdurrahman Hussain
2026-01-23  8:02 ` Abdurrahman Hussain via B4 Relay
2026-01-23  8:02 ` [PATCH v3 1/5] i2c: xiic: make the clock optional Abdurrahman Hussain
2026-01-23  8:02   ` Abdurrahman Hussain via B4 Relay
2026-01-23  8:29   ` Andy Shevchenko
2026-01-23 19:20   ` Andrew Lunn
2026-01-23 19:56     ` Abdurrahman Hussain
2026-01-23  8:02 ` [PATCH v3 2/5] i2c: xiic: switch to managed version of mutex_init Abdurrahman Hussain
2026-01-23  8:02   ` Abdurrahman Hussain via B4 Relay
2026-01-23  8:30   ` Andy Shevchenko
2026-01-23 19:22   ` Andrew Lunn
2026-01-23 20:20     ` Abdurrahman Hussain
2026-01-23 21:36       ` Andrew Lunn
2026-01-23 22:25         ` Abdurrahman Hussain
2026-01-23  8:02 ` [PATCH v3 3/5] i2c: xiic: remove duplicate error message Abdurrahman Hussain
2026-01-23  8:02   ` Abdurrahman Hussain via B4 Relay
2026-01-23 19:23   ` Andrew Lunn
2026-01-23  8:02 ` [PATCH v3 4/5] i2c: xiic: switch to generic device property accessors Abdurrahman Hussain
2026-01-23  8:02   ` Abdurrahman Hussain via B4 Relay
2026-01-23  8:33   ` Andy Shevchenko
2026-01-23  8:02 ` [PATCH v3 5/5] i2c: xiic: minor cosmetic cleanup Abdurrahman Hussain
2026-01-23  8:02   ` Abdurrahman Hussain via B4 Relay
2026-01-23  8:28   ` Andy Shevchenko
2026-01-23  8:37   ` Andy Shevchenko
2026-01-23  8:31 ` [PATCH v3 0/5] i2c: xiic: use generic device property accessors Andy Shevchenko

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.