summaryrefslogtreecommitdiffstats
path: root/drivers/clk/meson/gxbb.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'clk-meson-gxbb' into clk-nextMichael Turquette2016-09-031-84/+84
|\
| * gxbb: clk: Adjust MESON_GATE macro to be shared with meson8bAlexander Müller2016-09-021-84/+84
| | | | | | | | | | | | | | | | | | | | The macro used gxbb_ prefix for clock definitions. In order to share the macro between gxbb and meson8b, the prefix must be moved to gxbb.c. Signed-off-by: Alexander Müller <serveralex@gmail.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/1472319654-59048-6-git-send-email-serveralex@gmail.com
* | Merge branch 'clk-meson-gxbb' into clk-nextStephen Boyd2016-08-161-0/+9
|\| | | | | | | | | * clk-meson-gxbb: clk: gxbb: add MMC gate clocks, and expose for DT
| * clk: gxbb: add MMC gate clocks, and expose for DTKevin Hilman2016-08-161-0/+9
| | | | | | | | | | | | | | | | | | | | | | Add the SD/eMMC gate clocks and expose them for use by DT. While at it, also explose FCLK_DIV2 since this is one of the input clocks to the mux internal to each of the SD/eMMC blocks. Signed-off-by: Kevin Hilman <khilman@baylibre.com> Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
* | clk: gxbb: use builtin_platform_driver to simplify the codeWei Yongjun2016-08-151-5/+1Star
|/ | | | | | | Use the builtin_platform_driver() macro to make the code simpler. Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
* clk: meson: make gxbb explicitly non-modularPaul Gortmaker2016-07-071-14/+4Star
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Kconfig currently controlling compilation of this code is: drivers/clk/meson/Kconfig:config COMMON_CLK_GXBB drivers/clk/meson/Kconfig: bool ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the driver there is no doubt it is builtin-only. Since module_init translates to device_initcall in the non-modular case, the init ordering remains unchanged with this commit. Also note that MODULE_DEVICE_TABLE and ALIAS are no-op for non-modules. We also delete the MODULE_LICENSE tag etc. since all that information was (or is now) contained at the top of the file in the comments. Cc: Stephen Boyd <sboyd@codeaurora.org> Cc: Carlo Caione <carlo@caione.org> Cc: Kevin Hilman <khilman@baylibre.com> Cc: linux-clk@vger.kernel.org Cc: linux-amlogic@lists.infradead.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20160704211220.5685-3-paul.gortmaker@windriver.com
* clk: gxbb: add AmLogic GXBB clk controller driverMichael Turquette2016-06-231-0/+954
The gxbb clock controller is the primary clock generation unit for the AmLogic GXBB SoC. It is clocked by a fixed 24MHz xtal, contains several PLLs and the usual post-dividers, muxes, dividers and leaf gates that are fed into various IP blocks in the SoC. Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com>