From patchwork Mon Nov 7 13:04:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 81085 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp1005639qge; Mon, 7 Nov 2016 05:14:30 -0800 (PST) X-Received: by 10.99.172.26 with SMTP id v26mr10745174pge.164.1478524470811; Mon, 07 Nov 2016 05:14:30 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si6666388pfd.3.2016.11.07.05.14.30; Mon, 07 Nov 2016 05:14:30 -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 S932278AbcKGNOS (ORCPT + 3 others); Mon, 7 Nov 2016 08:14:18 -0500 Received: from mail-pf0-f172.google.com ([209.85.192.172]:34714 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752669AbcKGNOO (ORCPT ); Mon, 7 Nov 2016 08:14:14 -0500 Received: by mail-pf0-f172.google.com with SMTP id n85so91292769pfi.1 for ; Mon, 07 Nov 2016 05:14:14 -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=Nav564fCTR4Kiij8BjvWjH7PZYd+2kcJmzddRQjjPTCN/EWreCSBVJBckK7EjEIc7X xOoRfps3hc/u9fOEBO2t/yR1YiplP/rX97MIk/x8E47yNSLdmKGVrDC/zacvk927PL6o /7plKQdMAtz+ckvpcF/3zRWwLED9EqrHd1uUg= 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=HH/n1+TfXwdwI8yLxzepzfK0ms/8U6pp1VptkfL8EwbHrPlMZZGHEPjQzvoWg0cgSk IYuuaaDU69TpsZduGExwESRBVEk8gubYR/5/57rMAULNukxSjQQOO1XzQBQ+z0iqZ52o xcKb4T0j3H3qXHlWc3Km8wUO1R4NTkWjcU16D5PWjQt5GD9osDY93ZJSDSYYXN0GALrW UUqowtDa4LGN/9N9Ztx0JltxoG37z3tEUbeUcchiaaTUDzg7dALGsk0aEwm21EH+6R4x xWJxMwJoITHKXs51fjpSSInfD3EdCa772Ast/DOdt7xd2Ufb+oFh1CezqTH5YHWiPvuT OrOA== X-Gm-Message-State: ABUngvf2/dpOl5Bo1bwANsncX4RzAw/q2kzMpkem0c4TXkAUM7ALOrFCtckhnkvbTNS+9lb5 X-Received: by 10.99.5.21 with SMTP id 21mr10777829pgf.32.1478523908316; Mon, 07 Nov 2016 05:05:08 -0800 (PST) Received: from localhost.localdomain ([188.42.252.252]) by smtp.gmail.com with ESMTPSA id b64sm40422841pfc.74.2016.11.07.05.05.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Nov 2016 05:05:07 -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, linux-mmc@vger.kernel.org, Jun Nie Subject: [PATCH v4 1/5] mmc: dt-bindings: add ZTE ZX296718 MMC bindings Date: Mon, 7 Nov 2016 21:04:44 +0800 Message-Id: <1478523888-4524-2-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1478523888-4524-1-git-send-email-jun.nie@linaro.org> References: <1478523888-4524-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"; + };