|  | 
【Linux】
I2S MCLK on Core-3399-JD4
    
    Posted at  9/5/2019 17:38:15
            
         View:4038
     |
     Replies:1
     
  
     
 
   	
    
  Print   
        
  
   
  Only Author 
    [Copy Link]
	
    
 
  	             
1# 
 
| Last edited by alex.mamonov In 9/5/2019 18:13 Editor 
 Hi!
 
 I'm trying to use I2S1 on Firefly Core-3399-JD4 with TLV320AIC3100 codec. This is how I describe it in the dts:
 
 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?Copy the code/ {
  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>;
  };
};
 
 
 | 
 |