can: sja1000: generic OF platform bus driver
authorWolfgang Grandegger <wg@grandegger.com>
Sat, 30 May 2009 07:55:50 +0000 (07:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2009 09:53:35 +0000 (02:53 -0700)
commitd1a277c584d0862dbf51991baea947ea5f2ce6bf
tree368832ff703abde6c813eaaba42a48ae451fc1f1
parent255a9154319d3cf475d527458037758935f6445b
can: sja1000: generic OF platform bus driver

This patch adds a generic driver for SJA1000 chips on the OpenFirmware
platform bus found on embedded PowerPC systems. You need a SJA1000 node
definition in your flattened device tree source (DTS) file similar to:

  can@3,100 {
   compatible = "nxp,sja1000";
   reg = <3 0x100 0x80>;
   interrupts = <2 0>;
   interrupt-parent = <&mpic>;
   nxp,external-clock-frequency = <16000000>;
  };

See also Documentation/powerpc/dts-bindings/can/sja1000.txt.

CC: devicetree-discuss@ozlabs.org
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/powerpc/dts-bindings/can/sja1000.txt [new file with mode: 0644]
drivers/net/can/Kconfig
drivers/net/can/sja1000/Makefile
drivers/net/can/sja1000/sja1000_of_platform.c [new file with mode: 0644]
include/linux/can/platform/sja1000.h