Searched +full:sun5i +full:- +full:a13 +full:- +full:ahb +full:- +full:clk (Results 1 – 21 of 21) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.03 ---4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-gates-clk.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - Chen-Yu Tsai <wens@csie.org>11 - Maxime Ripard <mripard@kernel.org>16 "#clock-cells":24 - const: allwinner,sun4i-a10-gates-clk25 - const: allwinner,sun4i-a10-axi-gates-clk26 - const: allwinner,sun4i-a10-ahb-gates-clk[all …]
1 # SPDX-License-Identifier: GPL-2.03 ---4 $id: http://devicetree.org/schemas/clock/allwinner,sun5i-a13-ahb-clk.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Allwinner A13 AHB Clock Device Tree Bindings10 - Chen-Yu Tsai <wens@csie.org>11 - Maxime Ripard <mripard@kernel.org>16 "#clock-cells":20 const: allwinner,sun5i-a13-ahb-clk30 clock-output-names:[all …]
4 * Maxime Ripard <maxime.ripard@free-electrons.com>6 * This file is dual-licensed: you can use it either under the terms47 #include "sun5i.dtsi"49 #include <dt-bindings/pinctrl/sun4i-a10.h>50 #include <dt-bindings/thermal/thermal.h>53 interrupt-parent = <&intc>;56 #address-cells = <1>;57 #size-cells = <1>;61 compatible = "allwinner,simple-framebuffer",62 "simple-framebuffer";[all …]
4 * Mylène Josserand <mylene.josserand@free-electrons.com>6 * This file is dual-licensed: you can use it either under the terms45 #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 …]
2 * Copyright 2012-2015 Maxime Ripard4 * Maxime Ripard <maxime.ripard@free-electrons.com>6 * This file is dual-licensed: you can use it either under the terms47 #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 …]
4 * This file is dual-licensed: you can use it either under the terms45 #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 …]
4 * Maxime Ripard <maxime.ripard@free-electrons.com>6 * This file is dual-licensed: you can use it either under the terms47 #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 …]
4 * Maxime Ripard <maxime.ripard@free-electrons.com>6 * This file is dual-licensed: you can use it either under the terms47 #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 …]
2 * Copyright 2014 Chen-Yu Tsai4 * Chen-Yu Tsai <wens@csie.org>6 * This file is dual-licensed: you can use it either under the terms47 #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 …]
2 * Copyright 2014 Chen-Yu Tsai4 * Chen-Yu Tsai <wens@csie.org>6 * This file is dual-licensed: you can use it either under the terms47 #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 …]
1 // SPDX-License-Identifier: GPL-2.0-or-later5 * Maxime Ripard <maxime.ripard@free-electrons.com>8 #include <linux/clk.h>9 #include <linux/clk-provider.h>43 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup()44 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sunxi_simple_gates_setup()46 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sunxi_simple_gates_setup()47 if (!clk_data->clks) in sunxi_simple_gates_setup()50 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sunxi_simple_gates_setup()51 of_property_read_string_index(node, "clock-output-names", in sunxi_simple_gates_setup()[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later8 #include <linux/clk.h>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 PLL138 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()[all …]
2 * Copyright 2012-2015 Maxime Ripard4 * Maxime Ripard <maxime.ripard@free-electrons.com>6 * This file is dual-licensed: you can use it either under the terms45 #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 …]
4 * Maxime Ripard <maxime.ripard@free-electrons.com>6 * This file is dual-licensed: you can use it either under the terms45 #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 …]
6 * Based on sun4i Linux kernel sources mach-sunxi/pm/standby/dram*.c7 * and earlier U-Boot Allwiner A10 SPL work9 * (C) Copyright 2007-201214 * SPDX-License-Identifier: GPL-2.0+69 writel(0, &timer->cpu_cfg); in mctl_ddr3_reset()70 reg_val = readl(&timer->cpu_cfg); in mctl_ddr3_reset()74 setbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset()76 clrbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset()80 clrbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset()82 setbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset()[all …]
1 // SPDX-License-Identifier: GPL-2.0-only6 #include <linux/clk-provider.h>24 #include "ccu-sun5i.h"34 .hw.init = CLK_HW_INIT("pll-core",46 * With sigma-delta modulation for fractional-N on the audio PLL,74 .hw.init = CLK_HW_INIT("pll-audio-base",91 .hw.init = CLK_HW_INIT("pll-video0",106 .hw.init = CLK_HW_INIT("pll-ve",119 .hw.init = CLK_HW_INIT("pll-ddr-base",126 static SUNXI_CCU_M(pll_ddr_clk, "pll-ddr", "pll-ddr-base", 0x020, 0, 2,[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 #include <dt-bindings/clock/sun50i-a64-ccu.h>7 #include <dt-bindings/clock/sun8i-de2.h>8 #include <dt-bindings/clock/sun8i-r-ccu.h>9 #include <dt-bindings/interrupt-controller/arm-gic.h>10 #include <dt-bindings/reset/sun50i-a64-ccu.h>11 #include <dt-bindings/reset/sun8i-de2.h>12 #include <dt-bindings/reset/sun8i-r-ccu.h>13 #include <dt-bindings/thermal/thermal.h>16 interrupt-parent = <&gic>;[all …]
2 * (C) Copyright 2007-20118 * SPDX-License-Identifier: GPL-2.0+21 #include <asm-generic/gpio.h>49 return -EINVAL; in sunxi_mmc_getcd_gpio()62 priv->reg = (struct sunxi_mmc *)SUNXI_MMC0_BASE; in mmc_resource_init()63 priv->mclkreg = &ccm->sd0_clk_cfg; in mmc_resource_init()66 priv->reg = (struct sunxi_mmc *)SUNXI_MMC1_BASE; in mmc_resource_init()67 priv->mclkreg = &ccm->sd1_clk_cfg; in mmc_resource_init()70 priv->reg = (struct sunxi_mmc *)SUNXI_MMC2_BASE; in mmc_resource_init()71 priv->mclkreg = &ccm->sd2_clk_cfg; in mmc_resource_init()[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later4 * (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 …]
1 // SPDX-License-Identifier: GPL-2.0-or-later6 * 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 …]
... -boot-2021.07/.readthedocs.yml u-boot-2021.07/Kbuild u-boot-2021.07 ...