usb: host: dwc2: add clk support
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 27 Apr 2020 13:29:59 +0000 (15:29 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 28 Apr 2020 11:52:52 +0000 (13:52 +0200)
commit0bc632c9b189f0350b2ef81d6583704bd10cfdc9
treed7e3ce453582f8c44e02ff7683caad6756ccf7b4
parente17a4bf198510693967644c331ab621fc41ea8b5
usb: host: dwc2: add clk support

Add support for clock with driver model.

This patch don't added dependency because when CONFIG_CLK
is not activated the clk function are stubbed.

Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/usb/host/dwc2.c