Home
last modified time | relevance | path

Searched +full:sun9i +full:- +full:a80 +full:- +full:usb +full:- +full:phy +full:- +full:clk (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/
Dsunxi.txt1 Device Tree Clock bindings for arch-sunxi
5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
8 - compatible : shall be one of the following:
9 "allwinner,sun4i-a10-osc-clk" - for a gatable oscillator
10 "allwinner,sun4i-a10-pll1-clk" - for the main PLL clock and PLL4
11 "allwinner,sun6i-a31-pll1-clk" - for the main PLL clock on A31
12 "allwinner,sun8i-a23-pll1-clk" - for the main PLL clock on A23
13 "allwinner,sun4i-a10-pll3-clk" - for the video PLL clock on A10
14 "allwinner,sun9i-a80-pll4-clk" - for the peripheral PLLs on A80
15 "allwinner,sun4i-a10-pll5-clk" - for the PLL5 clock
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
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
45 #include <dt-bindings/interrupt-controller/arm-gic.h>
47 #include <dt-bindings/clock/sun9i-a80-ccu.h>
48 #include <dt-bindings/clock/sun9i-a80-de.h>
49 #include <dt-bindings/clock/sun9i-a80-usb.h>
50 #include <dt-bindings/reset/sun9i-a80-ccu.h>
51 #include <dt-bindings/reset/sun9i-a80-de.h>
52 #include <dt-bindings/reset/sun9i-a80-usb.h>
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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
45 #include <dt-bindings/interrupt-controller/arm-gic.h>
47 #include <dt-bindings/clock/sun9i-a80-ccu.h>
48 #include <dt-bindings/clock/sun9i-a80-de.h>
49 #include <dt-bindings/clock/sun9i-a80-usb.h>
50 #include <dt-bindings/reset/sun9i-a80-ccu.h>
51 #include <dt-bindings/reset/sun9i-a80-de.h>
52 #include <dt-bindings/reset/sun9i-a80-usb.h>
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dallwinner,sun9i-a80-usb-phy-clk.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-phy-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A80 USB PHY Clock Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 "#clock-cells":
22 "#reset-cells":
26 const: allwinner,sun9i-a80-usb-phy-clk
[all …]
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
Dccu-sun9i-a80-usb.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2016 Chen-Yu Tsai. All rights reserved.
6 #include <linux/clk.h>
7 #include <linux/clk-provider.h>
15 #include "ccu-sun9i-a80-usb.h"
25 static SUNXI_CCU_GATE_DATA(bus_hci0_clk, "bus-hci0", clk_parent_bus, 0x0, BIT(1), 0);
26 static SUNXI_CCU_GATE_DATA(usb_ohci0_clk, "usb-ohci0", clk_parent_hosc, 0x0, BIT(2), 0);
27 static SUNXI_CCU_GATE_DATA(bus_hci1_clk, "bus-hci1", clk_parent_bus, 0x0, BIT(3), 0);
28 static SUNXI_CCU_GATE_DATA(bus_hci2_clk, "bus-hci2", clk_parent_bus, 0x0, BIT(5), 0);
29 static SUNXI_CCU_GATE_DATA(usb_ohci2_clk, "usb-ohci2", clk_parent_hosc, 0x0, BIT(6), 0);
[all …]
/kernel/linux/linux-4.19/drivers/clk/sunxi-ng/
Dccu-sun9i-a80-usb.c2 * Copyright (c) 2016 Chen-Yu Tsai. All rights reserved.
14 #include <linux/clk.h>
15 #include <linux/clk-provider.h>
23 #include "ccu-sun9i-a80-usb.h"
25 static SUNXI_CCU_GATE(bus_hci0_clk, "bus-hci0", "bus-usb", 0x0, BIT(1), 0);
26 static SUNXI_CCU_GATE(usb_ohci0_clk, "usb-ohci0", "osc24M", 0x0, BIT(2), 0);
27 static SUNXI_CCU_GATE(bus_hci1_clk, "bus-hci1", "bus-usb", 0x0, BIT(3), 0);
28 static SUNXI_CCU_GATE(bus_hci2_clk, "bus-hci2", "bus-usb", 0x0, BIT(5), 0);
29 static SUNXI_CCU_GATE(usb_ohci2_clk, "usb-ohci2", "osc24M", 0x0, BIT(6), 0);
31 static SUNXI_CCU_GATE(usb0_phy_clk, "usb0-phy", "osc24M", 0x4, BIT(1), 0);
[all …]
/kernel/linux/linux-5.10/drivers/phy/allwinner/
Dphy-sun9i-usb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Allwinner sun9i USB phy driver
5 * Copyright (C) 2014-2015 Chen-Yu Tsai <wens@csie.org>
7 * Based on phy-sun4i-usb.c from
14 #include <linux/clk.h>
18 #include <linux/phy/phy.h>
19 #include <linux/usb/of.h>
36 struct phy *phy; member
39 struct clk *clk; member
40 struct clk *hsic_clk;
[all …]
/kernel/linux/linux-4.19/drivers/phy/allwinner/
Dphy-sun9i-usb.c2 * Allwinner sun9i USB phy driver
4 * Copyright (C) 2014-2015 Chen-Yu Tsai <wens@csie.org>
6 * Based on phy-sun4i-usb.c from
23 #include <linux/clk.h>
27 #include <linux/phy/phy.h>
28 #include <linux/usb/of.h>
45 struct phy *phy; member
48 struct clk *clk; member
49 struct clk *hsic_clk;
53 static void sun9i_usb_phy_passby(struct sun9i_usb_phy *phy, int enable) in sun9i_usb_phy_passby() argument
[all …]
/kernel/linux/linux-5.10/drivers/clk/sunxi/
Dclk-usb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2013-2015 Emilio López
8 #include <linux/clk.h>
9 #include <linux/clk-provider.h>
13 #include <linux/reset-controller.h>
19 * sunxi_usb_reset... - reset bits in usb clk registers handling
25 struct clk *clk; member
38 clk_prepare_enable(data->clk); in sunxi_usb_reset_assert()
39 spin_lock_irqsave(data->lock, flags); in sunxi_usb_reset_assert()
41 reg = readl(data->reg); in sunxi_usb_reset_assert()
[all …]
/kernel/linux/linux-4.19/drivers/clk/sunxi/
Dclk-usb.c2 * Copyright 2013-2015 Emilio López
17 #include <linux/clk.h>
18 #include <linux/clk-provider.h>
21 #include <linux/reset-controller.h>
27 * sunxi_usb_reset... - reset bits in usb clk registers handling
33 struct clk *clk; member
46 clk_prepare_enable(data->clk); in sunxi_usb_reset_assert()
47 spin_lock_irqsave(data->lock, flags); in sunxi_usb_reset_assert()
49 reg = readl(data->reg); in sunxi_usb_reset_assert()
50 writel(reg & ~BIT(id), data->reg); in sunxi_usb_reset_assert()
[all …]