clk: qcom: gcc: Add USB3 PIPE clock and GDSC for SM8150
authorWesley Cheng <wcheng@codeaurora.org>
Tue, 17 Mar 2020 20:53:31 +0000 (13:53 -0700)
committerStephen Boyd <sboyd@kernel.org>
Fri, 20 Mar 2020 23:33:56 +0000 (16:33 -0700)
commit8411aa5059edd584f7022f1dc300aa2f8f89fd06
treea580c3ffbd45bc933bc8177d43e8efa77e82c7a6
parent1aec193ea41d672d11592714cdda8167eb3b38fc
clk: qcom: gcc: Add USB3 PIPE clock and GDSC for SM8150

This adds the USB3 PIPE clock and GDSC structures, so
that the USB driver can vote for these resources to be
enabled/disabled when required.  Both are needed for SS
and HS USB paths to operate properly.  The GDSC will
allow the USB system to be brought out of reset, while
the PIPE clock is needed for data transactions between
the PHY and controller.

Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Link: https://lkml.kernel.org/r/1584478412-7798-2-git-send-email-wcheng@codeaurora.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-sm8150.c
include/dt-bindings/clock/qcom,gcc-sm8150.h