mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
Since this phy is shared by multiple devices including USB and PCIe, it is necessary to determine which device use this phy. This patch adds SoC-dependent functions to determine a device using this phy. When there is 'socionext,syscon' property in the pcie-phy node, the driver calls SoC-dependt function instead of checking .has_syscon in SoC-dependent data. The function configures the system controller to use phy for PCIe. Signed-off-by: Kunihiko Hayashi <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>