From: augulis.darius@gmail.com (Darius Augulis)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: S3C64XX: fix uart clock setup for mini6410/real6410
Date: Mon, 15 Nov 2010 17:43:30 +0200 [thread overview]
Message-ID: <4CE15522.1050901@gmail.com> (raw)
In-Reply-To: <20101107195738.9835.47554.stgit@localhost6.localdomain6>
Hi Kukjin,
could you please add this to your tree?
thanks,
Darius
On 11/07/2010 09:58 PM, Darius Augulis wrote:
> Don't rewrite clock config in UCON preconfigured by
> bootloader. No need to set 10th bit in UCON because
> [11:10] 2'b00 means source clock is PCLK too.
> If set, console does not work if bootloader
> has preconfigured [11:10] with 2'b00.
> If not set, console works with any bootloader
> config value (2'bxx).
> More information about clock setup in UCON is available
> in "S3C6410X RISC Microprocessor User's Manual,
> Revision 1.20" p. 31-13 (Chapter 31.6.2
> UART CONTROL REGISTER).
>
> Signed-off-by: Darius Augulis<augulis.darius@gmail.com>
> ---
> arch/arm/mach-s3c64xx/mach-mini6410.c | 2 +-
> arch/arm/mach-s3c64xx/mach-real6410.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-s3c64xx/mach-mini6410.c b/arch/arm/mach-s3c64xx/mach-mini6410.c
> index 3864afa..5823976 100644
> --- a/arch/arm/mach-s3c64xx/mach-mini6410.c
> +++ b/arch/arm/mach-s3c64xx/mach-mini6410.c
> @@ -45,7 +45,7 @@
>
> #include<video/platform_lcd.h>
>
> -#define UCON (S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK)
> +#define UCON S3C2410_UCON_DEFAULT
> #define ULCON (S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB)
> #define UFCON (S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE)
>
> diff --git a/arch/arm/mach-s3c64xx/mach-real6410.c b/arch/arm/mach-s3c64xx/mach-real6410.c
> index f9ef9b5..4957ab0 100644
> --- a/arch/arm/mach-s3c64xx/mach-real6410.c
> +++ b/arch/arm/mach-s3c64xx/mach-real6410.c
> @@ -46,7 +46,7 @@
>
> #include<video/platform_lcd.h>
>
> -#define UCON (S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK)
> +#define UCON S3C2410_UCON_DEFAULT
> #define ULCON (S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB)
> #define UFCON (S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE)
next prev parent reply other threads:[~2010-11-15 15:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-07 19:58 [PATCH] ARM: S3C64XX: fix uart clock setup for mini6410/real6410 Darius Augulis
2010-11-15 15:43 ` Darius Augulis [this message]
2010-11-16 0:51 ` Kukjin Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CE15522.1050901@gmail.com \
--to=augulis.darius@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox