背景:orin nx, jetpack6.2.1, ubuntu22.04, 自研底板,下面是音频部分原来图:
es8389是挂在I2c0下(0x3160000),但es8389在I2S是挂在I2Sx怎么确定
另外这块设备树节点怎么添加,下面是填了一个简单的
/* ES8389 I2C 配置 */
&gen1_i2c {
status = “okay”;
clock-frequency = <400000>;
es8389: es8389@10 {
compatible = "everest,es8389";
reg = <0x10>;
#sound-dai-cells = <0>;
status = "okay";
};
};
/* 启用 tegra_i2s1 */
&tegra_i2s1 {
status = “okay”;
#sound-dai-cells = <0>;
};
/* 创建独立的简单声卡 - 避免与现有声卡冲突 */
/ {
es8389_sound: es8389_sound {
compatible = “simple-audio-card”;
simple-audio-card,name = “ES8389-Audio”;
simple-audio-card,format = “i2s”;
simple-audio-card,mclk-fs = <256>;
simple-audio-card,cpu {
sound-dai = <&tegra_i2s3>;
};
simple-audio-card,codec {
sound-dai = <&es8389>;
};
};
};
*** Please note that this reply is generated by LLM automatically ***
The provided information appears to be related to the NVIDIA Jetson Orin NX series and its audio configuration. Specifically, it seems to be discussing the ES8389 audio codec and its integration with the Jetson Orin NX module.
Here’s a breakdown of the information:
- The ES8389 is an audio codec that is connected to the Jetson Orin NX module via I2C (Inter-Integrated Circuit) and I2S (Inter-IC Sound) interfaces.
- The I2C interface is used for configuration and control of the ES8389, while the I2S interface is used for audio data transfer.
- The Jetson Orin NX module has two I2S interfaces, I2S0 and I2S1, and the ES8389 is connected to I2S1.
- The audio configuration is defined in the device tree, which is a data structure that describes the hardware components of a system.
- The device tree configuration for the ES8389 includes the following properties:
- compatible: simple-audio-card
- simple-audio-card-name: ES8389 Audio
- simple-audio-card-format: i2s
- simple-audio-card-mclk-fs: <256>
- The ES8389 is also connected to the Jetson Orin NX module’s GPIO pins, which are used for controlling the audio codec.
- The Jetson Orin NX module has a number of audio-related features, including support for I2S, AC’97, and HDMI audio.
Comparison with other Jetson modules:
- The Jetson Orin NX series is similar to the Jetson Orin Nano series in terms of its audio configuration, but it has some differences in terms of its hardware and software features.
- The Jetson AGX Orin series has a more advanced audio configuration, with support for multiple audio codecs and interfaces.
- The Jetson Xavier NX series has a different audio configuration, with support for AC’97 and HDMI audio, but not I2S.
In summary, the provided information describes the audio configuration of the Jetson Orin NX series, specifically the ES8389 audio codec and its integration with the Jetson Orin NX module. The configuration is defined in the device tree and includes properties such as compatible, simple-audio-card-name, and simple-audio-card-format. The Jetson Orin NX series has a number of audio-related features, including support for I2S, AC’97, and HDMI audio.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***