Mason <slash.tmp@xxxxxxx> writes: > On 27/05/2016 20:15, Andy Gross wrote: > >> On 27 May 2016 at 11:56, Mason wrote: >> >>> How come there are so few phy drivers in drivers/phy if most >>> devices would typically require one? >> >> Short answer is that the generic phy framework is fairly recent >> (~3 years old). A lot of phys are stuck off in other places like >> drivers/usb/phy. At least that's my take on it. > > <confused> Where did the SATA phy drivers use to live? > > $ find -name phy > ./drivers/usb/phy > ./drivers/phy > ./drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy > ./drivers/net/phy > ./drivers/gpu/drm/msm/dsi/phy > ./include/linux/phy > ./include/dt-bindings/phy > ./Documentation/devicetree/bindings/phy > ./Documentation/phy > > drivers/ata/ahci.h mentions SATA phy registers. > Is AHCI standardized to the point that platform-specific PHYs > are not required? A lot of hardware, especially older, doesn't need PHY drivers since the PHY either has no settings or is configured by platform firmware. In some other cases, the PHY is tightly coupled to the SATA/USB/whatever controller and handled directly by its driver. -- Måns Rullgård -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html