From patchwork Mon Dec 5 02:29:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 86488 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1275724qgi; Sun, 4 Dec 2016 18:30:54 -0800 (PST) X-Received: by 10.99.192.69 with SMTP id z5mr98638451pgi.169.1480905054633; Sun, 04 Dec 2016 18:30:54 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w17si12870432pge.203.2016.12.04.18.30.54; Sun, 04 Dec 2016 18:30:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1751618AbcLECas (ORCPT + 7 others); Sun, 4 Dec 2016 21:30:48 -0500 Received: from mail-pg0-f49.google.com ([74.125.83.49]:33124 "EHLO mail-pg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751494AbcLEC3r (ORCPT ); Sun, 4 Dec 2016 21:29:47 -0500 Received: by mail-pg0-f49.google.com with SMTP id 3so130948893pgd.0 for ; Sun, 04 Dec 2016 18:29:47 -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=BBbDsK965QruT5ob5JyPaQXfpNJp4nmBFYbsSvQdaWUg2I36RFeqhOOqOTF1+opcgb VwLEcKGWFXEMNs3KE/8DOfCpTqT3viYFr3Zj+r/mY+UlHMc3G+7VueVAwLp8LUn+hlm0 hTX30VycSYZOQIoTPfkuz1GoqULkE5yzleSk0= 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=kAJYiyRjC9dMZTYEnLjcWcWmL3w0pFTYCA8FtUUox8yrI0ltzERPLDvYWC9s73vrKw yZLptIAqA1vYjCKFMwAg11ky9eQMHwelCOIlnO6g/1UCxnjHpPp1/Fgz8SX9PM+JeL4f CCZbge+j4MGOnYX92iQbBOxIpLWXmuh5ZMymC6h/Yz+UKp4JqUQduU6snx64MrnQpS4t IjH7yl2XYrERP0fzrFime8hmzj+hC2wZPHShwIvv4j8lTZsy+OhZnEK4H2CMO8jXj4Qu HVcuTPNupAArIM1Xz+GWjmBJF7CPRFcc10RqjuslZ0tAXqgxirv0fb+5yypxiLvXXkSc xdoA== X-Gm-Message-State: AKaTC03q7xOpSJvYnJ7g/aOy5XlpiUwDbAkSM68jAOFzpcOj1tRObeLj02n52Z+2d1UIVKDS X-Received: by 10.84.215.138 with SMTP id l10mr120279309pli.166.1480904986851; Sun, 04 Dec 2016 18:29:46 -0800 (PST) Received: from localhost.localdomain (118-163-207-41.HINET-IP.hinet.net. [118.163.207.41]) by smtp.gmail.com with ESMTPSA id w125sm22818670pfb.8.2016.12.04.18.29.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 04 Dec 2016 18:29:46 -0800 (PST) From: Jun Nie To: robh+dt@kernel.org, mark.rutland@arm.com, shawn.guo@linaro.org, xie.baoyou@zte.com.cn, devicetree@vger.kernel.org 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 v7 1/5] mmc: dt-bindings: add ZTE ZX296718 MMC bindings Date: Mon, 5 Dec 2016 10:29:32 +0800 Message-Id: <1480904976-7081-2-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1480904976-7081-1-git-send-email-jun.nie@linaro.org> References: <1480904976-7081-1-git-send-email-jun.nie@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 devicetree" 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"; + };