Currently GPIO4 is hardcoded to output the pll-lock signal.
Unfortunately this is after the pll-out GPIO is configured which
is selectable in the device tree. Therefore it is not possible to
use GPIO4 for pll-out. Therefore this patch removes the
configuration of GPIO4.
Signed-off-by: Howard
On 23/03/15 16:56, Mark Brown wrote:
On Mon, Mar 23, 2015 at 11:00:53AM +, Peter Rosin wrote:
Strongly agreed that we should fix this before it is published (I assumed
that is was included in 3.19, it felt so long ago that Mark merged it...). My
preference would be to remove the pll-lock th
On 23/03/15 11:00, Peter Rosin wrote:
Howard Mitchell wrote:
On 22/03/15 16:24, Mark Brown wrote:
On Fri, Mar 20, 2015 at 09:22:43PM +, Howard Mitchell wrote:
+ if (pcm512x->pll_lock) {
+if (of_property_read_u32(np, "pll-lock"
On 22/03/15 16:24, Mark Brown wrote:
On Fri, Mar 20, 2015 at 09:22:43PM +, Howard Mitchell wrote:
+ if (pcm512x->pll_lock) {
+if (of_property_read_u32(np, "pll-lock", &val) >= 0) {
+if (val > 6) {
+
Currently the PLL Lock output signal is hardcoded to GPIO4. This
makes it seletable in the same way as pll-in and pll-out.
Signed-off-by: Howard Mitchell
---
.../devicetree/bindings/sound/pcm512x.txt |3 ++
sound/soc/codecs/pcm512x.c | 47
If den=1 and pllin_rate>20MHz then den and num are adjusted to 0
causing a divide by zero error a few lines further on. Therefore
this patch correctly scales num and den such that
pllin_rate/den < 20MHz as required in the device data sheet.
Signed-off-by: Howard Mitchell
---
sound/soc/
0db and -6dB of gain that is intended to set the fullscale ouput
voltage of a DAC. The TI pcm512x family of DAcs have such a control.
In this case the device/driver reset defaults are preferred.
Signed-off-by: Howard Mitchell
---
Documentation/sound/alsa/ControlNames.txt | 10 +-
1 file c
This is to ensure that 'alsactl restore' does not apply default
initialisation as the chip reset defaults are preferred.
Signed-off-by: Howard Mitchell
---
sound/soc/codecs/pcm512x.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/pcm512x
_RANGE_TLV("", , ,
0, 40, 255, 1, )
the range 215..0 was being sent to the hardware. This commit
corrects this to 255..40 so it is consistent with the non-invert
case.
Signed-off-by: Howard Mitchell
---
sound/soc/soc-core.c | 20
9 matches
Mail list logo