]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
i3c: master: dw-i3c: Fix missing of_node for virtual I2C adapter
authorPeter Yin <peteryin.openbmc@gmail.com>
Mon, 2 Mar 2026 07:56:42 +0000 (15:56 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 11 Mar 2026 21:48:26 +0000 (22:48 +0100)
commitf26ecaa0f0abfe5db173416214098a00d3b7db79
tree5d9ad268fc0502060afd598a79dfc140841f078e
parent9a258d1336f7ff3add8b92d566d3a421f03bf4d2
i3c: master: dw-i3c: Fix missing of_node for virtual I2C adapter

The DesignWare I3C master driver creates a virtual I2C adapter to
provide backward compatibility with I2C devices. However, the current
implementation does not associate this virtual adapter with any
Device Tree node.

Propagate the of_node from the I3C master platform device to the
virtual I2C adapter's device structure. This ensures that standard
I2C aliases are correctly resolved and bus numbering remains consistent.

Signed-off-by: Peter Yin <peteryin.openbmc@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260302075645.1492766-1-peteryin.openbmc@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/dw-i3c-master.c