[PATCH 0/3] Fix Mediatek SPI bus driver clock usage error

From: Leilk Liu
Date: Mon Aug 31 2015 - 09:19:29 EST


From: Leilk Liu <leilk.liu@xxxxxxxxxxxx>

This series are based on 4.2-rc1 and provide three patches
to fix mediatek spi driver clock usage error.

spi clock manages flow:
CLK_TOP_SYSPLL3_D2 ---> CLK_TOP_SPI_SEL ---> CLK_PERI_SPI0
(source clock) (clock mux) (clock gate)
spi driver should choose source clock by clock mux, then enable clock gate.

Leilk Liu (3):
spi: mediatek: remove clk_disable_unprepare()
spi: mediatek: fix spi clock usage error
spi: Mediatek: Document devicetree bindings update for spi bus

.../devicetree/bindings/spi/spi-mt65xx.txt | 16 +++++++++------
drivers/spi/spi-mt65xx.c | 24 ++++++++++++++--------
2 files changed, 25 insertions(+), 15 deletions(-)

--
1.8.1.1.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/