Home
last modified time | relevance | path

Searched +full:rk3328 +full:- +full:codec (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/sound/
Drockchip,rk3328-codec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/rockchip,rk3328-codec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip rk3328 internal codec
10 - Heiko Stuebner <heiko@sntech.de>
14 const: rockchip,rk3328-codec
21 - description: clock for audio codec
22 - description: clock for I2S master clock
24 clock-names:
[all …]
/Linux-v5.10/sound/soc/codecs/
Drk3328_codec.c1 // SPDX-License-Identifier: GPL-2.0
3 // rk3328 ALSA SoC Audio driver
23 * 0: -39dB
57 static int rk3328_codec_reset(struct rk3328_codec_priv *rk3328) in rk3328_codec_reset() argument
59 regmap_write(rk3328->regmap, CODEC_RESET, 0x00); in rk3328_codec_reset()
61 regmap_write(rk3328->regmap, CODEC_RESET, 0x03); in rk3328_codec_reset()
68 struct rk3328_codec_priv *rk3328 = in rk3328_set_dai_fmt() local
69 snd_soc_component_get_drvdata(dai->component); in rk3328_set_dai_fmt()
80 return -EINVAL; in rk3328_set_dai_fmt()
83 regmap_update_bits(rk3328->regmap, DAC_INIT_CTRL1, in rk3328_set_dai_fmt()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # modular, meaning we can't build the codec driver in with I2C support.
5 # setting - SPI can't be modular so that case doesn't need to be covered.
12 menu "CODEC drivers"
15 tristate "Build all ASoC CODEC drivers"
283 Normally ASoC codec drivers are only built if a machine driver which
334 tristate "Build generic ASoC AC97 CODEC driver"
372 tristate "Analog Devices ADAU1701 CODEC"
386 tristate "Analog Devices AU1761 CODEC - I2C"
392 tristate "Analog Devices AU1761 CODEC - SPI"
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 snd-soc-88pm860x-objs := 88pm860x-codec.o
3 snd-soc-ab8500-codec-objs := ab8500-codec.o
4 snd-soc-ac97-objs := ac97.o
5 snd-soc-ad1836-objs := ad1836.o
6 snd-soc-ad193x-objs := ad193x.o
7 snd-soc-ad193x-spi-objs := ad193x-spi.o
8 snd-soc-ad193x-i2c-objs := ad193x-i2c.o
9 snd-soc-ad1980-objs := ad1980.o
10 snd-soc-ad73311-objs := ad73311.o
[all …]
Drk3328_codec.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * rk3328 ALSA SoC Audio driver
13 /* codec register */
/Linux-v5.10/Documentation/devicetree/bindings/gpio/
Drockchip,rk3328-grf-gpio.txt1 Rockchip RK3328 GRF (General Register Files) GPIO controller.
3 In Rockchip RK3328, the output only GPIO_MUTE pin, originally for codec mute
12 - compatible: Should contain "rockchip,rk3328-grf-gpio".
13 - gpio-controller: Marks the device node as a gpio controller.
14 - #gpio-cells: Should be 2. The first cell is the pin number and
22 compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
24 grf_gpio: grf-gpio {
25 compatible = "rockchip,rk3328-grf-gpio";
26 gpio-controller;
27 #gpio-cells = <2>;
/Linux-v5.10/Documentation/devicetree/bindings/soc/rockchip/
Dgrf.txt7 - GRF, used for general non-secure system,
8 - SGRF, used for general secure system,
9 - PMUGRF, used for always on system
11 On RK3328 SoCs, the GRF adds a section for USB2PHYGRF,
14 - GRF, used for general non-secure system,
15 - SGRF, used for general secure system,
16 - DETECTGRF, used for audio codec system,
17 - COREGRF, used for pvtm,
21 - compatible: GRF should be one of the following:
22 - "rockchip,px30-grf", "syscon": for px30
[all …]
/Linux-v5.10/arch/arm64/boot/dts/rockchip/
Drk3328.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rk3328-cru.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/power/rk3328-power.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
13 #include <dt-bindings/thermal/thermal.h>
16 compatible = "rockchip,rk3328";
[all …]
Drk3328-rock64.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include "rk3328.dtsi"
11 compatible = "pine64,rock64", "rockchip,rk3328";
14 stdout-path = "serial2:1500000n8";
17 gmac_clkin: external-gmac-clock {
18 compatible = "fixed-clock";
19 clock-frequency = <125000000>;
20 clock-output-names = "gmac_clkin";
21 #clock-cells = <0>;
[all …]
Drk3328-a1.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT)
2 // Copyright (c) 2017-2019 Arm Ltd.
4 /dts-v1/;
5 #include "rk3328.dtsi"
9 compatible = "azw,beelink-a1", "rockchip,rk3328";
15 * /-------
16 * L / o <- Gnd
17 * e / o <-- Rx
18 * f / o <--- Tx
19 * t / o <---- +3.3v
[all …]
Drk3318-a95x-z2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include "rk3328.dtsi"
9 compatible = "zkmagic,a95x-z2", "rockchip,rk3318";
12 stdout-path = "serial2:1500000n8";
15 adc-keys {
16 compatible = "adc-keys";
17 io-channels = <&saradc 0>;
18 io-channel-names = "buttons";
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/media/
Drockchip-vpu.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/media/rockchip-vpu.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Ezequiel Garcia <ezequiel@collabora.com>
19 - rockchip,rk3288-vpu
20 - rockchip,rk3328-vpu
21 - rockchip,rk3399-vpu
30 interrupt-names:
32 - const: vdpu
[all …]
/Linux-v5.10/drivers/staging/media/hantro/
Dhantro_drv.c1 // SPDX-License-Identifier: GPL-2.0
3 * Hantro VPU codec driver
9 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
22 #include <media/v4l2-event.h>
23 #include <media/v4l2-mem2mem.h>
24 #include <media/videobuf2-core.h>
25 #include <media/videobuf2-vmalloc.h>
31 #define DRIVER_NAME "hantro-vpu"
36 "Debug level - higher value produces more verbose messages");
42 ctrl = v4l2_ctrl_find(&ctx->ctrl_handler, id); in hantro_get_ctrl()
[all …]