public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] GPIO configuration on 460EX
Date: Thu, 16 Oct 2008 09:22:35 +0200	[thread overview]
Message-ID: <200810160922.35491.sr@denx.de> (raw)
In-Reply-To: <48F680CC.30206@embedded-sol.com>

Hi Felix,

On Thursday 16 October 2008, Felix Radensky wrote:
> I'm looking at GPIO setup code for Canyonlands, and
> it looks like some initializations mentioned in the 460EX
> manual are missing. When pin is configured as alternate
> input, the corresponding bits in TSRL/H registers should
> be set. U-Boot code sets TSRL/H registers only for output
> pins.
>
> Am I missing something ?

Looking again at the users manual I can't find that the TSR register should be 
set for input functionality. Take a look at figure 35-1. Here you will see 
that TSR is only involved for output functionality.

I assume that you are asking because of your Linux IRQ problem with the 
external interrupt, correct? I'll take a look at the Linux thread and try to 
give another answer there.

And feel free to test with TSR configured for input as well. If this gets your 
interrupt working then this we need to change this GPIO config code of 
course.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2008-10-16  7:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-15 23:46 [U-Boot] GPIO configuration on 460EX Felix Radensky
2008-10-16  7:22 ` Stefan Roese [this message]
2008-10-16  9:10   ` Felix Radensky

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=200810160922.35491.sr@denx.de \
    --to=sr@denx.de \
    --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