[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230731110239.107086-1-clamor95@gmail.com>
Date: Mon, 31 Jul 2023 14:02:37 +0300
From: Svyatoslav Ryhel <clamor95@...il.com>
To: Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Svyatoslav Ryhel <clamor95@...il.com>,
Samu Onkalo <samu.p.onkalo@...ia.com>
Cc: linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [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
--
2.39.2
Powered by blists - more mailing lists