[PATCH 08/12] dt-bindings: mmc: Add Xenon description
From: Gregory CLEMENT <hidden>
Date: 2016-06-14 08:02:47
Also in:
linux-devicetree, linux-mmc
Hi Rob, On ven., juin 10 2016, Rob Herring [off-list ref] wrote:
On Thu, Jun 09, 2016 at 09:10:14AM +0200, Gregory CLEMENT wrote:quoted
This patch documents the Xenon SDHCI controller that we can find in the Armada 37xx and the Armada 7K and 8K SoCs. Signed-off-by: Gregory CLEMENT <redacted> --- .../devicetree/bindings/mmc/sdhci-xenon.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-xenon.txtdiff --git a/Documentation/devicetree/bindings/mmc/sdhci-xenon.txt b/Documentation/devicetree/bindings/mmc/sdhci-xenon.txt new file mode 100644 index 000000000000..e8d49fda5f12 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-xenon.txt@@ -0,0 +1,27 @@ +* Marvell sdhci-xenon controller + +This file documents differences between the core properties in mmc.txt +and the properties used by the sdhci-xenon drivers.Bindings don't document drivers...
Sure I missed this one.
quoted
+ +Required properties: +- compatible: Should be "marvell,xenon-sdhci".SoC specific compatible strings please. This one can be fallback.
OK
quoted
+- reg: + one register area for the SDHCI registers. +- interrupts-extended: interrupt number and attributesJust use interrupts unless you really have a need for interrupts-extended. Really, either is valid for any binding, but I prefer to just have bindings documented one way.
OK
quoted
+- clocks: array of clocks required for SDHCI.Missing from the exmaple, and how many clocks and in what order?
I need to figure out it.
quoted
+- bus-width: max bus width in unit of bit, normally should be 1 bit, 4 bits or 8 bitsIsn't this one standard? Just refer back to the common binding.
OK it will simplify the binding dcumentation.
quoted
+ +Optional properties: +- non-removable: whether card is non-removable. +- auto-cmd12: whether cmd12 is sent automatically.Seems strange this would be optional for a specific controller. I'd expect either the xenon controller needs this or not.
I have to check it. Thanks for the review, Gregory -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com