On 05/02/2020 6:43 pm, Peter Geis wrote:
[...]
One thing I did notice, though, is that GPIO_MUTE seems to have some
inherent coupling to the analog codec, as the value automatically goes
high when starting to play audio, and low again when stopping (but can
still be manually toggled in between). Thus unless there's some secret
to disabling that behaviour then it might not be safe to enable analog
audio on these ROC-CC boards for fear of messing up peoples' SD cards.
Robin,
Do you know if that is the SOC doing that or the drivers?
Ha, once again I hastily jump to a conclusion without fully
investigating... I'm really not doing too well in this thread :)
You're absolutely right; on closer inspection rk3328_analog_output() in
the codec driver is poking GRF_SOC_CON10 directly. That should be
straightforward enough to sort out, phew!
Cheers,
Robin.
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-rockchip