devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Manjunathappa, Prakash" <prakash.pm@ti.com>
To: davinci-linux-open-source@linux.davincidsp.com,
	linux-serial@vger.kernel.org
Cc: nsekhar@ti.com, grant.likely@secretlab.ca,
	rob.herring@calxeda.com, linux@arm.linux.org.uk, hs@denx.de,
	devicetree-discuss@lists.ozlabs.org,
	linux-arm-kernel@lists.infradead.org, "Manjunathappa,
	Prakash" <prakash.pm@ti.com>
Subject: [PATCH v2 3/5] ARM: davinci: da850: do not specify clock_frequency for UART DT node
Date: Tue, 28 May 2013 13:58:04 +0530	[thread overview]
Message-ID: <1369729686-6595-4-git-send-email-prakash.pm@ti.com> (raw)
In-Reply-To: <1369729686-6595-1-git-send-email-prakash.pm@ti.com>

DT kernel on da850-evm comes up with garbled UART logs. This is because
of mismatch in actual module clock rate and rate specified(clock-frequency)
in DT blob. kernel should not assume or depend on bootloaders clock
configuration, instead let it find the clock rate at runtime.

Issue discussed here before arriving on this implementation:
"ARM: davinci: da850 evm: update clock rate for UART 1/2 DT nodes"
https://patchwork.kernel.org/patch/2162271/

Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
---
 arch/arm/boot/dts/da850.dtsi |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 2c88313..4d43046 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -129,7 +129,6 @@
 		serial0: serial@1c42000 {
 			compatible = "ns16550a";
 			reg = <0x42000 0x100>;
-			clock-frequency = <150000000>;
 			reg-shift = <2>;
 			interrupts = <25>;
 			status = "disabled";
@@ -137,7 +136,6 @@
 		serial1: serial@1d0c000 {
 			compatible = "ns16550a";
 			reg = <0x10c000 0x100>;
-			clock-frequency = <150000000>;
 			reg-shift = <2>;
 			interrupts = <53>;
 			status = "disabled";
@@ -145,7 +143,6 @@
 		serial2: serial@1d0d000 {
 			compatible = "ns16550a";
 			reg = <0x10d000 0x100>;
-			clock-frequency = <150000000>;
 			reg-shift = <2>;
 			interrupts = <61>;
 			status = "disabled";
-- 
1.7.4.1


  parent reply	other threads:[~2013-05-28  8:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-28  8:28 [PATCH v2 0/5] ARM: davinci: fix UART clock enabling Manjunathappa, Prakash
2013-05-28  8:28 ` [PATCH v2 1/5] ARM: davinci: uart: move to devid based clk_get Manjunathappa, Prakash
     [not found]   ` <1369729686-6595-2-git-send-email-prakash.pm-l0cyMroinI0@public.gmane.org>
2013-06-06 10:32     ` Sekhar Nori
     [not found]       ` <51B06547.8030709-l0cyMroinI0@public.gmane.org>
2013-06-06 10:44         ` Sekhar Nori
     [not found]           ` <51B06803.2020008-l0cyMroinI0@public.gmane.org>
2013-06-19  9:20             ` Manjunathappa, Prakash
2013-06-07  5:35     ` Sekhar Nori
     [not found]       ` <51B17133.40508-l0cyMroinI0@public.gmane.org>
2013-06-19  9:24         ` Manjunathappa, Prakash
2013-05-28  8:28 ` [PATCH v2 2/5] ARM: davinci: da850: override device name of UART in DT kernel Manjunathappa, Prakash
2013-05-28  8:28 ` Manjunathappa, Prakash [this message]
2013-05-28  8:28 ` [PATCH v2 4/5] ARM: davinci: da8xx: remove da8xx_uart_clk_enable Manjunathappa, Prakash
2013-05-28  8:28 ` [PATCH v2 5/5] ARM: davinci: serial: platform code cleanup Manjunathappa, Prakash
     [not found]   ` <1369729686-6595-6-git-send-email-prakash.pm-l0cyMroinI0@public.gmane.org>
2013-06-05 11:41     ` Sekhar Nori
     [not found]       ` <51AF2400.3020906-l0cyMroinI0@public.gmane.org>
2013-06-06 10:25         ` Sekhar Nori

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=1369729686-6595-4-git-send-email-prakash.pm@ti.com \
    --to=prakash.pm@ti.com \
    --cc=davinci-linux-open-source@linux.davincidsp.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=hs@denx.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nsekhar@ti.com \
    --cc=rob.herring@calxeda.com \
    /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;
as well as URLs for NNTP newsgroup(s).