All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/3] dt-bindings: sdhci-of-at91: new compatible string and update properties
@ 2019-10-11 10:33 ` Ludovic Desroches
  0 siblings, 0 replies; 17+ messages in thread
From: Ludovic Desroches @ 2019-10-11 10:33 UTC (permalink / raw)
  To: linux-arm-kernel, linux-mmc, devicetree
  Cc: ulf.hansson, nicolas.ferre, adrian.hunter, linux-kernel, robh+dt,
	mark.rutland, claudiu.beznea, Eugen.Hristev, Ludovic Desroches

There is a new compatible string for the SAM9X60 sdhci device. It involves
an update of the properties about the clocks stuff.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
---

Changes:
- v2: remove the extra example and fix node label

This patch conflicts with Nicolas' one: "dt-bindings: sdhci-of-at91: add
the microchip,sdcal-inverted property". Let me know which one has to be
rebased or you can handle it.

Ludovic


 .../devicetree/bindings/mmc/sdhci-atmel.txt       | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt
index 1b662d7171a0..5d541ad4d4eb 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt
+++ b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt
@@ -5,17 +5,26 @@ Documentation/devicetree/bindings/mmc/mmc.txt and the properties used by the
 sdhci-of-at91 driver.
 
 Required properties:
-- compatible:		Must be "atmel,sama5d2-sdhci".
+- compatible:		Must be "atmel,sama5d2-sdhci" or "microchip,sam9x60-sdhci".
 - clocks:		Phandlers to the clocks.
-- clock-names:		Must be "hclock", "multclk", "baseclk";
+- clock-names:		Must be "hclock", "multclk", "baseclk" for
+			"atmel,sama5d2-sdhci".
+			Must be "hclock", "multclk" for "microchip,sam9x60-sdhci".
+
+Optional properties:
+- assigned-clocks:	The same with "multclk".
+- assigned-clock-rates	The rate of "multclk" in order to not rely on the
+			gck configuration set by previous components.
 
 
 Example:
 
-sdmmc0: sdio-host@a0000000 {
+mmc0: sdio-host@a0000000 {
 	compatible = "atmel,sama5d2-sdhci";
 	reg = <0xa0000000 0x300>;
 	interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
 	clocks = <&sdmmc0_hclk>, <&sdmmc0_gclk>, <&main>;
 	clock-names = "hclock", "multclk", "baseclk";
+	assigned-clocks = <&sdmmc0_gclk>;
+	assigned-clock-rates = <480000000>;
 };
-- 
2.23.0


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

end of thread, other threads:[~2019-10-18 12:15 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-11 10:33 [PATCH v2 1/3] dt-bindings: sdhci-of-at91: new compatible string and update properties Ludovic Desroches
2019-10-11 10:33 ` Ludovic Desroches
2019-10-11 10:33 ` Ludovic Desroches
2019-10-11 10:33 ` [PATCH v2 2/3] mmc: sdhci-of-at91: rework clocks management to support SAM9x60 device Ludovic Desroches
2019-10-11 10:33   ` Ludovic Desroches
2019-10-11 10:33   ` Ludovic Desroches
2019-10-11 10:33 ` [PATCH v2 3/3] ARM: dts: at91: sama5d2: set the sdmmc gclk frequency Ludovic Desroches
2019-10-11 10:33   ` Ludovic Desroches
2019-10-11 10:33   ` Ludovic Desroches
2019-10-14 18:11 ` [PATCH v2 1/3] dt-bindings: sdhci-of-at91: new compatible string and update properties Rob Herring
2019-10-14 18:11   ` Rob Herring
2019-10-14 18:11   ` Rob Herring
2019-10-18 10:56 ` Ulf Hansson
2019-10-18 10:56   ` Ulf Hansson
2019-10-18 12:15   ` Ludovic Desroches
2019-10-18 12:15     ` Ludovic Desroches
2019-10-18 12:15     ` Ludovic Desroches

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.