UPSTREAM: ASoC: rockchip: i2s: configure the sdio pins' iomux mode
authorSugar Zhang <sugar.zhang@rock-chips.com>
Mon, 11 Apr 2016 09:26:03 +0000 (17:26 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 12 Apr 2016 08:53:40 +0000 (16:53 +0800)
commit569f658899900f49b509bd52cbc701d36e7b0790
treeb7db409811eccfdb6d9261c8f768e47af3cb88bc
parent2386740ae5bfd173dd57f8bc77c667b06a59fc8c
UPSTREAM: ASoC: rockchip: i2s: configure the sdio pins' iomux mode

There are 3 i2s sdio pins, which iomux mode is as follows:

 - sdi3_sdo1
 - sdi2_sdo2
 - sdi1_sdo3

we need to configure these pins' iomux mode via the GRF register
when use multi channel playback/capture.

Change-Id: I95f01f425931d8fb826f33d5dad87ef8aa2b8b6e
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from git.kernel.org broonie/sound.git topic/rockchip
 commit 72b7ba1f1477f1b9b0a3ddf2dd4b5392ce88a8a3)
Documentation/devicetree/bindings/sound/rockchip-i2s.txt
sound/soc/rockchip/rockchip_i2s.c
sound/soc/rockchip/rockchip_i2s.h