Home
last modified time | relevance | path

Searched +full:sun50i +full:- +full:a64 +full:- +full:codec +full:- +full:analog (Results 1 – 5 of 5) sorted by relevance

/linux/Documentation/devicetree/bindings/sound/
H A Dallwinner,sun50i-a64-codec-analog.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/allwinner,sun50i-a64-codec-analog.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A64 Analog Codec
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
15 const: allwinner,sun50i-a64-codec-analog
20 cpvdd-supply:
24 allwinner,internal-bias-resistor:
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A 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 …]
/linux/sound/soc/sunxi/
H A 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
23 Say Y or M if you want to add sun8i digital audio codec support.
26 tristate "Allwinner sun8i Codec Analog Controls Support"
30 Say Y or M if you want to add support for the analog controls for
31 the codec embedded in newer Allwinner SoCs.
34 tristate "Allwinner sun50i Codec Analog Controls Support"
[all …]
H A Dsun50i-codec-analog.c1 // SPDX-License-Identifier: GPL-2.0+
3 * This driver supports the analog controls for the internal codec
4 * found in Allwinner's A64 SoC.
6 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
10 * Based on sun8i-codec-analog.c
22 #include <sound/soc-dapm.h>
25 #include "sun8i-adda-pr-regmap.h"
27 /* Codec analog control register offsets and bit fields */
178 -450, 150, 0);
184 static const DECLARE_TLV_DB_SCALE(sun50i_codec_hp_vol_scale, -6300, 100, 1);
[all …]
H A Dsun8i-codec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * This driver supports the digital controls for the internal codec
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()
274 regcache_cache_only(scodec->regmap, true); in sun8i_codec_runtime_suspend()
[all …]