mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
d1a277c584
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>
12 lines
348 B
Makefile
12 lines
348 B
Makefile
#
|
|
# Makefile for the SJA1000 CAN controller drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_CAN_SJA1000) += sja1000.o
|
|
obj-$(CONFIG_CAN_SJA1000_PLATFORM) += sja1000_platform.o
|
|
obj-$(CONFIG_CAN_SJA1000_OF_PLATFORM) += sja1000_of_platform.o
|
|
obj-$(CONFIG_CAN_EMS_PCI) += ems_pci.o
|
|
obj-$(CONFIG_CAN_KVASER_PCI) += kvaser_pci.o
|
|
|
|
ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
|