]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
arm64: dts: add support to analog audio playback
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 14 Oct 2015 10:40:02 +0000 (11:40 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Sep 2017 16:19:06 +0000 (18:19 +0200)
commit2e1f1181f1cf7d872f9b67b4f4dbcb28f51d409c
tree3b22f7c4275e572fe2fa19a46c68d7b0583df7ce
parent56ec9fc62be1e05e263df8eda4155131deef9a98
arm64: dts: add support to analog audio playback

This patch adds support to analog audio playback.
Only tested with headphones.
TODO: more testing on earphones and speakers.

to play analog audio on headpones:
amixer cset numid=18,iface=MIXER,name='RX1 MIX1 INP1' 'RX1'
amixer cset numid=21,iface=MIXER,name='RX2 MIX1 INP1' 'RX2'
amixer cset numid=5,iface=MIXER,name='RX1 Digital Volume' 60
amixer cset numid=6,iface=MIXER,name='RX2 Digital Volume' 60
amixer cset numid=25,iface=MIXER,name='RDAC2 MUX' 'RX2'
aplay -D hw:0,0 /usr/share/sounds/alsa/*

To play audio on HDMI:
aplay -D hw:0,1 /usr/share/sounds/alsa/*

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi