public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] i2c: xiic: use generic device property accessors
@ 2026-01-22  8:32 Abdurrahman Hussain via B4 Relay
  2026-01-22  8:32 ` [PATCH v2 1/2] i2c: xiic: switch to " Abdurrahman Hussain via B4 Relay
  2026-01-22  8:32 ` [PATCH v2 2/2] i2c: xiic: make the clock optional Abdurrahman Hussain via B4 Relay
  0 siblings, 2 replies; 6+ messages in thread
From: Abdurrahman Hussain via B4 Relay @ 2026-01-22  8:32 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>
---
Abdurrahman Hussain (2):
      i2c: xiic: switch to generic device property accessors
      i2c: xiic: make the clock optional

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

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




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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22  8:32 [PATCH v2 0/2] i2c: xiic: use generic device property accessors Abdurrahman Hussain via B4 Relay
2026-01-22  8:32 ` [PATCH v2 1/2] i2c: xiic: switch to " Abdurrahman Hussain via B4 Relay
2026-01-22  8:59   ` Andy Shevchenko
2026-01-22  9:03     ` Andy Shevchenko
2026-01-22  8:32 ` [PATCH v2 2/2] i2c: xiic: make the clock optional Abdurrahman Hussain via B4 Relay
2026-01-22  9:01   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox