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

From: Mark Brown
Date: Thu Oct 22 2015 - 19:36:40 EST


On Thu, Oct 22, 2015 at 06:51:49AM +0200, Heiko Schocher wrote:
> Am 21.10.2015 um 18:17 schrieb Mark Brown:

> >>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";

Yes, you should just put everything directly into the board DT.

Attachment: signature.asc
Description: PGP signature