linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Kukjin Kim <kgene@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>, Tejun Heo <tj@kernel.org>,
	Sylwester Nawrocki <s.nawrocki@samsung.com>,
	Tomasz Figa <tomasz.figa@gmail.com>,
	Chanwoo Choi <cw00.choi@samsung.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	Zhang Rui <rui.zhang@intel.com>,
	Eduardo Valentin <edubezval@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	Hans de Goede <hdegoede@redhat.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Andi Shyti <andi@etezian.org>, Mark Brown <broonie@kernel.org>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	Alan Stern <stern@rowland.harvard.edu>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org,
	linux-clk@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-i2c@vger.kernel.org, linux-gpio@vger.kernel.org,
	linux-spi@vger.kernel.org, linux-usb@vger.kernel.org
Cc: Marek Szyprowski <m.szyprowski@samsung.com>,
	Arnd Bergmann <arnd@arndb.de>, Olof Johansson <olof@lixom.net>,
	Jaehoon Chung <jh80.chung@samsung.com>
Subject: [RFC 09/10] usb: host: exynos: Remove support for Exynos5440
Date: Tue, 24 Apr 2018 22:32:38 +0200	[thread overview]
Message-ID: <20180424203239.21885-10-krzk@kernel.org> (raw)
In-Reply-To: <20180424203239.21885-1-krzk@kernel.org>

The Exynos5440 is not actively developed, there are no development
boards available and probably there are no real products with it.
Remove wide-tree support for Exynos5440.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/usb/host/ehci-exynos.c | 7 -------
 drivers/usb/host/ohci-exynos.c | 6 ------
 2 files changed, 13 deletions(-)

diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c
index d9145a8f35d2..8e3bab1e0c1f 100644
--- a/drivers/usb/host/ehci-exynos.c
+++ b/drivers/usb/host/ehci-exynos.c
@@ -161,16 +161,10 @@ static int exynos_ehci_probe(struct platform_device *pdev)
 	}
 	exynos_ehci = to_exynos_ehci(hcd);
 
-	if (of_device_is_compatible(pdev->dev.of_node,
-					"samsung,exynos5440-ehci"))
-		goto skip_phy;
-
 	err = exynos_ehci_get_phy(&pdev->dev, exynos_ehci);
 	if (err)
 		goto fail_clk;
 
-skip_phy:
-
 	exynos_ehci->clk = devm_clk_get(&pdev->dev, "usbhost");
 
 	if (IS_ERR(exynos_ehci->clk)) {
@@ -304,7 +298,6 @@ static const struct dev_pm_ops exynos_ehci_pm_ops = {
 #ifdef CONFIG_OF
 static const struct of_device_id exynos_ehci_match[] = {
 	{ .compatible = "samsung,exynos4210-ehci" },
-	{ .compatible = "samsung,exynos5440-ehci" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, exynos_ehci_match);
diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c
index a39fae41bc70..c0c4dcca6f3c 100644
--- a/drivers/usb/host/ohci-exynos.c
+++ b/drivers/usb/host/ohci-exynos.c
@@ -130,15 +130,10 @@ static int exynos_ohci_probe(struct platform_device *pdev)
 
 	exynos_ohci = to_exynos_ohci(hcd);
 
-	if (of_device_is_compatible(pdev->dev.of_node,
-					"samsung,exynos5440-ohci"))
-		goto skip_phy;
-
 	err = exynos_ohci_get_phy(&pdev->dev, exynos_ohci);
 	if (err)
 		goto fail_clk;
 
-skip_phy:
 	exynos_ohci->clk = devm_clk_get(&pdev->dev, "usbhost");
 
 	if (IS_ERR(exynos_ohci->clk)) {
@@ -270,7 +265,6 @@ static const struct dev_pm_ops exynos_ohci_pm_ops = {
 #ifdef CONFIG_OF
 static const struct of_device_id exynos_ohci_match[] = {
 	{ .compatible = "samsung,exynos4210-ohci" },
-	{ .compatible = "samsung,exynos5440-ohci" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, exynos_ohci_match);
-- 
2.14.1


  parent reply	other threads:[~2018-04-24 20:34 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-24 20:32 [RFC 00/10] ARM: Remove support for Exynos5440 Krzysztof Kozlowski
2018-04-24 20:32 ` [RFC 01/10] ARM: dts: exynos: Remove Exynos5440 Krzysztof Kozlowski
2018-04-26  4:31   ` andi
2018-05-01 14:07   ` Rob Herring
2018-05-02 17:07   ` Krzysztof Kozlowski
2018-04-24 20:32 ` [RFC 02/10] ata: ahci-platform: Remove support for Exynos5440 Krzysztof Kozlowski
2018-05-01 14:08   ` Rob Herring
2018-04-24 20:32 ` [RFC 03/10] cpufreq: exynos: " Krzysztof Kozlowski
2018-04-25  2:48   ` Viresh Kumar
2018-04-26  1:05   ` Chanwoo Choi
2018-05-01 14:08   ` Rob Herring
2018-04-24 20:32 ` [RFC 04/10] clk: samsung: " Krzysztof Kozlowski
2018-04-25 12:49   ` Sylwester Nawrocki
2018-04-26  0:58   ` Chanwoo Choi
2018-05-01 22:01   ` Stephen Boyd
2018-04-24 20:32 ` [RFC 05/10] i2c: s3c2410: " Krzysztof Kozlowski
2018-04-25 12:56   ` Sylwester Nawrocki
2018-04-26  4:33   ` andi
2018-04-28 12:44   ` Wolfram Sang
2018-04-24 20:32 ` [RFC 06/10] thermal: samsung: " Krzysztof Kozlowski
2018-04-25 10:42   ` Bartlomiej Zolnierkiewicz
2018-04-25 13:18   ` Bartlomiej Zolnierkiewicz
     [not found]     ` <CGME20180426112113eucas1p1b5bf6f093442154e29f5541b4aba6b00@eucas1p1.samsung.com>
2018-04-26 11:21       ` [PATCH] " Bartlomiej Zolnierkiewicz
2018-05-01 14:45         ` Rob Herring
2018-04-26  1:41   ` [RFC 06/10] " Chanwoo Choi
2018-04-26  7:59     ` Krzysztof Kozlowski
2018-04-24 20:32 ` [RFC 07/10] pinctrl: " Krzysztof Kozlowski
2018-04-26  1:15   ` Chanwoo Choi
2018-05-02 17:09   ` Krzysztof Kozlowski
2018-04-24 20:32 ` [RFC 08/10] spi: s3c64xx: " Krzysztof Kozlowski
2018-04-25 12:49   ` Sylwester Nawrocki
2018-04-25 12:55     ` Krzysztof Kozlowski
2018-04-26  4:35   ` andi
2018-04-24 20:32 ` Krzysztof Kozlowski [this message]
2018-04-25 12:04   ` [RFC 09/10] usb: host: exynos: " Greg Kroah-Hartman
2018-04-24 20:32 ` [RFC 10/10] ARM: " Krzysztof Kozlowski
2018-05-02 17:07   ` Krzysztof Kozlowski
2018-04-24 20:50 ` [RFC 00/10] ARM: " Arnd Bergmann
2018-04-24 20:56   ` Krzysztof Kozlowski
2018-04-24 21:12     ` Arnd Bergmann

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=20180424203239.21885-10-krzk@kernel.org \
    --to=krzk@kernel.org \
    --cc=andi@etezian.org \
    --cc=arnd@arndb.de \
    --cc=b.zolnierkie@samsung.com \
    --cc=broonie@kernel.org \
    --cc=cw00.choi@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=edubezval@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hdegoede@redhat.com \
    --cc=jh80.chung@samsung.com \
    --cc=kgene@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=m.szyprowski@samsung.com \
    --cc=mark.rutland@arm.com \
    --cc=mturquette@baylibre.com \
    --cc=olof@lixom.net \
    --cc=rjw@rjwysocki.net \
    --cc=robh+dt@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=s.nawrocki@samsung.com \
    --cc=sboyd@kernel.org \
    --cc=stern@rowland.harvard.edu \
    --cc=tj@kernel.org \
    --cc=tomasz.figa@gmail.com \
    --cc=viresh.kumar@linaro.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).