devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Keerthy <a0393675@ti.com>
To: Keerthy <j-keerthy@ti.com>
Cc: nm@ti.com, mark.rutland@arm.com, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
	tony@atomide.com, galak@codeaurora.org, lokeshvutla@ti.com
Subject: Re: [PATCH 2/2] ARM: dts: dra72-evm: Add tps65917 PMIC node
Date: Mon, 28 Jul 2014 14:53:13 +0530	[thread overview]
Message-ID: <53D61681.9040906@ti.com> (raw)
In-Reply-To: <1406528334-4415-3-git-send-email-j-keerthy@ti.com>

On Monday 28 July 2014 11:48 AM, Keerthy wrote:
> From: Keerthy J <j-keerthy@ti.com>
>
> DRA72x-evm uses TPS65917 PMIC. Add the node.
>
> NOTE: LDO2 is actually unused, but the usage if any is expected to be
> between 1.8 to 3.3v IO voltage. So define the node.
>
> NOTE: Interrupt used is crossbar number based.

Correcting the 'to' list.

> Tested-by: Lokesh Vutla <lokeshvutla@ti.com>
> Signed-off-by: Nishanth Menon <nm@ti.com>
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> ---
>   arch/arm/boot/dts/dra72-evm.dts |  104 +++++++++++++++++++++++++++++++++++++++
>   1 file changed, 104 insertions(+)
>
> diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts
> index 1e12862..4107428 100644
> --- a/arch/arm/boot/dts/dra72-evm.dts
> +++ b/arch/arm/boot/dts/dra72-evm.dts
> @@ -33,6 +33,110 @@
>   	pinctrl-names = "default";
>   	pinctrl-0 = <&i2c1_pins>;
>   	clock-frequency = <400000>;
> +
> +	tps65917: tps65917@58 {
> +		compatible = "ti,tps65917";
> +		reg = <0x58>;
> +
> +		interrupts = <GIC_SPI 2 IRQ_TYPE_NONE>;  /* IRQ_SYS_1N */
> +		interrupt-parent = <&gic>;
> +		interrupt-controller;
> +		#interrupt-cells = <2>;
> +
> +		ti,system-power-controller;
> +
> +		tps65917_pmic {
> +			compatible = "ti,tps65917-pmic";
> +
> +			regulators {
> +				smps1_reg: smps1 {
> +					/* VDD_MPU */
> +					regulator-name = "smps1";
> +					regulator-min-microvolt = <850000>;
> +					regulator-max-microvolt = <1250000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				smps2_reg: smps2 {
> +					/* VDD_CORE */
> +					regulator-name = "smps2";
> +					regulator-min-microvolt = <850000>;
> +					regulator-max-microvolt = <1030000>;
> +					regulator-boot-on;
> +					regulator-always-on;
> +				};
> +
> +				smps3_reg: smps3 {
> +					/* VDD_GPU IVA DSPEVE */
> +					regulator-name = "smps3";
> +					regulator-min-microvolt = <850000>;
> +					regulator-max-microvolt = <1250000>;
> +					regulator-boot-on;
> +					regulator-always-on;
> +				};
> +
> +				smps4_reg: smps4 {
> +					/* VDDS1V8 */
> +					regulator-name = "smps4";
> +					regulator-min-microvolt = <1800000>;
> +					regulator-max-microvolt = <1800000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				smps5_reg: smps5 {
> +					/* VDD_DDR */
> +					regulator-name = "smps5";
> +					regulator-min-microvolt = <1350000>;
> +					regulator-max-microvolt = <1350000>;
> +					regulator-boot-on;
> +					regulator-always-on;
> +				};
> +
> +				ldo1_reg: ldo1 {
> +					/* LDO1_OUT --> SDIO  */
> +					regulator-name = "ldo1";
> +					regulator-min-microvolt = <1800000>;
> +					regulator-max-microvolt = <3300000>;
> +					regulator-boot-on;
> +				};
> +
> +				ldo2_reg: ldo2 {
> +					/* LDO2_OUT --> TP1017 (UNUSED)  */
> +					regulator-name = "ldo2";
> +					regulator-min-microvolt = <1800000>;
> +					regulator-max-microvolt = <3300000>;
> +				};
> +
> +				ldo3_reg: ldo3 {
> +					/* VDDA_1V8_PHY */
> +					regulator-name = "ldo3";
> +					regulator-min-microvolt = <1800000>;
> +					regulator-max-microvolt = <1800000>;
> +					regulator-boot-on;
> +					regulator-always-on;
> +				};
> +
> +				ldo5_reg: ldo5 {
> +					/* VDDA_1V8_PLL */
> +					regulator-name = "ldo5";
> +					regulator-min-microvolt = <1800000>;
> +					regulator-max-microvolt = <1800000>;
> +					regulator-always-on;
> +					regulator-boot-on;
> +				};
> +
> +				ldo4_reg: ldo4 {
> +					/* VDDA_3V_USB: VDDA_USBHS33 */
> +					regulator-name = "ldo4";
> +					regulator-min-microvolt = <3300000>;
> +					regulator-max-microvolt = <3300000>;
> +					regulator-boot-on;
> +				};
> +			};
> +		};
> +	};
>   };
>   
>   &uart1 {


  reply	other threads:[~2014-07-28  9:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28  6:18 [PATCH 0/2] ARM: dts: dra72-evm: Add i2c1 and tps65917 nodes Keerthy
     [not found] ` <1406528334-4415-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2014-07-28  6:18   ` [PATCH 1/2] ARM: dts: dra72-evm: Enable I2C1 node Keerthy
     [not found]     ` <1406528334-4415-2-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2014-07-28  9:24       ` Keerthy
2014-07-28  6:18   ` [PATCH 2/2] ARM: dts: dra72-evm: Add tps65917 PMIC node Keerthy
2014-07-28  9:23     ` Keerthy [this message]
2014-07-28  6:30   ` [PATCH 0/2] ARM: dts: dra72-evm: Add i2c1 and tps65917 nodes Lokesh Vutla
2014-07-28  9:22     ` Keerthy
     [not found]       ` <53D61643.4070005-l0cyMroinI0@public.gmane.org>
2014-08-12 12:35         ` Keerthy
2014-09-08 20:04           ` Nishanth Menon
2014-09-08 23:12             ` 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=53D61681.9040906@ti.com \
    --to=a0393675@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=j-keerthy@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=lokeshvutla@ti.com \
    --cc=mark.rutland@arm.com \
    --cc=nm@ti.com \
    --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).