mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marek Belisko <marek@goldelico.com>
To: sre@kernel.org, dbaryshkov@gmail.com, dwmw2@infradead.org
Cc: linux-pm@vger.kernel.org, hns@goldelico.com,
	linux-kernel@vger.kernel.org, neilb@suse.de,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Marek Belisko <marek@goldelico.com>
Subject: [PATCH v2 2/3] Documentation: DT: twl-charger: document new iio properties
Date: Tue, 22 Sep 2015 22:19:30 +0200	[thread overview]
Message-ID: <1442953171-19718-2-git-send-email-marek@goldelico.com> (raw)
In-Reply-To: <1442953171-19718-1-git-send-email-marek@goldelico.com>

Document added iio properties to avoid using direct funcion call from twl4030-madc
driver.

Signed-off-by: Marek Belisko <marek@goldelico.com>
---
 Documentation/devicetree/bindings/power/twl-charger.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/power/twl-charger.txt b/Documentation/devicetree/bindings/power/twl-charger.txt
index 3b4ea1b..54faee6 100644
--- a/Documentation/devicetree/bindings/power/twl-charger.txt
+++ b/Documentation/devicetree/bindings/power/twl-charger.txt
@@ -15,6 +15,9 @@ Required properties:
   - "ti,twl4030-bci"
 - interrupts: two interrupt lines from the TWL SIH (secondary
   interrupt handler) - interrupts 9 and 2.
+- io-channels: Should contain following: <&twl4030_madc 11>
+- io-channel-names: Shoud contains following value:
+* "vac" - ADC channel for measuring the voltage of the external AC charger
 
 Optional properties:
 - ti,bb-uvolt: microvolts for charging the backup battery.
@@ -25,6 +28,8 @@ Examples:
 bci {
    compatible = "ti,twl4030-bci";
    interrupts = <9>, <2>;
+   io-channels = <&twl4030_madc 11>;
+   io-channel-name = "vac";
    ti,bb-uvolt = <3200000>;
    ti,bb-uamp = <150>;
 };
-- 
1.9.1


  reply	other threads:[~2015-09-22 20:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-22 20:19 [PATCH v2 1/3] drivers: power: twl4030_charger: fix link problems when building as module Marek Belisko
2015-09-22 20:19 ` Marek Belisko [this message]
2015-09-22 20:19 ` [PATCH v2 3/3] ARM: dts: twl4030: add iio properties for bci subnode Marek Belisko
2015-09-22 21:29 ` [PATCH v2 1/3] drivers: power: twl4030_charger: fix link problems when building as module Sebastian Reichel
2015-09-24 19:09   ` Belisko Marek
2015-09-24 20:39     ` Sebastian Reichel

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=1442953171-19718-2-git-send-email-marek@goldelico.com \
    --to=marek@goldelico.com \
    --cc=dbaryshkov@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=hns@goldelico.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=neilb@suse.de \
    --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®