samus: Set codec PDM clock output to 3MHz
Currently the rt5677 codec outputs 6MHz PDM clock which is out-of-spec for the speaker amp SSM2537. The amp's GAIN_FS pin is pulled down to PGND with a 47k resistor, so the expected PDM clock is 64*FS (~3MHz) according to its datasheet. The corresponding kernel patch that adds the PDM clock config option is https://chromium-review.googlesource.com/#/c/230303/ BUG=chrome-os-partner:33303 BRANCH=samus TEST=flash coreboot with this patch and see PDM CLK went from 6MHz to 3MHz on samus with a scope. Change-Id: I09acdf47bab4f641981491a84197de234918435e Signed-off-by: Ben Zhang <benzh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/230344 Reviewed-by: Dylan Reid <dgreid@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
This commit is contained in:
parent
4c49f964b5
commit
b9ba459751
1 changed files with 1 additions and 0 deletions
|
|
@ -178,6 +178,7 @@ Scope (\_SB.PCI0.I2C0)
|
|||
Name (WAKE, 45) /* DSP_INT (use as codec wake) */
|
||||
|
||||
Name (DCLK, 0) /* RT5677_DMIC_CLK1 */
|
||||
Name (PCLK, 1) /* RT5677_PDM_CLK_DIV2 (~3MHz) */
|
||||
Name (IN1, 1) /* IN1 differential */
|
||||
Name (IN2, 0) /* IN2 not differential */
|
||||
Name (OUT1, 1) /* LOUT1 differential */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue