summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi-ng/ccu_reset.c
Commit message (Collapse)AuthorAgeFilesLines
* clk: sunxi-ng: Implement reset control status readbackChen-Yu Tsai2017-09-261-0/+14
| | | | | | | | | | | | Until now we were not providing a way to read back the status of our reset controls. Consumers had no real way to be certain whether a peripheral was held in reset or not. Implement the status callback to complete the API support. Fixes: 1d80c14248d6 ("clk: sunxi-ng: Add common infrastructure") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
* clk: sunxi-ng: Provide a default reset hookMaxime Ripard2017-08-301-0/+12
| | | | | | | | The reset hook was left implemented. Provide a dumb implementation so that client drivers can depend on it. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
* clk: sunxi-ng: Add common infrastructureMaxime Ripard2016-07-091-0/+55
Start our new clock infrastructure by adding the registration code, common structure and common code. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20160629190535.11855-3-maxime.ripard@free-electrons.com