Re: [PATCH 1/4] ARM: tegra30: Add support for Uart clock source divideras 15.1

From: Laxman Dewangan
Date: Tue Dec 18 2012 - 01:24:16 EST


On Tuesday 18 December 2012 11:44 AM, Prashant Gaikwad wrote:
On Tuesday 18 December 2012 03:13 AM, Stephen Warren wrote:
On 12/17/2012 05:08 AM, Laxman Dewangan wrote:
Tegra20 uart clock source have the 15.1 clock divider in place of
That says Tegra20, but ...

7.1. Add support for 15.1 clock divider and change the uart clock divider
flag to DIV_U151.
arch/arm/mach-tegra/clock.h | 3 +-
arch/arm/mach-tegra/tegra30_clocks.c | 70 ++++++++++++++++++++++------
arch/arm/mach-tegra/tegra30_clocks_data.c | 10 ++--
... the patch only modifies Tegra30. Do both Tegra20 and Tegra30 have
this feature; should both clock drivers be updated?

BTW, Prashant is reworking the Tegra clock support to be modular, rather
than having a single monolithic "Tegra clock" type, and also moving the
code to drivers/clk. This patch will conflict signifcantly with that.
Please work with him to integrate this patch into his rework series,
either before or after his changes, and have him include the patch when
he posts his series. You'll also need to think about whether/how your
and his series depend on each-other.

... but: Is this a pure bug-fix? If so, I guess this patch should be
applied before Prashant's patches, and this patch also Cc: stable?
My clock driver rework includes this fix. Divider supports both DIVU71
and DIVU151.
UART divider is set to DIVU151.

Prashant,
I like to go this patch as first patch towards bug fixes rather than after moving the clock. The reason is that we will pull this change in our downstream and will be available in our K3.7 code.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/