clk: qcom: create virtual child device for TSENS
authorRajendra Nayak <rnayak@codeaurora.org>
Thu, 8 Oct 2015 05:01:03 +0000 (10:31 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 9 Oct 2015 06:53:03 +0000 (23:53 -0700)
commit53c929c922ccc5e615c3310e86ffbc1387372854
treea24a52f5b9baea505abbe4c0e1cec8ad5d0ce2bb
parent73bb7dc08edd921953f7b720b54e5dcb15ee0a02
clk: qcom: create virtual child device for TSENS

8960 family of devices have TSENS as part of GCC in hardware.
Hence DT would represent a GCC node with GCC properties as well
as TSENS. Create a virtual platform child device here for TSENS
so the driver can probe it and use the parent (GCC) to extract DT
properties.

Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
[sboyd@codeaurora.org: Massaged to work with devm friendly
qcom_cc_probe()]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/gcc-msm8960.c