Re: [PATCH] OMAP: Serial: Define register access modes in LCR
Greg KH <[email protected]> Wed, 17 Nov 2010 08:17:29 -0800
| Newsgroups | gmane.linux.ports.arm.general |
|---|---|
| Message-ID | <20101117161729.GF10992__31942.7782357254$1290011915$gmane$org@kroah.com> |
On Wed, Nov 17, 2010 at 10:31:52AM +0200, Emeltchenko Andrei wrote: > From: Andrei Emeltchenko <[email protected]> > > Access to some registers depends on register access mode > Three different modes are available for OMAP (at least) > • Operational mode LCR_REG[7] = 0x0 > • Configuration mode A LCR_REG[7] = 0x1 and LCR_REG[7:0]! = 0xBF > • Configuration mode B LCR_REG[7] = 0x1 and LCR_REG[7:0] = 0xBF > > Define access modes and remove redefinitions and magic numbers > in serial drivers (and later in bluetooth driver). > > Signed-off-by: Andrei Emeltchenko <[email protected]> > --- > arch/arm/mach-omap2/serial.c | 12 ++++---- > arch/arm/plat-omap/include/plat/omap-serial.h | 9 ------ > drivers/serial/8250.c | 26 +++++++++--------- > drivers/serial/omap-serial.c | 34 ++++++++++++------------ > include/linux/serial_reg.h | 7 +++++ What tree should this go through? THe omap or serial one? thanks, greg k-h _______________________________________________ linux-arm mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm