]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: mipi-i3c-hci-pci: Pass base regs as platform data to i3c core device
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 6 Jan 2026 16:44:13 +0000 (18:44 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Jan 2026 14:53:34 +0000 (15:53 +0100)
commit9a4d56b42ff019bbff1e3d0940ebfd3e292326fa
treedd9bfd2092b9c4f04508a086dd2f0bf97919d75d
parentb8460480f62e16751876a1f367dc14fb62867463
i3c: mipi-i3c-hci-pci: Pass base regs as platform data to i3c core device

Use the parent's MMIO mapping for multi-bus instances to avoid overlapping
regions.  These instances share the same MMIO address space, but the ranges
are not guaranteed to be contiguous.  By passing base_regs from the parent
mapping, child devices can access their registers without creating
conflicting mappings.

Prepare for multi-bus instance support by passing base_regs to child
devices.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260106164416.67074-9-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c