Is it possible to run the I2S audio service on the BananaPiM2pro? And if so, what firmware? And if so, is it possible to run, for example, the popular PCM5102-based audio DAC? I haven’t found anything on the internet, so it’s probably not possible on Orangepim2pro…
I use I2S with PCM5102 and CM4. I would try TDMB_* pins, as they are routed on M2. This is a part of my dt-overlay for CM4. It uses the same tdm_b.
&tdmif_b {
status = "okay";
pinctrl-0 = <&tdm_b_dout0_pins>, <&tdm_b_fs_pins>, <&tdm_b_sclk_pins>, <&tdm_b_din1_pins>;
pinctrl-names = "default";
assigned-clocks = <&clkc_audio AUD_CLKID_TDM_SCLK_PAD1>,
<&clkc_audio AUD_CLKID_TDM_LRCLK_PAD1>;
assigned-clock-parents = <&clkc_audio AUD_CLKID_MST_B_SCLK>,
<&clkc_audio AUD_CLKID_MST_B_LRCLK>;
assigned-clock-rates = <0>, <0>;
};
Thanks for the information, but CM4 is not Bananapim2pro… you would have to spend a lot of time on diagnostics, and even if you are not an electronics engineer or a programmer, it does not guarantee success. Currently, I’m using a USB sound card. Of course, I tried to enable I2S on the Armbian firmware using AI/Gemini, but despite numerous attempts, unfortunately, it didn’t work… and today I’m fed up with these attempts… it’s a waste of time
Ps. Of course, it’s not impossible, quite the opposite, but:
Because:
the hardware supports it,
the kernel supports it,
the modules are there,
the TDM is there,
the PCM5102 driver is there,
the simple-card is there.
However, the configuration is for advanced users: overlays, ALSA graph,
clocks, pinmux, routing, module loading order, and card numbering. This is more of a job for Armbian or Bananapim2pro developers.
As of today, it must be said that unfortunately Bananapim2pro does not support the I2S service and if someone really needs this option, it is better to use, for example, a raspberry pi which has better support in this direction.
regards