| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | sun4i-a10.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 46 #include <dt-bindings/thermal/thermal.h> 48 #include <dt-bindings/clock/sun4i-a10-pll2.h> 49 #include <dt-bindings/dma/sun4i-a10.h> 50 #include <dt-bindings/pinctrl/sun4i-a10.h> 53 interrupt-parent = <&intc>; 60 #address-cells = <1>; 61 #size-cells = <1>; 65 compatible = "allwinner,simple-framebuffer", 66 "simple-framebuffer"; [all …]
|
| H A D | sun5i.dtsi | 2 * Copyright 2012-2015 Maxime Ripard 4 * 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/clock/sun4i-a10-pll2.h> 48 #include <dt-bindings/dma/sun4i-a10.h> 49 #include <dt-bindings/pinctrl/sun4i-a10.h> 52 interrupt-parent = <&intc>; 55 #address-cells = <1>; 56 #size-cells = <0>; 60 compatible = "arm,cortex-a8"; [all …]
|
| H A D | sun5i-gr8.dtsi | 4 * Mylène Josserand <mylene.josserand@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/clock/sun4i-a10-pll2.h> 46 #include <dt-bindings/dma/sun4i-a10.h> 47 #include <dt-bindings/pinctrl/sun4i-a10.h> 50 interrupt-parent = <&intc>; 51 #address-cells = <1>; 52 #size-cells = <1>; 55 #address-cells = <1>; 56 #size-cells = <0>; [all …]
|
| H A D | sun7i-a20.dtsi | 4 * 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/clock/sun4i-a10-pll2.h> 51 #include <dt-bindings/dma/sun4i-a10.h> 52 #include <dt-bindings/pinctrl/sun4i-a10.h> 55 interrupt-parent = <&gic>; 62 #address-cells = <1>; 63 #size-cells = <1>; [all …]
|
| H A D | sun6i-a31.dtsi | 4 * 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 D | sun8i-a23-a33.dtsi | 2 * 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 D | sun8i-a33.dtsi | 2 * 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" 50 compatible = "arm,cortex-a7"; 56 compatible = "arm,cortex-a7"; 69 #clock-cells = <0>; 70 compatible = "fixed-clock"; 71 clock-frequency = <0>; 72 clock-output-names = "pll11"; [all …]
|
| H A D | sun8i-h3.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/clock/sun8i-h3-ccu.h> 46 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/pinctrl/sun4i-a10.h> 48 #include <dt-bindings/reset/sun8i-h3-ccu.h> 51 interrupt-parent = <&gic>; 58 #address-cells = <1>; 59 #size-cells = <0>; 62 compatible = "arm,cortex-a7"; 68 compatible = "arm,cortex-a7"; [all …]
|
| H A D | sun9i-a80.dtsi | 2 * 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | allwinner,sun4i-a10-usb-clk.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-usb-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 USB Clock Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 "#clock-cells": 22 "#reset-cells": 27 - allwinner,sun4i-a10-usb-clk [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/sunxi/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for sunxi specific clk 6 obj-$(CONFIG_CLK_SUNXI) += clk-factors.o 8 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sunxi.o 9 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-codec.o 10 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-hosc.o 11 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-mod1.o 12 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-pll2.o 13 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-ve.o 14 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a20-gmac.o [all …]
|
| H A D | clk-usb.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | sun7i-a20.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 46 #include <dt-bindings/thermal/thermal.h> 47 #include <dt-bindings/dma/sun4i-a10.h> 48 #include <dt-bindings/clock/sun7i-a20-ccu.h> 49 #include <dt-bindings/reset/sun4i-a10-ccu.h> 50 #include <dt-bindings/pinctrl/sun4i-a10.h> 53 interrupt-parent = <&gic>; 54 #address-cells = <1>; [all …]
|
| H A D | sun4i-a10.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 44 #include <dt-bindings/thermal/thermal.h> 45 #include <dt-bindings/dma/sun4i-a10.h> 46 #include <dt-bindings/clock/sun4i-a10-ccu.h> 47 #include <dt-bindings/reset/sun4i-a10-ccu.h> 50 #address-cells = <1>; 51 #size-cells = <1>; 52 interrupt-parent = <&intc>; 59 #address-cells = <1>; 60 #size-cells = <1>; [all …]
|
| H A D | sun5i.dtsi | 2 * Copyright 2012-2015 Maxime Ripard 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/clock/sun5i-ccu.h> 46 #include <dt-bindings/dma/sun4i-a10.h> 47 #include <dt-bindings/reset/sun5i-ccu.h> 50 interrupt-parent = <&intc>; 51 #address-cells = <1>; 52 #size-cells = <1>; 55 #address-cells = <1>; [all …]
|
| H A D | sun6i-a31.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 46 #include <dt-bindings/thermal/thermal.h> 48 #include <dt-bindings/clock/sun6i-a31-ccu.h> 49 #include <dt-bindings/reset/sun6i-a31-ccu.h> 52 interrupt-parent = <&gic>; 53 #address-cells = <1>; 54 #size-cells = <1>; 61 #address-cells = <1>; [all …]
|
| H A D | sun9i-a80.dtsi | 2 * 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 …]
|
| H A D | sun8i-r40.dtsi | 2 * Copyright 2017 Chen-Yu Tsai <wens@csie.org> 5 * This file is dual-licensed: you can use it either under the terms 44 #include <dt-bindings/interrupt-controller/arm-gic.h> 45 #include <dt-bindings/clock/sun8i-de2.h> 46 #include <dt-bindings/clock/sun8i-r40-ccu.h> 47 #include <dt-bindings/clock/sun8i-tcon-top.h> 48 #include <dt-bindings/reset/sun8i-r40-ccu.h> 49 #include <dt-bindings/reset/sun8i-de2.h> 50 #include <dt-bindings/thermal/thermal.h> 53 #address-cells = <1>; [all …]
|
| H A D | sun8i-a23-a33.dtsi | 2 * 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/sun8i-a23-a33-ccu.h> 48 #include <dt-bindings/reset/sun8i-a23-a33-ccu.h> 51 interrupt-parent = <&gic>; 52 #address-cells = <1>; 53 #size-cells = <1>; 56 #address-cells = <1>; [all …]
|
| H A D | sun8i-v3s.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 43 #include <dt-bindings/interrupt-controller/arm-gic.h> 44 #include <dt-bindings/clock/sun8i-v3s-ccu.h> 45 #include <dt-bindings/reset/sun8i-v3s-ccu.h> 46 #include <dt-bindings/clock/sun8i-de2.h> 49 #address-cells = <1>; 50 #size-cells = <1>; 51 interrupt-parent = <&gic>; 54 #address-cells = <1>; 55 #size-cells = <1>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/musb/ |
| H A D | sunxi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Allwinner sun4i MUSB Glue Layer 11 #include <linux/clk.h> 18 #include <linux/phy/phy-sun4i-usb.h> 22 #include <linux/usb/musb.h> 23 #include <linux/usb/of.h> 24 #include <linux/usb/usb_phy_generic.h> 77 struct clk *clk; member 95 if (!test_bit(SUNXI_MUSB_FL_ENABLED, &glue->flags)) in sunxi_musb_work() 98 if (test_and_clear_bit(SUNXI_MUSB_FL_HOSTMODE_PEND, &glue->flags)) { in sunxi_musb_work() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | ohci-sunxi.c | 9 * SPDX-License-Identifier: GPL-2.0+ 17 #include <usb.h> 31 int ahb_gate_mask; /* Mask of ahb_gate0 clk gate bits for this hcd */ 32 int usb_gate_mask; /* Mask of usb_clk_cfg clk gate bits for this hcd */ 33 int phy_index; /* Index of the usb-phy attached to this hcd */ 43 priv->ccm = (struct sunxi_ccm_reg *)SUNXI_CCM_BASE; in ohci_usb_probe() 44 if (IS_ERR(priv->ccm)) in ohci_usb_probe() 45 return PTR_ERR(priv->ccm); in ohci_usb_probe() 47 bus_priv->companion = true; in ohci_usb_probe() 53 priv->ahb_gate_mask = 1 << AHB_GATE_OFFSET_USB_OHCI0; in ohci_usb_probe() [all …]
|
| H A D | ehci-sunxi.c | 10 * SPDX-License-Identifier: GPL-2.0+ 31 int ahb_gate_mask; /* Mask of ahb_gate0 clk gate bits for this hcd */ 32 int phy_index; /* Index of the usb-phy attached to this hcd */ 43 priv->ccm = (struct sunxi_ccm_reg *)SUNXI_CCM_BASE; in ehci_usb_probe() 44 if (IS_ERR(priv->ccm)) in ehci_usb_probe() 45 return PTR_ERR(priv->ccm); in ehci_usb_probe() 51 priv->ahb_gate_mask = 1 << AHB_GATE_OFFSET_USB_EHCI0; in ehci_usb_probe() 55 priv->phy_index = ((uintptr_t)hccr - SUNXI_USB1_BASE) / BASE_DIST; in ehci_usb_probe() 56 priv->ahb_gate_mask <<= priv->phy_index * AHB_CLK_DIST; in ehci_usb_probe() 57 extra_ahb_gate_mask <<= priv->phy_index * AHB_CLK_DIST; in ehci_usb_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/phy/allwinner/ |
| H A D | phy-sun4i-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Allwinner sun4i USB phy driver 5 * Copyright (C) 2014-2015 Hans de Goede <hdegoede@redhat.com> 15 #include <linux/clk.h> 18 #include <linux/extcon-provider.h> 30 #include <linux/phy/phy-sun4i-usb.h> 36 #include <linux/usb/of.h> 135 struct clk *clk; member 136 struct clk *clk2; 157 container_of((phy), struct sun4i_usb_phy_data, phys[(phy)->index]) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/sunxi-ng/ |
| H A D | ccu-sun4i-a10.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/clk-provider.h> 26 #include "ccu-sun4i-a10.h" 36 .hw.init = CLK_HW_INIT("pll-core", 48 * With sigma-delta modulation for fractional-N on the audio PLL, 71 .hw.init = CLK_HW_INIT("pll-audio-base", 89 .hw.init = CLK_HW_INIT("pll-video0", 104 .hw.init = CLK_HW_INIT("pll-ve", 117 .hw.init = CLK_HW_INIT("pll-ve", 130 .hw.init = CLK_HW_INIT("pll-ddr-base", [all …]
|