summaryrefslogtreecommitdiffstats
path: root/lib/test_static_keys.c
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2018-01-28 21:22:42 +0100
committerKishon Vijay Abraham I <kishon@ti.com>2018-03-08 09:26:27 +0100
commitbc4a0241d4e1e2381f4c3b53ad0199324549e0a8 (patch)
tree2379d7ff7f75974a1b2b034402d6f64037a8f5a0 /lib/test_static_keys.c
parentphy: amlogic: phy-meson-gxl-usb2: don't log an error on -EPROBE_DEFER (diff)
downloadlinux-bc4a0241d4e1e2381f4c3b53ad0199324549e0a8.tar.xz
linux-bc4a0241d4e1e2381f4c3b53ad0199324549e0a8.zip
phy: amlogic: phy-meson-gxl-usb2: support the clock and reset line
The Meson GXL USB2 PHYs require an additional clock (USB) which has to be enabled. If that clock is disabled then all PHY registers read 0x0. Luckily for us that clock is always enabled (either by harddware defaults, the bootrom, or any of the bootloaders before u-boot/BL3-3). The OTG capable USB2 PHY additionally has a reset line (USB_OTG, which is shared with other components, such as the USB3 PHY for example). Extend the driver so it handles this clock and the shared reset line. We only trigger the reset during the .init phase since it's a shared reset line, so triggering it during the driver's .reset implementation would effectively also only trigger it once anyways. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'lib/test_static_keys.c')
0 files changed, 0 insertions, 0 deletions