From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Date: Wed, 02 May 2012 13:12:08 +0000 Subject: Re: [PATCH 00/06] serial8250: DLL/DLM rework, Emma Mobile UART driver Message-Id: <201205021312.08308.arnd@arndb.de> List-Id: References: <20120502124642.30480.41373.sendpatchset@w520> In-Reply-To: <20120502124642.30480.41373.sendpatchset@w520> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Magnus Damm Cc: linux-serial@vger.kernel.org, horms@verge.net.au, linux-sh@vger.kernel.org, gregkh@linuxfoundation.org, swarren@wwwdotorg.org, linux-kernel@vger.kernel.org, rjw@sisk.pl, paul.gortmaker@windriver.com, lethal@linux-sh.org, olof@lixom.net, dan.j.williams@intel.com, alan@linux.intel.com On Wednesday 02 May 2012, Magnus Damm wrote: > serial8250: DLL/DLM rework, Emma Mobile UART driver > > [PATCH 01/06] serial8250: Add dl_read()/dl_write() callbacks > [PATCH 02/06] serial8250: Use dl_read()/dl_write() on Alchemy > [PATCH 03/06] serial8250: Use dl_read()/dl_write() on RM9K > [PATCH 04/06] serial8250: Clean up default map and dl code > [PATCH 05/06] serial8250: Introduce serial8250_register_8250_port() > [PATCH 06/06] serial8250-em: Add Emma Mobile UART driver > > This series cleans up and adjusts the 8250 code base to allow > hooking in a driver for the UART in Emma Mobile SoCs. > > In short: > - Patch 1-4 tie in 8250-specific dl_read()/dl_write() callbacks. > - Patch 5 adds a new register function to use new callbacks. > - Patch 6 adds a new driver that makes use of the above. > > I'd be happy to rework the above patches if needed. The > main challenge for Emma Mobile UART support is the non- > standard offsets for DLL and DLM registers. > > Note that there is no DT support included at this point, > but it boils down to a 10 line change. The boot loader on > my board does not do DT so I'd like to use kexec for DT > development (as usual), but to use kexec I first need to > get a non-DT kernel working. Which is basically this. =) > > Signed-off-by: Magnus Damm Looks good, Acked-by: Arnd Bergmann Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 00/06] serial8250: DLL/DLM rework, Emma Mobile UART driver Date: Wed, 2 May 2012 13:12:08 +0000 Message-ID: <201205021312.08308.arnd@arndb.de> References: <20120502124642.30480.41373.sendpatchset@w520> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120502124642.30480.41373.sendpatchset@w520> Sender: linux-sh-owner@vger.kernel.org To: Magnus Damm Cc: linux-serial@vger.kernel.org, horms@verge.net.au, linux-sh@vger.kernel.org, gregkh@linuxfoundation.org, swarren@wwwdotorg.org, linux-kernel@vger.kernel.org, rjw@sisk.pl, paul.gortmaker@windriver.com, lethal@linux-sh.org, olof@lixom.net, dan.j.williams@intel.com, alan@linux.intel.com List-Id: linux-serial@vger.kernel.org On Wednesday 02 May 2012, Magnus Damm wrote: > serial8250: DLL/DLM rework, Emma Mobile UART driver > > [PATCH 01/06] serial8250: Add dl_read()/dl_write() callbacks > [PATCH 02/06] serial8250: Use dl_read()/dl_write() on Alchemy > [PATCH 03/06] serial8250: Use dl_read()/dl_write() on RM9K > [PATCH 04/06] serial8250: Clean up default map and dl code > [PATCH 05/06] serial8250: Introduce serial8250_register_8250_port() > [PATCH 06/06] serial8250-em: Add Emma Mobile UART driver > > This series cleans up and adjusts the 8250 code base to allow > hooking in a driver for the UART in Emma Mobile SoCs. > > In short: > - Patch 1-4 tie in 8250-specific dl_read()/dl_write() callbacks. > - Patch 5 adds a new register function to use new callbacks. > - Patch 6 adds a new driver that makes use of the above. > > I'd be happy to rework the above patches if needed. The > main challenge for Emma Mobile UART support is the non- > standard offsets for DLL and DLM registers. > > Note that there is no DT support included at this point, > but it boils down to a 10 line change. The boot loader on > my board does not do DT so I'd like to use kexec for DT > development (as usual), but to use kexec I first need to > get a non-DT kernel working. Which is basically this. =) > > Signed-off-by: Magnus Damm Looks good, Acked-by: Arnd Bergmann Arnd