I2S MCLK on Core-3399-JD4

Hi!

I’m trying to use I2S1 on Firefly Core-3399-JD4 with TLV320AIC3100 codec. This is how I describe it in the dts:

/ {
  tlv320aic31xx-sound {
    compatible = "simple-audio-card";
    status = "okay";
    simple-audio-card,format = "i2s";
    simple-audio-card,name = "rockchip,tlv320aic31xx-codec";
    simple-audio-card,widgets =
                            "Microphone", "Mic Jack",
    "Headphone", "Headphone Jack";
    simple-audio-card,routing =
    "Mic Jack", "MICBIAS1",
    "IN1P", "Mic Jack",
    "Headphone Jack", "HPOL",
    "Headphone Jack", "HPOR";

    simple-audio-card,cpu {
      sound-dai = <&i2s1>;
      format = "i2s";
    };
    simple-audio-card,codec {
      sound-dai = <&tlv320aic3100>;
      format = "i2s";
    };
  };
};
&i2c1 {
  tlv320aic3100: tlv320aic3100@18 {
    #sound-dai-cells = <0>;
    compatible = "ti,tlv320aic3100";
    reg = <0x18>;
    status = "okay";

    HPVDD-supply = <&vcc3v3_sys>;
    SPRVDD-supply = <&vcc5v0_host>;
    SPLVDD-supply = <&vcc5v0_host>;
    AVDD-supply = <&vcc3v3_sys>;
    IOVDD-supply = <&vcca1v8_codec>;
    DVDD-supply = <&vcca1v8_codec>;
  };
};

The drivers starts without errors and I can see audio device in aplay -l output, but there is no sound and I can’t see the clocks on MCLK pin. How can I get MCLK on?

You need to specify clock, take rt5640 as an example:

&i2c1 {
        status = "okay";
        i2c-scl-rising-time-ns = <300>;
        i2c-scl-falling-time-ns = <15>;

        rt5640: rt5640@1c {
                #sound-dai-cells = <0>;
                compatible = "realtek,rt5640";
                reg = <0x1c>;
                clocks = <&cru SCLK_I2S_8CH_OUT>;
                clock-names = "mclk";
                realtek,in1-differential;
                pinctrl-names = "default";
                pinctrl-0 = <&rt5640_hpcon &i2s_8ch_mclk>;
                hp-con-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
                //hp-det-gpio = <&gpio4 28 GPIO_ACTIVE_LOW>;
                io-channels = <&saradc 4>;
                hp-det-adc-value = <500>;
        };
}

Wissen Sie SAP C-TS4FI-2023 Dumps von Fast2test? Warum sind diese Dumps von den Benutzern gut bewertet? Wollen Sie diese Dumps probieren? Klicken Sie bitte Fast2test Website und die Demo herunterladen. Und jedr Fragenkatalog hat eine kostlose Demo. Wenn Sie es gut finden, können Sie diese Dumps sofort kaufen. Nach dem Kauf können Sie auch einen einjährigen kostlosen Aktualisierungsservice bekommen. Innerhalb eines Jahres können Sie die neuesten SAP C-TS4FI-2023 Prüfungsunterlagen besitzen. Damit können Sie SAP C-TS4FI-2023 Zertifizierungsprüfung sehr leicht bestehen und dieses Zertifikat bekommen.

This article has given me a much deeper understanding of many issues. The C-P2WBW-2505 latest exam collection sheet helped me climb the career ladder and earn a raise. Now, I’m sharing it for free with all of you. Wishing you success!

Thank you for your article, it was incredibly enlightening. Best wishes for your exam! Here’s the free C-BCBDC-2505 Updated dumps material.