diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2020-01-30 07:52:45 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2020-03-20 15:04:29 +0100 |
commit | 6861781a807aae5fbabf95bd396e1c20f05cf4fb (patch) | |
tree | 8b78b695902dd80e3d24995d665a047ef89d8441 /lib/error-inject.c | |
parent | phy: uniphier-pcie: Add legacy SoC support for Pro5 (diff) | |
download | linux-6861781a807aae5fbabf95bd396e1c20f05cf4fb.tar.xz linux-6861781a807aae5fbabf95bd396e1c20f05cf4fb.zip |
phy: uniphier-pcie: Add SoC-dependent phy-mode function support
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 <hayashi.kunihiko@socionext.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'lib/error-inject.c')
0 files changed, 0 insertions, 0 deletions