Daniel Golle
957a0921e2
mediatek: bananapi-r3: add overlay for ReSpeaker 2-mic hat
Add DT overlay to allow using the ReSpeaker 2-mic hat connected to
the 26-pin header of the BananaPi BPi-R3.
Supported sample formats: S16_LE, S24_LE, S32_LE
Supported sample rates: 8/12/16/24/32/48/96/192 kHz
| BPi-R3 | ReSpeaker 2-mic
Signal | 26-pin | 40-pin
----------+----------+-------------------
VCC 5V | 2 | 2
I2C SDA | 3 | 3
I2C SCL | 5 | 5
GND | 6 | 6
PCM CLK | 12 | 12
PCM FS | 15 | 35
PCM DIN | 26 | 38
GND | 25 | 39
PCM DOUT | 22 | 40
Once connected, install the driver and tell U-Boot to apply the DT
overlay:
opkg kmod-sound-soc-mt7986-wm8960
fw_setenv bootconf_base "config-mt7986a-bananapi-bpi-r3#mt7986a-bananapi-bpi-r3-respeaker-2mics"
reboot
To setup the ReSpeaker for Stereo out on the Headphone plug:
amixer sset 'Right Output Mixer PCM' on
amixer sset 'Left Output Mixer PCM' on
amixer sset 'PCM Playback -6dB' off
amixer sset 'O018 I150_Switch' on
amixer sset 'O019 I151_Switch' on
amixer sset 'O124 I032_Switch' on
amixer sset 'O125 I033_Switch' on
amixer sset 'Headphone' 121
amixer sset 'Playback' 255
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-12-11 18:01:43 +00:00
..
2022-04-30 16:00:15 +01:00
2023-03-18 12:52:17 +01:00
2022-04-19 17:07:23 +01:00
2022-04-28 18:06:00 +08:00
2022-04-30 16:00:15 +01:00
2022-04-30 16:00:15 +01:00
2022-04-30 16:00:15 +01:00
2022-04-30 16:00:15 +01:00
2022-04-30 16:00:15 +01:00
2022-05-09 20:49:50 +01:00
2022-04-30 16:00:15 +01:00
2023-04-18 13:53:03 +02:00
2023-04-18 13:53:03 +02:00
2022-09-09 21:08:37 +01:00
2023-03-18 12:52:17 +01:00
2022-09-09 21:08:37 +01:00
2023-03-18 12:52:17 +01:00
2023-04-18 13:53:03 +02:00
2022-04-28 18:06:00 +08:00
2022-04-28 18:06:00 +08:00
2022-04-28 18:06:00 +08:00
2022-08-28 20:33:15 +01:00
2022-04-30 16:00:10 +01:00
2022-11-05 14:07:46 +00:00
2023-03-18 12:52:17 +01:00
2022-10-14 14:44:37 +02:00
2023-06-05 11:36:32 +01:00
2023-08-28 13:55:38 +01:00
2022-10-30 17:54:59 +01:00
2022-11-05 14:07:46 +00:00
2022-11-05 14:07:46 +00:00
2022-11-05 14:07:46 +00:00
2022-12-14 23:34:50 +01:00
2023-03-27 19:07:54 +01:00
2023-03-27 19:07:54 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2022-08-28 20:33:15 +01:00
2023-04-18 13:53:03 +02:00
2022-04-28 18:06:00 +08:00
2023-04-18 13:53:03 +02:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-06-02 18:11:23 +01:00
2022-08-28 20:33:15 +01:00
2023-10-07 10:00:03 -04:00
2023-03-27 19:07:54 +01:00
2023-03-27 19:07:54 +01:00
2023-03-27 19:07:54 +01:00
2023-03-27 19:07:54 +01:00
2023-04-18 13:53:03 +02:00
2023-09-20 14:13:00 +02:00
2023-06-06 11:01:31 +02:00
2023-03-18 12:52:17 +01:00
2023-03-18 12:52:17 +01:00
2022-11-05 14:07:46 +00:00
2023-10-03 17:38:34 +02:00
2023-12-08 14:29:54 +01:00
2023-03-18 12:52:17 +01:00
2022-07-19 14:26:30 +02:00
2023-08-09 22:06:23 +02:00
2023-07-08 17:36:19 +01:00
2023-12-10 01:21:27 +00:00
2023-07-08 17:36:19 +01:00
2022-10-30 17:54:59 +01:00
2022-10-30 17:54:59 +01:00
2022-10-09 16:41:16 +01:00
2023-07-07 17:07:26 +02:00
2023-07-07 17:07:26 +02:00
2023-05-18 02:50:08 +01:00
2023-04-13 20:01:33 +01:00
2023-04-13 20:01:33 +01:00
2023-04-13 20:01:33 +01:00
2023-04-13 20:01:33 +01:00
2023-04-13 20:01:33 +01:00
2023-04-13 20:01:33 +01:00
2023-04-13 20:01:33 +01:00
2023-05-23 15:53:22 +01:00
2023-05-23 15:53:22 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-11-29 23:41:33 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-05-27 02:06:57 +01:00
2023-08-28 13:55:38 +01:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-06-05 11:36:32 +01:00
2023-11-29 23:41:33 +01:00
2022-04-30 16:00:15 +01:00
2022-11-05 14:07:46 +00:00
2022-11-05 14:07:46 +00:00
2023-10-03 17:38:34 +02:00
2023-03-27 19:07:54 +01:00
2023-12-08 14:29:54 +01:00
2023-12-11 18:01:43 +00:00
2023-12-08 14:29:54 +01:00
2023-12-08 14:29:54 +01:00
2023-12-08 14:29:54 +01:00
2023-12-11 18:01:43 +00:00
2023-12-11 18:01:43 +00:00
2023-12-10 06:22:51 +00:00