From patchwork Mon Oct 24 09:11:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 78912 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp2463382qge; Mon, 24 Oct 2016 02:12:14 -0700 (PDT) X-Received: by 10.98.210.133 with SMTP id c127mr26926353pfg.47.1477300334855; Mon, 24 Oct 2016 02:12:14 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s1si14430806pfb.29.2016.10.24.02.12.14; Mon, 24 Oct 2016 02:12:14 -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 S936013AbcJXJMO (ORCPT + 3 others); Mon, 24 Oct 2016 05:12:14 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:36725 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935681AbcJXJMN (ORCPT ); Mon, 24 Oct 2016 05:12:13 -0400 Received: by mail-pf0-f177.google.com with SMTP id e6so95372749pfk.3 for ; Mon, 24 Oct 2016 02:12:13 -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=oKGcZjJsnm1IQm6JkC+2LbC1IujHPHfqWE0l593UU5U=; b=NZW5+8PId/vmUe2u7rZ8gODmP0X0wLxAhS+P1X7Rvkboz/e1K6fnCF1A4PAcM2jY5T HQHAV1cd2x/e4Vcgd1lNCKhLhWZQGy+32yGEBignkiQSROvHP3ejmlK4bpehMuSI6UX/ 2ab1ZYMLHX3qIHUu2AnL8wtot9tQJ8OjbPQO4= 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=oKGcZjJsnm1IQm6JkC+2LbC1IujHPHfqWE0l593UU5U=; b=lBauD4COZ6mL4CAGW0pTLGRzWD1ecWunYCfvXqCsiMWH7WcE+pALVtzWlzbRJKkjed fs6PqEu5LyoOHzi0BouwMnFWbg+fe84cRbNa/bsOCCWkYL/HH81j5to6xzFvM5+eMkm5 3H3Zfkaj6RMrQTE1P/1P5w3D7xlAfBD9isJGvQTQpW5GswwlgHbECwL+20hbSlbfKzm9 vedTvcglVU14KFgyDSxStHnz0eYWnfRDPjR/IXoSdJa4J0AhU65uODBlo6oqbfdRqmQo jHiNgGdZyAsncrak5dbeTSoFwy32kLZJZeSZjF45y3P7AjL4PiEm3efghH5KR/YuV0PS VyZQ== X-Gm-Message-State: ABUngvd88Dfhm6HUBg9KibuomMr+wiRwZdNMmKlkFDTtTaYjRdXsiRyYLKoC9TEHoHPHmWd7 X-Received: by 10.98.18.23 with SMTP id a23mr26551051pfj.151.1477300332594; Mon, 24 Oct 2016 02:12:12 -0700 (PDT) Received: from localhost.localdomain ([188.42.255.214]) by smtp.gmail.com with ESMTPSA id q23sm23464603pfg.95.2016.10.24.02.12.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Oct 2016 02:12:12 -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 1/5] mmc: dt-bindings: add ZTE MMC bindings Date: Mon, 24 Oct 2016 17:11:52 +0800 Message-Id: <1477300316-1420-2-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1477300316-1420-1-git-send-email-jun.nie@linaro.org> References: <1477300316-1420-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..8ad506e --- /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-override = <0x200>; + 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"; + };