From patchwork Thu Dec 22 04:57:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 88804 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp2627588qgi; Wed, 21 Dec 2016 20:58:41 -0800 (PST) X-Received: by 10.84.241.66 with SMTP id u2mr14608032plm.107.1482382721738; Wed, 21 Dec 2016 20:58:41 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q63si29239118pfg.266.2016.12.21.20.58.41; Wed, 21 Dec 2016 20:58:41 -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 S932496AbcLVE6k (ORCPT + 5 others); Wed, 21 Dec 2016 23:58:40 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:35069 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932987AbcLVE6h (ORCPT ); Wed, 21 Dec 2016 23:58:37 -0500 Received: by mail-pf0-f177.google.com with SMTP id i88so37684270pfk.2 for ; Wed, 21 Dec 2016 20:58:00 -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=nxXELoerxzomyw89Xg9SmEnGGaL+k0kWMuiOAvediIU=; b=VrvvwBh5UXuFNoRnDIZOg1rGCF+j+CuXwxTjlfGtF4pCIVSKknXEyN22taqcYGWRpw hsY3S7qr/hgaiBTNJe/hN5ky62n3qq6KuLO5Rt1QH5R9mbKX1CH6PHakXWkFXER0ds9i 3Ge/GVrZupWxiwi20kWjVyGbjtOGOZNxZLTI4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nxXELoerxzomyw89Xg9SmEnGGaL+k0kWMuiOAvediIU=; b=gE6FgOPyEPfw/Wvo0sL+R4q4IrGxzH1R6NrsBpRWgiaK31gJYtP64f26HlG1Kaoo55 dTL3QtEwnyQAASUayYOGGAe4WhZaxxJp7Y5Gas7RnQD4wqsSoe0RhMtcm1vJVmt7PTzw 6hSg5XrN0KtEkP6W5gUj0nR72M6K3eH1gqZtKucKEH6sc0jI3MZMqD25ZsUMFSUR3o4h 3lOstIC5DUmMTUQuQN0vL2ZqSLL5G/nXZQLoJmrFXAil6+Hel0CEvRAn/zhDnRIz8MwP qj3dVDlrVCJ5GxdImuCGU25HzvOoqPMjGpFxXn9yT+7QOabN2MBWN7mqf4DhfkmsJNE8 LgeA== X-Gm-Message-State: AIkVDXLbyyCyuzr1BACnKZMhLA5nf5OJIoxl5FypFSyRcB3DiCrtmXvggPCFiSEVK1Wid2p/ X-Received: by 10.84.200.39 with SMTP id s36mr15450695pld.77.1482382679919; Wed, 21 Dec 2016 20:57:59 -0800 (PST) Received: from localhost.localdomain (125-227-221-25.HINET-IP.hinet.net. [125.227.221.25]) by smtp.gmail.com with ESMTPSA id t15sm6385583pgn.18.2016.12.21.20.57.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Dec 2016 20:57:59 -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 v8 4/5] mmc: dt-bindings: add ZTE ZX296718 MMC bindings Date: Thu, 22 Dec 2016 12:57:36 +0800 Message-Id: <1482382657-16681-5-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1482382657-16681-1-git-send-email-jun.nie@linaro.org> References: <1482382657-16681-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 | 33 ++++++++++++++++++++++ 1 file changed, 33 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..eaade0e --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt @@ -0,0 +1,33 @@ +* 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"; + 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"; + };