[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7998607.BblzgPxGPW@wuerfel>
Date:	Tue, 12 Jan 2016 14:59:55 +0100
From:	Arnd Bergmann <arnd@...db.de>
To:	Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Cc:	andy.gross@...aro.org, linux-arm-msm@...r.kernel.org,
	Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/5] arm64: dts: apq8016-sbc: add regulators support
On Tuesday 12 January 2016 13:46:32 Srinivas Kandagatla wrote:
>         };
>  
> +       smd {
> +               rpm {
> +                       rpm-requests {
> +                               pm8916-regulators {
> +
> +                                       vdd_l1_l2_l3-supply = <&pm8916_s3>;
> +                                       vdd_l5-supply = <&pm8916_s3>;
> +                                       vdd_l4_l5_l6-supply = <&pm8916_s4>;
> +                                       vdd_l7-supply = <&pm8916_s4>;
> +
> 
If you're nested this deeply, you should consider using labels, e.g.
/ {
       ...
       smd {
               rpm {
                      rpm-requests {
                               regulators: pm8916-regulators {
				};
			};
		};
	};
	...
};
®ulators {
        vdd_l1_l2_l3-supply = <&pm8916_s3>;
        vdd_l5-supply = <&pm8916_s3>;
        vdd_l4_l5_l6-supply = <&pm8916_s4>;
        vdd_l7-supply = <&pm8916_s4>;
	s1 {
                 regulator-min-microvolt = <375000>;
                 regulator-max-microvolt = <1562000>;
	};
        s3 {
	        regulator-min-microvolt = <375000>;
	        regulator-max-microvolt = <1562000>;
        };
	...
};
btw, it seems odd to me that all those nodes under 'smd'
have names but no addresses.
	Arnd
Powered by blists - more mailing lists
 
