Message ID | 1452606412-24659-1-git-send-email-srinivas.kandagatla@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tuesday 12 January 2016 13:46:52 Srinivas Kandagatla wrote: > To be consistent with other nodes move sdhci node under the soc node, > rather than using lable references. > > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> > Maybe remove the label as well if you are no longer using it? Arnd
On 12/01/16 14:00, Arnd Bergmann wrote: > On Tuesday 12 January 2016 13:46:52 Srinivas Kandagatla wrote: >> To be consistent with other nodes move sdhci node under the soc node, >> rather than using lable references. >> >> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> >> > > Maybe remove the label as well if you are no longer using it? Label "sdhc_1" in this case is used in aliases node. > My understanding so far was qcom specific dt want to use hierarchical dt nodes in the board files, but this brings the question of should we delete all the unused labels. IMO, some unused labels are harmless and would give more consistency to the reader, removing them might not add great value. Andy/Stephen, any comments? --srini > Arnd >
On Tuesday 12 January 2016 14:18:53 Srinivas Kandagatla wrote: > On 12/01/16 14:00, Arnd Bergmann wrote: > > On Tuesday 12 January 2016 13:46:52 Srinivas Kandagatla wrote: > >> To be consistent with other nodes move sdhci node under the soc node, > >> rather than using lable references. > >> > >> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> > >> > > > > Maybe remove the label as well if you are no longer using it? > Label "sdhc_1" in this case is used in aliases node. > Ok, nevermind then. > My understanding so far was qcom specific dt want to use hierarchical dt > nodes in the board files, but this brings the question of should we > delete all the unused labels. > > IMO, some unused labels are harmless and would give more consistency to > the reader, removing them might not add great value. Fair enough. Arnd
On Tue, Jan 12, 2016 at 02:18:53PM +0000, Srinivas Kandagatla wrote: > > > On 12/01/16 14:00, Arnd Bergmann wrote: > >On Tuesday 12 January 2016 13:46:52 Srinivas Kandagatla wrote: > >>To be consistent with other nodes move sdhci node under the soc node, > >>rather than using lable references. > >> > >>Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> > >> > > > >Maybe remove the label as well if you are no longer using it? > Label "sdhc_1" in this case is used in aliases node. > > > > My understanding so far was qcom specific dt want to use hierarchical dt > nodes in the board files, but this brings the question of should we delete > all the unused labels. > > IMO, some unused labels are harmless and would give more consistency to the > reader, removing them might not add great value. > > Andy/Stephen, any comments? I tend to lean towards leaving the labels in. But at the same time we don't want to get cluttered with unused labels. That said, perhaps If the label makes things more understandable, then leave them in. Otherwise, they really have no use.
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index f6cd323..b635149 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi @@ -268,9 +268,9 @@ default-state = "off"; }; }; - }; -}; -&sdhc_1 { - status = "okay"; + sdhci@07824000 { + status = "okay"; + }; + }; };
To be consistent with other nodes move sdhci node under the soc node, rather than using lable references. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)