]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: mvebu_a3700_spi: Use Armada 37xx clk driver for SPI clock frequency
authorMarek BehĂșn <marek.behun@nic.cz>
Tue, 24 Apr 2018 15:21:26 +0000 (17:21 +0200)
committerStefan Roese <sr@denx.de>
Mon, 14 May 2018 08:00:15 +0000 (10:00 +0200)
commitdbbd5bdd27437909dac5c664303cd6e0fe420f39
treef5015b634a9823fe5a753c04ef7f0539c3afc87a
parent82a248df9af7057152a1359e7405585419accc1e
spi: mvebu_a3700_spi: Use Armada 37xx clk driver for SPI clock frequency

Since now we have driver for clocks on Armada 37xx, use it to determine
SQF clock frequency for the SPI driver.

Also change the default config files for Armada 37xx devices so that
the clock driver is enabled by default, otherwise the SPI driver cannot
be enabled.

Signed-off-by: Marek Behun <marek.behun@nic.cz>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-37xx.dtsi
configs/mvebu_db-88f3720_defconfig
configs/mvebu_espressobin-88f3720_defconfig
drivers/spi/Kconfig
drivers/spi/mvebu_a3700_spi.c