From patchwork Fri Nov 18 06:29:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 82836 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp1183049qge; Thu, 17 Nov 2016 22:29:29 -0800 (PST) X-Received: by 10.37.197.210 with SMTP id v201mr3605106ybe.123.1479450569107; Thu, 17 Nov 2016 22:29:29 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u99si1337044ybi.13.2016.11.17.22.29.28; Thu, 17 Nov 2016 22:29:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751617AbcKRG32 (ORCPT + 4 others); Fri, 18 Nov 2016 01:29:28 -0500 Received: from mail-pg0-f49.google.com ([74.125.83.49]:35999 "EHLO mail-pg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751058AbcKRG31 (ORCPT ); Fri, 18 Nov 2016 01:29:27 -0500 Received: by mail-pg0-f49.google.com with SMTP id f188so99497181pgc.3 for ; Thu, 17 Nov 2016 22:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lkin4CJuE19Pja00fjh+rIAnUToRJhP7ZKySvoChywI=; b=Nxk4iWJzZGGkEe0P0Fl+15yRdfBQjCwBJplzq56p6xk3IfiP5SRa3RGYEU0r4u0xjc hoNuVryV3sL3cVx+v7t1aQfkzu4HEuc31KrydrB9hhc+wGiBBNzgCBmY8BwnZXHnl9Vw Lqr/i0sSj1YmLj/wsnZppskPH+RW28PToSr0w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lkin4CJuE19Pja00fjh+rIAnUToRJhP7ZKySvoChywI=; b=ZC1Zf6ZJ26wI2Ah0sPfniDW2/IWREXJQ7WOmDpUestnGVubkYZpLUXMJwF7zfXK2xD l9YsdOGGamyCpTafRsJ9xvzfurFiGr2VhYrJSuFnlvF6x5vCseztGymRk7FQe4i596BC 4UEG1lno6sgW/jSP8aEOCVFij2Sfn5ezLyz1bPJXqoLYsbDzXt2MajSWTUMmVPKlb63e aFAs9+VSuKT4xDJS1sGCUZtnzsvlMmsr0Fpjyhku7qls6Yw0Ph45K2frEeaJYrc4xlPE ZnWBvJ9D6q9lkuR2akLtHmXLJmvzWXg14XT77s8Fh4Xgr9ByMeOTlUeNhXlIhXcJfFSw VIww== X-Gm-Message-State: ABUngvfY0PwRrf/BkQf/a+eztBFg4JJdsei5eSMXDvxJ1hrI5Gqw40WLmwW/L5PwwdEm/Q39 X-Received: by 10.99.188.9 with SMTP id q9mr5769988pge.160.1479450566514; Thu, 17 Nov 2016 22:29:26 -0800 (PST) Received: from localhost.localdomain (61-216-161-10.HINET-IP.hinet.net. [61.216.161.10]) by smtp.gmail.com with ESMTPSA id z62sm13638848pfz.19.2016.11.17.22.29.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Nov 2016 22:29:26 -0800 (PST) From: Jun Nie To: shawn.guo@linaro.org, xie.baoyou@zte.com.cn Cc: ulf.hansson@linaro.org, jh80.chung@samsung.com, jason.liu@linaro.org, chen.chaokai@zte.com.cn, lai.binz@zte.com.cn, linux-mmc@vger.kernel.org, Jun Nie Subject: [PATCH v6 1/5] mmc: dt-bindings: add ZTE ZX296718 MMC bindings Date: Fri, 18 Nov 2016 14:29:11 +0800 Message-Id: <1479450555-19047-2-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479450555-19047-1-git-send-email-jun.nie@linaro.org> References: <1479450555-19047-1-git-send-email-jun.nie@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Document the device-tree binding of ZTE MMC host on ZX296718 SoC. Signed-off-by: Jun Nie --- .../devicetree/bindings/mmc/zx-dw-mshc.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt new file mode 100644 index 0000000..c175c4b --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt @@ -0,0 +1,35 @@ +* ZTE specific extensions to the Synopsys Designware Mobile Storage + Host Controller + +The Synopsys designware mobile storage host controller is used to interface +a SoC with storage medium such as eMMC or SD/MMC cards. This file documents +differences between the core Synopsys dw mshc controller properties described +by synopsys-dw-mshc.txt and the properties used by the ZTE specific +extensions to the Synopsys Designware Mobile Storage Host Controller. + +Required Properties: + +* compatible: should be + - "zte,zx296718-dw-mshc": for ZX SoCs + +Example: + + mmc1: mmc@1110000 { + compatible = "zte,zx296718-dw-mshc"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x01110000 0x1000>; + interrupts = ; + fifo-depth = <32>; + data-addr = <0x200>; + fifo-watermark-aligned; + bus-width = <4>; + clock-frequency = <50000000>; + clocks = <&topcrm SD0_AHB>, <&topcrm SD0_WCLK>; + clock-names = "biu", "ciu"; + num-slots = <1>; + max-frequency = <50000000>; + cap-sdio-irq; + cap-sd-highspeed; + status = "disabled"; + };