]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb7d9381b52f097a1a6e1c16fb64ad8f2a4bd07bf
tree2d49ffe954f696bf940e7e27f74893de505fbf9e
parentf01c3edd7568db0270f1352b4c3c180ff965a0e2
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