public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Ludovic Desroches <ludovic.desroches@microchip•com>
To: <linux-arm-kernel@lists•infradead.org>,
	<devicetree@vger•kernel.org>, <linux-mmc@vger•kernel.org>
Cc: mark.rutland@arm•com, ulf.hansson@linaro•org,
	linux-kernel@vger•kernel.org, ludovic.desroches@microchip•com,
	robh+dt@kernel•org, adrian.hunter@intel•com,
	claudiu.beznea@microchip•com
Subject: [PATCH 3/3] ARM: dts: at91: sama5d2: set the sdmmc gclk frequency
Date: Thu, 12 Sep 2019 22:09:08 +0200	[thread overview]
Message-ID: <20190912200908.31318-3-ludovic.desroches@microchip.com> (raw)
In-Reply-To: <20190912200908.31318-1-ludovic.desroches@microchip.com>

Set the frequency of the generated clock used by sdmmc devices in order
to not rely on the configuration done by previous components.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip•com>
---
 arch/arm/boot/dts/sama5d2.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 2e2c1a7b1d1d..8d79ff75e3cd 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -300,6 +300,8 @@
 			interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
 			clocks = <&pmc PMC_TYPE_PERIPHERAL 31>, <&pmc PMC_TYPE_GCK 31>, <&pmc PMC_TYPE_CORE PMC_MAIN>;
 			clock-names = "hclock", "multclk", "baseclk";
+			assigned-clocks = <&pmc PMC_TYPE_GCK 31>;
+			assigned-clock-rates = <480000000>;
 			status = "disabled";
 		};
 
@@ -309,6 +311,8 @@
 			interrupts = <32 IRQ_TYPE_LEVEL_HIGH 0>;
 			clocks = <&pmc PMC_TYPE_PERIPHERAL 32>, <&pmc PMC_TYPE_GCK 32>, <&pmc PMC_TYPE_CORE PMC_MAIN>;
 			clock-names = "hclock", "multclk", "baseclk";
+			assigned-clocks = <&pmc PMC_TYPE_GCK 32>;
+			assigned-clock-rates = <480000000>;
 			status = "disabled";
 		};
 
-- 
2.23.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-09-12 20:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12 20:09 [PATCH 1/3] dt-bindings: sdhci-of-at91: new compatible string and update properties Ludovic Desroches
2019-09-12 20:09 ` [PATCH 2/3] mmc: sdhci-of-at91: rework clocks management to support SAM9x60 device Ludovic Desroches
2019-09-20  9:34   ` Eugen.Hristev
2019-10-08  9:24     ` Ludovic Desroches
2019-09-12 20:09 ` Ludovic Desroches [this message]
2019-09-30 14:56 ` [PATCH 1/3] dt-bindings: sdhci-of-at91: new compatible string and update properties Rob Herring
2019-10-08  9:28   ` Ludovic Desroches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190912200908.31318-3-ludovic.desroches@microchip.com \
    --to=ludovic.desroches@microchip$(echo .)com \
    --cc=adrian.hunter@intel$(echo .)com \
    --cc=claudiu.beznea@microchip$(echo .)com \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-mmc@vger$(echo .)kernel.org \
    --cc=mark.rutland@arm$(echo .)com \
    --cc=robh+dt@kernel$(echo .)org \
    --cc=ulf.hansson@linaro$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox