Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: Improve hi6210-i2s DT bindings

This patch improves the previously submitted hi6210-i2s DT
binding, adding extra details to how the multi-dai index
value maps to the potential interfaces.
(Currently just index 0 -> the S2 interface, as there is
only one supported, but in the future other interfaces may
be enabled.)

Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

John Stultz and committed by
Mark Brown
86666c08 0bf750f4

+8
+8
Documentation/devicetree/bindings/sound/hisilicon,hi6210-i2s.txt
··· 17 17 - dma-names: should be "tx" and "rx" 18 18 - hisilicon,sysctrl-syscon: phandle to sysctrl syscon 19 19 - #sound-dai-cells: Should be set to 1 (for multi-dai) 20 + - The dai cell indexes reference the following interfaces: 21 + 0: S2 interface 22 + (Currently that is the only one available, but more may be 23 + supported in the future) 20 24 21 25 Example for the hi6210 i2s controller: 22 26 ··· 36 32 hisilicon,sysctrl-syscon = <&sys_ctrl>; 37 33 #sound-dai-cells = <1>; 38 34 }; 35 + 36 + Then when referencing the i2s controller: 37 + sound-dai = <&i2s0 0>; /* index 0 => S2 interface */ 38 +