devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: Keerthy <j-keerthy@ti.com>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-omap@vger.kernel.org, mark.rutland@arm.com,
	galak@codeaurora.org, robh+dt@kernel.org, linux@arm.linux.org.uk,
	balbi@ti.com, tony@atomide.com, kishon@ti.com
Subject: Re: [PATCH 1/5] mfd: Add DT bindings for tps65218 PMIC
Date: Thu, 3 Jul 2014 09:15:29 -0500	[thread overview]
Message-ID: <20140703141529.GG5814@saruman.home> (raw)
In-Reply-To: <1404395102-21469-2-git-send-email-j-keerthy@ti.com>

[-- Attachment #1: Type: text/plain, Size: 2046 bytes --]

Hi,

On Thu, Jul 03, 2014 at 07:14:58PM +0530, Keerthy wrote:
> Add DT bindings for tps65218 PMIC
> 
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> ---
>  Documentation/devicetree/bindings/mfd/tps65218.txt |   57 ++++++++++++++++++++
>  1 file changed, 57 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/mfd/tps65218.txt
> 
> diff --git a/Documentation/devicetree/bindings/mfd/tps65218.txt b/Documentation/devicetree/bindings/mfd/tps65218.txt
> new file mode 100644
> index 0000000..38f48ef
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/tps65218.txt
> @@ -0,0 +1,57 @@
> +Texas Instruments TPS65218 family
> +
> +The TPS65218 are Integrated Power Management Chips.
> +
> +Required properties:
> +- compatible : Must be "ti,tps65218";
> +  For Integrated power-management used in AM437x based boards
> +- interrupts : This i2c device has an IRQ line connected to the main SoC
> +- interrupt-controller : Since the tps65218 supports several interrupts
> +  internally, it is considered as an interrupt controller cascaded to the
> +  SoC one.
> +- #interrupt-cells = <2>;
> +- interrupt-parent : The parent interrupt controller which is gic.
> +
> +Optional node:
> +- TPS65218 PMIC has a number of child nodes. Mainly the regularors and SMPSs.
> +
> +Example:
> +/*
> + * Integrated Power Management Chip
> + */
> +tps65218: tps65218@24 {
> +	reg = <0x24>;
> +	compatible = "ti,tps65218";
> +	interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* NMIn */
> +	interrupt-parent = <&gic>;
> +	interrupt-controller;
> +	#interrupt-cells = <2>;
> +
> +	dcdc1: regulator-dcdc1 {
> +		compatible = "ti,tps65218-dcdc1";
> +		/* VDD_CORE voltage limits min of OPP50 and max of OPP100 */

wonder if this comment really makes sense here as boards might have
another regulator assignment. Likewise fro the other two regulators.
Also, this device provides 7 regulated outputs according to [1], why
only provide three here ?

[1] http://www.ti.com/product/tps65218

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-07-03 14:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-03 13:44 [PATCH 0/5] ARM: dts: AM43x: Add devcice tree nodes Keerthy
2014-07-03 13:44 ` [PATCH 1/5] mfd: Add DT bindings for tps65218 PMIC Keerthy
2014-07-03 14:15   ` Felipe Balbi [this message]
2014-07-03 13:44 ` [PATCH 2/5] regulator: Add DT bindings for tps65218 PMIC regulators Keerthy
2014-07-03 14:16   ` Felipe Balbi
2014-07-03 13:45 ` [PATCH 3/5] ARM: dts: AM43x: Add TPS65218 device tree nodes Keerthy
2014-07-03 14:20   ` Felipe Balbi
2014-07-03 13:45 ` [PATCH 4/5] ARM: dts: AM437x: " Keerthy
2014-07-03 14:23   ` Felipe Balbi
2014-07-03 13:45 ` [PATCH 5/5] ARM: configs: omap2plus_defconfig: enable TPS65218 configs Keerthy
2014-07-03 14:24   ` Felipe Balbi

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=20140703141529.GG5814@saruman.home \
    --to=balbi@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=j-keerthy@ti.com \
    --cc=kishon@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@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).