Thread (7 messages) 7 messages, 3 authors, 2018-07-16

Re: [PATCH v2 1/2] dt: bindings: Add bindings for SDHCI Synopsys DWC MSHC

From: Rob Herring <robh@kernel.org>
Date: 2018-07-16 21:59:21
Also in: linux-arm-kernel, linux-mmc, lkml

On Thu, Jul 12, 2018 at 10:06:11AM +0800, Jisheng Zhang wrote:
Hi Rob,

On Wed, 11 Jul 2018 10:12:06 -0600 Rob Herring wrote:
quoted
On Fri, Jul 06, 2018 at 03:20:47PM +0800, Jisheng Zhang wrote:
quoted
Synopsys SDHCI compatible DesignWare Cores Mobile Storage Host
Controller can support eMMC/SD/SDIO. Add the bindings.

Signed-off-by: Jisheng Zhang <redacted>
---
 .../bindings/mmc/sdhci-of-dwcmshc.txt         | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt b/Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt
new file mode 100644
index 000000000000..ee4253b33be2
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt
@@ -0,0 +1,20 @@
+* Synopsys DesignWare Cores Mobile Storage Host Controller
+
+Required properties:
+- compatible: should be one of the following:
+    "snps,dwcmshc-sdhci"  
Needs to note that there must also be an SoC specific compatible.
Currently, there's no SoC specific code in this driver, so the binding could
be extended to SoC compatible if necessary. What do you think?
Doesn't matter what's in the driver, it can use this compatible.

But experience has shown that a compatible for a licensed IP is never 
sufficient. There are versions of the blocks, configuration options, and 
integration differences.

I'm not asking you to add any SoC specific compatible now unless you 
are working on a particular SoC, but just state one is needed. 

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help