Skip to content
Commit afa5183e authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Kumar Gala
Browse files

sensors: lis2dh: support disabling SDO/SA0 pull-up during init



Some chips supported by lis2dh driver (such as LIS2DH12 and LIS3DH)
contain CTRL_REG0 (1Eh) register to control internal pull-up on SDO/SA0
line (enabled by default). Add disconnect-sdo-sa0-pull-up boolean
device-tree property to allow disconnecting pull-up during driver
initialization. This allows to save around 180uA at 3.6V in
accelerometer power-down mode.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@grinn-global.com>
parent d3f28784
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment