Update APDS990x ALS to support device trees
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: iio: light: add apds990x bindingDocumentation/ | +87 | 1 reply | |
| 2/2 | misc: adps990x: convert to OFdrivers/ | +48 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/2] Update APDS990x ALS to support device trees
This patchset is the successor of a wider patch called 'Update APDS990x ALS to support IIO'. I have decided to divide it into two separate patches to ease review and submitting. All suggestions from the previous patchset were applied.
This part is dedicated to including device tree support into APDS990x. APDS990x is a combined ambient light and proximity sensor. ALS and proximity functionality are highly connected. From mandatory properties required by device (apart of compatible and address on i2c line) are two supplies, interrupt, pdrive (LED drive current) and ppcount (the number of IR calibration pulses).
These patches are oriented ONLY on bringing support of device tree into driver, pdrive and ppcount are mandatory and datasheet nor driver does not provide any reference values.
Namings and compatible properties derive from the original driver name.
Svyatoslav Ryhel (2):
dt-bindings: iio: light: add apds990x binding
misc: adps990x: convert to OF
.../bindings/iio/light/avago,apds990x.yaml | 87 +++++++++++++++++++ drivers/misc/apds990x.c | 55 ++++++++++-- 2 files changed, 135 insertions(+), 7 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/light/avago,apds990x.yaml
Signature · 1 line
2.39.2