linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hdegoede@redhat.com (Hans de Goede)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/7] ARM: dts: sun5i: Stop using different compatibles for ehci/ohci on a13 vs a10s
Date: Sat,  7 Mar 2015 20:01:19 +0100	[thread overview]
Message-ID: <1425754884-7875-2-git-send-email-hdegoede@redhat.com> (raw)
In-Reply-To: <1425754884-7875-1-git-send-email-hdegoede@redhat.com>

The A13 and the A10s use the same die (this has been confirmed by Allwinner),
as such there is no need to differentiate between the ehci/ohci parts of both,
the only reasons there were different allwinner,sun5i-a*-foo compatible
between these 2 parts is costemetically and because we could when we still
had 2 completely different dtsi files.

The allwinner,sun5i-a*-foo compatible strings are not used for binding at all,
the actual driver binds to the generic-?hci compatible, so we can safely remove
this cosmetical difference and simplify the dtsi files.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 arch/arm/boot/dts/sun5i-a10s.dtsi | 8 --------
 arch/arm/boot/dts/sun5i-a13.dtsi  | 8 --------
 arch/arm/boot/dts/sun5i.dtsi      | 2 ++
 3 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
index ef516db..a78c95d 100644
--- a/arch/arm/boot/dts/sun5i-a10s.dtsi
+++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
@@ -157,14 +157,6 @@
 	};
 };
 
-&ehci0 {
-	compatible = "allwinner,sun5i-a10s-ehci", "generic-ehci";
-};
-
-&ohci0 {
-	compatible = "allwinner,sun5i-a10s-ohci", "generic-ohci";
-};
-
 &pio {
 	compatible = "allwinner,sun5i-a10s-pinctrl";
 
diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
index 5d9ce84..136158f 100644
--- a/arch/arm/boot/dts/sun5i-a13.dtsi
+++ b/arch/arm/boot/dts/sun5i-a13.dtsi
@@ -153,14 +153,6 @@
 	cooling-max-level = <6>;
 };
 
-&ehci0 {
-	compatible = "allwinner,sun5i-a13-ehci", "generic-ehci";
-};
-
-&ohci0 {
-	compatible = "allwinner,sun5i-a13-ohci", "generic-ohci";
-};
-
 &pio {
 	compatible = "allwinner,sun5i-a13-pinctrl";
 
diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi
index 610ea18..416c4de 100644
--- a/arch/arm/boot/dts/sun5i.dtsi
+++ b/arch/arm/boot/dts/sun5i.dtsi
@@ -392,6 +392,7 @@
 		};
 
 		ehci0: usb at 01c14000 {
+			compatible = "allwinner,sun5i-a13-ehci", "generic-ehci";
 			reg = <0x01c14000 0x100>;
 			interrupts = <39>;
 			clocks = <&ahb_gates 1>;
@@ -401,6 +402,7 @@
 		};
 
 		ohci0: usb at 01c14400 {
+			compatible = "allwinner,sun5i-a13-ohci", "generic-ohci";
 			reg = <0x01c14400 0x100>;
 			interrupts = <40>;
 			clocks = <&usb_clk 6>, <&ahb_gates 2>;
-- 
2.3.1

  reply	other threads:[~2015-03-07 19:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-07 19:01 [PATCH 1/7] ARM: dts: sun4i: Enable tablet keys on Chuwi V7 CW0825 Hans de Goede
2015-03-07 19:01 ` Hans de Goede [this message]
2015-03-08 17:19   ` [PATCH 2/7] ARM: dts: sun5i: Stop using different compatibles for ehci/ohci on a13 vs a10s Maxime Ripard
2015-03-07 19:01 ` [PATCH 3/7] ARM: dts: sun5i: Add mmc2 pinmux settings Hans de Goede
2015-03-08 17:19   ` Maxime Ripard
2015-03-07 19:01 ` [PATCH 4/7] ARM: dts: sun5i: Add new Auxtek-t004 board Hans de Goede
2015-03-08 17:21   ` Maxime Ripard
2015-03-08 19:15     ` Hans de Goede
2015-03-09 14:53       ` Maxime Ripard
2015-03-07 19:01 ` [PATCH 5/7] ARM: dts: sun5i: Add new Utoo P66 board Hans de Goede
2015-03-08 17:22   ` Maxime Ripard
2015-03-07 19:01 ` [PATCH 6/7] ARM: dts: sun7i: Add OOB irq support to boards with broadcom sdio wifi Hans de Goede
2015-03-08  2:40   ` [linux-sunxi] " Chen-Yu Tsai
2015-03-08  3:12   ` Chen-Yu Tsai
2015-03-08 11:25     ` Hans de Goede
2015-03-08 17:25   ` Maxime Ripard
2015-03-08 19:19     ` Hans de Goede
2015-03-07 19:01 ` [PATCH 7/7] ARM: dts: sun7i: Enable cap-sdio-irq for bananapro " Hans de Goede
2015-03-08  2:42   ` [linux-sunxi] " Chen-Yu Tsai
2015-03-08 11:27     ` Hans de Goede
2015-03-08 17:26       ` Maxime Ripard
2015-03-08 17:18 ` [PATCH 1/7] ARM: dts: sun4i: Enable tablet keys on Chuwi V7 CW0825 Maxime Ripard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425754884-7875-2-git-send-email-hdegoede@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).