android_kernel_xiaomi_sm8350/drivers/net/can/sja1000
Wolfgang Grandegger d1a277c584 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>
2009-06-01 02:53:35 -07:00
..
ems_pci.c can: sja1000: stop misusing member base_addr of struct net_device 2009-06-01 02:53:34 -07:00
kvaser_pci.c can: sja1000: stop misusing member base_addr of struct net_device 2009-06-01 02:53:34 -07:00
Makefile can: sja1000: generic OF platform bus driver 2009-06-01 02:53:35 -07:00
sja1000_of_platform.c can: sja1000: generic OF platform bus driver 2009-06-01 02:53:35 -07:00
sja1000_platform.c can: sja1000: stop misusing member base_addr of struct net_device 2009-06-01 02:53:34 -07:00
sja1000.c can: sja1000: stop misusing member base_addr of struct net_device 2009-06-01 02:53:34 -07:00
sja1000.h can: sja1000: stop misusing member base_addr of struct net_device 2009-06-01 02:53:34 -07:00