Re: [PATCH v2] power: sequencing: pcie-m2: Match WCN6855 and WCN7851 UART BT variants by subdevice ID

From: Bartosz Golaszewski

Date: Fri Jul 24 2026 - 04:04:38 EST


On Thu, 23 Jul 2026 05:34:24 +0200, Wei Deng <wei.deng@xxxxxxxxxxxxxxxx> said:
> The WCN6855 and WCN7851 combo chips are available in M.2 card variants
> that differ by their BT interface: some expose BT over UART while others
> expose BT over USB. Both variants use the same PCIe device ID for the
> WiFi interface, distinguished only by their sub-system device ID.
>
> The bare PCI_DEVICE() entries match all sub-system IDs, so both UART and
> USB variants hit the same table entry and trigger UART serdev creation.
> For USB variants this is wrong — there is no UART BT interface on such
> a card, and the serdev probe will fail.
>
> Narrow the matches to UART variants only by using PCI_DEVICE_SUB with
> their respective sub-system IDs, so USB variants no longer trigger
> UART serdev creation.
>
> Reviewed-by: Manivannan Sadhasivam <mani@xxxxxxxxxx>
> Signed-off-by: Wei Deng <wei.deng@xxxxxxxxxxxxxxxx>
> ---

Hi!

I needed to drop a previously queued patch from my tree, can you rebase this on
top of current pwrseq/for-next and resend?

Thanks
Bart