> 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