summaryrefslogtreecommitdiff
path: root/drivers/clk/sprd/sc9860-clk.c
Commit message (Collapse)AuthorAgeFilesLines
* clk: sprd: Add check for return value of sprd_clk_regmap_init()Chunyan Zhang2019-06-271-1/+4
| | | | | | | | | | sprd_clk_regmap_init() doesn't always return success, adding check for its return value should make the code more strong. Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org> Reviewed-by: Baolin Wang <baolin.wang@linaro.org> [sboyd@kernel.org: Add a missing int ret] Signed-off-by: Stephen Boyd <sboyd@kernel.org>
* clk: sprd: add RTC gate for SC9860Chunyan Zhang2018-03-161-0/+76
| | | | | | | | | | | Add a few gate clocks which are used for gating RTC for some devices on AON area of SC9860. This patch has been tested on SC9860, with this patch and proper DT configurations, the watchdog can be initialized and work well. Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
* clk: sprd: add clocks support for SC9860Chunyan Zhang2017-12-211-0/+1974
This patch added the list of clocks for Spreadtrum's SC9860 SoC, together with clock initialization code. Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>