public inbox for linux-arm-kernel@lists.infradead.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
  2026-01-23  8:02 ` [PATCH v3 1/5] i2c: xiic: make the clock optional Abdurrahman Hussain via B4 Relay
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Abdurrahman Hussain via B4 Relay @ 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] 19+ messages in thread

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

Thread overview: 19+ 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 via B4 Relay
2026-01-23  8:02 ` [PATCH v3 1/5] i2c: xiic: make the clock optional 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 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 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 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 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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox