From patchwork Thu Nov 3 13:31:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 80656 Delivered-To: patch@linaro.org Received: by 10.80.170.210 with SMTP id r18csp621580edc; Thu, 3 Nov 2016 06:32:03 -0700 (PDT) X-Received: by 10.98.107.136 with SMTP id g130mr16965964pfc.20.1478179923850; Thu, 03 Nov 2016 06:32:03 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xs9si8030476pab.86.2016.11.03.06.32.03; Thu, 03 Nov 2016 06:32:03 -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 S1753578AbcKCNcC (ORCPT + 3 others); Thu, 3 Nov 2016 09:32:02 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:34565 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753137AbcKCNcC (ORCPT ); Thu, 3 Nov 2016 09:32:02 -0400 Received: by mail-pf0-f179.google.com with SMTP id n85so32051623pfi.1 for ; Thu, 03 Nov 2016 06:32:02 -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=b1W6yHa0BU82kAk2pmaNFGPTYizfsOv64GiEONYI51k=; b=baWokwgX4RYwl8ktOWDV5LWhmWYLLK1PrQjT9lp55W95Ab2xTk4T8FCzp3h4dSsgdG V87pk7zc7+N+pX7QSiOsNqpALEcX+Gr4BpI8WJUbCyHcqpHt0HeHlQknlRojiKulqatJ //ASjyiESbJx4W96LL2t3odKbEx43X91Cqa+4= 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=b1W6yHa0BU82kAk2pmaNFGPTYizfsOv64GiEONYI51k=; b=aIy3zfY/JfkZ9i7jvPglbB3M2pODmV1yPvZGBtMJdp9xGdiQzoIyiiIihYe/6QslIF l8fUCDpPDgCYCaTXW5/C9bc803jE5Ok7DW/0b2Lw918680mQzVs+X9mnJnN0VZZN/0kN 1cpGBCgZP8Fy5PLCwI0tTuKsFfG5Rk9JqAkCf8zyBrUDtAi2bep4WZHSfPYqfrdILQ3z qmeWTHvf0BFrCTsUKk1PZfhJ7qHqqDQDFmkTTIzvnnBp9ZeyBuZ7H1AwjfMqQVJ0yorv VMEXzed9+xgA5280AmlnfqB+sBt+yFWW+LSs+UsieY9RxxS1r1/1efZnrklKpDGpZ+1r ETIg== X-Gm-Message-State: ABUngveeKh7mmBl3CzNS2n73T+fXy7cs2rYnwsOqPAEANXTQ7vfzhNkkuIREB2x8SlyY1qh4 X-Received: by 10.99.221.5 with SMTP id t5mr14023781pgg.122.1478179921539; Thu, 03 Nov 2016 06:32:01 -0700 (PDT) Received: from localhost.localdomain ([188.42.252.253]) by smtp.gmail.com with ESMTPSA id j192sm12926803pfc.60.2016.11.03.06.31.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Nov 2016 06:32:01 -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 v3 1/5] mmc: dt-bindings: add ZTE ZX296718 MMC bindings Date: Thu, 3 Nov 2016 21:31:37 +0800 Message-Id: <1478179901-25645-2-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1478179901-25645-1-git-send-email-jun.nie@linaro.org> References: <1478179901-25645-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 | 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..5e1e16d --- /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 + - "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";