Re: [PATCH v2 3/4] dt-bindings: mfd: Add Delta TN48M CPLD drivers bindings

From: Michael Walle
Date: Wed Jun 02 2021 - 06:22:17 EST


Am 2021-06-01 16:48, schrieb Lee Jones:
On Tue, 01 Jun 2021, Lee Jones wrote:

On Tue, 01 Jun 2021, Michael Walle wrote:

> Am 2021-06-01 10:19, schrieb Lee Jones:
> > Why do you require one single Regmap anyway? Are they register banks
> > not neatly separated on a per-function basis?
>
> AFAIK you can only have one I2C device driver per device, hence the
> simple-mfd-i2c.

Sorry, can you provide more detail.

I'd still like further explanation to be sure, but if you mean what I
think you mean then, no, I don't think that's correct.

We've already discussed this:

https://lore.kernel.org/lkml/20200622075145.1464020-1-lee.jones@xxxxxxxxxx/
https://lore.kernel.org/lkml/20200605065709.GD3714@dell/

And how would a device tree binding look like if you have multiple
i2c devices with the same i2c address?

-michael