Home
last modified time | relevance | path

Searched +full:sun6i +full:- +full:a31 +full:- +full:ahb1 +full:- +full:reset (Results 1 – 3 of 3) sorted by relevance

/linux/Documentation/devicetree/bindings/reset/
H A Dallwinner,sun6i-a31-clock-reset.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/reset/allwinner,sun6i-a31-clock-reset.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A31 Peripheral Reset Controller
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
20 - allwinner,sun6i-a31-ahb1-reset
21 - allwinner,sun6i-a31-clock-reset
23 # The PRCM on the A31 and A23 will have the reg property missing,
[all …]
/linux/drivers/reset/
H A Dreset-sunxi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Allwinner SoCs Reset Controller driver
7 * Maxime Ripard <maxime.ripard@free-electrons.com>
16 #include <linux/reset-controller.h>
17 #include <linux/reset/reset-simple.h>
18 #include <linux/reset/sunxi.h>
32 return -ENOMEM; in sunxi_reset_init()
39 if (!request_mem_region(res.start, size, np->name)) { in sunxi_reset_init()
40 ret = -EBUSY; in sunxi_reset_init()
44 data->membase = ioremap(res.start, size); in sunxi_reset_init()
[all …]
/linux/drivers/clk/sunxi/
H A Dclk-sunxi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/clk-provider.h>
14 #include <linux/reset-controller.h>
19 #include "clk-factors.h"
27 * sun4i_get_pll1_factors() - calculates n, k, m, p factors for PLL1
38 div = req->rate / 6000000; in sun4i_get_pll1_factors()
39 req->rate = 6000000 * div; in sun4i_get_pll1_factors()
42 req->m = 0; in sun4i_get_pll1_factors()
45 if (req->rate >= 768000000 || req->rate == 42000000 || in sun4i_get_pll1_factors()
46 req->rate == 54000000) in sun4i_get_pll1_factors()
[all …]