Adapt lm3644 driver to Fairphone2 use case
This patch adapts to the lm3644 driver to work with the
msm trigger driver (set_brightness activates flash).
Further it uses the pm8941 to power the lm3644. The power
is enabled whenever the driver is entered and then disabled
in a periodic check if not needed anymore.
It also configures the lm3644 for strobe mode:
* Set LM3644 to standby mode
Control truth table in specification suggests standby mode
is required to trigger flash with strobe pulse.
FPIIM-778
Change-Id: I0753f9bd2e589abf6db9e7e9d6c5167e3048189d
2 files changed