From: Jamie Iles <jamie@jamieiles.com>
To: Shane McDonald <mcdonald.shane@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>,
Jamie Iles <jamie@jamieiles.com>,
linux-serial@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>,
linux-mips@linux-mips.org, Marc St-Jean <bluezzer@gmail.com>,
Anoop P A <anoop.pa@gmail.com>
Subject: Re: [PATCH] tty: 8250: handle USR for DesignWare 8250 with correct accessors
Date: Wed, 15 Jun 2011 09:49:59 +0100 [thread overview]
Message-ID: <20110615084959.GG3075@pulham.picochip.com> (raw)
In-Reply-To: <BANLkTi=0Pk-2YT=jLeBTNLYELfo+e-saZA@mail.gmail.com>
On Tue, Jun 14, 2011 at 09:33:45AM -0600, Shane McDonald wrote:
> On Thu, Jun 9, 2011 at 9:58 PM, Ralf Baechle <ralf@linux-mips.org> wrote:
> > If you look at arch/mips/include/asm/pmc-sierra/msp71xx/msp_regs.h there's
> >
> > #define MSP_UART0_BASE (MSP_SLP_BASE + 0x100)
> > /* UART0 controller base */
> > #define MSP_BCPY_CTRL_BASE (MSP_SLP_BASE + 0x120)
> > /* Block Copy controller base */
> >
> > So there are just 0x20 of address space reserved for that UART. Me thinks
> > that PMC-Sierra clamped the 256 byte address space of the DesignWare APB
> > UART to what is standard for 16550 class UARTs, 8 registers which at a
> > shift of 4 is 0x20 bytes and the status register being accesses is really
> > something else. I'd guess PMC-Sierra just remapped the register to
> > another address.
>
> I have confirmed with a contact at PMC-Sierra that this is the case.
Thanks for confirming that Shane. I'm currently working on a series to
move the DesignWare handling code into the pmc-sierra platform and kill
off UPIO_DWAPB{,32} and will post it in a couple of days.
Jamie
WARNING: multiple messages have this Message-ID (diff)
From: Jamie Iles <jamie@jamieiles.com>
To: Shane McDonald <mcdonald.shane@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>,
Jamie Iles <jamie@jamieiles.com>,
linux-serial@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>,
linux-mips@linux-mips.org, Marc St-Jean <bluezzer@gmail.com>,
Anoop P A <anoop.pa@gmail.com>
Subject: Re: [PATCH] tty: 8250: handle USR for DesignWare 8250 with correct accessors
Date: Wed, 15 Jun 2011 09:49:59 +0100 [thread overview]
Message-ID: <20110615084959.GG3075@pulham.picochip.com> (raw)
In-Reply-To: <BANLkTi=0Pk-2YT=jLeBTNLYELfo+e-saZA@mail.gmail.com>
On Tue, Jun 14, 2011 at 09:33:45AM -0600, Shane McDonald wrote:
> On Thu, Jun 9, 2011 at 9:58 PM, Ralf Baechle <ralf@linux-mips.org> wrote:
> > If you look at arch/mips/include/asm/pmc-sierra/msp71xx/msp_regs.h there's
> >
> > #define MSP_UART0_BASE (MSP_SLP_BASE + 0x100)
> > /* UART0 controller base */
> > #define MSP_BCPY_CTRL_BASE (MSP_SLP_BASE + 0x120)
> > /* Block Copy controller base */
> >
> > So there are just 0x20 of address space reserved for that UART. Me thinks
> > that PMC-Sierra clamped the 256 byte address space of the DesignWare APB
> > UART to what is standard for 16550 class UARTs, 8 registers which at a
> > shift of 4 is 0x20 bytes and the status register being accesses is really
> > something else. I'd guess PMC-Sierra just remapped the register to
> > another address.
>
> I have confirmed with a contact at PMC-Sierra that this is the case.
Thanks for confirming that Shane. I'm currently working on a series to
move the DesignWare handling code into the pmc-sierra platform and kill
off UPIO_DWAPB{,32} and will post it in a couple of days.
Jamie
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-06-15 8:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-09 10:48 [PATCH] tty: 8250: handle USR for DesignWare 8250 with correct accessors Jamie Iles
2011-06-10 3:58 ` Ralf Baechle
2011-06-10 7:54 ` Jamie Iles
2011-06-10 13:57 ` Alan Cox
2011-06-13 9:19 ` Jamie Iles
2011-06-13 9:29 ` Alan Cox
2011-06-10 18:58 ` Shane McDonald
2011-06-10 18:58 ` Shane McDonald
2011-06-14 15:33 ` Shane McDonald
2011-06-14 15:33 ` Shane McDonald
2011-06-15 8:49 ` Jamie Iles [this message]
2011-06-15 8:49 ` Jamie Iles
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=20110615084959.GG3075@pulham.picochip.com \
--to=jamie@jamieiles.com \
--cc=anoop.pa@gmail.com \
--cc=bluezzer@gmail.com \
--cc=gregkh@suse.de \
--cc=linux-mips@linux-mips.org \
--cc=linux-serial@vger.kernel.org \
--cc=mcdonald.shane@gmail.com \
--cc=ralf@linux-mips.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.