[PATCH v6 06/10] mfd: bcm590xx: Add PMU ID/revision parsing function

Mark Brown broonie at kernel.org
Thu Mar 13 06:25:18 PDT 2025


On Thu, Mar 13, 2025 at 01:20:36PM +0000, Lee Jones wrote:
> On Tue, 04 Mar 2025, Artur Weber wrote:

> > +	if (id != bcm590xx->pmu_id) {
> > +		dev_err(bcm590xx->dev,
> > +			"Incorrect ID for %s: expected %x, got %x. Check your DT compatible.\n",
> 
> Isn't it more likely that the H/W this is being executed on is
> unsupported?  If so, say that instead.

Given that the compatibles are device specific the driver shouldn't be
binding if the device is unsupported.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250313/e9403856/attachment.sig>


More information about the linux-arm-kernel mailing list