[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260122-i2c-xiic-v2-0-134f5d743e8b@nexthop.ai>
Date: Thu, 22 Jan 2026 08:32:30 +0000
From: Abdurrahman Hussain via B4 Relay <devnull+abdurrahman.nexthop.ai@...nel.org>
To: Michal Simek <michal.simek@....com>, Andi Shyti <andi.shyti@...nel.org>
Cc: Andy Shevchenko <andriy.shevchenko@...el.com>,
linux-arm-kernel@...ts.infradead.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org, Abdurrahman Hussain <abdurrahman@...thop.ai>
Subject: [PATCH v2 0/2] i2c: xiic: use generic device property accessors
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@...thop.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@...thop.ai>
Powered by blists - more mailing lists