Searched +full:sun4i +full:- +full:a10 +full:- +full:ve +full:- +full:clk (Results 1 – 15 of 15) sorted by relevance
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | allwinner,sun4i-a10-ve-clk.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ve-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 Video Engine Clock Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 "#clock-cells": 19 "#reset-cells": 23 const: allwinner,sun4i-a10-ve-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-a10-ve.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2015 Chen-Yu Tsai 5 * Chen-Yu Tsai <wens@csie.org> 8 #include <linux/clk-provider.h> 12 #include <linux/reset-controller.h> 24 * sunxi_ve_reset... - reset bit in ve clk registers handling 42 spin_lock_irqsave(data->lock, flags); in sunxi_ve_reset_assert() 44 reg = readl(data->reg); in sunxi_ve_reset_assert() 45 writel(reg & ~BIT(SUN4I_VE_RESET), data->reg); in sunxi_ve_reset_assert() 47 spin_unlock_irqrestore(data->lock, flags); in sunxi_ve_reset_assert() [all …]
|
| /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 | 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| 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 | 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 | 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | ohci-sunxi.c | 9 * SPDX-License-Identifier: GPL-2.0+ 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() 50 * This should go away once we've moved to the driver model for 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() 48 * This should go away once we've moved to the driver model for 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() [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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_tcon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Maxime Ripard <maxime.ripard@free-electrons.com> 47 drm_connector_list_iter_begin(encoder->dev, &iter); in sun4i_tcon_get_connector() 49 if (connector->encoder == encoder) { in sun4i_tcon_get_connector() 65 return -EINVAL; in sun4i_tcon_get_pixel_depth() 67 info = &connector->display_info; in sun4i_tcon_get_pixel_depth() 68 if (info->num_bus_formats != 1) in sun4i_tcon_get_pixel_depth() 69 return -EINVAL; in sun4i_tcon_get_pixel_depth() 71 switch (info->bus_formats[0]) { in sun4i_tcon_get_pixel_depth() 80 return -EINVAL; in sun4i_tcon_get_pixel_depth() [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> 135 struct clk *clk; member 136 struct clk *clk2; 157 container_of((phy), struct sun4i_usb_phy_data, phys[(phy)->index]) 165 iscr = readl(data->base + REG_ISCR); in sun4i_usb_phy0_update_iscr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/dma/ |
| H A D | sun4i-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/clk.h> 19 #include "virt-dma.h" 74 #define SUN4I_DDMA_PARA_DST_DATA_BLK_SIZE(n) (((n) - 1) << 24) 75 #define SUN4I_DDMA_PARA_DST_WAIT_CYCLES(n) (((n) - 1) << 16) 76 #define SUN4I_DDMA_PARA_SRC_DATA_BLK_SIZE(n) (((n) - 1) << 8) 77 #define SUN4I_DDMA_PARA_SRC_WAIT_CYCLES(n) (((n) - 1) << 0) 112 #define SUN4I_NDMA_NR_MAX_VCHANS (29 * 2 - 1) 167 struct clk *clk; member 189 return &chan->dev->device; in chan2dev() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mmc/host/ |
| H A D | sunxi-mmc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * (C) Copyright 2007-2011 Reuuimlla Technology Co., Ltd. 5 * (C) Copyright 2007-2011 Aaron Maoye <leafy.myeh@reuuimllatech.com> 6 * (C) Copyright 2013-2014 O2S GmbH <www.o2s.ch> 7 * (C) Copyright 2013-2014 David Lanzendörfer <david.lanzendoerfer@o2s.ch> 8 * (C) Copyright 2013-2014 Hans de Goede <hdegoede@redhat.com> 12 #include <linux/clk.h> 13 #include <linux/clk/sunxi-ng.h> 16 #include <linux/dma-mapping.h> 27 #include <linux/mmc/slot-gpio.h> [all …]
|