Skip to contentSkip to conversation

ARM: dts: sunxi: Remove simple-panel compatible

PATCH In review Maxime Ripard 2 participants 4 messages Jul 23, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: sunxi: Remove simple-panel compatible

simple-panel based bindings need only the display compatible, and simple-panel isn't documented anywhere. Remove it.

---
 arch/arm/boot/dts/sun5i-a13-q8-tablet.dts | 2 +-
 arch/arm/boot/dts/sun8i-a23-q8-tablet.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun5i-a13-q8-tablet.dts +1 -1
index fde559a8b61e..f9fc1c8b60b8 100644
@@ -49,7 +49,7 @@
 	compatible = "allwinner,q8-a13", "allwinner,sun5i-a13";
 
 	panel: panel {
-		compatible = "bananapi,s070wv20-ct16", "simple-panel";
+		compatible = "bananapi,s070wv20-ct16";
 		power-supply = <&reg_vcc3v3>;
 		enable-gpios = <&axp_gpio 0 GPIO_ACTIVE_HIGH>; /* AXP GPIO0 */
 		backlight = <&backlight>;
arch/arm/boot/dts/sun8i-a23-q8-tablet.dts +1 -1
index 5659c63d7d77..51097c77a152 100644
@@ -63,7 +63,7 @@
 };
 
 &panel {
-	compatible = "bananapi,s070wv20-ct16", "simple-panel";
+	compatible = "bananapi,s070wv20-ct16";
 };
 
 &tcon0_out {
Signature · 7 lines
2.21.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

PATCH 2/2 ARM: dts: sunxi: Fix the HDMI PHY name

Even though the binding mentions that the PHY name must be "phy", it turns out that all our DTs had "hdmi-phy" instead.

The code doesn't care about the phy-names property, so we can just change our DTs to match the binding, without any side effect.

---
 arch/arm/boot/dts/sun8i-a83t.dtsi             | 2 +-
 arch/arm/boot/dts/sun8i-r40.dtsi              | 2 +-
 arch/arm/boot/dts/sunxi-h3-h5.dtsi            | 2 +-
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 2 +-
 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi  | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
arch/arm/boot/dts/sun8i-a83t.dtsi +1 -1
index 39748b4b0b8b..eac57623f234 100644
@@ -1036,7 +1036,7 @@
 			resets = <&ccu RST_BUS_HDMI1>;
 			reset-names = "ctrl";
 			phys = <&hdmi_phy>;
-			phy-names = "hdmi-phy";
+			phy-names = "phy";
 			pinctrl-names = "default";
 			pinctrl-0 = <&hdmi_pins>;
 			status = "disabled";
arch/arm/boot/dts/sun8i-r40.dtsi +1 -1
index 5c8cc147fe24..f1be554b5894 100644
@@ -809,7 +809,7 @@
 			resets = <&ccu RST_BUS_HDMI1>;
 			reset-names = "ctrl";
 			phys = <&hdmi_phy>;
-			phy-names = "hdmi-phy";
+			phy-names = "phy";
 			status = "disabled";
 
 			ports {
arch/arm/boot/dts/sunxi-h3-h5.dtsi +1 -1
index a7cd88fb4012..42ac027bfa48 100644
@@ -765,7 +765,7 @@
 			resets = <&ccu RST_BUS_HDMI1>;
 			reset-names = "ctrl";
 			phys = <&hdmi_phy>;
-			phy-names = "hdmi-phy";
+			phy-names = "phy";
 			status = "disabled";
 
 			ports {
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +1 -1
index 60afacfe141d..aa9897f270ba 100644
@@ -1015,7 +1015,7 @@
 			resets = <&ccu RST_BUS_HDMI1>;
 			reset-names = "ctrl";
 			phys = <&hdmi_phy>;
-			phy-names = "hdmi-phy";
+			phy-names = "phy";
 			status = "disabled";
 
 			ports {
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +1 -1
index 0f571798fc95..35942bae0a34 100644
@@ -504,7 +504,7 @@
 			resets = <&ccu RST_BUS_HDMI_SUB>, <&ccu RST_BUS_HDCP>;
 			reset-names = "ctrl", "hdcp";
 			phys = <&hdmi_phy>;
-			phy-names = "hdmi-phy";
+			phy-names = "phy";
 			pinctrl-names = "default";
 			pinctrl-0 = <&hdmi_pins>;
 			status = "disabled";
Signature · 7 lines
2.21.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] ARM: dts: sunxi: Fix the HDMI PHY name

Quoted 8 lines · Maxime Ripard

Even though the binding mentions that the PHY name must be "phy", it turns out that all our DTs had "hdmi-phy" instead.

The code doesn't care about the phy-names property, so we can just change our DTs to match the binding, without any side effect.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel