Re: [PATCH v2 5/7] iio: tsl2772: add support for regulator framework

From: Rob Herring
Date: Fri Jul 20 2018 - 13:38:32 EST


On Tue, Jul 17, 2018 at 04:41:56AM -0400, Brian Masney wrote:
> This patch adds support for the regulator framework to the tsl2772
> driver. Driver was tested using a LG Nexus 5 (hammerhead) phone with
> the two regulators and on a Raspberry Pi 2 without any regulators
> controlling the power to the sensor.
>
> Signed-off-by: Brian Masney <masneyb@xxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/iio/light/tsl2772.txt | 4 +

This belongs with the binding patch. Bindings should be complete, not
extended as a driver changes.

> drivers/iio/light/tsl2772.c | 82 ++++++++++++++++++-
> 2 files changed, 85 insertions(+), 1 deletion(-)