Re: [PATCH v5] ARC: Dynamically determine BASE_BAUD from DeviceTree
On Thu, Jan 15, 2015 at 09:49:12AM +0530, Vineet Gupta wrote: > Hi Greg, > > On Saturday 10 January 2015 04:56 PM, Vineet Gupta wrote: > > 8250 earlycon is broken on multi-platform ARC because the UART clk > > value (BASE_BAUD) is fixed at build time. > > > > Instead, determine the appropriate UART clk at runtime; parse the > > devicetree early for platforms requiring alternate UART clk values > > (currently only the TB10X platform). > > > > Cc: Greg Kroah-Hartman > > Cc: Jiri Slaby > > Cc: linux-ser...@vger.kernel.org > > Cc: linux-kernel@vger.kernel.org > > Cc: Rob Herring > > Cc: Arnd Bergmann > > Reviewed-by: Peter Hurley > > Signed-off-by: Vineet Gupta > > --- > > arch/arc/include/asm/serial.h | 23 +-- > > arch/arc/kernel/devtree.c | 24 > > This being all in arch code, do you want me to take this in via ARC tree ? Sure, that's fine with me: Acked-by: Greg Kroah-Hartman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH v5] ARC: Dynamically determine BASE_BAUD from DeviceTree
Hi Greg, On Saturday 10 January 2015 04:56 PM, Vineet Gupta wrote: > 8250 earlycon is broken on multi-platform ARC because the UART clk > value (BASE_BAUD) is fixed at build time. > > Instead, determine the appropriate UART clk at runtime; parse the > devicetree early for platforms requiring alternate UART clk values > (currently only the TB10X platform). > > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > Cc: linux-ser...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: Rob Herring > Cc: Arnd Bergmann > Reviewed-by: Peter Hurley > Signed-off-by: Vineet Gupta > --- > arch/arc/include/asm/serial.h | 23 +-- > arch/arc/kernel/devtree.c | 24 This being all in arch code, do you want me to take this in via ARC tree ? Thx, -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH v5] ARC: Dynamically determine BASE_BAUD from DeviceTree
On Thu, Jan 15, 2015 at 09:49:12AM +0530, Vineet Gupta wrote: Hi Greg, On Saturday 10 January 2015 04:56 PM, Vineet Gupta wrote: 8250 earlycon is broken on multi-platform ARC because the UART clk value (BASE_BAUD) is fixed at build time. Instead, determine the appropriate UART clk at runtime; parse the devicetree early for platforms requiring alternate UART clk values (currently only the TB10X platform). Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Jiri Slaby jsl...@suse.cz Cc: linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Rob Herring r...@kernel.org Cc: Arnd Bergmann a...@arndb.de Reviewed-by: Peter Hurley pe...@hurleysoftware.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/serial.h | 23 +-- arch/arc/kernel/devtree.c | 24 This being all in arch code, do you want me to take this in via ARC tree ? Sure, that's fine with me: Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH v5] ARC: Dynamically determine BASE_BAUD from DeviceTree
Hi Greg, On Saturday 10 January 2015 04:56 PM, Vineet Gupta wrote: 8250 earlycon is broken on multi-platform ARC because the UART clk value (BASE_BAUD) is fixed at build time. Instead, determine the appropriate UART clk at runtime; parse the devicetree early for platforms requiring alternate UART clk values (currently only the TB10X platform). Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Jiri Slaby jsl...@suse.cz Cc: linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Rob Herring r...@kernel.org Cc: Arnd Bergmann a...@arndb.de Reviewed-by: Peter Hurley pe...@hurleysoftware.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/serial.h | 23 +-- arch/arc/kernel/devtree.c | 24 This being all in arch code, do you want me to take this in via ARC tree ? Thx, -Vineet -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/