Skip to content

Commit 5d134ab

Browse files
committed
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: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/2447609da5b80f148c79b2b2a263a0e779f3e82f.1548085432.git-series.maxime.ripard@bootlin.com
1 parent bb3b6fc commit 5d134ab

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

drivers/gpu/drm/sun4i/Kconfig

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,12 @@ config DRM_SUN6I_DSI
4545
default MACH_SUN8I
4646
select CRC_CCITT
4747
select DRM_MIPI_DSI
48-
select DRM_SUN6I_DPHY
48+
select PHY_SUN6I_MIPI_DPHY
4949
help
5050
Choose this option if you want have an Allwinner SoC with
5151
MIPI-DSI support. If M is selected the module will be called
5252
sun6i_mipi_dsi.
5353

54-
config DRM_SUN6I_DPHY
55-
tristate "Allwinner A31 MIPI D-PHY Support"
56-
select GENERIC_PHY_MIPI_DPHY
57-
help
58-
Choose this option if you have an Allwinner SoC with
59-
MIPI-DSI support. If M is selected, the module will be
60-
called sun6i_mipi_dphy.
61-
6254
config DRM_SUN8I_DW_HDMI
6355
tristate "Support for Allwinner version of DesignWare HDMI"
6456
depends on DRM_SUN4I

drivers/gpu/drm/sun4i/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ ifdef CONFIG_DRM_SUN4I_BACKEND
3434
obj-$(CONFIG_DRM_SUN4I) += sun4i-frontend.o
3535
endif
3636
obj-$(CONFIG_DRM_SUN4I_HDMI) += sun4i-drm-hdmi.o
37-
obj-$(CONFIG_DRM_SUN6I_DPHY) += sun6i_mipi_dphy.o
3837
obj-$(CONFIG_DRM_SUN6I_DSI) += sun6i_mipi_dsi.o
3938
obj-$(CONFIG_DRM_SUN8I_DW_HDMI) += sun8i-drm-hdmi.o
4039
obj-$(CONFIG_DRM_SUN8I_MIXER) += sun8i-mixer.o

drivers/phy/allwinner/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ config PHY_SUN4I_USB
1717
This driver controls the entire USB PHY block, both the USB OTG
1818
parts, as well as the 2 regular USB 2 host PHYs.
1919

20+
config PHY_SUN6I_MIPI_DPHY
21+
tristate "Allwinner A31 MIPI D-PHY Support"
22+
depends on ARCH_SUNXI && HAS_IOMEM && OF
23+
depends on RESET_CONTROLLER
24+
select GENERIC_PHY
25+
select GENERIC_PHY_MIPI_DPHY
26+
select REGMAP_MMIO
27+
help
28+
Choose this option if you have an Allwinner SoC with
29+
MIPI-DSI support. If M is selected, the module will be
30+
called sun6i_mipi_dphy.
31+
2032
config PHY_SUN9I_USB
2133
tristate "Allwinner sun9i SoC USB PHY driver"
2234
depends on ARCH_SUNXI && HAS_IOMEM && OF

drivers/phy/allwinner/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
obj-$(CONFIG_PHY_SUN4I_USB) += phy-sun4i-usb.o
2+
obj-$(CONFIG_PHY_SUN6I_MIPI_DPHY) += phy-sun6i-mipi-dphy.o
23
obj-$(CONFIG_PHY_SUN9I_USB) += phy-sun9i-usb.o

0 commit comments

Comments
 (0)