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

Binding: atmel-ssc: add option to choose clock

Add the option to choose clock on which pin input to SSC (as slave).
Default is on TK pin to SSC, add "atmel,clk-from-rk-pin" option to
specify the clock is on RK pin to SSC.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Bo Shen and committed by
Mark Brown
a69d0009 048d4ff8

+8
+8
Documentation/devicetree/bindings/misc/atmel-ssc.txt
··· 17 17 See Documentation/devicetree/bindings/dma/atmel-dma.txt for details. 18 18 - dma-names: Must be "tx", "rx". 19 19 20 + Optional properties: 21 + - atmel,clk-from-rk-pin: bool property. 22 + - When SSC works in slave mode, according to the hardware design, the 23 + clock can get from TK pin, and also can get from RK pin. So, add 24 + this parameter to choose where the clock from. 25 + - By default the clock is from TK pin, if the clock from RK pin, this 26 + property is needed. 27 + 20 28 Examples: 21 29 - PDC transfer: 22 30 ssc0: ssc@fffbc000 {