linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Milo Kim <woogyom.kim@gmail.com>
To: bcousson@baylibre.com, Tony Lindgren <tony@atomide.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Lee Jones <lee.jones@linaro.org>,
	Sebastian Reichel <sre@kernel.org>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Milo Kim <woogyom.kim@gmail.com>
Subject: [PATCH 3/4] dt-bindings: power/supply: Update TPS65217 properties
Date: Fri,  9 Dec 2016 15:28:32 +0900	[thread overview]
Message-ID: <20161209062833.5768-4-woogyom.kim@gmail.com> (raw)
In-Reply-To: <20161209062833.5768-1-woogyom.kim@gmail.com>

Add interrupt specifiers for USB and AC charger input. Interrupt numbers
are from the datasheet.
Fix wrong property for compatible string.

Signed-off-by: Milo Kim <woogyom.kim@gmail.com>
---
 .../devicetree/bindings/power/supply/tps65217_charger.txt          | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/power/supply/tps65217_charger.txt b/Documentation/devicetree/bindings/power/supply/tps65217_charger.txt
index 98d131a..a11072c 100644
--- a/Documentation/devicetree/bindings/power/supply/tps65217_charger.txt
+++ b/Documentation/devicetree/bindings/power/supply/tps65217_charger.txt
@@ -2,11 +2,16 @@ TPS65217 Charger
 
 Required Properties:
 -compatible: "ti,tps65217-charger"
+-interrupts: TPS65217 interrupt numbers for the AC and USB charger input change.
+             Should be <0> for the USB charger and <1> for the AC adapter.
+-interrupt-names: Should be "USB" and "AC"
 
 This node is a subnode of the tps65217 PMIC.
 
 Example:
 
 	tps65217-charger {
-		compatible = "ti,tps65090-charger";
+		compatible = "ti,tps65217-charger";
+		interrupts = <0>, <1>;
+		interrupt-names = "USB", "AC";
 	};
-- 
2.9.3

  parent reply	other threads:[~2016-12-09  6:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-09  6:28 [PATCH 0/4] dt-bindings: mfd: Update TPS65217 interrupts Milo Kim
2016-12-09  6:28 ` [PATCH 1/4] ARM: dts: am335x: Fix the interrupt name of TPS65217 Milo Kim
2016-12-09  6:28 ` [PATCH 2/4] dt-bindings: mfd: Remove TPS65217 interrupts Milo Kim
2016-12-12 17:25   ` Rob Herring
2016-12-12 23:24     ` Milo Kim
2016-12-13 21:09       ` Rob Herring
2017-01-04 10:21   ` Lee Jones
2016-12-09  6:28 ` Milo Kim [this message]
2016-12-12 17:26   ` [PATCH 3/4] dt-bindings: power/supply: Update TPS65217 properties Rob Herring
2017-01-12  3:47   ` Sebastian Reichel
2016-12-09  6:28 ` [PATCH 4/4] dt-bindings: input: Specify the interrupt number of TPS65217 power button Milo Kim
2016-12-12 17:27   ` Rob Herring
2016-12-27 17:52 ` [PATCH 0/4] dt-bindings: mfd: Update TPS65217 interrupts Tony Lindgren

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=20161209062833.5768-4-woogyom.kim@gmail.com \
    --to=woogyom.kim@gmail.com \
    --cc=arnd@arndb.de \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=sre@kernel.org \
    --cc=tony@atomide.com \
    /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;
as well as URLs for NNTP newsgroup(s).