Skip to contentSkip to conversation

arm: lpc32xx: mux: add missing registers

PATCH New slemieux.tyco at gmail.com 3 participants 4 messages Jul 27, 2015 – Aug 17, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/7 arm: lpc32xx: mux: add missing registers

From: Sylvain Lemieux <[email protected]>

Add missing registers in struct definition.
Update GPIO MUX base register to match GPIO base (refer to "LPC32x0 User manual" Rev. 3 - 22 July 2011).

---
 arch/arm/include/asm/arch-lpc32xx/cpu.h |  2 +-
 arch/arm/include/asm/arch-lpc32xx/mux.h | 17 +++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)
arch/arm/include/asm/arch-lpc32xx/cpu.h +1 -1
index 0b5dca1..0de894b 100644
@@ -27,7 +27,7 @@
 #define HS_UART7_BASE	0x4001C000	/* High speed UART 7 registers base */
 #define RTC_BASE	0x40024000	/* RTC registers base               */
 #define GPIO_BASE	0x40028000	/* GPIO registers base              */
-#define MUX_BASE	0x40028100	/* MUX registers base               */
+#define MUX_BASE	0x40028000	/* MUX registers base               */
 #define WDT_BASE	0x4003C000	/* Watchdog timer registers base    */
 #define TIMER0_BASE	0x40044000	/* Timer0 registers base            */
 #define TIMER1_BASE	0x4004C000	/* Timer1 registers base            */
arch/arm/include/asm/arch-lpc32xx/mux.h +17 -0
index dc1b5bc..665ea3f 100644
@@ -12,7 +12,24 @@
  */
 
 struct mux_regs {
+	u32 reserved1[10];
+	u32 p2_mux_set;
+	u32 p2_mux_clr;
+	u32 p2_mux_state;
+	u32 reserved2[51];
 	u32 p_mux_set;
 	u32 p_mux_clr;
 	u32 p_mux_state;
+	u32 reserved3;
+	u32 p3_mux_set;
+	u32 p3_mux_clr;
+	u32 p3_mux_state;
+	u32 reserved4;
+	u32 p0_mux_set;
+	u32 p0_mux_clr;
+	u32 p0_mux_state;
+	u32 reserved5;
+	u32 p1_mux_set;
+	u32 p1_mux_clr;
+	u32 p1_mux_state;
 };
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/7 arm: lpc32xx: mux: add missing registers

Quoted 6 lines · slemieux.tyco at gmail.com

From: Sylvain Lemieux <[email protected]>

Add missing registers in struct definition.
Update GPIO MUX base register to match GPIO base (refer to "LPC32x0 User manual" Rev. 3 - 22 July 2011).

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150813/f6f1642d/attachment.sig>
#2 lore raw

PATCH 1/7 arm: lpc32xx: mux: add missing registers

Hi Tom,

I resynchronize the master branch this morning, and only patch 7/7 of the series appear in u-boot/master;

Is it possible that patch 1/7 to 6/7 were not applied?

For your convenience this is a list of links to patchwork:
* http://patchwork.ozlabs.org/patch/500510/
* http://patchwork.ozlabs.org/patch/500512/
* http://patchwork.ozlabs.org/patch/500513/
* http://patchwork.ozlabs.org/patch/500511/
* http://patchwork.ozlabs.org/patch/500514/
* http://patchwork.ozlabs.org/patch/500515/

Sylvain Lemieux

Quoted 11 lines

-----Original Message-----
From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Tom Rini
Sent: 13-Aug-15 9:20 AM

Quoted 5 lines · slemieux.tyco at gmail.com

From: Sylvain Lemieux <[email protected]>

Add missing registers in struct definition.
Update GPIO MUX base register to match GPIO base (refer to "LPC32x0 User manual" Rev. 3 - 22 July 2011).

Quoted 6 lines
Quoted 1 line

Applied to u-boot/master, thanks!

--
Tom

________________________________

This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of any information contained in it. If you have received this e-mail in error, please notify the sender immediately by e-mail and immediately destroy this e-mail and its attachments.

#3 lore raw

PATCH 1/7 arm: lpc32xx: mux: add missing registers

Quoted 7 lines · SYLVAIN

Hi Tom,

I resynchronize the master branch this morning, and only patch 7/7 of the series appear in u-boot/master;

Is it possible that patch 1/7 to 6/7 were not applied?

Quoted 7 lines

For your convenience this is a list of links to patchwork:
* http://patchwork.ozlabs.org/patch/500510/
* http://patchwork.ozlabs.org/patch/500512/
* http://patchwork.ozlabs.org/patch/500513/
* http://patchwork.ozlabs.org/patch/500511/
* http://patchwork.ozlabs.org/patch/500514/
* http://patchwork.ozlabs.org/patch/500515/

Oops, I dropped them by accident doing some re-ordering, fixed now. Sorry!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150817/1c722c5a/attachment.sig>