On Sep 26, 2017 8:55 PM, "Shawn Lin" <shawn.lin@xxxxxxxxxxxxxx <mailto:shawn.lin@xxxxxxxxxxxxxx>> wrote:
On 2017/9/27 2:59, Atul Garg wrote:
---
 drivers/mmc/host/sdhci-pci-core.c | 372
++++++++++++++++++++++++++++++++++++++
Fundamentally maybe you need a sdhci-pci-arasan.c
And the arasan PHY isn't new here as sdhci-of-arasan already added
arasan PHY support for eMMC 5.1, but just with different register
layout and content. So could you also use generic PHY framework?
Thanks. We are doing two things adding support for Arasan PCI SDHC and PHY specific code to it integrated via a window in same PCI address space (extended).
If we correctly understand, you are suggesting to take the PHY code out as a PHY driver module similar to phy/rockchip/ and use those functions from phy framework within the sdhci-pci-core?