linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfram Sang <w.sang@pengutronix.de>
To: netdev@vger.kernel.org
Cc: devicetree-discuss@ozlabs.org, socketcan-core@lists.berlios.de,
	linuxppc-dev@ozlabs.org, David Miller <davem@davemloft.net>
Subject: [PATCH 08/11] net/can/mpc52xx_can: improve properties and their description
Date: Mon, 16 Nov 2009 23:57:51 +0100	[thread overview]
Message-ID: <1258412274-14686-9-git-send-email-w.sang@pengutronix.de> (raw)
In-Reply-To: <1258412274-14686-1-git-send-email-w.sang@pengutronix.de>

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: devicetree-discuss@ozlabs.org
---
 Documentation/powerpc/dts-bindings/fsl/mpc5200.txt |    9 +++++----
 drivers/net/can/mscan/mpc52xx_can.c                |    3 +--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Documentation/powerpc/dts-bindings/fsl/mpc5200.txt b/Documentation/powerpc/dts-bindings/fsl/mpc5200.txt
index b151fb1..cabc780 100644
--- a/Documentation/powerpc/dts-bindings/fsl/mpc5200.txt
+++ b/Documentation/powerpc/dts-bindings/fsl/mpc5200.txt
@@ -181,9 +181,10 @@ External interrupts:
 fsl,mpc5200-mscan nodes
 -----------------------
 In addition to the required compatible-, reg- and interrupt-properites, you can
-also specify which clock shall be used for the bus:
+also specify which clock source shall be used for the controller:
 
-- fsl,mscan-clk-src	- a string describing the clock source. Valid values
-			  are "ip" for IP_CLK and "sys" for SYS_XTAL.
-			  "sys" is the default in case the property is not
+- fsl,mscan-clock-source- a string describing the clock source. Valid values
+			  are:	"ip" for ip bus clock
+				"ref" for reference clock (XTAL)
+			  "ref" is default in case this property is not
 			  present.
diff --git a/drivers/net/can/mscan/mpc52xx_can.c b/drivers/net/can/mscan/mpc52xx_can.c
index a915959..1de6f63 100644
--- a/drivers/net/can/mscan/mpc52xx_can.c
+++ b/drivers/net/can/mscan/mpc52xx_can.c
@@ -130,7 +130,7 @@ static int __devinit mpc5xxx_can_probe(struct of_device *ofdev,
 	 * choice as it has less jitter. For this reason, it is selected
 	 * by default.
 	 */
-	clk_src = of_get_property(np, "fsl,mscan-clk-src", NULL);
+	clk_src = of_get_property(np, "fsl,mscan-clock-source", NULL);
 	if (clk_src && strcmp(clk_src, "ip") == 0)
 		clock_src = MSCAN_CLKSRC_BUS;
 	else
@@ -227,7 +227,6 @@ static int mpc5xxx_can_resume(struct of_device *ofdev)
 
 static struct of_device_id __devinitdata mpc5xxx_can_table[] = {
 	{.compatible = "fsl,mpc5200-mscan"},
-	{.compatible = "fsl,mpc5200b-mscan"},
 	{},
 };
 
-- 
1.6.3.3

  parent reply	other threads:[~2009-11-16 23:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 22:57 updates to the mscan-driver in net-next Wolfram Sang
2009-11-16 22:57 ` [PATCH 01/11] net/can/mscan: move defines into .h file Wolfram Sang
2009-11-16 22:57 ` [PATCH 02/11] net/can/mscan: trivial fixes Wolfram Sang
2009-11-16 22:57 ` [PATCH 03/11] net/can/mscan: drop support for CAN_MODE_{SLEEP|STOP} Wolfram Sang
2009-11-16 22:57 ` [PATCH 04/11] net/can/mscan: use {clr|set}bits8 macros Wolfram Sang
2009-11-16 22:57 ` [PATCH 05/11] net/can/mscan: fix function annotations Wolfram Sang
2009-11-16 22:57 ` [PATCH 06/11] net/can/mscan: drop assignment in while-construct Wolfram Sang
2009-11-16 22:57 ` [PATCH 07/11] net/can/mpc52xx_can: refactor clock-get routine Wolfram Sang
2009-11-16 22:57 ` Wolfram Sang [this message]
2009-11-16 22:57 ` [PATCH 09/11] net/can/mscan: replace hardcoded values with defines Wolfram Sang
2009-11-16 22:57 ` [PATCH 10/11] net/can/mscan: add error path to mscan_open() Wolfram Sang
2009-11-16 22:57 ` [PATCH 11/11] net/can/mscan: improve build Wolfram Sang
2009-11-17 11:54 ` updates to the mscan-driver in net-next David Miller
2009-11-17 15:53   ` Wolfgang Grandegger
2009-11-17 13:07 ` Wolfram Sang

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=1258412274-14686-9-git-send-email-w.sang@pengutronix.de \
    --to=w.sang@pengutronix.de \
    --cc=davem@davemloft.net \
    --cc=devicetree-discuss@ozlabs.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=netdev@vger.kernel.org \
    --cc=socketcan-core@lists.berlios.de \
    /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).