From patchwork Fri Apr 26 02:06:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takao Orito X-Patchwork-Id: 162895 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp176907jan; Thu, 25 Apr 2019 19:04:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVCaiDCE7biH32mzzSQ6jRR6ynBsvZKxe1xMyodDhhibljBhUIyWxfkCIKTnL8MTc1rgpM X-Received: by 2002:a62:3892:: with SMTP id f140mr43660358pfa.128.1556244254676; Thu, 25 Apr 2019 19:04:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556244254; cv=none; d=google.com; s=arc-20160816; b=UZ9rp0zyBgxytoZ1/YbFRQA6gYQPSplF2ebzNNV13nEBy+/gzuJYMELzM2IMvBe8tN m4ZDViHyFePCc4GrPXUQQTmdXxovUTxmUqGhEpCdNjUz4RscA6sKWViN++0MyAQYdwF3 EY86i2Sm7rVMuBGWJ+dhiRj1D3rsn8+xnRP/NWNjL+XH58/3N+w7YgHWxqJs39fuvBik U2nk9kBwBEgUumQHCuKrWxLka2q2kOee463Vq4prSC8PMq3eQr/0fay1mzvuCXFmlpbT aYqYFvJUDdN67fv6k+/du6qvkEuEJ/iolyMc4P0doPpZVp9KxnC8C7GnYYwsAkklvHeN xacg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ytKG3+NGUNneDxhieI9pz+C2CFVEc9SDL4X3YMh2N5Q=; b=zm19nDs2Rf5QY2oaVM0vve4RF86usxg3XUc4xagbdRzQpMv/WSsmwyYNcteEW/+K0F LKUL8J1y3ormcuy4NumhL1D3IXZ14JgqeUe1p2Yrn4ETbzK3rRfEixp7xdWtWT3KUENP nOYF7ml+1uKF4GFxcODHI42wG3/DaOa648cY0rHjf8LUkKHLxPUDF2yboJpSb9Wu+tEH JSgDZW4/5ooB/Ym2x2ZDyKf14EA4AE6QBhqszAYOS3NxhFPZq4qeQmes1RGaziwPdECw 7vhMPxjy9f8+D1hLGsWNYtm5AHheGD0hC94iRtk1nGT/WUDX4Z3EWI4nzb0KOlF+aHon Pl5g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h12si16786094pgs.151.2019.04.25.19.04.14; Thu, 25 Apr 2019 19:04: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727083AbfDZCEN (ORCPT + 5 others); Thu, 25 Apr 2019 22:04:13 -0400 Received: from mx.socionext.com ([202.248.49.38]:12548 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbfDZCEN (ORCPT ); Thu, 25 Apr 2019 22:04:13 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 26 Apr 2019 11:04:11 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id C08B7180B6F; Fri, 26 Apr 2019 11:04:11 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 26 Apr 2019 11:04:11 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id 7E4071A15B7; Fri, 26 Apr 2019 11:04:11 +0900 (JST) Received: from user-VB.e01.socionext.com (unknown [10.213.119.151]) by yuzu.css.socionext.com (Postfix) with ESMTP id 670F3121D03; Fri, 26 Apr 2019 11:04:11 +0900 (JST) From: Takao Orito To: ulf.hansson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, masami.hiramatsu@linaro.org, jaswinder.singh@linaro.org, sugaya.taichi@socionext.com, kasai.kazuhiro@socionext.com, kanematsu.shinji@socionext.com, orito.takao@socionext.com Subject: [PATCH 1/2] dt-bindings: mmc: add DT bindings for Milbeaut SD controller Date: Fri, 26 Apr 2019 11:06:32 +0900 Message-Id: <1556244392-15822-1-git-send-email-orito.takao@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Signed-off-by: Takao Orito --- .../devicetree/bindings/mmc/sdhci-milbeaut.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt -- 1.9.1 diff --git a/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt b/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt new file mode 100644 index 0000000..7008462 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt @@ -0,0 +1,35 @@ +* SOCIONEXT SDHCI controller + +This file documents differences between the core properties in mmc.txt +and the properties used by the sdhci_milbeaut driver. + +Required properties: +- compatible: "socionext,milbeaut-m10v-sdhci-3.0" +- clocks: Must contain an entry for each entry in clock-names. It is a + list of phandles and clock-specifier pairs. + See ../clocks/clock-bindings.txt for details. +- clock-names: Should contain the following two entries: + "iface" - clock used for sdhci interface + "core" - core clock for sdhci controller + +Optional properties: +- vqmmc-supply: phandle to the regulator device tree node, mentioned + as the VCCQ/VDD_IO supply in the eMMC/SD specs. +- fujitsu,cmd-dat-delay-select: boolean property indicating that this host + requires the CMD_DAT_DELAY control to be enabled. +- sni,mmc-power-gpio: set property indicating that power on or off needs + control of gpios. + +Example: + sdhci3: mmc@1b010000 { + compatible = "socionext,milbeaut-m10v-sdhci-3.0"; + reg = <0x1b010000 0x10000>; + interrupts = <0 265 0x4>; + voltage-ranges = <3300 3300>; + bus-width = <4>; + clocks = <&clk 7>, <&ahb_clk>; + clock-names = "core", "iface"; + cap-sdio-irq; + sni,mmc-power-gpio = <&pinctrl 53 GPIO_ACTIVE_HIGH>; + fujitsu,cmd-dat-delay-select; + };