moby: import the remainder of the sound config from pine64-org DTS

i didn't check the routing on those, but after applying this in full, 3.5mm-attached mic has way more volume, and i *think* this patch is what fixed that (mic bias)
This commit is contained in:
2024-10-19 05:55:33 +00:00
parent dba22fdb39
commit 92fa2d4776

View File

@@ -115,7 +115,7 @@
// or i'm free to define new names for virtual nodes.
//
// HPOL/HPOR -> user kill switch SW1-6 -> headphone jack
// ALSO sent to the speaker amp (TODO)
// ALSO sent to the speaker amp
// SPOLP/SPOLN -> earphone (with only passives in between)
//
// naming ("Internal Earpiece") is chosen to be consistent with OG pinephone
@@ -130,18 +130,28 @@
// SPO_LP/SPO_LN -> EAROUTP -> EARPHONE (labeled in the "Mic" section of schematic)
"Internal Earpiece", "SPOLP",
"Internal Earpiece", "SPOLN",
"Internal Speaker", "Speaker Amp OUTL",
"Internal Speaker", "Speaker Amp OUTR",
// HPOL/HPOR are coupled to Amp:INN (i.e. mixed to mono)
"Speaker Amp INL", "HPOL",
"Speaker Amp INR", "HPOR",
"Internal Speaker", "Speaker Amp OUTL",
"Internal Speaker", "Speaker Amp OUTR";
"DMIC1", "Internal Microphone",
"Headset Microphone", "MICBIAS1",
"IN2P", "Headset Microphone",
"Line Out Modem", "LOUTL",
"Line Out Modem", "LOUTR",
"IN3P", "Line In Modem",
"IN3N", "Line In Modem";
// user-facing controls. e.g. when user selects "Headphone", activate the "Headphone Jack" path.
simple-audio-card,widgets =
"Microphone", "Headset Microphone",
"Microphone", "Internal Microphone",
"Headphone", "Headphones",
"Speaker", "Internal Earpiece",
"Speaker", "Internal Speaker";
// TODO: add microphones
"Speaker", "Internal Speaker",
"Line", "Line In Modem",
"Line", "Line Out Modem";
simple-audio-card,hp-det-gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;