Re: [PATCH v2] regmap: irq: allow different device for irq chip and regmap
From: Mark Brown
Date: Fri Jun 23 2017 - 08:01:00 EST
On Thu, Jun 22, 2017 at 01:03:20PM +0200, Michael Grzeschik wrote:
> If the irq chip device is using the regmap of its parent device or
> a syscon regmap that doesn't have an associated device at all,
> allow the driver to provide its own device. That makes it possible
> to reference the irq controller from other devices running on the
> same regmap.
I would strongly expect that the regmap for a device would be associated
with the physical device, if it's not that seems likely to create
further problems. How is this happening?
syscon is one potential thing here but it seems odd for the sort of
hardware that syscon handles to be a good fit for regmap-irq.
Attachment:
signature.asc
Description: PGP signature