From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] phy: Group vendor specific phy drivers
Date: Fri, 1 Apr 2016 18:35:56 +0530 [thread overview]
Message-ID: <56FE7234.5000505@ti.com> (raw)
In-Reply-To: <1459510156-9147-1-git-send-email-gautam.vivek@samsung.com>
Hi,
On Friday 01 April 2016 04:59 PM, Vivek Gautam wrote:
> Adding vendor specific directories in phy to group
> phy drivers under their respective vendor umbrella.
>
> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
> ---
>
> With growing number of phy drivers, it makes sense to
> group these drivers under their respective vendor/platform
> umbrella directory.
>
> Build-tested 'multi_v7_defconfig'.
>
> drivers/phy/Kconfig | 386 +---------------------
> drivers/phy/Makefile | 57 +---
> drivers/phy/bcom/Kconfig | 27 ++
> drivers/phy/bcom/Makefile | 3 +
> drivers/phy/{ => bcom}/phy-bcm-cygnus-pcie.c | 0
> drivers/phy/{ => bcom}/phy-bcm-kona-usb2.c | 0
> drivers/phy/{ => bcom}/phy-brcmstb-sata.c | 0
> drivers/phy/hisi/Kconfig | 20 ++
> drivers/phy/hisi/Makefile | 2 +
> drivers/phy/{ => hisi}/phy-hi6220-usb.c | 0
> drivers/phy/{ => hisi}/phy-hix5hd2-sata.c | 0
> drivers/phy/marvell/Kconfig | 50 +++
> drivers/phy/marvell/Makefile | 6 +
> drivers/phy/{ => marvell}/phy-armada375-usb2.c | 0
> drivers/phy/{ => marvell}/phy-berlin-sata.c | 0
> drivers/phy/{ => marvell}/phy-berlin-usb.c | 0
> drivers/phy/{ => marvell}/phy-mvebu-sata.c | 0
> drivers/phy/{ => marvell}/phy-pxa-28nm-hsic.c | 0
> drivers/phy/{ => marvell}/phy-pxa-28nm-usb2.c | 0
> drivers/phy/qcom/Kconfig | 23 ++
> drivers/phy/qcom/Makefile | 5 +
> drivers/phy/{ => qcom}/phy-qcom-apq8064-sata.c | 0
> drivers/phy/{ => qcom}/phy-qcom-ipq806x-sata.c | 0
> drivers/phy/{ => qcom}/phy-qcom-ufs-i.h | 0
> drivers/phy/{ => qcom}/phy-qcom-ufs-qmp-14nm.c | 0
> drivers/phy/{ => qcom}/phy-qcom-ufs-qmp-14nm.h | 0
> drivers/phy/{ => qcom}/phy-qcom-ufs-qmp-20nm.c | 0
> drivers/phy/{ => qcom}/phy-qcom-ufs-qmp-20nm.h | 0
> drivers/phy/{ => qcom}/phy-qcom-ufs.c | 0
> drivers/phy/rcar/Kconfig | 16 +
> drivers/phy/rcar/Makefile | 2 +
> drivers/phy/{ => rcar}/phy-rcar-gen2.c | 0
> drivers/phy/{ => rcar}/phy-rcar-gen3-usb2.c | 0
> drivers/phy/rockchip/Kconfig | 23 ++
> drivers/phy/rockchip/Makefile | 3 +
> drivers/phy/{ => rockchip}/phy-rockchip-dp.c | 0
> drivers/phy/{ => rockchip}/phy-rockchip-emmc.c | 0
> drivers/phy/{ => rockchip}/phy-rockchip-usb.c | 0
> drivers/phy/samsung/Kconfig | 87 +++++
> drivers/phy/samsung/Makefile | 10 +
> drivers/phy/{ => samsung}/phy-exynos-dp-video.c | 0
> drivers/phy/{ => samsung}/phy-exynos-mipi-video.c | 0
> drivers/phy/{ => samsung}/phy-exynos4210-usb2.c | 0
> drivers/phy/{ => samsung}/phy-exynos4x12-usb2.c | 0
> drivers/phy/{ => samsung}/phy-exynos5-usbdrd.c | 0
> drivers/phy/{ => samsung}/phy-exynos5250-sata.c | 0
> drivers/phy/{ => samsung}/phy-exynos5250-usb2.c | 0
> drivers/phy/{ => samsung}/phy-s5pv210-usb2.c | 0
> drivers/phy/{ => samsung}/phy-samsung-usb2.c | 0
> drivers/phy/{ => samsung}/phy-samsung-usb2.h | 0
> drivers/phy/st/Kconfig | 51 +++
> drivers/phy/st/Makefile | 6 +
> drivers/phy/{ => st}/phy-miphy28lp.c | 0
> drivers/phy/{ => st}/phy-miphy365x.c | 0
> drivers/phy/{ => st}/phy-spear1310-miphy.c | 0
> drivers/phy/{ => st}/phy-spear1340-miphy.c | 0
> drivers/phy/{ => st}/phy-stih407-usb.c | 0
> drivers/phy/{ => st}/phy-stih41x-usb.c | 0
> drivers/phy/sunxi/Kconfig | 28 ++
> drivers/phy/sunxi/Makefile | 2 +
> drivers/phy/{ => sunxi}/phy-sun4i-usb.c | 0
> drivers/phy/{ => sunxi}/phy-sun9i-usb.c | 0
> drivers/phy/ti/Kconfig | 67 ++++
> drivers/phy/ti/Makefile | 6 +
> drivers/phy/{ => ti}/phy-dm816x-usb.c | 0
> drivers/phy/{ => ti}/phy-omap-control.c | 0
> drivers/phy/{ => ti}/phy-omap-usb2.c | 0
> drivers/phy/{ => ti}/phy-ti-pipe3.c | 0
> drivers/phy/{ => ti}/phy-tusb1210.c | 0
> drivers/phy/{ => ti}/phy-twl4030-usb.c | 0
> drivers/phy/{ => ti}/ulpi_phy.h | 0
ulpi_phy.h is not specific to TI though at this point tusb1210 is the only ULPI
driver.
> 71 files changed, 464 insertions(+), 416 deletions(-)
> create mode 100644 drivers/phy/bcom/Kconfig
> create mode 100644 drivers/phy/bcom/Makefile
> rename drivers/phy/{ => bcom}/phy-bcm-cygnus-pcie.c (100%)
> rename drivers/phy/{ => bcom}/phy-bcm-kona-usb2.c (100%)
> rename drivers/phy/{ => bcom}/phy-brcmstb-sata.c (100%)
> create mode 100644 drivers/phy/hisi/Kconfig
> create mode 100644 drivers/phy/hisi/Makefile
> rename drivers/phy/{ => hisi}/phy-hi6220-usb.c (100%)
> rename drivers/phy/{ => hisi}/phy-hix5hd2-sata.c (100%)
> create mode 100644 drivers/phy/marvell/Kconfig
> create mode 100644 drivers/phy/marvell/Makefile
> rename drivers/phy/{ => marvell}/phy-armada375-usb2.c (100%)
> rename drivers/phy/{ => marvell}/phy-berlin-sata.c (100%)
> rename drivers/phy/{ => marvell}/phy-berlin-usb.c (100%)
> rename drivers/phy/{ => marvell}/phy-mvebu-sata.c (100%)
> rename drivers/phy/{ => marvell}/phy-pxa-28nm-hsic.c (100%)
> rename drivers/phy/{ => marvell}/phy-pxa-28nm-usb2.c (100%)
> create mode 100644 drivers/phy/qcom/Kconfig
> create mode 100644 drivers/phy/qcom/Makefile
> rename drivers/phy/{ => qcom}/phy-qcom-apq8064-sata.c (100%)
> rename drivers/phy/{ => qcom}/phy-qcom-ipq806x-sata.c (100%)
> rename drivers/phy/{ => qcom}/phy-qcom-ufs-i.h (100%)
> rename drivers/phy/{ => qcom}/phy-qcom-ufs-qmp-14nm.c (100%)
> rename drivers/phy/{ => qcom}/phy-qcom-ufs-qmp-14nm.h (100%)
> rename drivers/phy/{ => qcom}/phy-qcom-ufs-qmp-20nm.c (100%)
> rename drivers/phy/{ => qcom}/phy-qcom-ufs-qmp-20nm.h (100%)
> rename drivers/phy/{ => qcom}/phy-qcom-ufs.c (100%)
> create mode 100644 drivers/phy/rcar/Kconfig
> create mode 100644 drivers/phy/rcar/Makefile
> rename drivers/phy/{ => rcar}/phy-rcar-gen2.c (100%)
> rename drivers/phy/{ => rcar}/phy-rcar-gen3-usb2.c (100%)
> create mode 100644 drivers/phy/rockchip/Kconfig
> create mode 100644 drivers/phy/rockchip/Makefile
> rename drivers/phy/{ => rockchip}/phy-rockchip-dp.c (100%)
> rename drivers/phy/{ => rockchip}/phy-rockchip-emmc.c (100%)
> rename drivers/phy/{ => rockchip}/phy-rockchip-usb.c (100%)
> create mode 100644 drivers/phy/samsung/Kconfig
> create mode 100644 drivers/phy/samsung/Makefile
> rename drivers/phy/{ => samsung}/phy-exynos-dp-video.c (100%)
> rename drivers/phy/{ => samsung}/phy-exynos-mipi-video.c (100%)
> rename drivers/phy/{ => samsung}/phy-exynos4210-usb2.c (100%)
> rename drivers/phy/{ => samsung}/phy-exynos4x12-usb2.c (100%)
> rename drivers/phy/{ => samsung}/phy-exynos5-usbdrd.c (100%)
> rename drivers/phy/{ => samsung}/phy-exynos5250-sata.c (100%)
> rename drivers/phy/{ => samsung}/phy-exynos5250-usb2.c (100%)
> rename drivers/phy/{ => samsung}/phy-s5pv210-usb2.c (100%)
> rename drivers/phy/{ => samsung}/phy-samsung-usb2.c (100%)
> rename drivers/phy/{ => samsung}/phy-samsung-usb2.h (100%)
> create mode 100644 drivers/phy/st/Kconfig
> create mode 100644 drivers/phy/st/Makefile
> rename drivers/phy/{ => st}/phy-miphy28lp.c (100%)
> rename drivers/phy/{ => st}/phy-miphy365x.c (100%)
> rename drivers/phy/{ => st}/phy-spear1310-miphy.c (100%)
> rename drivers/phy/{ => st}/phy-spear1340-miphy.c (100%)
> rename drivers/phy/{ => st}/phy-stih407-usb.c (100%)
> rename drivers/phy/{ => st}/phy-stih41x-usb.c (100%)
> create mode 100644 drivers/phy/sunxi/Kconfig
> create mode 100644 drivers/phy/sunxi/Makefile
> rename drivers/phy/{ => sunxi}/phy-sun4i-usb.c (100%)
> rename drivers/phy/{ => sunxi}/phy-sun9i-usb.c (100%)
> create mode 100644 drivers/phy/ti/Kconfig
> create mode 100644 drivers/phy/ti/Makefile
> rename drivers/phy/{ => ti}/phy-dm816x-usb.c (100%)
> rename drivers/phy/{ => ti}/phy-omap-control.c (100%)
> rename drivers/phy/{ => ti}/phy-omap-usb2.c (100%)
> rename drivers/phy/{ => ti}/phy-ti-pipe3.c (100%)
> rename drivers/phy/{ => ti}/phy-tusb1210.c (100%)
> rename drivers/phy/{ => ti}/phy-twl4030-usb.c (100%)
> rename drivers/phy/{ => ti}/ulpi_phy.h (100%)
>
> diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
> index 26566db..80c8c68 100644
> --- a/drivers/phy/Kconfig
> +++ b/drivers/phy/Kconfig
> @@ -15,45 +15,6 @@ config GENERIC_PHY
> phy users can obtain reference to the PHY. All the users of this
> framework should select this config.
>
> +menuconfig PHY_PLAT
> + bool "Platform Phy drivers"
Not really convinced about adding a new config here. This will create new
dependencies and will also start breaking users of oldconfig.
Also not all of them are platform drivers (e.g ULPI PHY drivers).
Thanks
Kishon
next prev parent reply other threads:[~2016-04-01 13:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-01 11:29 [PATCH 1/2] phy: Group vendor specific phy drivers Vivek Gautam
2016-04-01 11:29 ` [PATCH 2/2] arm: mach-spear: Enable PHY_PLAT to meet dependency Vivek Gautam
2016-04-01 11:42 ` Viresh Kumar
2016-04-01 11:39 ` [PATCH 1/2] phy: Group vendor specific phy drivers Viresh Kumar
2016-04-01 12:52 ` Vivek Gautam
2016-04-01 11:42 ` Maxime Ripard
2016-04-01 12:51 ` Vivek Gautam
2016-04-01 13:05 ` Kishon Vijay Abraham I [this message]
2016-04-01 13:35 ` Vivek Gautam
2016-04-06 12:51 ` Kishon Vijay Abraham I
2016-04-06 13:48 ` Vivek Gautam
2016-04-01 15:16 ` Heiko Stuebner
2016-04-01 15:31 ` kbuild test robot
2016-04-05 4:54 ` Vivek Gautam
2016-04-03 6:05 ` Krzysztof Kozlowski
2016-04-05 4:52 ` Vivek Gautam
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=56FE7234.5000505@ti.com \
--to=kishon@ti.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).