From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] qong: remove unneeded IOMUX settings
Date: Fri, 21 Oct 2011 00:01:31 -0200 [thread overview]
Message-ID: <1319162491-2293-3-git-send-email-festevam@gmail.com> (raw)
In-Reply-To: <1319162491-2293-1-git-send-email-festevam@gmail.com>
On qong board some of the USBH2 pins are set via GPR register, so don need to setup
the IOMUX for each pin individually.
Other than that, these pins should not be configured as primary function because the primary
function selects SSI functionality.
Let GPR register do the work and remove the unneeded IOMUX setup.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Stefano,
I don't have access to the qong board to test this, but I believe this is the right thing to do here.
board/davedenx/qong/qong.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/board/davedenx/qong/qong.c b/board/davedenx/qong/qong.c
index de32fb5..70af593 100644
--- a/board/davedenx/qong/qong.c
+++ b/board/davedenx/qong/qong.c
@@ -120,12 +120,6 @@ int board_early_init_f(void)
mx31_gpio_mux(IOMUX_MODE(MUX_CTL_USBH2_STP, MUX_CTL_FUNC));
mx31_gpio_mux(IOMUX_MODE(MUX_CTL_USBH2_DATA0, MUX_CTL_FUNC));
mx31_gpio_mux(IOMUX_MODE(MUX_CTL_USBH2_DATA1, MUX_CTL_FUNC));
- mx31_gpio_mux(IOMUX_MODE(MUX_CTL_STXD3, MUX_CTL_FUNC));
- mx31_gpio_mux(IOMUX_MODE(MUX_CTL_SRXD3, MUX_CTL_FUNC));
- mx31_gpio_mux(IOMUX_MODE(MUX_CTL_SCK3, MUX_CTL_FUNC));
- mx31_gpio_mux(IOMUX_MODE(MUX_CTL_SFS3, MUX_CTL_FUNC));
- mx31_gpio_mux(IOMUX_MODE(MUX_CTL_STXD6, MUX_CTL_FUNC));
- mx31_gpio_mux(IOMUX_MODE(MUX_CTL_SRXD6, MUX_CTL_FUNC));
#define H2_PAD_CFG (PAD_CTL_DRV_MAX | PAD_CTL_SRE_FAST | PAD_CTL_HYS_CMOS | \
PAD_CTL_ODE_CMOS | PAD_CTL_100K_PU)
--
1.7.1
next prev parent reply other threads:[~2011-10-21 2:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-21 2:01 [U-Boot] [PATCH 1/3] mx31: Introduce mx31_set_gpr function Fabio Estevam
2011-10-21 2:01 ` [U-Boot] [PATCH 2/3] qong: Use mx31_set_gpr to setup USBH2 pins Fabio Estevam
2011-10-25 8:08 ` Stefano Babic
2011-10-21 2:01 ` Fabio Estevam [this message]
2011-10-24 7:56 ` [U-Boot] [PATCH 3/3] qong: remove unneeded IOMUX settings Stefano Babic
2011-10-25 8:07 ` [U-Boot] [PATCH 1/3] mx31: Introduce mx31_set_gpr function Stefano Babic
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=1319162491-2293-3-git-send-email-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=u-boot@lists.denx.de \
/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