OSDN Git Service

Modify k61 driver to remove support for mpc5746c CAN card
authorBalachandra C S <balacs@codeaurora.org>
Tue, 6 Mar 2018 14:08:26 +0000 (19:38 +0530)
committerBalachandra C S <balacs@codeaurora.org>
Fri, 16 Mar 2018 13:19:58 +0000 (18:49 +0530)
mpc5746c CAN driver will be supported by the unified driver qti-can
also remove rh850 support from qti-can driver.

Change-Id: I6743604c1298b9705ac3550b96c9dae04d5137bd
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
Documentation/devicetree/bindings/net/can/k61-can.txt
drivers/net/can/spi/k61.c
drivers/net/can/spi/qti-can.c

index ea4a7b4..ea9a3bc 100644 (file)
@@ -3,7 +3,7 @@
 This driver implements SPI slave protocol for Freescale K61 CAN controller.
 
 Required properties:
-  - compatible: Should be "fsl,k61" or "nxp,mpc5746c".
+  - compatible: Should be "fsl,k61".
   - reg: Should contain SPI chip select.
   - interrupt-parent: Should specify interrupt controller for the interrupt.
   - interrupts: Should contain IRQ line for the CAN controller.
index 84c13a1..7830d5b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
@@ -918,7 +918,6 @@ static int k61_remove(struct spi_device *spi)
 
 static const struct of_device_id k61_match_table[] = {
        { .compatible = "fsl,k61" },
-       { .compatible = "nxp,mpc5746c" },
        { }
 };
 
index 6e5e518..e9123f0 100644 (file)
@@ -1233,7 +1233,6 @@ cleanup_privdata:
 }
 
 static const struct of_device_id qti_can_match_table[] = {
-       { .compatible = "qcom,renesas,rh850" },
        { .compatible = "qcom,nxp,mpc5746c" },
        { }
 };