From mboxrd@z Thu Jan 1 00:00:00 1970 From: b.zolnierkie@samsung.com (Bartlomiej Zolnierkiewicz) Date: Tue, 06 May 2014 13:37:04 +0200 Subject: [PATCH v3 17/20] phy: Add support for USB cluster on the Armada 375 SoC In-Reply-To: <1399335255-589-18-git-send-email-gregory.clement@free-electrons.com> References: <1399335255-589-1-git-send-email-gregory.clement@free-electrons.com> <1399335255-589-18-git-send-email-gregory.clement@free-electrons.com> Message-ID: <2511421.HV0z8e3QV0@amdc1032> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On Tuesday, May 06, 2014 02:14:12 AM Gregory CLEMENT wrote: > The Armada 375 SoC comes with an USB2 host and device controller and > an USB3 controller. The USB cluster control register allows to manage > common features of both USB controllers. It uses the generic PHY > framework > > Signed-off-by: Gregory CLEMENT > --- > drivers/phy/Kconfig | 5 ++ > drivers/phy/Makefile | 1 + > drivers/phy/phy-armada375-usb2.c | 154 +++++++++++++++++++++++++++++++++++++++ > 3 files changed, 160 insertions(+) > create mode 100644 drivers/phy/phy-armada375-usb2.c > > diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig > index 3bb05f17b9b4..cdf3e2c24e3a 100644 > --- a/drivers/phy/Kconfig > +++ b/drivers/phy/Kconfig > @@ -15,6 +15,11 @@ config GENERIC_PHY > phy users can obtain reference to the PHY. All the users of this > framework should select this config. > > +config ARMADA375_USBCLUSTER_PHY > + def_bool y > + depends on OF Please limit this driver to Armada 375 or compile testing, i.e. add additional depends on (ARCH_MVEBU && MACH_ARMADA_375) || COMPILE_TEST > + select GENERIC_PHY > + > config PHY_EXYNOS_MIPI_VIDEO > tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver" > depends on HAS_IOMEM Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics