Home
last modified time | relevance | path

Searched +full:sun8i +full:- +full:a33 +full:- +full:codec (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dallwinner,sun8i-a33-codec.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/allwinner,sun8i-a33-codec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A33 Codec
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 - $ref: dai-common.yaml#
17 "#sound-dai-cells":
26 - items:
[all …]
/linux-6.12.1/arch/arm/boot/dts/allwinner/
Dsun8i-a33.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 "sun8i-a23-a33.dtsi"
46 #include <dt-bindings/thermal/thermal.h>
49 cpu0_opp_table: opp-table-cpu {
50 compatible = "operating-points-v2";
51 opp-shared;
53 opp-120000000 {
54 opp-hz = /bits/ 64 <120000000>;
[all …]
Dsun8i-a23.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 "sun8i-a23-a33.dtsi"
49 codec: codec@1c22c00 { label
50 #sound-dai-cells = <0>;
51 compatible = "allwinner,sun8i-a23-codec";
55 clock-names = "apb", "codec";
58 dma-names = "rx", "tx";
59 allwinner,codec-analog-controls = <&codec_analog>;
[all …]
Dsun8i-a33-olinuxino.dts2 * Copyright 2016 - Stefan Mavrodiev <stefan.mavrodiev@gmail.com>
5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun8i-a33.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
48 #include <dt-bindings/input/input.h>
51 model = "Olimex A33-OLinuXino";
52 compatible = "olimex,a33-olinuxino","allwinner,sun8i-a33";
59 stdout-path = "serial0:115200n8";
63 compatible = "gpio-leds";
[all …]
Dsun8i-a33-sinlinx-sina33.dts2 * Copyright 2015 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 /dts-v1/;
46 #include "sun8i-a33.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
54 compatible = "sinlinx,sina33", "allwinner,sun8i-a33";
61 stdout-path = "serial0:115200n8";
[all …]
Dsun8i-v3s.dtsi5 * 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/sun6i-rtc.h>
46 #include <dt-bindings/clock/sun8i-v3s-ccu.h>
47 #include <dt-bindings/reset/sun8i-v3s-ccu.h>
48 #include <dt-bindings/clock/sun8i-de2.h>
51 #address-cells = <1>;
52 #size-cells = <1>;
53 interrupt-parent = <&gic>;
56 #address-cells = <1>;
[all …]
Dsun8i-r16-bananapi-m2m.dts2 * Copyright (c) 2017 Free Electrons <maxime.ripard@free-electrons.com>
4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun8i-a33.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
50 compatible = "sinovoip,bananapi-m2m", "allwinner,sun8i-a33";
61 stdout-path = "serial0:115200n8";
65 compatible = "gpio-leds";
67 led-0 {
68 label = "bpi-m2m:blue:usr";
[all …]
Dsun8i-r16-parrot.dts4 * Quentin Schulz <quentin.schulz@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun8i-a33.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
54 compatible = "allwinner,parrot", "allwinner,sun8i-a33";
61 stdout-path = "serial0:115200n8";
65 compatible = "gpio-leds";
[all …]
Dsun8i-a23-a33.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/sun6i-rtc.h>
48 #include <dt-bindings/clock/sun8i-a23-a33-ccu.h>
49 #include <dt-bindings/reset/sun8i-a23-a33-ccu.h>
52 interrupt-parent = <&gic>;
53 #address-cells = <1>;
54 #size-cells = <1>;
[all …]
/linux-6.12.1/sound/soc/sunxi/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 tristate "Allwinner A10 Codec Support"
10 Select Y or M to add support for the Codec embedded in the Allwinner
14 tristate "Allwinner SUN8I audio codec"
20 This option enables the digital part of the internal audio codec for
21 Allwinner sun8i SoC (and particularly A33).
23 Say Y or M if you want to add sun8i digital audio codec support.
26 tristate "Allwinner sun8i Codec Analog Controls Support"
31 the codec embedded in newer Allwinner SoCs.
34 tristate "Allwinner sun50i Codec Analog Controls Support"
[all …]
Dsun8i-adda-pr-regmap.c1 // SPDX-License-Identifier: GPL-2.0+
3 * This driver provides regmap to access to analog part of audio codec
4 * found on Allwinner A23, A31s, A33, H3 and A64 Socs
6 * Copyright 2016 Chen-Yu Tsai <wens@csie.org>
15 #include "sun8i-adda-pr-regmap.h"
34 /* De-assert reset */ in adda_reg_read()
57 /* De-assert reset */ in adda_reg_write()
82 .name = "adda-pr",
99 MODULE_DESCRIPTION("Allwinner analog audio codec regmap driver");
102 MODULE_ALIAS("platform:sunxi-adda-pr");
Dsun8i-codec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * This driver supports the digital controls for the internal codec
4 * found in Allwinner's A33 SoCs.
6 * (C) Copyright 2010-2016
9 * Mylène Josserand <mylene.josserand@free-electrons.com>
27 #include <sound/soc-dapm.h>
251 if (scodec->clk_bus) { in sun8i_codec_runtime_resume()
252 ret = clk_prepare_enable(scodec->clk_bus); in sun8i_codec_runtime_resume()
259 regcache_cache_only(scodec->regmap, false); in sun8i_codec_runtime_resume()
261 ret = regcache_sync(scodec->regmap); in sun8i_codec_runtime_resume()
[all …]
Dsun8i-codec-analog.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * This driver supports the analog controls for the internal codec
4 * found in Allwinner's A31s, A23, A33 and H3 SoCs.
6 * Copyright 2016 Chen-Yu Tsai <wens@csie.org>
17 #include <sound/soc-dapm.h>
20 #include "sun8i-adda-pr-regmap.h"
22 /* Codec analog control register offsets and bit fields */
197 -450, 150, 0);
204 /* Mixer pre-gain */
233 * Due to this component and the codec belonging to separate DAPM
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/media/
Dallwinner,sun4i-a10-video-engine.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-video-engine.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 - allwinner,sun4i-a10-video-engine
17 - allwinner,sun5i-a13-video-engine
18 - allwinner,sun7i-a20-video-engine
19 - allwinner,sun8i-a33-video-engine
[all …]
/linux-6.12.1/arch/arm64/boot/dts/allwinner/
Dsun50i-a64.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/sun50i-a64-ccu.h>
7 #include <dt-bindings/clock/sun6i-rtc.h>
8 #include <dt-bindings/clock/sun8i-de2.h>
9 #include <dt-bindings/clock/sun8i-r-ccu.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/reset/sun50i-a64-ccu.h>
12 #include <dt-bindings/reset/sun8i-de2.h>
13 #include <dt-bindings/reset/sun8i-r-ccu.h>
14 #include <dt-bindings/thermal/thermal.h>
[all …]
Dsun50i-h6.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/clock/sun50i-h6-ccu.h>
6 #include <dt-bindings/clock/sun50i-h6-r-ccu.h>
7 #include <dt-bindings/clock/sun6i-rtc.h>
8 #include <dt-bindings/clock/sun8i-de2.h>
9 #include <dt-bindings/clock/sun8i-tcon-top.h>
10 #include <dt-bindings/reset/sun50i-h6-ccu.h>
11 #include <dt-bindings/reset/sun50i-h6-r-ccu.h>
12 #include <dt-bindings/reset/sun8i-de2.h>
[all …]
/linux-6.12.1/drivers/clk/sunxi-ng/
Dccu-sun8i-a33.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk-provider.h>
24 #include "ccu-sun8i-a23-a33.h"
37 .hw.init = CLK_HW_INIT("pll-cpux", "osc24M",
48 * With sigma-delta modulation for fractional-N on the audio PLL,
50 * can no longer be used, as the audio codec requests the exact clock
62 static SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(pll_audio_base_clk, "pll-audio-base",
72 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_video_clk, "pll-video",
84 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve",
96 static SUNXI_CCU_NKM_WITH_GATE_LOCK(pll_ddr0_clk, "pll-ddr0",
[all …]
Dccu-sun8i-a23.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk-provider.h>
25 #include "ccu-sun8i-a23-a33.h"
39 .hw.init = CLK_HW_INIT("pll-cpux", "osc24M",
50 * With sigma-delta modulation for fractional-N on the audio PLL,
52 * can no longer be used, as the audio codec requests the exact clock
64 static SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(pll_audio_base_clk, "pll-audio-base",
74 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_video_clk, "pll-video",
86 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve",
98 static SUNXI_CCU_NKM_WITH_GATE_LOCK(pll_ddr_clk, "pll-ddr",
[all …]