OSDN Git Service

ASoC: samsung: odroid: Drop requirement of clocks in the sound node
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 4 Aug 2017 10:58:17 +0000 (12:58 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 8 Aug 2017 11:02:51 +0000 (12:02 +0100)
commita8ad0c85fbfa56c44161829f6433e59dcd84b731
treea79cd7ac2ebe836ef4f46b776e5a0d991a2cbed4
parent6f187f7ef1c15dca9f720b18a7e928718fd1a8b3
ASoC: samsung: odroid: Drop requirement of clocks in the sound node

As suggested in reviews the requirement of clocks in the 'sound' node
is dropped and instead a leaf clock is used to configure frequency
of the audio root clock PLL. This can work now after the clock tree
definitions have been updated to allow clock rate setting propagation
on the path from the I2S controller up to the EPLL.

This patch also lowers the CODEC master clock frequency so as
to not exceed the maximum allowed 60 MHz at maximum audio sampling
rates.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/samsung,odroid.txt
sound/soc/samsung/odroid.c