From patchwork Tue Sep 10 01:40:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takao Orito X-Patchwork-Id: 173426 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp5152621ilq; Mon, 9 Sep 2019 18:40:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyr4jT2e/YGqWOeazQSFRWit0yTImhZMx37Qj7YFQpXni/8tFCuU4W12Mgwhb+Ed8wW17WG X-Received: by 2002:a17:906:81d9:: with SMTP id e25mr22071392ejx.37.1568079610026; Mon, 09 Sep 2019 18:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568079610; cv=none; d=google.com; s=arc-20160816; b=NALzMGO7BtLaE1kdC2zefjUxf9qKAt4RPtE9Z6gNGHAMFMwxGEJeYnaqExf5VO7PsZ QkTL2PnxkjNrLRiCHdZFEtmmQuAvbMmYhpDbzJymESW7uvQPSc2FrQ1PrujmHhU9Va0c RV5BuMX7M85t7lvSxBmpXgLIJhk1KKPayQ2S91cggB3wvmVV/PMlgSUXLaxqoqIeqXGo H3/plOinQVL+36IaMz+zf7JqI1U0zYamZWHs2YktQ2ZtB+vm5uk/eVOdXK+iBdpKmrQx yh6sOu6j7C//jYVzxQ//9SO/orG0vQdi8OtjDVnPwHb1OiMAbwzs85xaLNFpoQpg0X5n B5JQ== 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=acgIXBD3ZSGJ8iG60Lur1LQA2y4aIPB5zHj1fWertSM=; b=i0Svx/BTQNDdBQd4y9dng/2lR0R1IEPuNntmSowCyqJ1YRk4ZXtPj8m4zu62J4ku5V nM7z3igBGTmtfZaqkPRJNi+ia8UpjdmJjO9GQoa9Ok/4yDLtL4/u75hJBbEXAcAXc7q6 sTYboo7dg2lhUe/tZjr69byuB31MEfLDz8gVeMbTlIbvNhpr8/vtKO7vJHiefe2gZXW/ qRz4okzGimEb01/aVp/VtY0LSRoDs0qSb3ukdAWEQbYyMG24FFsdygdgQNTWEXv8UiaM iXbwyJIsh7fbfy2913mSP5Y9KQib2rR9nlmopeNK50LjCL2jWmEq2a9EuIgMIqK0+21L UA0A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13si8585070ejr.281.2019.09.09.18.40.09; Mon, 09 Sep 2019 18:40:10 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392336AbfIJBkG (ORCPT + 8 others); Mon, 9 Sep 2019 21:40:06 -0400 Received: from mx.socionext.com ([202.248.49.38]:11404 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390948AbfIJBkG (ORCPT ); Mon, 9 Sep 2019 21:40:06 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 10 Sep 2019 10:40:04 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 1B987605F8; Tue, 10 Sep 2019 10:40:04 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Tue, 10 Sep 2019 10:40:04 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 9359A40373; Tue, 10 Sep 2019 10:40:03 +0900 (JST) Received: from user-VB.e01.socionext.com (unknown [10.213.119.151]) by yuzu.css.socionext.com (Postfix) with ESMTP id 7FE251204B3; Tue, 10 Sep 2019 10:40:03 +0900 (JST) From: Takao Orito To: ulf.hansson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, adrian.hunter@intel.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 v3 1/2] dt-bindings: mmc: add DT bindings for Milbeaut SD controller Date: Tue, 10 Sep 2019 10:40:52 +0900 Message-Id: <1568079652-28849-1-git-send-email-orito.takao@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the device-tree binding documentation for Milbeaut SDHCI driver. Signed-off-by: Takao Orito Reviewed-by: Rob Herring --- .../devicetree/bindings/mmc/sdhci-milbeaut.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 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..627ee89 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt @@ -0,0 +1,30 @@ +* SOCIONEXT Milbeaut 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: +- fujitsu,cmd-dat-delay-select: boolean property indicating that this host + requires the CMD_DAT_DELAY control to be enabled. + +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; + fujitsu,cmd-dat-delay-select; + };