[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181108121629.GD6675@sirena.org.uk>
Date: Thu, 8 Nov 2018 12:16:29 +0000
From: Mark Brown <broonie@...nel.org>
To: Charles Keepax <ckeepax@...nsource.cirrus.com>
Cc: lee.jones@...aro.org, mturquette@...libre.com, sboyd@...nel.org,
linus.walleij@...aro.org, robh+dt@...nel.org, mark.rutland@....com,
lgirdwood@...il.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, patches@...nsource.cirrus.com,
linux-clk@...r.kernel.org, linux-gpio@...r.kernel.org
Subject: Re: [PATCH 2/6] regulator: lochnagar: Move driver to binding from DT
On Thu, Nov 08, 2018 at 10:14:01AM +0000, Charles Keepax wrote:
> +static const struct of_device_id lochnagar_of_match[] = {
> + { .compatible = "cirrus,lochnagar-regulator" },
> + {},
> +};
This is obviously just dumping the Linux driver model into the DT, the
regulators are clearly different. If you want to explicitly list the
regulators in DT it'd be better to reflect the hardware and enumerate
the regulators individually - you can use one driver for all the MICVDDs
and a separate one for VDDCORE for example.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists