public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] rockchip: px30: Fixup PMUGRF registers layout order
@ 2019-11-27 10:12 Paul Kocialkowski
  2019-11-27 10:12 ` [U-Boot] [PATCH 2/2] rockchip: px30: Add support for using UART3 as debug UART Paul Kocialkowski
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Paul Kocialkowski @ 2019-11-27 10:12 UTC (permalink / raw)
  To: u-boot

According to the PX30 TRM, the iomux registers come first, before the pull
and strength control registers.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
---
 arch/arm/include/asm/arch-rockchip/grf_px30.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/arm/include/asm/arch-rockchip/grf_px30.h b/arch/arm/include/asm/arch-rockchip/grf_px30.h
index c167bb42fac9..3d2a8770322e 100644
--- a/arch/arm/include/asm/arch-rockchip/grf_px30.h
+++ b/arch/arm/include/asm/arch-rockchip/grf_px30.h
@@ -112,18 +112,18 @@ struct px30_grf {
 check_member(px30_grf, mac_con1, 0x904);
 
 struct px30_pmugrf {
-	unsigned int gpio0a_e;
-	unsigned int gpio0b_e;
-	unsigned int gpio0c_e;
-	unsigned int gpio0d_e;
-	unsigned int gpio0a_p;
-	unsigned int gpio0b_p;
-	unsigned int gpio0c_p;
-	unsigned int gpio0d_p;
 	unsigned int gpio0al_iomux;
 	unsigned int gpio0bl_iomux;
 	unsigned int gpio0cl_iomux;
 	unsigned int gpio0dl_iomux;
+	unsigned int gpio0a_p;
+	unsigned int gpio0b_p;
+	unsigned int gpio0c_p;
+	unsigned int gpio0d_p;
+	unsigned int gpio0a_e;
+	unsigned int gpio0b_e;
+	unsigned int gpio0c_e;
+	unsigned int gpio0d_e;
 	unsigned int gpio0l_sr;
 	unsigned int gpio0h_sr;
 	unsigned int gpio0l_smt;
-- 
2.24.0

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

end of thread, other threads:[~2019-11-28  9:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-27 10:12 [U-Boot] [PATCH 1/2] rockchip: px30: Fixup PMUGRF registers layout order Paul Kocialkowski
2019-11-27 10:12 ` [U-Boot] [PATCH 2/2] rockchip: px30: Add support for using UART3 as debug UART Paul Kocialkowski
2019-11-28  9:37   ` Kever Yang
2019-11-28  9:44   ` Heiko Stuebner
2019-11-28  9:51     ` Philipp Tomsich
2019-11-28  9:57     ` Paul Kocialkowski
2019-11-28  9:36 ` [U-Boot] [PATCH 1/2] rockchip: px30: Fixup PMUGRF registers layout order Kever Yang
2019-11-28  9:40 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox