spi: dw: Add support for an optional interface clock
authorPhil Edworthy <phil.edworthy@renesas.com>
Tue, 19 Mar 2019 15:52:07 +0000 (15:52 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 20 Mar 2019 17:21:02 +0000 (17:21 +0000)
commit560ee7e9100916e30e126a53d127ca54745b2a8e
tree2d49ffe954f696bf940e7e27f74893de505fbf9e
parent2f324ac7cf8c50aa079cf30445b99a1b98ea2728
spi: dw: Add support for an optional interface clock

The Synopsys SSI Controller has an interface clock, but most SoCs hide
this away. However, on some SoCs you need to explicitly enable the
interface clock in order to access the registers. Therefore, add support
for an optional interface clock.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Gareth Williams <gareth.williams.jx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mmio.c