[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201001145738.17326-1-alban.bedel@aerq.com>
Date: Thu, 1 Oct 2020 16:57:35 +0200
From: Alban Bedel <alban.bedel@...q.com>
To: linux-hwmon@...r.kernel.org
CC: Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Rob Herring <robh+dt@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Alban Bedel <alban.bedel@...q.com>
Subject: [PATCH v4 0/3] hwmon: (lm75) Add regulator support
Hi everybody,
this small series add regulator support to the lm75 driver for boards
that don't always power such a sensor. While at it also convert the
DT bindings to yaml.
v2: - Fixed the DT example while converting to YAML
- Removed the unneeded maxItems from the binding documentation
- Use dummy regulator insted of explicitly handling missing regulator
v3: - Use a devm action to handle disabling the regulator
v4: - Added the missing `additionalProperties: false` when converting
the binding documentation to yaml
Alban Bedel (3):
dt-bindings: hwmon: Convert lm75 bindings to yaml
dt-bindings: hwmon: Add the +vs supply to the lm75 bindings
hwmon: (lm75) Add regulator support
.../devicetree/bindings/hwmon/lm75.txt | 39 -----------
.../devicetree/bindings/hwmon/lm75.yaml | 66 +++++++++++++++++++
drivers/hwmon/lm75.c | 24 +++++++
3 files changed, 90 insertions(+), 39 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/hwmon/lm75.txt
create mode 100644 Documentation/devicetree/bindings/hwmon/lm75.yaml
--
2.25.1
Powered by blists - more mailing lists