Re: [PATCH] regulator, dt: add dt support for tps6502x regulator

From: Heiko Schocher
Date: Thu Oct 22 2015 - 00:52:05 EST


Hello Mark,

Am 21.10.2015 um 18:17 schrieb Mark Brown:
On Wed, Oct 21, 2015 at 02:52:51PM +0200, Heiko Schocher wrote:
Am 21.10.2015 um 14:19 schrieb Mark Brown:
On Mon, Oct 19, 2015 at 08:27:13AM +0200, Heiko Schocher wrote:

If this file is needed there is something broken, if this file is not
needed then it is just noise since everything in it needs to be
overridden by users anyway. Either way please remove it.

Uh, I thought to do it like:

arch/arm/boot/dts/tps65217.dtsi

but, okay, removed.

That too is broken and should be removed :(

Ok, I have a board which uses this regulator ... can you give me a hint,
how to remove it correctly?

I would do:

move from arch/arm/boot/dts/tps65217.dtsi into board dts

&tps {
+ compatible = "ti,tps65217";
[...]

and the reg and "regulator-compatible" into the corresponding
nodes ...

dcdc1_reg: regulator@0 {
+ reg = <0>;
+ regulator-compatible = "dcdc1";

Thanks!

bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/