| /OK3568_Linux_fs/u-boot/arch/arm/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 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>; 58 cpu0: cpu@0 { [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 | 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 …]
|
| 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" 49 cpu@2 { 50 compatible = "arm,cortex-a7"; 51 device_type = "cpu"; 55 cpu@3 { 56 compatible = "arm,cortex-a7"; 57 device_type = "cpu"; [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>; 61 cpu@0 { 62 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>; 58 cpu0: cpu@0 { 59 compatible = "arm,cortex-a7"; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | allwinner,sun4i-a10-cpu-clk.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-cpu-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 CPU Clock Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 "#clock-cells": 20 const: allwinner,sun4i-a10-cpu-clk 30 clock-output-names: [all …]
|
| H A D | allwinner,sun4i-a10-axi-clk.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-axi-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 AXI Clock Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 "#clock-cells": 21 - allwinner,sun4i-a10-axi-clk 22 - allwinner,sun8i-a23-axi-clk [all …]
|
| H A D | allwinner,sun4i-a10-pll1-clk.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-pll1-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 CPU PLL Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 "#clock-cells": 21 - allwinner,sun4i-a10-pll1-clk 22 - allwinner,sun6i-a31-pll1-clk [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| 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 …]
|
| 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 | suniv-f1c100s.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR X11) 8 #address-cells = <1>; 9 #size-cells = <1>; 10 interrupt-parent = <&intc>; 13 osc24M: clk-24M { 14 #clock-cells = <0>; 15 compatible = "fixed-clock"; 16 clock-frequency = <24000000>; 17 clock-output-names = "osc24M"; 20 osc32k: clk-32k { [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-h3.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 43 #include "sunxi-h3-h5.dtsi" 44 #include <dt-bindings/thermal/thermal.h> 47 cpu0_opp_table: opp-table-cpu { 48 compatible = "operating-points-v2"; 49 opp-shared; 51 opp-648000000 { 52 opp-hz = /bits/ 64 <648000000>; 53 opp-microvolt = <1040000 1040000 1300000>; 54 clock-latency-ns = <244144>; /* 8 32k periods */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/sunxi/ |
| H A D | clk-sunxi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #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 PLL1 38 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h5.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include <arm/sunxi-h3-h5.dtsi> 6 #include <dt-bindings/thermal/thermal.h> 10 #address-cells = <1>; 11 #size-cells = <0>; 13 cpu0: cpu@0 { 14 compatible = "arm,cortex-a53"; 15 device_type = "cpu"; 17 enable-method = "psci"; 19 clock-latency-ns = <244144>; /* 8 32k periods */ [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/sunxi/ |
| H A D | sun4i-spdif.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/clk.h> 168 * struct sun4i_spdif_quirks - Differences between SoC variants. 182 struct clk *spdif_clk; 183 struct clk *apb_clk; 193 const struct sun4i_spdif_quirks *quirks = host->quirks; in sun4i_spdif_configure() 196 regmap_write(host->regmap, SUN4I_SPDIF_CTL, SUN4I_SPDIF_CTL_RESET); in sun4i_spdif_configure() 199 regmap_update_bits(host->regmap, SUN4I_SPDIF_FCTL, in sun4i_spdif_configure() 200 quirks->val_fctl_ftx, quirks->val_fctl_ftx); in sun4i_spdif_configure() 203 regmap_write(host->regmap, SUN4I_SPDIF_TXCNT, 0); in sun4i_spdif_configure() [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 …]
|