完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
Platform: RK3399
OS: Android 7.1 industry Kernel: v4.4.83 HDMI显示有两套流程框架。一套是基于DRM显示标准的HDMI框架;另外一套是RK自定义的HDMI框架。 那么对应地,HDMI Audio部分也对应的是有两套流程框架。 DRM标准HDMI框架 显示部分配置: hdmi: hdmi@ff940000 { compatible = "rockchip,rk3399-dw-hdmi"; reg = <0x0 0xff940000 0x0 0x20000>; reg-io-width = <4>; rockchip,grf = <&grf>; pinctrl-names = "default"; pinctrl-0 = <&hdmi_i2c_xfer>; power-domains = <&power RK3399_PD_HDCP>; interrupts = clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_SFR>, <&cru PLL_VPLL>, <&cru PCLK_VIO_GRF>, <&cru SCLK_HDMI_CEC>; clock-names = "iahb", "isfr", "vpll", "grf", "cec"; status = "disabled"; ...... }; 音频部分配置: hdmi_codec: hdmi-codec { compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,mclk-fs = <256>; simple-audio-card,name = "HDMI-CODEC"; simple-audio-card,cpu { sound-dai = <&i2s2>; }; simple-audio-card,codec { sound-dai = <&hdmi>; }; }; RK HDMI框架 显示部分配置: hdmi_rk_fb: hdmi-rk-fb@ff940000 { status = "disabled"; compatible = "rockchip,rk3399-hdmi"; reg = <0x0 0xff940000 0x0 0x20000>; interrupts = clocks = <&cru PCLK_HDMI_CTRL>, <&cru HCLK_HDCP>, <&cru SCLK_HDMI_CEC>, <&cru PLL_VPLL>, <&cru SCLK_HDMI_SFR>; clock-names = "pclk_hdmi", "hdcp_clk_hdmi", "cec_clk_hdmi", "dclk_hdmi_phy", "sclk_hdmi_sfr"; resets = <&cru SRST_HDMI_CTRL>; reset-names = "hdmi"; pinctrl-names = "default", "gpio"; pinctrl-0 = <&hdmi_i2c_xfer &hdmi_cec>; pinctrl-1 = <&i2c3_gpio>; rockchip,grf = <&grf>; power-domains = <&power RK3399_PD_HDCP>; }; 音频部分配置: hdmi_sound: hdmi-sound { status = "okay"; compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,mclk-fs = <256>; simple-audio-card,name = "rockchip,hdmi"; simple-audio-card,cpu { sound-dai = <&i2s2>; }; simple-audio-card,codec { sound-dai = <&dw_hdmi_audio>; }; }; |
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
谁有3566+电池+POE充电的方案,有个项目需要用该功能的主板
437 浏览 0 评论
RK3588的GMAC0与PHY的参考时钟电平匹配问题??????
4425 浏览 1 评论
请问各位大佬,如何解决,瑞芯微 RV1126B 使用 mpp 自带工具 调试时,内核直接报错崩溃!
1802 浏览 0 评论
使用rk3568开发板,核0\\1\\3运行linux,核2运行hal,在核0中怎么关闭核2
2359 浏览 0 评论
2363 浏览 0 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 06:46 , Processed in 0.581389 second(s), Total 41, Slave 34 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1957