Home
last modified time | relevance | path

Searched hist:"7 b0b0ec1576e36beb6915c81dec2db9c077270d8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/health/
H A Dmax30102.cdiff 7b0b0ec1576e36beb6915c81dec2db9c077270d8 Fri Oct 27 14:45:34 CDT 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net> iio: health: max30102: Fix mode config values

Table 4 of the datasheet specifies the mode control, these are not
individual bits; add multi LED mode

Add multi-LED mode and fix MODE_MASK (3 bits wide, not 2)

Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>