Firefly开源社区

标题: 3288 7.1 rk1000调试问题 [打印本页]

作者: lzhp258    时间: 2019-2-22 09:35
标题: 3288 7.1 rk1000调试问题
请问有谁在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


作者: loading    时间: 2019-2-27 11:05
好好对下dts,
rk1000_codec: rk1000_codec@60 {
--> rk1000_codec: rk1000-codec@60 {




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1