Home
last modified time | relevance | path

Searched +full:sun55i +full:- +full:a523 +full:- +full:ccu (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/clk/sunxi-ng/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 obj-$(CONFIG_SUNXI_CCU) += sunxi-ccu.o
6 sunxi-ccu-y += ccu_common.o
7 sunxi-ccu-y += ccu_mmc_timing.o
8 sunxi-ccu-y += ccu_reset.o
11 sunxi-ccu-y += ccu_div.o
12 sunxi-ccu-y += ccu_frac.o
13 sunxi-ccu-y += ccu_gate.o
14 sunxi-ccu-y += ccu_mux.o
15 sunxi-ccu-y += ccu_mult.o
[all …]
H A Dccu-sun55i-a523-mcu.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2025 Chen-Yu Tsai <wens@csie.org>
5 * Based on the A523 CCU driver:
6 * Copyright (C) 2023-2024 Arm Ltd.
9 #include <linux/clk-provider.h>
14 #include <dt-bindings/clock/sun55i-a523-mcu-ccu.h>
15 #include <dt-bindings/reset/sun55i-a523-mcu-ccu.h>
31 { .fw_name = "r-ahb" }
35 { .fw_name = "r-apb0" }
40 { .rate = 2167603200, .pattern = 0xa000a234, .m = 1, .n = 90 }, /* div2->22.5792 */
[all …]
H A Dccu-sun6i-rtc.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/clk-provider.h>
14 #include <linux/clk/sunxi-ng.h>
22 #include "ccu-sun6i-rtc.h"
84 u32 reg = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_recalc_rate()
88 * (fixed-point divider * 32768) into bit zero. in ccu_iosc_recalc_rate()
91 return reg >> (IOSC_CLK_CALI_DIV_ONES - LOSC_RATE_SHIFT); in ccu_iosc_recalc_rate()
125 val = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_prepare()
127 cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_prepare()
140 val = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_unprepare()
[all …]
H A Dccu-sun55i-a523.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2023-2024 Arm Ltd.
4 * Based on the D1 CCU driver:
9 #include <linux/clk-provider.h>
14 #include <dt-bindings/clock/sun55i-a523-ccu.h>
15 #include <dt-bindings/reset/sun55i-a523-ccu.h>
33 * .fw_name is the string used in the DT "clock-names" property, used to
54 .hw.init = CLK_HW_INIT_PARENTS_DATA("pll-ddr0", osc24M,
74 .hw.init = CLK_HW_INIT_PARENTS_DATA("pll-periph0-4x",
80 * Most clock-defining macros expect an *array* of parent clocks, even if
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Dallwinner,sun55i-a523-ccu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/allwinner,sun55i-a523-ccu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A523 Clock Control Unit
10 - Andre Przywara <andre.przywara@arm.com>
13 "#clock-cells":
16 "#reset-cells":
21 - allwinner,sun55i-a523-ccu
22 - allwinner,sun55i-a523-mcu-ccu
[all …]
/linux/Documentation/devicetree/bindings/power/
H A Dallwinner,sun20i-d1-ppu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/allwinner,sun20i-d1-ppu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Samuel Holland <samuel@sholland.org>
14 video-related hardware.
19 - allwinner,sun8i-v853-ppu
20 - allwinner,sun20i-d1-ppu
21 - allwinner,sun55i-a523-pck-600
22 - allwinner,sun55i-a523-ppu
[all …]
/linux/Documentation/devicetree/bindings/iommu/
H A Dallwinner,sun50i-h6-iommu.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iommu/allwinner,sun50i-h6-iommu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 "#iommu-cells":
21 - const: allwinner,sun50i-h6-iommu
22 - const: allwinner,sun50i-h616-iommu
23 - items:
[all …]
/linux/Documentation/devicetree/bindings/rtc/
H A Dallwinner,sun6i-a31-rtc.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/rtc/allwinner,sun6i-a31-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 "#clock-cells":
19 - enum:
20 - allwinner,sun6i-a31-rtc
21 - allwinner,sun8i-a23-rtc
[all …]