完善资料让更多小伙伴认识你,还能领取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>; }; }; |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1906 浏览 1 评论
synopsys 的design ware:DW_fpv_div,浮点数除法器,默认32位下,想提升覆盖率(TMAX),如果用功能case去提升覆盖率呢?
2382 浏览 1 评论
RK3588 GStreamer调试四路鱼眼摄像头四宫格显示报错
5175 浏览 1 评论
【飞凌嵌入式OK3576-C开发板体验】RKNN神经网络-YOLO图像识别
254 浏览 0 评论
【飞凌嵌入式OK3576-C开发板体验】SSH远程登录网络配置及CAN通讯
1336 浏览 0 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 05:42 , Processed in 0.713584 second(s), Total 71, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号