arm: dts: qcom: fix missing #phy-cells for apq8064

Message ID 20171109225422.14280-1-robh@kernel.org
State New
Headers show
Series
  • arm: dts: qcom: fix missing #phy-cells for apq8064
Related show

Commit Message

Rob Herring Nov. 9, 2017, 10:54 p.m.
Fix dtc warnings for missing #phy-cells for apq8064:

Warning (phys_property): Missing property '#phy-cells' in node /soc/dsi-phy@4700200 or bad phandle (referred from /soc/mdss_dsi@4700000:phys[0])
Warning (phys_property): Missing property '#phy-cells' in node /soc/hdmi-phy@4a00400 or bad phandle (referred from /soc/hdmi-tx@4a00000:phys[0])

Cc: Andy Gross <andy.gross@linaro.org>
Cc: David Brown <david.brown@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>

---
 arch/arm/boot/dts/qcom-apq8064.dtsi | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Arnd Bergmann Dec. 7, 2017, 2:43 p.m. | #1
On Thu, Nov 9, 2017 at 11:54 PM, Rob Herring <robh@kernel.org> wrote:
> Fix dtc warnings for missing #phy-cells for apq8064:

>

> Warning (phys_property): Missing property '#phy-cells' in node /soc/dsi-phy@4700200 or bad phandle (referred from /soc/mdss_dsi@4700000:phys[0])

> Warning (phys_property): Missing property '#phy-cells' in node /soc/hdmi-phy@4a00400 or bad phandle (referred from /soc/hdmi-tx@4a00000:phys[0])

>

> Cc: Andy Gross <andy.gross@linaro.org>

> Cc: David Brown <david.brown@linaro.org>

> Cc: linux-arm-msm@vger.kernel.org

> Signed-off-by: Rob Herring <robh@kernel.org>


Applied to fixes, thanks!

       Anrd
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Arnd Bergmann Dec. 7, 2017, 2:53 p.m. | #2
On Thu, Dec 7, 2017 at 3:43 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Thu, Nov 9, 2017 at 11:54 PM, Rob Herring <robh@kernel.org> wrote:

>> Fix dtc warnings for missing #phy-cells for apq8064:

>>

>> Warning (phys_property): Missing property '#phy-cells' in node /soc/dsi-phy@4700200 or bad phandle (referred from /soc/mdss_dsi@4700000:phys[0])

>> Warning (phys_property): Missing property '#phy-cells' in node /soc/hdmi-phy@4a00400 or bad phandle (referred from /soc/hdmi-tx@4a00000:phys[0])

>>

>> Cc: Andy Gross <andy.gross@linaro.org>

>> Cc: David Brown <david.brown@linaro.org>

>> Cc: linux-arm-msm@vger.kernel.org

>> Signed-off-by: Rob Herring <robh@kernel.org>

>

> Applied to fixes, thanks!


This was apparently already there, I took it out again, as applying it
twice resulted in build failure :(

       Arnd
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index f3db185a6809..a2b030d08fc5 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -1263,6 +1263,7 @@ 
 		dsi0_phy: dsi-phy@4700200 {
 			compatible = "qcom,dsi-phy-28nm-8960";
 			#clock-cells = <1>;
+			#phy-cells = <0>;
 
 			reg = <0x04700200 0x100>,
 				<0x04700300 0x200>,
@@ -1414,6 +1415,7 @@ 
 			      <0x4a00500 0x100>;
 			reg-names = "hdmi_phy",
 				    "hdmi_pll";
+			#phy-cells = <0>;
 
 			clocks = <&mmcc HDMI_S_AHB_CLK>;
 			clock-names = "slave_iface_clk";