[PATCH v2 3/8] dt-bindings: regulator: Add document for MT6359 regulator
Mark Brown
broonie at kernel.org
Wed Dec 16 08:05:48 EST 2020
On Wed, Dec 16, 2020 at 12:34:19PM +0800, Hsin-hsiung Wang wrote:
> On Wed, 2020-09-23 at 17:24 +0100, Mark Brown wrote:
> > On Mon, Sep 21, 2020 at 07:48:10PM +0800, Hsin-Hsiung Wang wrote:
> > > +Required properties:
> > > +- compatible: "mediatek,mt6359-regulator"
> > The compatible isn't used by the driver (which is good!) so should be
> > dropped from the binding document.
> Thanks for your comments, but I have a question about it.
> When I remove the compatible name in the dts, there will be some error
> message:
> [ 0.437562] mt6359-regulator: Failed to locate of_node [id: -1]
> [ 0.440612] mt6359-sound: Failed to locate of_node [id: -1]
> Do you mean that we don't need any compatible name in dts, mfd and
> regulator driver?
The MFD driver and DT node for the MFD will need a compatible. The
regulator function doesn't, it can just look things up based on the
parent.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20201216/4ccf4290/attachment.sig>
More information about the Linux-mediatek
mailing list