Home
last modified time | relevance | path

Searched hist:f0152c58c68f94f86bee8d91c4e4835e0c43ada7 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/phy/allwinner/
H A Dphy-sun4i-usb.cdiff f0152c58c68f94f86bee8d91c4e4835e0c43ada7 Thu Aug 03 10:14:06 CEST 2017 Chen-Yu Tsai <wens@csie.org> phy: sun4i-usb: Support secondary clock for HSIC PHY

On the Allwinner A83T SoC, the last USB PHY is an HSIC PHY. It requires
two clocks instead of one.

On all Allwinner SoCs that share the common USB PHY design supported by
the phy-sun4i-usb driver, the first PHY is always tied to OTG, and there
is at most one HSIC PHY, typically the last.

In this patch we take advantage of these known constraints and store an
index in the compatible-string-related config structure describing which
PHY is HSIC, needing the extra hsic_12M clock.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>