Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171593
b: refs/heads/master
c: 81593c1
h: refs/heads/master
i:
  171591: 7db2dfb
v: v3
  • Loading branch information
Wolfram Sang authored and David S. Miller committed Nov 17, 2009
1 parent 4e474aa commit 8fc8836
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f158c253214bb783e7072f6848b61c1999631e7
refs/heads/master: 81593c1cea7afdcd653c77d626aa186993e39c91
9 changes: 5 additions & 4 deletions trunk/Documentation/powerpc/dts-bindings/fsl/mpc5200.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
3 changes: 1 addition & 2 deletions trunk/drivers/net/can/mscan/mpc52xx_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"},
{},
};

Expand Down

0 comments on commit 8fc8836

Please sign in to comment.