All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: dra76x: m_can: fix order of clocks
@ 2020-11-11 14:12 Marc Kleine-Budde
  2020-11-19  9:38 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Kleine-Budde @ 2020-11-11 14:12 UTC (permalink / raw)
  To: kernel
  Cc: Rob Herring, devicetree, linux-can, Marc Kleine-Budde,
	Faiz Abbas, Tony Lindgren, linux-omap

According to the bosch,m_can.yaml bindings the first clock shall be the "hclk",
while the second clock "cclk".

This patch fixes the order accordingly.

Fixes: 0adbe832f21a ("ARM: dts: dra76x: Add MCAN node")
Cc: Faiz Abbas <faiz_abbas@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 arch/arm/boot/dts/dra76x.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/dra76x.dtsi b/arch/arm/boot/dts/dra76x.dtsi
index b69c7d40f5d8..2f326151116b 100644
--- a/arch/arm/boot/dts/dra76x.dtsi
+++ b/arch/arm/boot/dts/dra76x.dtsi
@@ -32,8 +32,8 @@ m_can0: mcan@1a00 {
 				interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
 					     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
 				interrupt-names = "int0", "int1";
-				clocks = <&mcan_clk>, <&l3_iclk_div>;
-				clock-names = "cclk", "hclk";
+				clocks = <&l3_iclk_div>, <&mcan_clk>;
+				clock-names = "hclk", "cclk";
 				bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>;
 			};
 		};
-- 
2.28.0


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

* Re: [PATCH] ARM: dts: dra76x: m_can: fix order of clocks
  2020-11-11 14:12 [PATCH] ARM: dts: dra76x: m_can: fix order of clocks Marc Kleine-Budde
@ 2020-11-19  9:38 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2020-11-19  9:38 UTC (permalink / raw)
  To: Marc Kleine-Budde
  Cc: kernel, Rob Herring, devicetree, linux-can, Faiz Abbas, linux-omap

* Marc Kleine-Budde <mkl@pengutronix.de> [201111 16:12]:
> According to the bosch,m_can.yaml bindings the first clock shall be the "hclk",
> while the second clock "cclk".
> 
> This patch fixes the order accordingly.

Thanks applying into fixes.

Tony

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

end of thread, other threads:[~2020-11-19  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11 14:12 [PATCH] ARM: dts: dra76x: m_can: fix order of clocks Marc Kleine-Budde
2020-11-19  9:38 ` Tony Lindgren

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.