devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] ARM: dts: AM43x: Add devcice tree nodes
@ 2014-07-03 13:44 Keerthy
  2014-07-03 13:44 ` [PATCH 1/5] mfd: Add DT bindings for tps65218 PMIC Keerthy
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Keerthy @ 2014-07-03 13:44 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA
  Cc: mark.rutland-5wv7dgnIgG8, galak-sgV2jX0FEOL9JmXXK+q4OQ,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, linux-lFZ/pmaqli7XmaaqVzeoHQ,
	balbi-l0cyMroinI0, tony-4v6yS6AI5VpBDgjK7y7TUQ,
	kishon-l0cyMroinI0, Keerthy

The patch series adds the device tree nodes and the corresponding
documentation. The series also enabled tps65218 config options
in the omap2plus_defconfig.

The series is boot tested on both AM43x-epos-evm and AM437x-gp-evm.

Keerthy (5):
  mfd: Add DT bindings for tps65218 PMIC
  regulator: Add DT bindings for tps65218 PMIC regulators.
  ARM: dts: AM43x: Add TPS65218 device tree nodes
  ARM: dts: AM437x: Add TPS65218 device tree nodes
  ARM: configs: omap2plus_defconfig: enable TPS65218 configs

 Documentation/devicetree/bindings/mfd/tps65218.txt |   57 ++++++++++++++++++++
 .../devicetree/bindings/regulator/tps65218.txt     |   21 ++++++++
 arch/arm/boot/dts/am437x-gp-evm.dts                |   38 +++++++++++++
 arch/arm/boot/dts/am43x-epos-evm.dts               |   38 +++++++++++++
 arch/arm/configs/omap2plus_defconfig               |    2 +
 5 files changed, 156 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/tps65218.txt
 create mode 100644 Documentation/devicetree/bindings/regulator/tps65218.txt

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 1/5] mfd: Add DT bindings for tps65218 PMIC
  2014-07-03 13:44 [PATCH 0/5] ARM: dts: AM43x: Add devcice tree nodes Keerthy
@ 2014-07-03 13:44 ` Keerthy
  2014-07-03 14:15   ` Felipe Balbi
  2014-07-03 13:44 ` [PATCH 2/5] regulator: Add DT bindings for tps65218 PMIC regulators Keerthy
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Keerthy @ 2014-07-03 13:44 UTC (permalink / raw)
  To: devicetree, linux-kernel, linux-omap
  Cc: mark.rutland, galak, robh+dt, linux, balbi, tony, kishon, Keerthy

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 */
+		regulator-name = "vdd_core";
+		regulator-min-microvolt = <912000>;
+		regulator-max-microvolt = <1144000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
+
+	dcdc2: regulator-dcdc2 {
+		compatible = "ti,tps65218-dcdc2";
+		/* VDD_MPU voltage limits min of OPP50 and max of OPP_NITRO */
+		regulator-name = "vdd_mpu";
+		regulator-min-microvolt = <912000>;
+		regulator-max-microvolt = <1378000>;
+			regulator-boot-on;
+		regulator-always-on;
+	};
+
+	ldo1: regulator-ldo1 {
+		compatible = "ti,tps65218-ldo1";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
+};
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/5] regulator: Add DT bindings for tps65218 PMIC regulators.
  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 13:44 ` 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
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Keerthy @ 2014-07-03 13:44 UTC (permalink / raw)
  To: devicetree, linux-kernel, linux-omap
  Cc: mark.rutland, galak, robh+dt, linux, balbi, tony, kishon, Keerthy

Add DT bindings for tps65218 PMIC regulators.

Signed-off-by: Keerthy <j-keerthy@ti.com>
---
 .../devicetree/bindings/regulator/tps65218.txt     |   21 ++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/tps65218.txt

diff --git a/Documentation/devicetree/bindings/regulator/tps65218.txt b/Documentation/devicetree/bindings/regulator/tps65218.txt
new file mode 100644
index 0000000..6272a73
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/tps65218.txt
@@ -0,0 +1,21 @@
+TPS65218 family of regulators
+
+Required properties:
+For tps65218 regulators/LDOs
+- compatible:
+  - "ti,tps65218-dcdc1" for DCDC1 
+  - "ti,tps65218-dcdc2" for DCDC2
+  - "ti,tps65218-dcdc3" for DCDC3
+  - "ti,tps65218-dcdc4" for DCDC4
+  - "ti,tps65218-ldo1" for LDO1
+
+Optional properties:
+- Any optional property defined in bindings/regulator/regulator.txt
+
+Example:
+
+	xyz: regulator@0 {
+		compatible = "ti,tps65218-dcdc1";
+		regulator-min-microvolt  = <1000000>;
+		regulator-max-microvolt  = <3000000>;
+	};
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 3/5] ARM: dts: AM43x: Add TPS65218 device tree nodes
  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 13:44 ` [PATCH 2/5] regulator: Add DT bindings for tps65218 PMIC regulators Keerthy
@ 2014-07-03 13:45 ` Keerthy
  2014-07-03 14:20   ` Felipe Balbi
  2014-07-03 13:45 ` [PATCH 4/5] ARM: dts: AM437x: " Keerthy
  2014-07-03 13:45 ` [PATCH 5/5] ARM: configs: omap2plus_defconfig: enable TPS65218 configs Keerthy
  4 siblings, 1 reply; 11+ messages in thread
From: Keerthy @ 2014-07-03 13:45 UTC (permalink / raw)
  To: devicetree, linux-kernel, linux-omap
  Cc: mark.rutland, galak, robh+dt, linux, balbi, tony, kishon, Keerthy

Add TPS65218 device tree nodes.

Signed-off-by: Keerthy <j-keerthy@ti.com>
---
 arch/arm/boot/dts/am43x-epos-evm.dts |   38 ++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index 19f1f7e..749098b 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -323,6 +323,44 @@
 	status = "okay";
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c0_pins>;
+	clock-frequency = <400000>;
+
+	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 */
+			regulator-name = "vdd_core";
+			regulator-min-microvolt = <912000>;
+			regulator-max-microvolt = <1144000>;
+			regulator-boot-on;
+			regulator-always-on;
+		};
+
+		dcdc2: regulator-dcdc2 {
+			compatible = "ti,tps65218-dcdc2";
+			/* VDD_MPU voltage limits min of OPP50 and max of OPP_NITRO */
+			regulator-name = "vdd_mpu";
+			regulator-min-microvolt = <912000>;
+			regulator-max-microvolt = <1378000>;
+			regulator-boot-on;
+			regulator-always-on;
+		};
+
+		ldo1: regulator-ldo1 {
+			compatible = "ti,tps65218-ldo1";
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+			regulator-boot-on;
+			regulator-always-on;
+		};
+	};
 
 	at24@50 {
 		compatible = "at24,24c256";
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 4/5] ARM: dts: AM437x: Add TPS65218 device tree nodes
  2014-07-03 13:44 [PATCH 0/5] ARM: dts: AM43x: Add devcice tree nodes Keerthy
                   ` (2 preceding siblings ...)
  2014-07-03 13:45 ` [PATCH 3/5] ARM: dts: AM43x: Add TPS65218 device tree nodes Keerthy
@ 2014-07-03 13:45 ` Keerthy
  2014-07-03 14:23   ` Felipe Balbi
  2014-07-03 13:45 ` [PATCH 5/5] ARM: configs: omap2plus_defconfig: enable TPS65218 configs Keerthy
  4 siblings, 1 reply; 11+ messages in thread
From: Keerthy @ 2014-07-03 13:45 UTC (permalink / raw)
  To: devicetree, linux-kernel, linux-omap
  Cc: mark.rutland, galak, robh+dt, linux, balbi, tony, kishon, Keerthy

Add TPS65218 device tree nodes.

Signed-off-by: Keerthy <j-keerthy@ti.com>
---
 arch/arm/boot/dts/am437x-gp-evm.dts |   38 +++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index 003766c..fc35d24 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -260,6 +260,44 @@
         status = "okay";
         pinctrl-names = "default";
         pinctrl-0 = <&i2c0_pins>;
+	clock-frequency = <400000>;
+
+	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 */
+			regulator-name = "vdd_core";
+			regulator-min-microvolt = <912000>;
+			regulator-max-microvolt = <1144000>;
+			regulator-boot-on;
+			regulator-always-on;
+		};
+
+		dcdc2: regulator-dcdc2 {
+			compatible = "ti,tps65218-dcdc2";
+			/* VDD_MPU voltage limits min of OPP50 and max of OPP_NITRO */
+			regulator-name = "vdd_mpu";
+			regulator-min-microvolt = <912000>;
+			regulator-max-microvolt = <1378000>;
+			regulator-boot-on;
+			regulator-always-on;
+		};
+
+		ldo1: regulator-ldo1 {
+			compatible = "ti,tps65218-ldo1";
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+			regulator-boot-on;
+			regulator-always-on;
+		};
+	};
 };
 
 &i2c1 {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 5/5] ARM: configs: omap2plus_defconfig: enable TPS65218 configs
  2014-07-03 13:44 [PATCH 0/5] ARM: dts: AM43x: Add devcice tree nodes Keerthy
                   ` (3 preceding siblings ...)
  2014-07-03 13:45 ` [PATCH 4/5] ARM: dts: AM437x: " Keerthy
@ 2014-07-03 13:45 ` Keerthy
  2014-07-03 14:24   ` Felipe Balbi
  4 siblings, 1 reply; 11+ messages in thread
From: Keerthy @ 2014-07-03 13:45 UTC (permalink / raw)
  To: devicetree, linux-kernel, linux-omap
  Cc: mark.rutland, galak, robh+dt, linux, balbi, tony, kishon, Keerthy

Enable TPS65218 config options.

Signed-off-by: Keerthy <j-keerthy@ti.com>
---
 arch/arm/configs/omap2plus_defconfig |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index 536a137..f650f00 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -180,6 +180,7 @@ CONFIG_TWL4030_WATCHDOG=y
 CONFIG_MFD_SYSCON=y
 CONFIG_MFD_PALMAS=y
 CONFIG_MFD_TPS65217=y
+CONFIG_MFD_TPS65218=y
 CONFIG_MFD_TPS65910=y
 CONFIG_TWL6040_CORE=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
@@ -188,6 +189,7 @@ CONFIG_REGULATOR_TI_ABB=y
 CONFIG_REGULATOR_TPS65023=y
 CONFIG_REGULATOR_TPS6507X=y
 CONFIG_REGULATOR_TPS65217=y
+CONFIG_REGULATOR_TPS65218=y
 CONFIG_REGULATOR_TPS65910=y
 CONFIG_REGULATOR_TWL4030=y
 CONFIG_REGULATOR_PBIAS=y
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/5] mfd: Add DT bindings for tps65218 PMIC
  2014-07-03 13:44 ` [PATCH 1/5] mfd: Add DT bindings for tps65218 PMIC Keerthy
@ 2014-07-03 14:15   ` Felipe Balbi
  0 siblings, 0 replies; 11+ messages in thread
From: Felipe Balbi @ 2014-07-03 14:15 UTC (permalink / raw)
  To: Keerthy
  Cc: devicetree, linux-kernel, linux-omap, mark.rutland, galak,
	robh+dt, linux, balbi, tony, kishon

[-- 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 --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 2/5] regulator: Add DT bindings for tps65218 PMIC regulators
  2014-07-03 13:44 ` [PATCH 2/5] regulator: Add DT bindings for tps65218 PMIC regulators Keerthy
@ 2014-07-03 14:16   ` Felipe Balbi
  0 siblings, 0 replies; 11+ messages in thread
From: Felipe Balbi @ 2014-07-03 14:16 UTC (permalink / raw)
  To: Keerthy
  Cc: devicetree, linux-kernel, linux-omap, mark.rutland, galak,
	robh+dt, linux, balbi, tony, kishon

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

On Thu, Jul 03, 2014 at 07:14:59PM +0530, Keerthy wrote:
> Add DT bindings for tps65218 PMIC regulators.
> 
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> ---
>  .../devicetree/bindings/regulator/tps65218.txt     |   21 ++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/regulator/tps65218.txt
> 
> diff --git a/Documentation/devicetree/bindings/regulator/tps65218.txt b/Documentation/devicetree/bindings/regulator/tps65218.txt
> new file mode 100644
> index 0000000..6272a73
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/regulator/tps65218.txt
> @@ -0,0 +1,21 @@
> +TPS65218 family of regulators
> +
> +Required properties:
> +For tps65218 regulators/LDOs
> +- compatible:
> +  - "ti,tps65218-dcdc1" for DCDC1 
> +  - "ti,tps65218-dcdc2" for DCDC2
> +  - "ti,tps65218-dcdc3" for DCDC3
> +  - "ti,tps65218-dcdc4" for DCDC4

"ti,tps65218-dcdc5" for DCDC5
"ti,tps65218-dcdc6" for DCDC6

> +  - "ti,tps65218-ldo1" for LDO1
> +
> +Optional properties:
> +- Any optional property defined in bindings/regulator/regulator.txt
> +
> +Example:
> +
> +	xyz: regulator@0 {
> +		compatible = "ti,tps65218-dcdc1";
> +		regulator-min-microvolt  = <1000000>;
> +		regulator-max-microvolt  = <3000000>;
> +	};
> -- 
> 1.7.9.5
> 

-- 
balbi

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 3/5] ARM: dts: AM43x: Add TPS65218 device tree nodes
  2014-07-03 13:45 ` [PATCH 3/5] ARM: dts: AM43x: Add TPS65218 device tree nodes Keerthy
@ 2014-07-03 14:20   ` Felipe Balbi
  0 siblings, 0 replies; 11+ messages in thread
From: Felipe Balbi @ 2014-07-03 14:20 UTC (permalink / raw)
  To: Keerthy
  Cc: devicetree, linux-kernel, linux-omap, mark.rutland, galak,
	robh+dt, linux, balbi, tony, kishon

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

On Thu, Jul 03, 2014 at 07:15:00PM +0530, Keerthy wrote:
> Add TPS65218 device tree nodes.
> 
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> ---
>  arch/arm/boot/dts/am43x-epos-evm.dts |   38 ++++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
> index 19f1f7e..749098b 100644
> --- a/arch/arm/boot/dts/am43x-epos-evm.dts
> +++ b/arch/arm/boot/dts/am43x-epos-evm.dts
> @@ -323,6 +323,44 @@
>  	status = "okay";
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&i2c0_pins>;
> +	clock-frequency = <400000>;

looks unrelated but small enough that it should suffice to mention on
commit log.

> +	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 */
> +			regulator-name = "vdd_core";
> +			regulator-min-microvolt = <912000>;
> +			regulator-max-microvolt = <1144000>;
> +			regulator-boot-on;
> +			regulator-always-on;
> +		};
> +
> +		dcdc2: regulator-dcdc2 {
> +			compatible = "ti,tps65218-dcdc2";
> +			/* VDD_MPU voltage limits min of OPP50 and max of OPP_NITRO */
> +			regulator-name = "vdd_mpu";
> +			regulator-min-microvolt = <912000>;
> +			regulator-max-microvolt = <1378000>;
> +			regulator-boot-on;
> +			regulator-always-on;
> +		};

missing vdcdc3, vdcdc4, vdcdc5 and vdcdc6.

> +
> +		ldo1: regulator-ldo1 {
> +			compatible = "ti,tps65218-ldo1";
> +			regulator-min-microvolt = <1800000>;
> +			regulator-max-microvolt = <1800000>;
> +			regulator-boot-on;
> +			regulator-always-on;
> +		};
> +	};
>  
>  	at24@50 {
>  		compatible = "at24,24c256";

-- 
balbi

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 4/5] ARM: dts: AM437x: Add TPS65218 device tree nodes
  2014-07-03 13:45 ` [PATCH 4/5] ARM: dts: AM437x: " Keerthy
@ 2014-07-03 14:23   ` Felipe Balbi
  0 siblings, 0 replies; 11+ messages in thread
From: Felipe Balbi @ 2014-07-03 14:23 UTC (permalink / raw)
  To: Keerthy
  Cc: devicetree, linux-kernel, linux-omap, mark.rutland, galak,
	robh+dt, linux, balbi, tony, kishon

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

On Thu, Jul 03, 2014 at 07:15:01PM +0530, Keerthy wrote:
> Add TPS65218 device tree nodes.
> 
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> ---
>  arch/arm/boot/dts/am437x-gp-evm.dts |   38 +++++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
> index 003766c..fc35d24 100644
> --- a/arch/arm/boot/dts/am437x-gp-evm.dts
> +++ b/arch/arm/boot/dts/am437x-gp-evm.dts
> @@ -260,6 +260,44 @@
>          status = "okay";
>          pinctrl-names = "default";
>          pinctrl-0 = <&i2c0_pins>;
> +	clock-frequency = <400000>;

same as before, also indentation is wrong, but I see indentation was
already wrong on this file, perhaps add a patch before this one fixing
that so this file is indented with tabs only ?

> +
> +	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 */
> +			regulator-name = "vdd_core";
> +			regulator-min-microvolt = <912000>;
> +			regulator-max-microvolt = <1144000>;
> +			regulator-boot-on;
> +			regulator-always-on;
> +		};
> +
> +		dcdc2: regulator-dcdc2 {
> +			compatible = "ti,tps65218-dcdc2";
> +			/* VDD_MPU voltage limits min of OPP50 and max of OPP_NITRO */
> +			regulator-name = "vdd_mpu";
> +			regulator-min-microvolt = <912000>;
> +			regulator-max-microvolt = <1378000>;
> +			regulator-boot-on;
> +			regulator-always-on;
> +		};

also missing dcdc3/4/5. (6 has a non-populated 0 ohm resistor, so it
should be turned off).

> +		ldo1: regulator-ldo1 {
> +			compatible = "ti,tps65218-ldo1";
> +			regulator-min-microvolt = <1800000>;
> +			regulator-max-microvolt = <1800000>;
> +			regulator-boot-on;
> +			regulator-always-on;
> +		};
> +	};
>  };
>  
>  &i2c1 {
> -- 
> 1.7.9.5
> 

-- 
balbi

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 5/5] ARM: configs: omap2plus_defconfig: enable TPS65218 configs
  2014-07-03 13:45 ` [PATCH 5/5] ARM: configs: omap2plus_defconfig: enable TPS65218 configs Keerthy
@ 2014-07-03 14:24   ` Felipe Balbi
  0 siblings, 0 replies; 11+ messages in thread
From: Felipe Balbi @ 2014-07-03 14:24 UTC (permalink / raw)
  To: Keerthy
  Cc: devicetree, linux-kernel, linux-omap, mark.rutland, galak,
	robh+dt, linux, balbi, tony, kishon

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

On Thu, Jul 03, 2014 at 07:15:02PM +0530, Keerthy wrote:
> Enable TPS65218 config options.
> 
> Signed-off-by: Keerthy <j-keerthy@ti.com>

Acked-by: Felipe Balbi <balbi@ti.com>

> ---
>  arch/arm/configs/omap2plus_defconfig |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
> index 536a137..f650f00 100644
> --- a/arch/arm/configs/omap2plus_defconfig
> +++ b/arch/arm/configs/omap2plus_defconfig
> @@ -180,6 +180,7 @@ CONFIG_TWL4030_WATCHDOG=y
>  CONFIG_MFD_SYSCON=y
>  CONFIG_MFD_PALMAS=y
>  CONFIG_MFD_TPS65217=y
> +CONFIG_MFD_TPS65218=y
>  CONFIG_MFD_TPS65910=y
>  CONFIG_TWL6040_CORE=y
>  CONFIG_REGULATOR_FIXED_VOLTAGE=y
> @@ -188,6 +189,7 @@ CONFIG_REGULATOR_TI_ABB=y
>  CONFIG_REGULATOR_TPS65023=y
>  CONFIG_REGULATOR_TPS6507X=y
>  CONFIG_REGULATOR_TPS65217=y
> +CONFIG_REGULATOR_TPS65218=y
>  CONFIG_REGULATOR_TPS65910=y
>  CONFIG_REGULATOR_TWL4030=y
>  CONFIG_REGULATOR_PBIAS=y
> -- 
> 1.7.9.5
> 

-- 
balbi

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-07-03 14:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).