Firefly开源社区

打印 上一主题 下一主题

[Android] 3288 7.1 rk1000调试问题

96

积分

0

威望

0

贡献

技术小白

积分
96

3288 7.1 rk1000调试问题

发表于 2019-2-22 09:35:19      浏览:7935 | 回复:1        打印      只看该作者   [复制链接] 楼主
请问有谁在3288 7.1上面调出来rk1000了吗?
我的dts配置:
&i2c4 {
    status = "okay";
    rk1000_ctl: rk1000_control@40 {
        compatible = "rockchip,rk1000-ctl";
        reg = <0x40>;
        reset-gpios = <&gpio7 RK_PC5 GPIO_ACTIVE_LOW>;
        clocks = <&cru SCLK_I2S0_OUT>;
        clock-names = "mclk";
        pinctrl-names = "default";
        pinctrl-0 = <&i2s0_mclk>;
        status = "okay";
    };
    rk1000_tve@42 {
        compatible = "rockchip,rk1000-tve";
        reg = <0x42>;
        rockchip,source = <0>; //0: LCDC0; 1: LCDC1
        rockchip,prop = <PRMRY>;//<EXTEND>
        rockchip,ctl = <&rk1000_ctl>;
        status = "okay";
    };
    rk1000_codec: rk1000_codec@60 {
        compatible = "rockchip,rk1000-codec";
        reg = <0x60>;
        rockchip,spk-en-gpios = <&gpio7 RK_PA5 GPIO_ACTIVE_LOW>;
        rockchip,ctl = <&rk1000_ctl>;
        rockchip,pa-en-time-ms = <5000>;
        pinctrl-0 = <&spk_en>;
        status = "okay";
    };

};

hdmi_analog_sound: hdmi-analog-sound {
        status = "okay";
        compatible = "rockchip,rk3288-hdmi-analog",
                "rockchip,rk3368-hdmi-analog";
        rockchip,model = "rockchip,rk1000-codec";
        rockchip,cpu = <&i2s>;
        rockchip,codec = <&rk1000_codec>, <&hdmi>;
        rockchip,widgets =
            "Microphone", "Microphone Jack",
            "Headphone", "Headphone Jack";
        rockchip,routing =
            "MIC1", "Microphone Jack",
            "MIC2", "Microphone Jack",
            "Microphone Jack", "micbias1",
            "Headphone Jack", "HPOL",
            "Headphone Jack", "HPOR";
    };

现目前没有看到rk1000的声卡出来,log看到报错:
[    1.219029] rk1000-ctl 4-0040: Failed to create debugfs directory
[    1.221684] card->dev is not set before calling snd_soc_of_parse_card_name

回复

使用道具 举报

1570

积分

3

威望

0

贡献

中级创客

Rank: 4

积分
1570

突出贡献

QQ
发表于 2019-2-27 11:05:02        只看该作者  沙发
好好对下dts,
rk1000_codec: rk1000_codec@60 {
--> rk1000_codec: rk1000-codec@60 {
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表