Re: [PATCH v2 3/6] dt-bindings: connector: Add Toradex camera connector

From: Conor Dooley

Date: Wed Oct 21 2026 - 12:08:38 EST


On Wed, Oct 21, 2026 at 05:30:11PM +0200, Ernest Van Hoecke wrote:
> On Fri, Oct 02, 2026 at 06:05:24PM +0100, Conor Dooley wrote:
> > On Thu, Oct 01, 2026 at 01:44:11PM +0200, Ernest Van Hoecke wrote:
> > > From: Ernest Van Hoecke <ernest.vanhoecke@xxxxxxxxxxx>
> > > [...]
> > > + "#gpio-cells":
> > > + const: 2
> > > +
> > > + gpio-map:
> > > + minItems: 1
> > > + maxItems: 4
> > > +
> > > + gpio-map-mask:
> > > + items:
> > > + - const: 0xffffffff
> > > + - const: 0
> > > +
> > > + gpio-map-pass-thru:
> > > + items:
> > > + - const: 0
> > > + - const: 0xffffffff
> >
> > These seem incredibly wide for something with only 4 gpios?
> >
> > Thanks,
> > Conor.
> >
>
> Hi Conor,
>
> Thanks for the chat at ELC and clarifying what was said here on the
> list.
>
> Regarding these masks and their width, they are indeed wide but they
> determine what to match against, and we have no reason to match anything
> except the exact number.
>
> This was previously shortly discussed here, and clarified by Rob:
> https://lore.kernel.org/all/20260918192012.GA1465432-robh@xxxxxxxxxx/
>
> I'll be sending a v3 of this with only the camera patches soon.

Ah, in that case I actually misunderstood the purpose of masks in next
nodes entirely!

Attachment: signature.asc
Description: PGP signature