[PATCH V2 10/10] i3c: mipi-i3c-hci-pci: Define Multi-Bus Instances for Intel controllers
Frank Li
Frank.li at nxp.com
Thu Dec 11 08:47:26 PST 2025
On Thu, Dec 11, 2025 at 03:48:09PM +0200, Adrian Hunter wrote:
> Define Multi-Bus Instances at offset 0x400 for some Intel controllers.
>
subject: Define Multi-Bus instances for supported controllers.
> Signed-off-by: Adrian Hunter <adrian.hunter at intel.com>
> ---
>
>
> Changes in V2:
> Also define instance 0 in driver_data
>
>
> .../i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c | 17 ++++++++++++-----
> 1 file changed, 12 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c b/drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c
> index de1f71763786..9937718dc069 100644
> --- a/drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c
> +++ b/drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c
> @@ -190,6 +190,13 @@ static const struct mipi_i3c_hci_pci_info intel_info = {
> .instance_count = 1,
> };
>
> +static const struct mipi_i3c_hci_pci_info intel_mi_info = {
> + .init = intel_i3c_init,
> + .exit = intel_i3c_exit,
> + .instance_offset = {0, 0x400},
> + .instance_count = 2,
> +};
> +
> static void mipi_i3c_hci_pci_free_ids(struct mipi_i3c_hci_pci *hci)
> {
> for (int i = 0; i < hci->dev_id_cnt; i++)
> @@ -323,17 +330,17 @@ static void mipi_i3c_hci_pci_remove(struct pci_dev *pci)
>
> static const struct pci_device_id mipi_i3c_hci_pci_devices[] = {
> /* Wildcat Lake-U */
> - { PCI_VDEVICE(INTEL, 0x4d7c), (kernel_ulong_t)&intel_info},
> + { PCI_VDEVICE(INTEL, 0x4d7c), (kernel_ulong_t)&intel_mi_info},
> { PCI_VDEVICE(INTEL, 0x4d6f), (kernel_ulong_t)&intel_info},
> /* Panther Lake-H */
> - { PCI_VDEVICE(INTEL, 0xe37c), (kernel_ulong_t)&intel_info},
> + { PCI_VDEVICE(INTEL, 0xe37c), (kernel_ulong_t)&intel_mi_info},
> { PCI_VDEVICE(INTEL, 0xe36f), (kernel_ulong_t)&intel_info},
> /* Panther Lake-P */
> - { PCI_VDEVICE(INTEL, 0xe47c), (kernel_ulong_t)&intel_info},
> + { PCI_VDEVICE(INTEL, 0xe47c), (kernel_ulong_t)&intel_mi_info},
> { PCI_VDEVICE(INTEL, 0xe46f), (kernel_ulong_t)&intel_info},
> /* Nova Lake-S */
> - { PCI_VDEVICE(INTEL, 0x6e2c), (kernel_ulong_t)&intel_info},
> - { PCI_VDEVICE(INTEL, 0x6e2d), (kernel_ulong_t)&intel_info},
> + { PCI_VDEVICE(INTEL, 0x6e2c), (kernel_ulong_t)&intel_mi_info},
> + { PCI_VDEVICE(INTEL, 0x6e2d), (kernel_ulong_t)&intel_mi_info},
> { },
> };
> MODULE_DEVICE_TABLE(pci, mipi_i3c_hci_pci_devices);
> --
> 2.51.0
>
>
> --
> linux-i3c mailing list
> linux-i3c at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-i3c
More information about the linux-i3c
mailing list