Dear Gregory CLEMENT, On Thu, 13 Nov 2014 12:47:46 +0100, 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. > > This commit adds a driver integrated in the generic PHY framework to > control this USB cluster feature. > > Signed-off-by: Gregory CLEMENT <gregory.clem...@free-electrons.com> > Signed-off-by: Thomas Petazzoni <thomas.petazz...@free-electrons.com> > --- > drivers/phy/Kconfig | 6 ++ > drivers/phy/Makefile | 1 + > drivers/phy/phy-armada375-usb2.c | 158 > +++++++++++++++++++++++++++++++++++++++ > include/dt-bindings/phy/phy.h | 1 + > 4 files changed, 166 insertions(+) > create mode 100644 drivers/phy/phy-armada375-usb2.c > > diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig > index 2a436e607f99..625adb0abd43 100644 > --- a/drivers/phy/Kconfig > +++ b/drivers/phy/Kconfig > @@ -21,6 +21,12 @@ config PHY_BERLIN_SATA > select GENERIC_PHY > help > Enable this to support the SATA PHY on Marvell Berlin SoCs. > +config ARMADA375_USBCLUSTER_PHY
Missing new line here. > + def_bool y > + depends on MACH_ARMADA_375 || COMPILE_TEST > + depends on OF > + select GENERIC_PHY > + > One too many new line. > + cluster_phy = dev_get_drvdata(phy->dev.parent); > + if (!cluster_phy) > + return -ENOMEM; Is ENOMEM really the appropriate error code here? Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/