Re: [PATCH v2 1/5] arm64: dts: qcom: sdm845: Add unit name to soc node
On Mon, Oct 7, 2019 at 12:44 PM John Stultz wrote: > > On Tue, Jul 23, 2019 at 9:51 PM Vinod Koul wrote: > > > > We get a warning about missing unit name for soc node, so add it. > > > > arch/arm64/boot/dts/qcom/sdm845.dtsi:623.11-2814.4: Warning > > (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit > > name > > > > Signed-off-by: Vinod Koul > > Reviewed-by: Stephen Boyd > > --- > > arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi > > b/arch/arm64/boot/dts/qcom/sdm845.dtsi > > index 601cfb078bd5..e81f4a6d08ce 100644 > > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > > @@ -620,7 +620,7 @@ > > method = "smc"; > > }; > > > > - soc: soc { > > + soc: soc@0 { > > #address-cells = <2>; > > #size-cells = <2>; > > ranges = <0 0 0 0 0x10 0>; > > So Amit Pundir noted that this patch is causing 5.4-rc to no longer > boot on db845 w/ AOSP, due to it changing the userland sysfs paths > from "/devices/platform/soc/1a0.mdss" to > "/devices/platform/soc@0/1a0.mdss" > > Is there a better solution here that might not break userspace? Other than doing the right thing of not relying on /sys/devices/platform/* paths, implement per target/file DTC_FLAGS similar to CFLAGS. There is another want for this in order to enable dtc symbols for overlays on a per board basis. Rob
Re: [PATCH v2 1/5] arm64: dts: qcom: sdm845: Add unit name to soc node
On Tue, Jul 23, 2019 at 9:51 PM Vinod Koul wrote: > > We get a warning about missing unit name for soc node, so add it. > > arch/arm64/boot/dts/qcom/sdm845.dtsi:623.11-2814.4: Warning > (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit > name > > Signed-off-by: Vinod Koul > Reviewed-by: Stephen Boyd > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi > b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index 601cfb078bd5..e81f4a6d08ce 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -620,7 +620,7 @@ > method = "smc"; > }; > > - soc: soc { > + soc: soc@0 { > #address-cells = <2>; > #size-cells = <2>; > ranges = <0 0 0 0 0x10 0>; So Amit Pundir noted that this patch is causing 5.4-rc to no longer boot on db845 w/ AOSP, due to it changing the userland sysfs paths from "/devices/platform/soc/1a0.mdss" to "/devices/platform/soc@0/1a0.mdss" Is there a better solution here that might not break userspace? thanks -john
Re: [PATCH v2 1/5] arm64: dts: qcom: sdm845: Add unit name to soc node
On Wed, Jul 24, 2019 at 10:20 AM Vinod Koul wrote: > > We get a warning about missing unit name for soc node, so add it. > > arch/arm64/boot/dts/qcom/sdm845.dtsi:623.11-2814.4: Warning > (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit > name > > Signed-off-by: Vinod Koul > Reviewed-by: Stephen Boyd Reviewed-by: Amit Kucheria > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi > b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index 601cfb078bd5..e81f4a6d08ce 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -620,7 +620,7 @@ > method = "smc"; > }; > > - soc: soc { > + soc: soc@0 { > #address-cells = <2>; > #size-cells = <2>; > ranges = <0 0 0 0 0x10 0>; > -- > 2.20.1 >
[PATCH v2 1/5] arm64: dts: qcom: sdm845: Add unit name to soc node
We get a warning about missing unit name for soc node, so add it. arch/arm64/boot/dts/qcom/sdm845.dtsi:623.11-2814.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name Signed-off-by: Vinod Koul Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 601cfb078bd5..e81f4a6d08ce 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -620,7 +620,7 @@ method = "smc"; }; - soc: soc { + soc: soc@0 { #address-cells = <2>; #size-cells = <2>; ranges = <0 0 0 0 0x10 0>; -- 2.20.1