Thread (3 messages) 3 messages, 3 authors, 2016-07-14

Re: [PATCH v2 5/7] spi: s3c64xx: add exynos5433 compatible for ioclk handling

From: Krzysztof Kozlowski <hidden>
Date: 2016-07-08 20:39:27
Also in: linux-arm-kernel, linux-clk, linux-samsung-soc, linux-spi

Possibly related (same subject, not in this thread)

On Fri, Jul 08, 2016 at 11:46:39PM +0900, Andi Shyti wrote:
The new compatible is related to the Samsung Exynos5433 SoC. The
difference between the previous is that in the exynos5433 the SPI
controller is driven by three clocks instead of only one.

The new clock (ioclk) is controlling the input/output clock
whenever the controller is slave or master.

The presence of the clock line is detected from the compatibility
structure (exynos5433_spi_port_config) as a boolean value.

The probe function checks whether the ioclk is present and if so,
it acquires.

The runtime suspend and resume functions will handle the clock
enabling and disabling as well.

Signed-off-by: Andi Shyti <redacted>
---
 drivers/spi/spi-s3c64xx.c | 57 ++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 52 insertions(+), 5 deletions(-)
Looks fine to me, thanks for updates.

Reviewed-by: Krzysztof Kozlowski <redacted>

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help