All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3] arm64: dts: imx8mp: remove fallback compatible string for FlexCAN
@ 2021-07-19  7:34 Joakim Zhang
  2021-07-19  8:48 ` Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: Joakim Zhang @ 2021-07-19  7:34 UTC (permalink / raw)
  To: robh+dt, shawnguo, s.hauer, mkl; +Cc: kernel, festevam, linux-imx, devicetree

FlexCAN on i.MX8MP is not derived from i.MX6Q, instead reuses from
i.MX8QM with extra ECC added and default is enabled, so that the FlexCAN
would be put into freeze mode without FLEXCAN_QUIRK_DISABLE_MECR quirk.

This patch removes "fsl,imx6q-flexcan" fallback compatible string since
it's not compatible with the i.MX6Q.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
---
ChangeLogs:
V1->V2:
	* improve commit message a bit.
V2->V3:
	* s/resues/reuses/
	* add reviewed-by tag.
---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index 9f7c7f587d38..1bfb359dba4a 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -579,7 +579,7 @@
 			};
 
 			flexcan1: can@308c0000 {
-				compatible = "fsl,imx8mp-flexcan", "fsl,imx6q-flexcan";
+				compatible = "fsl,imx8mp-flexcan";
 				reg = <0x308c0000 0x10000>;
 				interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clk IMX8MP_CLK_IPG_ROOT>,
@@ -594,7 +594,7 @@
 			};
 
 			flexcan2: can@308d0000 {
-				compatible = "fsl,imx8mp-flexcan", "fsl,imx6q-flexcan";
+				compatible = "fsl,imx8mp-flexcan";
 				reg = <0x308d0000 0x10000>;
 				interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clk IMX8MP_CLK_IPG_ROOT>,
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH V3] arm64: dts: imx8mp: remove fallback compatible string for FlexCAN
  2021-07-19  7:34 [PATCH V3] arm64: dts: imx8mp: remove fallback compatible string for FlexCAN Joakim Zhang
@ 2021-07-19  8:48 ` Marc Kleine-Budde
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Kleine-Budde @ 2021-07-19  8:48 UTC (permalink / raw)
  To: Joakim Zhang
  Cc: robh+dt, shawnguo, s.hauer, kernel, festevam, linux-imx, devicetree

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

On 19.07.2021 15:34:37, Joakim Zhang wrote:
> FlexCAN on i.MX8MP is not derived from i.MX6Q, instead reuses from
> i.MX8QM with extra ECC added and default is enabled, so that the FlexCAN
> would be put into freeze mode without FLEXCAN_QUIRK_DISABLE_MECR quirk.
> 
> This patch removes "fsl,imx6q-flexcan" fallback compatible string since
> it's not compatible with the i.MX6Q.
> 
> Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>

Applied to linux-can/testing.

thanks,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-19  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19  7:34 [PATCH V3] arm64: dts: imx8mp: remove fallback compatible string for FlexCAN Joakim Zhang
2021-07-19  8:48 ` Marc Kleine-Budde

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.