From patchwork Fri Oct 28 02:37:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 79828 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp954133qge; Thu, 27 Oct 2016 19:37:27 -0700 (PDT) X-Received: by 10.98.11.150 with SMTP id 22mr14465101pfl.90.1477622247164; Thu, 27 Oct 2016 19:37:27 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fb11si9113896pac.234.2016.10.27.19.37.26; Thu, 27 Oct 2016 19:37:27 -0700 (PDT) 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 S1034421AbcJ1Ch0 (ORCPT + 3 others); Thu, 27 Oct 2016 22:37:26 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:33103 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034433AbcJ1ChZ (ORCPT ); Thu, 27 Oct 2016 22:37:25 -0400 Received: by mail-pf0-f171.google.com with SMTP id 197so28474354pfu.0 for ; Thu, 27 Oct 2016 19:37:25 -0700 (PDT) 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=160X2iAp7AYZiwvRHr+GlU+e5ZGDqb+372C6Eob1WHI=; b=gqYe8apsurUt9yUystEUQ9R4UnK6mylVt8pCV7vOGh+1j2VWGIGH28rTiz05DiEdJT HhMquR6qWZ4MuT2y5v131ZDu3DtUM/gqAuqnxmL+e4aLRvyQ3x1Yjr30ks54mQZO77e2 8qSt+sKOPuCuFEGW3dA1NDGGHmD/GlarAfccM= 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=160X2iAp7AYZiwvRHr+GlU+e5ZGDqb+372C6Eob1WHI=; b=ix9KyAqxZ+csGNgggh2T3rUJ3kZ/dO4U34CAaMzY6kOHqJ+eFreLErLYo+XiyyWAJ3 UqyqgAR5pV2AOixtm4U3FFTZIdR/xOLwzdYntvqd16nNuTHt8q5gW6a5nRKCaAMJPmwT fMYsFsJgUfQpBvW9IApsVlcNPhd249TPWUQBhTH/8YvYDPd1ds0AWFw+LeHjZiFL1NFi ckz3LXeq/QxNuorm/E1QknWPbwGQNnFcCpW1DdLvv/fSqZuCId7o0Ct4jepRc1SFbeYf nCD79lXCGSQT8qorbLN/r4VkxuCcYvs3dQrG7hjUvgr/tZYGfmlVcmyumTdq5W0CUT8a kwww== X-Gm-Message-State: ABUngvf6P2eX8pgNxEgcvQveDFD37bqA5fRE7qhdcDTl+74YHMHRIc8TAFme7inIXw8qv79I X-Received: by 10.98.74.147 with SMTP id c19mr20215101pfj.16.1477622244540; Thu, 27 Oct 2016 19:37:24 -0700 (PDT) Received: from localhost.localdomain ([188.42.255.212]) by smtp.gmail.com with ESMTPSA id e1sm14636767pap.11.2016.10.27.19.37.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Oct 2016 19:37:24 -0700 (PDT) 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, linux-mmc@vger.kernel.org, Jun Nie Subject: [PATCH v2 1/5] mmc: dt-bindings: add ZTE MMC bindings Date: Fri, 28 Oct 2016 10:37:05 +0800 Message-Id: <1477622229-32060-2-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1477622229-32060-1-git-send-email-jun.nie@linaro.org> References: <1477622229-32060-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 Signed-off-by: Jun Nie --- .../devicetree/bindings/mmc/zx-dw-mshc.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 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..94cc6e4 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt @@ -0,0 +1,34 @@ +* 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 + - "zx,dw-mshc": for ZX SoCs + +Example: + + mmc1: mmc@1110000 { + compatible = "zte,dw-mshc"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x01110000 0x1000>; + interrupts = ; + fifo-depth = <32>; + fifo-addr = <0x200>; + fifo-watermark-quirk; + 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";