Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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 Device Tree Bindings
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 …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dsun6i-a31.dtsi4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
47 #include <dt-bindings/interrupt-controller/arm-gic.h>
48 #include <dt-bindings/thermal/thermal.h>
50 #include <dt-bindings/pinctrl/sun4i-a10.h>
53 interrupt-parent = <&gic>;
60 #address-cells = <1>;
61 #size-cells = <1>;
65 compatible = "allwinner,simple-framebuffer",
66 "simple-framebuffer";
[all …]
H A Dsun8i-a23-a33.dtsi2 * Copyright 2014 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
47 #include <dt-bindings/interrupt-controller/arm-gic.h>
49 #include <dt-bindings/pinctrl/sun4i-a10.h>
52 interrupt-parent = <&gic>;
55 #address-cells = <1>;
56 #size-cells = <1>;
60 compatible = "allwinner,simple-framebuffer",
61 "simple-framebuffer";
[all …]
H A Dsun9i-a80.dtsi2 * Copyright 2014 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
47 #include <dt-bindings/interrupt-controller/arm-gic.h>
49 #include <dt-bindings/pinctrl/sun4i-a10.h>
52 interrupt-parent = <&gic>;
55 #address-cells = <1>;
56 #size-cells = <0>;
59 compatible = "arm,cortex-a7";
65 compatible = "arm,cortex-a7";
[all …]
H A Dsun8i-a23.dtsi2 * Copyright 2014 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
45 #include "sun8i-a23-a33.dtsi"
54 #clock-cells = <1>;
55 compatible = "allwinner,sun8i-a23-ahb1-gates-clk";
57 clocks = <&ahb1>;
58 clock-indices = <1>, <6>,
67 clock-output-names = "ahb1_mipidsi", "ahb1_dma",
79 #clock-cells = <0>;
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 …]