Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A 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 …]
H A Drockchip,rk3328-codec.txt1 * Rockchip Rk3328 internal codec
5 - compatible: "rockchip,rk3328-codec"
6 - reg: physical base address of the controller and length of memory mapped
8 - rockchip,grf: the phandle of the syscon node for GRF register.
9 - clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
10 - clock-names: should be "pclk".
11 - spk-depop-time-ms: speak depop time msec.
13 Example for rk3328 internal codec:
15 codec: codec@ff410000 {
16 compatible = "rockchip,rk3328-codec";
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A 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 …]
H A 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 …]
H A 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"
297 Normally ASoC codec drivers are only built if a machine driver which
348 tristate "Build generic ASoC AC97 CODEC driver"
386 tristate "Analog Devices ADAU1701 CODEC"
400 tristate "Analog Devices AU1761 CODEC - I2C"
406 tristate "Analog Devices AU1761 CODEC - SPI"
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/
H A 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>;
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A 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 …]
H A Drk3328-box-liantong.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "rk3328.dtsi"
8 #include "rk3328-android.dtsi"
9 #include "rk3328-box-plus-dram-timing.dtsi"
10 #include <dt-bindings/input/input.h>
13 gmac_clkin: external-gmac-clock {
14 compatible = "fixed-clock";
15 clock-frequency = <125000000>;
16 clock-output-names = "gmac_clkin";
17 #clock-cells = <0>;
[all …]
H A Drk3328-rock64-android.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "rk3328.dtsi"
8 #include "rk3328-android.dtsi"
9 #include <dt-bindings/input/input.h>
12 gmac_clkin: external-gmac-clock {
13 compatible = "fixed-clock";
14 clock-frequency = <125000000>;
15 clock-output-names = "gmac_clkin";
16 #clock-cells = <0>;
19 vcc_sd: sdmmc-regulator {
[all …]
H A Drk3328-evb-android.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "rk3328.dtsi"
8 #include "rk3328-android.dtsi"
9 #include <dt-bindings/input/input.h>
12 gmac_clkin: external-gmac-clock {
13 compatible = "fixed-clock";
14 clock-frequency = <125000000>;
15 clock-output-names = "gmac_clkin";
16 #clock-cells = <0>;
19 sdio_pwrseq: sdio-pwrseq {
[all …]
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/rockchip/
H A 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 …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A DKconfig18 The Rockchip PX30 is a ARM-based SoC with a quad-core Cortex-A35
19 including NEON and GPU, Mali-400 graphics, several DDR3 options
20 and video codec support. Peripherals include Gigabit Ethernet,
26 default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
55 The Rockchip RK3036 is a ARM-based SoC with a dual-core Cortex-A7
56 including NEON and GPU, Mali-400 graphics, several DDR3 options
57 and video codec support. Peripherals include Gigabit Ethernet,
66 The Rockchip RK3128 is a ARM-based SoC with a quad-core Cortex-A7
67 including NEON and GPU, Mali-400 graphics, several DDR3 options
68 and video codec support. Peripherals include Gigabit Ethernet,
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Drv1106.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 #include <dt-bindings/clock/rv1106-cru.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/soc/rockchip,boot-mode.h>
11 #include <dt-bindings/soc/rockchip-system-status.h>
12 #include <dt-bindings/thermal/thermal.h>
15 #address-cells = <1>;
[all …]
H A Drk3562.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rk3562-cru.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/phy/phy.h>
10 #include <dt-bindings/power/rk3562-power.h>
11 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
13 #include <dt-bindings/soc/rockchip-system-status.h>
14 #include <dt-bindings/thermal/thermal.h>
[all …]
H A Drk3588s.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rk3588-cru.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/phy/phy.h>
10 #include <dt-bindings/power/rk3588-power.h>
11 #include <dt-bindings/gpio/gpio.h>
16 interrupt-parent = <&gic>;
17 #address-cells = <2>;
18 #size-cells = <2>;
[all …]
H A Drk3568.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rk3568-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/soc/rockchip,boot-mode.h>
12 #include <dt-bindings/phy/phy.h>
13 #include <dt-bindings/power/rk3568-power.h>
18 interrupt-parent = <&gic>;
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drv1106.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 #include <dt-bindings/clock/rv1106-cru.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/soc/rockchip,boot-mode.h>
11 #include <dt-bindings/soc/rockchip-system-status.h>
12 #include <dt-bindings/thermal/thermal.h>
15 #address-cells = <1>;
[all …]
H A Drv1126.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rv1126-cru.h>
7 #include <dt-bindings/power/rv1126-power.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
13 #include <dt-bindings/soc/rockchip-system-status.h>
14 #include <dt-bindings/suspend/rockchip-rv1126.h>
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/video/
H A Drockchip_codec.txt1 Device-Tree bindings for Rockchip Video Codec.
4 - compatible: There are several vcodec IP inside rockchip chips.
6 "rockchip,vpu-decoder-v1",
7 "rockchip,avs-plus-decoder",
8 "rockchip,vpu-decoder-v2",
9 "rockchip,vpu-decoder-px30",
10 "rockchip,vpu-decoder-rk3288",
11 "rockchip,vpu-decoder-rk3368",
12 "rockchip,hevc-decoder",
13 "rockchip,hevc-decoder-px30",
[all …]
/OK3568_Linux_fs/external/mpp/osal/
H A Dmpp_soc.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
34 ((RK_U32)(-1)) : \
36 ((RK_U32)(type) - (RK_U32)MPP_VIDEO_CodingVC1 + 16) : \
37 ((RK_U32)(type) - (RK_U32)MPP_VIDEO_CodingUnused)
578 * 1 - vdpu1
579 * 2 - RK hevc decoder
604 * 1 - vpu1 with 2160p AVC decoder
605 * 2 - RK hevc 4K decoder
615 * 1 - vpu1
616 * 2 - RK hevc 1080p decoder
[all …]
/OK3568_Linux_fs/external/mpp/
H A Dreadme.txt16 b. use cmake out-of-source build, final binary and library will be install to
29 RK3228/RK3229/RK3228H/RK3328
38 Android : https://github.com/c-xh/RKMediaCodecDemo
39 5. offical github: https://github.com/rockchip-linux/mpp
43 More document can be found at http://opensource.rock-chips.com/wiki_Mpp
45 ---- top
47 |----- build CMake out-of-source build directory
49 | |----- cmake cmake script directory
51 | |----- android android build directory
53 | |----- linux linux build directory
[all …]

12