Commit 00981d31 authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman
Browse files

staging: mt7621-pci-phy: add new driver for phy part of mt7621-pci



Phy part of the pci for this SoC can be handled using a generic phy
driver. This commit extracts phy part of the mt7621-pci into a new
'mt7621-pci-phy' driver.

Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bd7c95d4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -104,6 +104,8 @@ source "drivers/staging/pi433/Kconfig"

source "drivers/staging/mt7621-pci/Kconfig"

source "drivers/staging/mt7621-pci-phy/Kconfig"

source "drivers/staging/mt7621-pinctrl/Kconfig"

source "drivers/staging/mt7621-spi/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ obj-$(CONFIG_BCM2835_VCHIQ) += vc04_services/
obj-$(CONFIG_DRM_VBOXVIDEO)	+= vboxvideo/
obj-$(CONFIG_PI433)		+= pi433/
obj-$(CONFIG_SOC_MT7621)	+= mt7621-pci/
obj-$(CONFIG_SOC_MT7621)	+= mt7621-pci-phy/
obj-$(CONFIG_SOC_MT7621)	+= mt7621-pinctrl/
obj-$(CONFIG_SOC_MT7621)	+= mt7621-spi/
obj-$(CONFIG_SOC_MT7621)	+= mt7621-dma/
+7 −0
Original line number Diff line number Diff line
config PCI_MT7621_PHY
	tristate "MediaTek MT7621 PCI PHY Driver"
	depends on RALINK && OF
	select GENERIC_PHY
	help
	  Say 'Y' here to add support for MediaTek MT7621 PCI PHY driver,
+1 −0
Original line number Diff line number Diff line
obj-$(CONFIG_SOC_MT7621)       += pci-mt7621-phy.o
+4 −0
Original line number Diff line number Diff line

- general code review and cleanup

Cc:  NeilBrown <neil@brown.name> and Sergio Paracuellos <sergio.paracuellos@gmail.com>
Loading