linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: dts: dra7-evm: Fixes for 3.17
@ 2014-09-03 11:17 Roger Quadros
  2014-09-03 11:17 ` [PATCH 1/2] ARM: dts: dra7-evm: Fix i2c3 pinmux and frequency Roger Quadros
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Roger Quadros @ 2014-09-03 11:17 UTC (permalink / raw)
  To: tony; +Cc: nm, linux-omap, Roger Quadros

Hi Tony,

These patches fix  I2C3 bus pinmux and frequency as well as
NAND partition name on dra7-evm.

cheers,
-roger

---
Roger Quadros (2):
  ARM: dts: dra7-evm: Fix i2c3 pinmux and frequency
  ARM: dts: dra7-evm: Fix 8th NAND partition's name

 arch/arm/boot/dts/dra7-evm.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
1.8.3.2


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

* [PATCH 1/2] ARM: dts: dra7-evm: Fix i2c3 pinmux and frequency
  2014-09-03 11:17 [PATCH 0/2] ARM: dts: dra7-evm: Fixes for 3.17 Roger Quadros
@ 2014-09-03 11:17 ` Roger Quadros
  2014-09-03 11:17 ` [PATCH 2/2] ARM: dts: dra7-evm: Fix 8th NAND partition's name Roger Quadros
  2014-09-03 21:43 ` [PATCH 0/2] ARM: dts: dra7-evm: Fixes for 3.17 Tony Lindgren
  2 siblings, 0 replies; 5+ messages in thread
From: Roger Quadros @ 2014-09-03 11:17 UTC (permalink / raw)
  To: tony; +Cc: nm, linux-omap, Roger Quadros, Peter Ujfalusi

The I2C3 pins are taken from pads E21 (GPIO6_14) and
F20 (GPIO6_15). Use the right pinmux register and mode.

Also set the I2C3 bus frequency to a safer 400KHz than
3.4Mhz.

CC: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
---
 arch/arm/boot/dts/dra7-evm.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 50f8022..42f5bc9 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -43,8 +43,8 @@
 
 	i2c3_pins: pinmux_i2c3_pins {
 		pinctrl-single,pins = <
-			0x410 (PIN_INPUT | MUX_MODE0) /* i2c3_sda */
-			0x414 (PIN_INPUT | MUX_MODE0) /* i2c3_scl */
+			0x288 (PIN_INPUT | MUX_MODE9) /* gpio6_14.i2c3_sda */
+			0x28c (PIN_INPUT | MUX_MODE9) /* gpio6_15.i2c3_scl */
 		>;
 	};
 
@@ -284,7 +284,7 @@
 	status = "okay";
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c3_pins>;
-	clock-frequency = <3400000>;
+	clock-frequency = <400000>;
 };
 
 &mcspi1 {
-- 
1.8.3.2


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

* [PATCH 2/2] ARM: dts: dra7-evm: Fix 8th NAND partition's name
  2014-09-03 11:17 [PATCH 0/2] ARM: dts: dra7-evm: Fixes for 3.17 Roger Quadros
  2014-09-03 11:17 ` [PATCH 1/2] ARM: dts: dra7-evm: Fix i2c3 pinmux and frequency Roger Quadros
@ 2014-09-03 11:17 ` Roger Quadros
  2014-09-06 10:55   ` pekon
  2014-09-03 21:43 ` [PATCH 0/2] ARM: dts: dra7-evm: Fixes for 3.17 Tony Lindgren
  2 siblings, 1 reply; 5+ messages in thread
From: Roger Quadros @ 2014-09-03 11:17 UTC (permalink / raw)
  To: tony; +Cc: nm, linux-omap, Roger Quadros, Pekon Gupta, Sekhar Nori

The 8th NAND partition should be named "NAND.u-boot-env.backup1"
instead of "NAND.u-boot-env". This is to be consistent with other
TI boards as well as u-boot.

CC: Pekon Gupta <pekon@pek-sem.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 arch/arm/boot/dts/dra7-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 42f5bc9..990ee6a 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -483,7 +483,7 @@
 			reg = <0x001c0000 0x00020000>;
 		};
 		partition@7 {
-			label = "NAND.u-boot-env";
+			label = "NAND.u-boot-env.backup1";
 			reg = <0x001e0000 0x00020000>;
 		};
 		partition@8 {
-- 
1.8.3.2


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

* Re: [PATCH 0/2] ARM: dts: dra7-evm: Fixes for 3.17
  2014-09-03 11:17 [PATCH 0/2] ARM: dts: dra7-evm: Fixes for 3.17 Roger Quadros
  2014-09-03 11:17 ` [PATCH 1/2] ARM: dts: dra7-evm: Fix i2c3 pinmux and frequency Roger Quadros
  2014-09-03 11:17 ` [PATCH 2/2] ARM: dts: dra7-evm: Fix 8th NAND partition's name Roger Quadros
@ 2014-09-03 21:43 ` Tony Lindgren
  2 siblings, 0 replies; 5+ messages in thread
From: Tony Lindgren @ 2014-09-03 21:43 UTC (permalink / raw)
  To: Roger Quadros; +Cc: nm, linux-omap

* Roger Quadros <rogerq@ti.com> [140903 04:18]:
> Hi Tony,
> 
> These patches fix  I2C3 bus pinmux and frequency as well as
> NAND partition name on dra7-evm.
> 
> cheers,
> -roger
> 
> ---
> Roger Quadros (2):
>   ARM: dts: dra7-evm: Fix i2c3 pinmux and frequency
>   ARM: dts: dra7-evm: Fix 8th NAND partition's name
> 
>  arch/arm/boot/dts/dra7-evm.dts | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Applying into omap-for-v3.17/fixes-v2 thanks.

Tony

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

* Re: [PATCH 2/2] ARM: dts: dra7-evm: Fix 8th NAND partition's name
  2014-09-03 11:17 ` [PATCH 2/2] ARM: dts: dra7-evm: Fix 8th NAND partition's name Roger Quadros
@ 2014-09-06 10:55   ` pekon
  0 siblings, 0 replies; 5+ messages in thread
From: pekon @ 2014-09-06 10:55 UTC (permalink / raw)
  To: Roger Quadros, tony; +Cc: nm, linux-omap, Sekhar Nori

On Wednesday 03 September 2014 04:47 PM, Roger Quadros wrote:
> The 8th NAND partition should be named "NAND.u-boot-env.backup1"
> instead of "NAND.u-boot-env". This is to be consistent with other
> TI boards as well as u-boot.
>
> CC: Pekon Gupta <pekon@pek-sem.com>
> Signed-off-by: Roger Quadros <rogerq@ti.com>
> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
> ---
>   arch/arm/boot/dts/dra7-evm.dts | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
> index 42f5bc9..990ee6a 100644
> --- a/arch/arm/boot/dts/dra7-evm.dts
> +++ b/arch/arm/boot/dts/dra7-evm.dts
> @@ -483,7 +483,7 @@
>   			reg = <0x001c0000 0x00020000>;
>   		};
>   		partition@7 {
> -			label = "NAND.u-boot-env";
> +			label = "NAND.u-boot-env.backup1";
>   			reg = <0x001e0000 0x00020000>;
>   		};
>   		partition@8 {
>
Thanks for the fixing this typo.
Reviewed-by: Pekon Gupta <pekon@pek-sem.com>

with regards, pekon

------------------------
Powered by BigRock.com


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

end of thread, other threads:[~2014-09-06 10:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-03 11:17 [PATCH 0/2] ARM: dts: dra7-evm: Fixes for 3.17 Roger Quadros
2014-09-03 11:17 ` [PATCH 1/2] ARM: dts: dra7-evm: Fix i2c3 pinmux and frequency Roger Quadros
2014-09-03 11:17 ` [PATCH 2/2] ARM: dts: dra7-evm: Fix 8th NAND partition's name Roger Quadros
2014-09-06 10:55   ` pekon
2014-09-03 21:43 ` [PATCH 0/2] ARM: dts: dra7-evm: Fixes for 3.17 Tony Lindgren

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