[PATCH v2 1/2] phy: add lpc18xx usb otg phy driver
Kishon Vijay Abraham I
kishon at ti.com
Fri May 22 04:18:50 PDT 2015
Hi,
On Thursday 21 May 2015 09:29 PM, Joachim Eastwood wrote:
> Add PHY driver for the internal USB OTG PHY found on NXP
> LPC18xx and LPC43xx devices. This driver takes care of
> enabling the PHY in CREG (syscon) and setting the required
> clock frequency.
>
> Signed-off-by: Joachim Eastwood <manabian at gmail.com>
> ---
> drivers/phy/Kconfig | 11 +++
> drivers/phy/Makefile | 1 +
> drivers/phy/phy-lpc18xx-usb-otg.c | 143 ++++++++++++++++++++++++++++++++++++++
> 3 files changed, 155 insertions(+)
> create mode 100644 drivers/phy/phy-lpc18xx-usb-otg.c
>
> diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
> index a53bd5b52df9..e11fb9e3c760 100644
> --- a/drivers/phy/Kconfig
> +++ b/drivers/phy/Kconfig
> @@ -52,6 +52,17 @@ config PHY_EXYNOS_MIPI_VIDEO
> Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
> and EXYNOS SoCs.
>
> +config PHY_LPC18XX_USB_OTG
> + tristate "NXP LPC18xx/43xx SoC USB OTG PHY driver"
> + depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
> + select GENERIC_PHY
> + select MFD_SYSCON
using select on visible symbols should be avoided. see [1]
[1] ->
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/kbuild/kconfig-language.txt#n111
Thanks
Kishon
More information about the linux-arm-kernel
mailing list