Skip to content
Commit 3a4cc129 authored by Ren Chen's avatar Ren Chen Committed by Johan Hedberg
Browse files

drivers: spi: it8xxx2: only enable spi clock during spi transaction



To reduce power consumption, the SPI clock is gated when no spi
transaction is in progress. With this mechanism, current
consumption is reduced by approximately 0.1mA when cpu idle.

Signed-off-by: default avatarRen Chen <Ren.Chen@ite.com.tw>
parent fdfece9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment