diff mbox series

ARM: dts: apq8064: adjust dsi node name to match dt-schema

Message ID 20211225131357.13751-1-david@ixit.cz (mailing list archive)
State Accepted
Headers show
Series ARM: dts: apq8064: adjust dsi node name to match dt-schema | expand

Commit Message

David Heidelberg Dec. 25, 2021, 1:13 p.m. UTC
Adjust node naming to match requirements from dt-schema.
Also add only and default required PHY name "dsi" to the node.

Fixes warnings generated by `make qcom-apq8064-asus-nexus7-flo.dtb`:
arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: mdss_dsi@4700000: $nodename:0: 'mdss_dsi@4700000' does not match '^dsi(@.*)?$'
	From schema: Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml

Signed-off-by: David Heidelberg <david@ixit.cz>
---
 arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts  | 2 +-
 arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts | 2 +-
 arch/arm/boot/dts/qcom-apq8064.dtsi                 | 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

Comments

Bjorn Andersson Feb. 1, 2022, 5:19 a.m. UTC | #1
On Sat, 25 Dec 2021 14:13:56 +0100, David Heidelberg wrote:
> Adjust node naming to match requirements from dt-schema.
> Also add only and default required PHY name "dsi" to the node.
> 
> Fixes warnings generated by `make qcom-apq8064-asus-nexus7-flo.dtb`:
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: mdss_dsi@4700000: $nodename:0: 'mdss_dsi@4700000' does not match '^dsi(@.*)?$'
> 	From schema: Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
> 
> [...]

Applied, thanks!

[1/1] ARM: dts: apq8064: adjust dsi node name to match dt-schema
      commit: af7a84eb9f923f8380a00b2e3a6adf2361e3ee19

Best regards,
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
index 03010c4818a5..e02428f5ffb1 100644
--- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
@@ -244,7 +244,7 @@  mdp_dsi1_out: endpoint {
 			};
 		};
 
-		dsi0: mdss_dsi@4700000 {
+		dsi0: dsi@4700000 {
 			status = "okay";
 			vdda-supply = <&pm8921_l2>;/*VDD_MIPI1 to 4*/
 			vdd-supply = <&pm8921_l8>;
diff --git a/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts b/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts
index b1b914a229ce..2f1b8f86e8d9 100644
--- a/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts
@@ -345,7 +345,7 @@  mdp_dsi1_out: endpoint {
 		};
 
 
-		dsi0: mdss_dsi@4700000 {
+		dsi0: dsi@4700000 {
 			status = "okay";
 			vdda-supply = <&pm8921_l2>;/*VDD_MIPI1 to 4*/
 			//vdd-supply = <&pm8921_l8>;
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 7e623aca224d..5ae14c564c30 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -1239,7 +1239,7 @@  mmss_sfpb: syscon@5700000 {
 			reg = <0x5700000 0x70>;
 		};
 
-		dsi0: mdss_dsi@4700000 {
+		dsi0: dsi@4700000 {
 			compatible = "qcom,mdss-dsi-ctrl";
 			label = "MDSS DSI CTRL->0";
 			#address-cells = <1>;
@@ -1269,6 +1269,7 @@  dsi0: mdss_dsi@4700000 {
 						<&dsi0_phy 1>;
 			syscon-sfpb = <&mmss_sfpb>;
 			phys = <&dsi0_phy>;
+			phy-names = "dsi";
 			ports {
 				#address-cells = <1>;
 				#size-cells = <0>;