[PATCH V8 2/2] regulator: mt6323: Add support for MT6323 regulator
Mark Brown
broonie at kernel.org
Mon Jul 11 14:12:35 PDT 2016
On Mon, Jul 11, 2016 at 02:29:39PM +0200, John Crispin wrote:
> +static const struct of_device_id mt6323_of_match[] = {
> + { .compatible = "mediatek,mt6323-regulator", },
> + { /* sentinel */ },
> +};
> +MODULE_DEVICE_TABLE(of, mt6323_of_match);
This may have been answered last time but I don't remember - why is
there a compatible string for this device in the DT? Surely we already
know that the regulators for the mt6323 are present by virtue of the
fact that we know that the core mt6323 is present in the system?
Indeed, looking at the now merged MFD code it appears that this is
in fact the case so we could just not have a compatible and perhaps this
was just an oversight. This is good because it means we're not encoding
the specific way Linux instantiates devices into the DT.
Otherwise this does look good.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160711/d17f5c40/attachment.sig>
More information about the linux-arm-kernel
mailing list