mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Popa <stefan.popa@analog.com>
To: <sre@kernel.org>, <robh+dt@kernel.org>, <mark.rutland@arm.com>
Cc: <davem@davemloft.net>, <mchehab@kernel.org>,
	<gregkh@linuxfoundation.org>, <linus.walleij@linaro.org>,
	<akpm@linux-foundation.org>, <rdunlap@infradead.org>,
	<linux-pm@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <stefan.popa@analog.com>
Subject: [PATCH v3 2/4] dt-bindings:power:supply: Add docs for ADP5061 battery charger
Date: Wed, 11 Apr 2018 18:10:15 +0300	[thread overview]
Message-ID: <1523459415-31636-1-git-send-email-stefan.popa@analog.com> (raw)
In-Reply-To: <1522829832-7866-1-git-send-email-stefan.popa@analog.com>

Document adi,adp5061 properties.

Signed-off-by: Stefan Popa <stefan.popa@analog.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@analog.com>
 L:	linux-pm@vger.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

  parent reply	other threads:[~2018-04-11 15:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-04  8:17 [PATCH 1/3] adp5061: New driver for ADP5061 I2C " Stefan Popa
2018-04-04 17:33 ` Randy Dunlap
2018-04-10  9:49 ` [PATCH v2 " Stefan Popa
2018-04-10 13:50 ` [PATCH " Rob Herring
2018-04-11 15:09 ` [PATCH v3 1/4] " Stefan Popa
2018-04-11 15:10 ` Stefan Popa [this message]
2018-04-13 21:06   ` [PATCH v3 2/4] dt-bindings:power:supply: Add docs for ADP5061 " Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1523459415-31636-1-git-send-email-stefan.popa@analog.com \
    --to=stefan.popa@analog.com \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mchehab@kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=robh+dt@kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®