This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am5728 音频 设备树

Other Parts Discussed in Thread: TLV320AIC3104

各位大神:

    自己按照x15 画的板子,音频接口只是采用mcasp8, 设备树 该怎么写?

x15设备 接的是clkout2  自己是接clkout3 , 可是在时钟定义里面 找不到 clkout3 。。。。。

  

  • 两天调通了,TI给的范例太少了。
    需要mcasp8 做主模式 ,

    &mcasp8 {
    pinctrl-names = "default";
    pinctrl-0 = <&mcasp8_pins_default>;

    #sound-dai-cells = <0>;
    status = "okay";

    op-mode = <0>; /* MCASP_IIS_MODE */
    tdm-slots = <2>;
    /* 4 serializers */
    serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
    1 2 0 0
    >;
    tx-num-evt = <32>;
    rx-num-evt = <32>;
    };

    &sound0{
    simple-audio-card,bitclock-master = <&sound0_master>;
    simple-audio-card,frame-master = <&sound0_master>;

    sound0_master: simple-audio-card,cpu {
    sound-dai = <&mcasp8>;
    system-clock-direction = "out";
    clocks = <&sys_clkin2>;
    };

    simple-audio-card,codec {
    sound-dai = <&tlv320aic3104>;
    clocks = <&sys_clkin2>;
    };
    };