[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1523459415-31636-1-git-send-email-stefan.popa@analog.com>
Date: Wed, 11 Apr 2018 18:10:15 +0300
From: Stefan Popa <stefan.popa@...log.com>
To: <sre@...nel.org>, <robh+dt@...nel.org>, <mark.rutland@....com>
CC: <davem@...emloft.net>, <mchehab@...nel.org>,
<gregkh@...uxfoundation.org>, <linus.walleij@...aro.org>,
<akpm@...ux-foundation.org>, <rdunlap@...radead.org>,
<linux-pm@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <stefan.popa@...log.com>
Subject: [PATCH v3 2/4] dt-bindings:power:supply: Add docs for ADP5061 battery charger
Document adi,adp5061 properties.
Signed-off-by: Stefan Popa <stefan.popa@...log.com>
---
Changes in v3:
- Split devicetree bindings into a separate patch.
.../devicetree/bindings/power/supply/adp5061.txt | 17 +++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 18 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/supply/adp5061.txt
diff --git a/Documentation/devicetree/bindings/power/supply/adp5061.txt b/Documentation/devicetree/bindings/power/supply/adp5061.txt
new file mode 100644
index 0000000..7447446
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/supply/adp5061.txt
@@ -0,0 +1,17 @@
+Analog Devices ADP5061 Programmable Linear Battery Charger Driver
+
+Required properties:
+ - compatible: should be "adi,adp5061"
+ - reg: i2c address of the device
+
+The node for this driver must be a child node of a I2C controller, hence
+all mandatory properties described in
+Documentation/devicetree/bindings/i2c/i2c.txt
+must be specified.
+
+Example:
+
+ adp5061@14 {
+ compatible = "adi,adp5061";
+ reg = <0x14>;
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 60cd6db..a9ca73b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -802,6 +802,7 @@ M: Stefan Popa <stefan.popa@...log.com>
L: linux-pm@...r.kernel.org
W: http://ez.analog.com/community/linux-device-drivers
S: Supported
+F: Documentation/devicetree/bindings/power/supply/adp5061.txt
F: drivers/power/supply/adp5061.c
ANALOG DEVICES INC ADV7180 DRIVER
--
2.7.4
Powered by blists - more mailing lists