Re: [PATCH net-next v4 5/8] mfd: zl3073x: Add functions to work with register mailboxes

From: Andrew Lunn
Date: Thu Apr 24 2025 - 15:30:04 EST


> Yes, PHC (PTP) sub-driver is using mailboxes as well. Gpio as well for some
> initial configuration.

O.K, so the mailbox code needs sharing. The question is, where do you
put it.

> > The mutex needs to be shared, but that could be in the common data
> > structure.
>
> Do you mean that sub-device would access mutexes placed in zl3073x_dev which
> is parent (mfd) driver structure?

Yes.

Andrew