]> Gentwo Git Trees - linux/.git/commit
phy: exynos5-usbdrd: set ref clk freq in exynos850_usbdrd_utmi_init()
authorAndré Draszik <andre.draszik@linaro.org>
Tue, 7 May 2024 14:14:48 +0000 (15:14 +0100)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Jun 2024 11:17:29 +0000 (16:47 +0530)
commitd14c14618e851eb25d55807810c2c1791a637712
treec68d098392fee20803ecc730f392414b5f635737
parent32b2495e731f2a56118034e9c665e6fe56bbfe3a
phy: exynos5-usbdrd: set ref clk freq in exynos850_usbdrd_utmi_init()

While commit 255ec3879dd4 ("phy: exynos5-usbdrd: Add 26MHz ref clk
support") correctly states that CLKRSTCTRL[7:5] doesn't need to be set
on modern Exynos platforms, SSPPLLCTL[2:0] should be programmed with
the frequency of the reference clock for the USB2.0 phy instead.

I stumbled across this while adding support for the Google Tensor
gs101, but this should apply to E850 just the same.

Do so.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20240507-samsung-usb-phy-fixes-v1-5-4ccba5afa7cc@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/samsung/phy-exynos5-usbdrd.c