All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
To: Lee Jones <lee.jones@linaro.org>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Jonathan Cameron <jic23@kernel.org>,
	Hartmut Knaack <knaack.h@gmx.de>, <linux-iio@vger.kernel.org>,
	Sebastian Reichel <sre@kernel.org>,
	Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>, <linux-pm@vger.kernel.org>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Grant Likely <grant.likely@linaro.org>,
	<devicetree@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Joe Perches <joe@perches.com>
Cc: <linux-kernel@vger.kernel.org>, <support.opensource@diasemi.com>
Subject: [PATCH v6 2/7] mfd: da9150: Add DT binding documentation for core
Date: Wed, 21 Jan 2015 15:46:43 +0000	[thread overview]
Message-ID: <ddb604ae2579aec0786afad0f3d0a7c5543031d9.1421854282.git.Adam.Thomson.Opensource@diasemi.com> (raw)
In-Reply-To: <cover.1421854282.git.Adam.Thomson.Opensource@diasemi.com>

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
---
 Documentation/devicetree/bindings/mfd/da9150.txt | 43 ++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt

diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation/devicetree/bindings/mfd/da9150.txt
new file mode 100644
index 0000000..d0588ea
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/da9150.txt
@@ -0,0 +1,43 @@
+Dialog Semiconductor DA9150 Combined Charger/Fuel-Gauge MFD bindings
+
+DA9150 consists of a group of sub-devices:
+
+Device			 Description
+------			 -----------
+da9150-gpadc		: General Purpose ADC
+da9150-charger		: Battery Charger
+
+======
+
+Required properties:
+- compatible : Should be "dlg,da9150"
+- reg: Specifies the I2C slave address
+- interrupt-parent: Specifies the phandle of the interrupt controller to which
+  the IRQs from da9150 are delivered to.
+- interrupts: IRQ line info for da9150 chip.
+- interrupt-controller: da9150 has internal IRQs (own IRQ domain).
+  (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
+   further information relating to interrupt properties)
+
+Sub-devices:
+- da9150-gpadc: See Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
+- da9150-charger: See Documentation/devicetree/bindings/power/da9150-charger.txt
+
+
+Example:
+
+	charger_fg: da9150@58 {
+		compatible = "dlg,da9150";
+		reg = <0x58>;
+		interrupt-parent = <&gpio6>;
+		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+		interrupt-controller;
+
+		gpadc: da9150-gpadc {
+			...
+		};
+
+		da9150-charger {
+			...
+		};
+	};
--
1.9.3


WARNING: multiple messages have this Message-ID (diff)
From: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
To: Lee Jones <lee.jones@linaro.org>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Jonathan Cameron <jic23@kernel.org>,
	Hartmut Knaack <knaack.h@gmx.de>,
	linux-iio@vger.kernel.org, Sebastian Reichel <sre@kernel.org>,
	Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>,
	linux-pm@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Grant Likely <grant.likely@linaro.org>,
	devicetree@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Joe Perches <joe@perches.com>
Cc: linux-kernel@vger.kernel.org, support.opensource@diasemi.com
Subject: [PATCH v6 2/7] mfd: da9150: Add DT binding documentation for core
Date: Wed, 21 Jan 2015 15:46:43 +0000	[thread overview]
Message-ID: <ddb604ae2579aec0786afad0f3d0a7c5543031d9.1421854282.git.Adam.Thomson.Opensource@diasemi.com> (raw)
In-Reply-To: <cover.1421854282.git.Adam.Thomson.Opensource@diasemi.com>

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
---
 Documentation/devicetree/bindings/mfd/da9150.txt | 43 ++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt

diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation/devicetree/bindings/mfd/da9150.txt
new file mode 100644
index 0000000..d0588ea
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/da9150.txt
@@ -0,0 +1,43 @@
+Dialog Semiconductor DA9150 Combined Charger/Fuel-Gauge MFD bindings
+
+DA9150 consists of a group of sub-devices:
+
+Device			 Description
+------			 -----------
+da9150-gpadc		: General Purpose ADC
+da9150-charger		: Battery Charger
+
+======
+
+Required properties:
+- compatible : Should be "dlg,da9150"
+- reg: Specifies the I2C slave address
+- interrupt-parent: Specifies the phandle of the interrupt controller to which
+  the IRQs from da9150 are delivered to.
+- interrupts: IRQ line info for da9150 chip.
+- interrupt-controller: da9150 has internal IRQs (own IRQ domain).
+  (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
+   further information relating to interrupt properties)
+
+Sub-devices:
+- da9150-gpadc: See Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
+- da9150-charger: See Documentation/devicetree/bindings/power/da9150-charger.txt
+
+
+Example:
+
+	charger_fg: da9150@58 {
+		compatible = "dlg,da9150";
+		reg = <0x58>;
+		interrupt-parent = <&gpio6>;
+		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+		interrupt-controller;
+
+		gpadc: da9150-gpadc {
+			...
+		};
+
+		da9150-charger {
+			...
+		};
+	};
--
1.9.3


  parent reply	other threads:[~2015-01-21 15:49 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-21 15:46 [PATCH v6 0/7] Add initial support for DA9150 Charger & Fuel-Gauge IC Adam Thomson
2015-01-21 15:46 ` Adam Thomson
2015-01-21 15:46 ` [PATCH v6 1/7] mfd: Add support for DA9150 combined charger & fuel-gauge device Adam Thomson
2015-01-21 15:46   ` Adam Thomson
2015-01-21 15:46 ` Adam Thomson [this message]
2015-01-21 15:46   ` [PATCH v6 2/7] mfd: da9150: Add DT binding documentation for core Adam Thomson
2015-01-21 15:46 ` [PATCH v6 3/7] iio: Add support for DA9150 GPADC Adam Thomson
2015-01-21 15:46   ` Adam Thomson
2015-01-21 16:06   ` Varka Bhadram
2015-01-21 16:06     ` Varka Bhadram
2015-01-27 16:15     ` Opensource [Adam Thomson]
2015-01-27 16:15       ` Opensource [Adam Thomson]
2015-01-27 16:15       ` Opensource [Adam Thomson]
2015-01-21 15:46 ` [PATCH v6 4/7] iio: da9150: Add DT binding documentation for GPADC Adam Thomson
2015-01-21 15:46   ` Adam Thomson
2015-01-21 15:46 ` [PATCH v6 5/7] power: Add support for DA9150 Charger Adam Thomson
2015-01-21 15:46   ` Adam Thomson
2015-01-21 16:14   ` Varka Bhadram
2015-01-27 16:16     ` Opensource [Adam Thomson]
2015-01-27 16:16       ` Opensource [Adam Thomson]
2015-01-27 16:16       ` Opensource [Adam Thomson]
2015-01-21 15:47 ` [PATCH v6 6/7] power: da9150: Add DT binding documentation for charger Adam Thomson
2015-01-21 15:47   ` Adam Thomson
2015-01-21 15:47 ` [PATCH v6 7/7] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list Adam Thomson
2015-01-21 15:47   ` Adam Thomson
2015-01-21 16:52 ` [PATCH v6 0/7] Add initial support for DA9150 Charger & Fuel-Gauge IC Sebastian Reichel
2015-01-21 16:52   ` Sebastian Reichel
2015-01-21 17:19   ` Jonathan Cameron
2015-01-21 17:19     ` Jonathan Cameron
2015-01-22  7:58     ` Lee Jones
2015-02-16 21:45       ` Opensource [Adam Thomson]
2015-02-16 21:45         ` Opensource [Adam Thomson]
2015-02-16 21:45         ` Opensource [Adam Thomson]
2015-02-17 18:04         ` Sebastian Reichel
2015-02-17 18:04           ` Sebastian Reichel
2015-02-17 18:15           ` Opensource [Adam Thomson]
2015-02-17 18:15             ` Opensource [Adam Thomson]
2015-02-17 18:15             ` Opensource [Adam Thomson]

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=ddb604ae2579aec0786afad0f3d0a7c5543031d9.1421854282.git.Adam.Thomson.Opensource@diasemi.com \
    --to=adam.thomson.opensource@diasemi.com \
    --cc=akpm@linux-foundation.org \
    --cc=dbaryshkov@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=galak@codeaurora.org \
    --cc=grant.likely@linaro.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jic23@kernel.org \
    --cc=joe@perches.com \
    --cc=knaack.h@gmx.de \
    --cc=lee.jones@linaro.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=sre@kernel.org \
    --cc=support.opensource@diasemi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.