sound2: sound2 {
compatible = "simple-audio-card";
simple-audio-card,name = "BeagleBoard-X15";
simple-audio-card,widgets =
"Line", "Line Out",
"Line", "Line In";
simple-audio-card,routing =
"Line Out", "LLOUT",
"Line Out", "RLOUT",
"MIC2L", "Line In",
"MIC2R", "Line In";
simple-audio-card,format = "dsp_b";
simple-audio-card,bitclock-master = <&sound2_master>;
simple-audio-card,frame-master = <&sound2_master>;
simple-audio-card,bitclock-inversion;
simple-audio-card,cpu {
sound-dai = <&mcasp6>;
};
sound2_master: simple-audio-card,codec {
sound-dai = <&tlv320aic3x>;
clocks = <&sys_clkin2>;
};
};
};
&i2c3 {
status = "okay";
clock-frequency = <400000>;
tlv320aic3x: tlv320aic3x@18 {
#sound-dai-cells = <0>;
compatible = "ti,tlv320aic3x";
reg = <0x18>;
/* assigned-clocks = <&mcasp6_ahclkx_mux>;
assigned-clock-parents = <&sys_clkin2>;*/
status = "okay";
ai3x-micbias-vg = <1>; /* 2.0V */
AVDD-supply = <&vdd_3v3>;
DRVDD-supply = <&vdd_3v3>;
IOVDD-supply = <&vdd_3v3>;
DVDD-supply = <&aic_dvdd>;
};
&mcasp6 {
#sound-dai-cells = <0>;
assigned-clocks = <&mcasp6_ahclkx_mux>;
/* assigned-clock-parents = <&sys_clkin2>;*/
pinctrl-names = "default";
pinctrl-0 = <&mcasp6_pins>;
status = "okay";
op-mode = <0>;
tdm-slots = <2>;
serial-dir = < 1 2 0 0
>;
tx-num-evt = <32>;
rx-num-evt = <32>;
};
mcasp6_pins: mcasp6_pins {
pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x36e0, PIN_INPUT | MUX_MODE1 | SLEWCONTROL ) /* mcasp6_fsx */
DRA7XX_CORE_IOPAD(0x36dc, PIN_INPUT | MUX_MODE1 | SLEWCONTROL ) /* mcasp6_aclkx */
DRA7XX_CORE_IOPAD(0x3698, PIN_OUTPUT | MUX_MODE4 ) /* mcasp6_ahclkx */
DRA7XX_CORE_IOPAD(0x36d4, PIN_OUTPUT | MUX_MODE1 | SLEWCONTROL) /* mcasp6_axr0 */
DRA7XX_CORE_IOPAD(0x36d8, PIN_INPUT | MUX_MODE1 | SLEWCONTROL ) /* mcasp6_axr1 */
>;
};
Shine:
请问用到是哪款器件?
user5879623:
回复 Shine:
主芯片am5728 声卡芯片TLV320AIC32IRHBT