On Tue, Dec 29, 2015 at 09:44:48PM -0800, Matt Ranostay wrote: > Allow the current for both RED and IR LEDs to be set via an device tree > property setting. > > This is an optional setting that is useful for applications that have a > known glass attenuation factor. > > Signed-off-by: Matt Ranostay <[email protected]> > --- > Changes from v2: > * change to use microamp property name from LED class > * updated documentation for new format > * added allowed current index map > > .../devicetree/bindings/iio/health/max30100.txt | 8 +++ > drivers/iio/health/max30100.c | 81 > ++++++++++++++++++++-- > 2 files changed, 83 insertions(+), 6 deletions(-)
Acked-by: Rob Herring <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
