Re: [PATCH v2 3/4] dt-bindings: mfd: Add Delta TN48M CPLD drivers bindings
From: Lee Jones
Date: Wed Jun 02 2021 - 06:44:08 EST
On Wed, 02 Jun 2021, Michael Walle wrote:
> 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?
Ah yes, I remember.
I suppose the saving grace of this scenario is the presence of the
Reset driver, since this confirms the device's MFD status. If it were
missing however, I'm not entirely sure how we'd solve this issue.
I'll go have another look at the latest submission. Bear with.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog