Commit 5d134abf authored by Maxime Ripard's avatar Maxime Ripard

phy: Move Allwinner A31 D-PHY driver to drivers/phy/

Now that our MIPI D-PHY driver has been converted to the phy framework,
let's move it into the drivers/phy directory.
Reviewed-by: default avatarPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/2447609da5b80f148c79b2b2a263a0e779f3e82f.1548085432.git-series.maxime.ripard@bootlin.com
parent bb3b6fcb
...@@ -45,20 +45,12 @@ config DRM_SUN6I_DSI ...@@ -45,20 +45,12 @@ config DRM_SUN6I_DSI
default MACH_SUN8I default MACH_SUN8I
select CRC_CCITT select CRC_CCITT
select DRM_MIPI_DSI select DRM_MIPI_DSI
select DRM_SUN6I_DPHY select PHY_SUN6I_MIPI_DPHY
help help
Choose this option if you want have an Allwinner SoC with Choose this option if you want have an Allwinner SoC with
MIPI-DSI support. If M is selected the module will be called MIPI-DSI support. If M is selected the module will be called
sun6i_mipi_dsi. sun6i_mipi_dsi.
config DRM_SUN6I_DPHY
tristate "Allwinner A31 MIPI D-PHY Support"
select GENERIC_PHY_MIPI_DPHY
help
Choose this option if you have an Allwinner SoC with
MIPI-DSI support. If M is selected, the module will be
called sun6i_mipi_dphy.
config DRM_SUN8I_DW_HDMI config DRM_SUN8I_DW_HDMI
tristate "Support for Allwinner version of DesignWare HDMI" tristate "Support for Allwinner version of DesignWare HDMI"
depends on DRM_SUN4I depends on DRM_SUN4I
......
...@@ -34,7 +34,6 @@ ifdef CONFIG_DRM_SUN4I_BACKEND ...@@ -34,7 +34,6 @@ ifdef CONFIG_DRM_SUN4I_BACKEND
obj-$(CONFIG_DRM_SUN4I) += sun4i-frontend.o obj-$(CONFIG_DRM_SUN4I) += sun4i-frontend.o
endif endif
obj-$(CONFIG_DRM_SUN4I_HDMI) += sun4i-drm-hdmi.o obj-$(CONFIG_DRM_SUN4I_HDMI) += sun4i-drm-hdmi.o
obj-$(CONFIG_DRM_SUN6I_DPHY) += sun6i_mipi_dphy.o
obj-$(CONFIG_DRM_SUN6I_DSI) += sun6i_mipi_dsi.o obj-$(CONFIG_DRM_SUN6I_DSI) += sun6i_mipi_dsi.o
obj-$(CONFIG_DRM_SUN8I_DW_HDMI) += sun8i-drm-hdmi.o obj-$(CONFIG_DRM_SUN8I_DW_HDMI) += sun8i-drm-hdmi.o
obj-$(CONFIG_DRM_SUN8I_MIXER) += sun8i-mixer.o obj-$(CONFIG_DRM_SUN8I_MIXER) += sun8i-mixer.o
......
...@@ -17,6 +17,18 @@ config PHY_SUN4I_USB ...@@ -17,6 +17,18 @@ config PHY_SUN4I_USB
This driver controls the entire USB PHY block, both the USB OTG This driver controls the entire USB PHY block, both the USB OTG
parts, as well as the 2 regular USB 2 host PHYs. parts, as well as the 2 regular USB 2 host PHYs.
config PHY_SUN6I_MIPI_DPHY
tristate "Allwinner A31 MIPI D-PHY Support"
depends on ARCH_SUNXI && HAS_IOMEM && OF
depends on RESET_CONTROLLER
select GENERIC_PHY
select GENERIC_PHY_MIPI_DPHY
select REGMAP_MMIO
help
Choose this option if you have an Allwinner SoC with
MIPI-DSI support. If M is selected, the module will be
called sun6i_mipi_dphy.
config PHY_SUN9I_USB config PHY_SUN9I_USB
tristate "Allwinner sun9i SoC USB PHY driver" tristate "Allwinner sun9i SoC USB PHY driver"
depends on ARCH_SUNXI && HAS_IOMEM && OF depends on ARCH_SUNXI && HAS_IOMEM && OF
......
obj-$(CONFIG_PHY_SUN4I_USB) += phy-sun4i-usb.o obj-$(CONFIG_PHY_SUN4I_USB) += phy-sun4i-usb.o
obj-$(CONFIG_PHY_SUN6I_MIPI_DPHY) += phy-sun6i-mipi-dphy.o
obj-$(CONFIG_PHY_SUN9I_USB) += phy-sun9i-usb.o obj-$(CONFIG_PHY_SUN9I_USB) += phy-sun9i-usb.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment