driver: spi: it51xxx: enable spi clock only when spi transaction
This commit disables spi clock during idle to reduce power
consumption.
Tested with: reduce current cons. by around 0.08mA on it515xx_evb
Signed-off-by:
Ren Chen <Ren.Chen@ite.com.tw>
Loading
Please sign in to comment