summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAkhil R <akhilrajeev@nvidia.com>2026-07-28 06:59:44 +0000
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2026-07-31 09:28:14 +0200
commitee170021bee17124c13f42813607bca553a6b48a (patch)
tree745dadc64f5285faf5e4e0d06662c7a2b451b1b7 /include/linux
parent81e7c27b0d5cb3029fc01374c3a96019d3a9e673 (diff)
i3c: master: Use unified device property interface
Replace all OF-specific functions with unified device property functions as a prerequisite to support both ACPI and device tree. Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Akhil R <akhilrajeev@nvidia.com> Link: https://patch.msgid.link/20260728065955.809445-3-akhilrajeev@nvidia.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/i3c/master.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/i3c/master.h b/include/linux/i3c/master.h
index 4d2a68793324..a16deb04b2e1 100644
--- a/include/linux/i3c/master.h
+++ b/include/linux/i3c/master.h
@@ -177,7 +177,8 @@ struct i3c_device_ibi_info {
* @pid: I3C Provisioned ID exposed by the device. This is a unique identifier
* that may be used to attach boardinfo to i3c_dev_desc when the device
* does not have a static address
- * @of_node: optional DT node in case the device has been described in the DT
+ * @fwnode: Firmware node (DT or ACPI) in case the device has been
+ * described in firmware
*
* This structure is used to attach board-level information to an I3C device.
* Not all I3C devices connected on the bus will have a boardinfo. It's only
@@ -189,7 +190,7 @@ struct i3c_dev_boardinfo {
u8 init_dyn_addr;
u8 static_addr;
u64 pid;
- struct device_node *of_node;
+ struct fwnode_handle *fwnode;
};
/**