1、属性值配置: - compatible: "rockchip,dummy-codec" 2、以rk3308 dummy音频声卡为例: Example for rk3308 dummy codec: dummy_codec: dummy-codec { compatible = "rockchip,dummy-codec"; };
1、属性值配置: - compatible: "rockchip,rk817-codec" - clocks: 设置rk817的时钟 - clock-names: 设置时钟的名称 "mclk". - spk-ctl-gpios: 设置speaker的mute gpio - hp-ctl-gpios: 设置hp 的 mute gpio - spk-mute-delay-ms: 设置speak mute delay时间 - hp-mute-delay-ms: 设置hp mute dela...
sound-dai = <&dummy_codec>;};};注册后的声卡可以看到 2.麦克风,喇叭配置 上述讲过麦克风喇叭因为...
dummy_codec就是codec上的接口,在simple-sound-card这个板子上soc通过spdif这个接口于dummy_codec这个...
233 + compatible = "rockchip,dummy-codec"; 234 + #sound-dai-cells = <0>; 235 + }; 236 + 237 + hdmiin-sound { 238 + compatible = "simple-audio-card"; 239 + simple-audio-card,format = "i2s"; 240 + simple-audio-card,name = "rockchip-hdmiin"; 241 + simple-audi...
snd_soc_simple_card snd_soc_simple_card_utils pwm_fan snd_soc_dummy_codec snd_soc_es8316 ecdh_generic bifrost_kbase ecc snd_soc_hdmi_codec snd_soc_rockchip_multicodecs snd_soc_rockchip_hdmi snd_soc_rockchip_i2s_tdm snd_soc_rockchip_spdif snd_soc_core snd_pcm_dmaengine snd_pcm snd...
[ 5.470491] dwhdmi-rockchip ff940000.hdmi: supply avdd-1v8 not found, using dummy regulator [ 5.480056] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY) [ 5.495963] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockch...
●ROCKCHIP HDMI:HDMI dummy codec,表示输出音频到hdmi 接口。●ROCKCHIP SPDIF:SPDIF 声卡,表示输出...
+ mDummyReadView(DummyReadView()), mIntf(intf), mLooper(new ALooper), mHandler(new WorkHandler) { @@ -277,7 +303,11 @@ c2_status_t C2RKComponent::flush_sm( flush_mode_t flushMode, std::list<std::unique_ptr<C2Work>>* const flushedWork) { ...
Machine driver描述了如何控制platform、codec、cpu dai(Digital Audio Interface,数字音频接口)和codec dai,使得互相配合在一起工作,Machine驱动代码位于sound/soc/generic/simple-card.c文件。 回到顶部 一、设备树配置 1.1 设备节点rt5651-sound 我们在arch/arm64/boot/dts/rockchip/rk3399-evb.dts文件根节点下添加...