summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-ls1x.c
Commit message (Collapse)AuthorAgeFilesLines
* clk: Loongson1: Refactor Loongson1 clockKelvin Cheung2016-09-231-162/+0
| | | | | | | | | Factor out the common functions into loongson1/clk.c to support both Loongson1B and Loongson1C. And, put the rest into loongson1/clk-loongson1b.c. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
* clk: ls1x: Migrate to clk_hw based OF and registration APIsStephen Boyd2016-08-181-34/+35
| | | | | | | | | | | Now that we have clk_hw based provider APIs to register clks, we can get rid of struct clk pointers while registering clks in these drivers, allowing us to move closer to a clear split of consumer and provider clk APIs. Cc: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
* clk: ls1x: Remove CLK_IS_ROOTStephen Boyd2016-04-151-2/+1
| | | | | | | This flag is a no-op now. Remove usage of the flag. Cc: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
* clk: ls1x: Fix duplicate const for parent namesKrzysztof Kozlowski2015-05-051-3/+3
| | | | | | | | Replace duplicated const keyword with proper array of const pointers to const strings. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
* clk: ls1x: Update relationship among all clocksKelvin Cheung2014-11-241-29/+80
| | | | | | | | | | | | | | | | | - Add clock lookups for APB devices. - Update clock relationship to make it more exact and clear. _____ _______________________| | OSC ___/ | MUX |___ XXX CLK \___ PLL ___ XXX DIV ___| | |_____| Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Cc: linux-kernel@vger.kernel.org Cc: mturquette@linaro.org Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8026/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* clk: add Loongson1B clock supportKelvin Cheung2012-08-311-0/+111
This adds clock support to Loongson1B SoC using the common clock infrastructure. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
OpenPOWER on IntegriCloud