Skip to content

Commit 82c56b6

Browse files
Richard Zhuvinodkoul
authored andcommitted
phy: freescale: imx8qm-hsio: Add i.MX8QM HSIO PHY driver support
Add i.MX8QM HSIO PHY driver support. i.MX8QM HSIO has three lane PHY instances, and can be bound to the following controllers in the different use cases listed in below table. - two lanes capable PCIEA controller. - one lane PCIEB controller. - AHCI SATA controller. i.MX8QM HSIO PHYs support the following use cases. +----------------------------------------------------+ | | Lane0| Lane1| Lane2| |-------------------------------|------|------|------| | use case 1: PCIEAX2SATA | PCIEA| PCIEA| SATA | |-------------------------------|------|------|------| | use case 2: PCIEAX2PCIEB | PCIEA| PCIEA| PCIEB| |-------------------------------|------|------|------| | use case 3: PCIEAPCIEBSATA | PCIEA| PCIEB| SATA | +----------------------------------------------------+ Signed-off-by: Richard Zhu <[email protected]> Reviewed-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 7c46101 commit 82c56b6

File tree

3 files changed

+619
-1
lines changed

3 files changed

+619
-1
lines changed

drivers/phy/freescale/Kconfig

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,19 @@ config PHY_FSL_IMX8M_PCIE
3535
Enable this to add support for the PCIE PHY as found on
3636
i.MX8M family of SOCs.
3737

38+
config PHY_FSL_IMX8QM_HSIO
39+
tristate "Freescale i.MX8QM HSIO PHY"
40+
depends on OF && HAS_IOMEM
41+
select GENERIC_PHY
42+
help
43+
Enable this to add support for the HSIO PHY as found on
44+
i.MX8QM family of SOCs.
45+
3846
config PHY_FSL_SAMSUNG_HDMI_PHY
3947
tristate "Samsung HDMI PHY support"
4048
depends on OF && HAS_IOMEM && COMMON_CLK
4149
help
4250
Enable this to add support for the Samsung HDMI PHY in i.MX8MP.
43-
4451
endif
4552

4653
config PHY_FSL_LYNX_28G

drivers/phy/freescale/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ obj-$(CONFIG_PHY_FSL_IMX8MQ_USB) += phy-fsl-imx8mq-usb.o
33
obj-$(CONFIG_PHY_MIXEL_LVDS_PHY) += phy-fsl-imx8qm-lvds-phy.o
44
obj-$(CONFIG_PHY_MIXEL_MIPI_DPHY) += phy-fsl-imx8-mipi-dphy.o
55
obj-$(CONFIG_PHY_FSL_IMX8M_PCIE) += phy-fsl-imx8m-pcie.o
6+
obj-$(CONFIG_PHY_FSL_IMX8QM_HSIO) += phy-fsl-imx8qm-hsio.o
67
obj-$(CONFIG_PHY_FSL_LYNX_28G) += phy-fsl-lynx-28g.o
78
obj-$(CONFIG_PHY_FSL_SAMSUNG_HDMI_PHY) += phy-fsl-samsung-hdmi.o

0 commit comments

Comments
 (0)