Re: [PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-20 Thread Laurent Pinchart
On Friday 20 November 2015 16:17:13 Geert Uytterhoeven wrote: > On Fri, Nov 20, 2015 at 3:47 PM, Laurent Pinchart wrote: > > On Friday 20 November 2015 08:52:19 Geert Uytterhoeven wrote: > >> On Thu, Nov 19, 2015 at 10:04 PM, Laurent Pinchart wrote: > >> > On Thursday 19 November 2015 19:38:57

Re: [PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-20 Thread Geert Uytterhoeven
Hi Laurent, On Fri, Nov 20, 2015 at 3:47 PM, Laurent Pinchart wrote: > On Friday 20 November 2015 08:52:19 Geert Uytterhoeven wrote: >> On Thu, Nov 19, 2015 at 10:04 PM, Laurent Pinchart wrote: >> > On Thursday 19 November 2015 19:38:57 Geert Uytterhoeven wrote: >> >> Refactor the clock and baud

Re: [PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-20 Thread Laurent Pinchart
Hi Geert, On Friday 20 November 2015 08:52:19 Geert Uytterhoeven wrote: > On Thu, Nov 19, 2015 at 10:04 PM, Laurent Pinchart wrote: > > On Thursday 19 November 2015 19:38:57 Geert Uytterhoeven wrote: > >> Refactor the clock and baud rate parameter code to ease adding support > >> for multiple

Re: [PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-20 Thread Geert Uytterhoeven
Hi Laurent, On Fri, Nov 20, 2015 at 3:47 PM, Laurent Pinchart wrote: > On Friday 20 November 2015 08:52:19 Geert Uytterhoeven wrote: >> On Thu, Nov 19, 2015 at 10:04 PM, Laurent Pinchart wrote: >> > On Thursday 19 November 2015 19:38:57 Geert Uytterhoeven

Re: [PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-20 Thread Laurent Pinchart
Hi Geert, On Friday 20 November 2015 08:52:19 Geert Uytterhoeven wrote: > On Thu, Nov 19, 2015 at 10:04 PM, Laurent Pinchart wrote: > > On Thursday 19 November 2015 19:38:57 Geert Uytterhoeven wrote: > >> Refactor the clock and baud rate parameter code to ease adding support > >> for multiple

Re: [PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-20 Thread Laurent Pinchart
On Friday 20 November 2015 16:17:13 Geert Uytterhoeven wrote: > On Fri, Nov 20, 2015 at 3:47 PM, Laurent Pinchart wrote: > > On Friday 20 November 2015 08:52:19 Geert Uytterhoeven wrote: > >> On Thu, Nov 19, 2015 at 10:04 PM, Laurent Pinchart wrote: > >> > On Thursday 19 November 2015 19:38:57

Re: [PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-19 Thread Geert Uytterhoeven
Hi Laurent, On Thu, Nov 19, 2015 at 10:04 PM, Laurent Pinchart wrote: > On Thursday 19 November 2015 19:38:57 Geert Uytterhoeven wrote: >> Refactor the clock and baud rate parameter code to ease adding support >> for multiple clocks and baud rate generators later. >> sci_scbrr_calc() now returns

Re: [PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-19 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Thursday 19 November 2015 19:38:57 Geert Uytterhoeven wrote: > Refactor the clock and baud rate parameter code to ease adding support > for multiple clocks and baud rate generators later. > sci_scbrr_calc() now returns the bit rate error, so it can be

[PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-19 Thread Geert Uytterhoeven
Refactor the clock and baud rate parameter code to ease adding support for multiple clocks and baud rate generators later. sci_scbrr_calc() now returns the bit rate error, so it can be compared to the bit rate error for other baud rate generators. Signed-off-by: Geert Uytterhoeven ---

[PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-19 Thread Geert Uytterhoeven
Refactor the clock and baud rate parameter code to ease adding support for multiple clocks and baud rate generators later. sci_scbrr_calc() now returns the bit rate error, so it can be compared to the bit rate error for other baud rate generators. Signed-off-by: Geert Uytterhoeven

Re: [PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-19 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Thursday 19 November 2015 19:38:57 Geert Uytterhoeven wrote: > Refactor the clock and baud rate parameter code to ease adding support > for multiple clocks and baud rate generators later. > sci_scbrr_calc() now returns the bit rate error, so it can be

Re: [PATCH 18/25] serial: sh-sci: Prepare for multiple clocks and baud rate generators

2015-11-19 Thread Geert Uytterhoeven
Hi Laurent, On Thu, Nov 19, 2015 at 10:04 PM, Laurent Pinchart wrote: > On Thursday 19 November 2015 19:38:57 Geert Uytterhoeven wrote: >> Refactor the clock and baud rate parameter code to ease adding support >> for multiple clocks and baud rate generators