Commit 90b33d1
CHROMIUM: ASoC: samsung: initialize pll and audio bus clock rate
In the daisy_max98095 driver we rely on EPLL being set to a rate below
the limit of the AudioSS block (192Mhz on 5250 and 200Mhz on 5420) and
the audio bus divider being set to 1. On Pit, neither of these are
initialized correctly, so explicitly set fout_epll to a reasonable
rate and then set sclk_audio0 to that rate to ensure that the audio
bus divider is 1.
BUG=chrome-os-partner:18720
TEST=Audio still works on snow; peach-pit no longer hangs when
daisy_max98095 driver is probed.
Change-Id: I5dd811078d7964979e0c58d9937163e1d3a58850
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/57708
Reviewed-by: Simon Glass <sjg@chromium.org>1 parent 6d6ab35 commit 90b33d1
1 file changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| |||
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
99 | 120 | | |
100 | 121 | | |
101 | 122 | | |
| |||
106 | 127 | | |
107 | 128 | | |
108 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
109 | 137 | | |
110 | 138 | | |
111 | 139 | | |
| |||
0 commit comments