From patchwork Tue Mar 26 05:53:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takao Orito X-Patchwork-Id: 161154 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4809830jan; Mon, 25 Mar 2019 22:51:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwKSm3s8A2SlNxNP8Q5GQzDPByJPF0p52iYmSITd70aNBDGjhJyHhMzxaBW42NPrTqpB04T X-Received: by 2002:a17:902:bd82:: with SMTP id q2mr23087880pls.201.1553579510011; Mon, 25 Mar 2019 22:51:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553579510; cv=none; d=google.com; s=arc-20160816; b=NXyzLLVAJCedZhvKHQYMQA22DGO3yAic5gy00Bb5PjB0c/AFW7ECTZIPGUduMNN5gU ghNnahj+nGqBo8cPGGAXH46koUxMakmGxim+q6aYMMPYBLch5H3c8s4yX26pUJNYsjoz ATb4ZSDXH1lPDc6N+QlsknXviYAIYTSrdN8se4MNfD4uxZMX1mQTiKO7pdvrUINbXxzp h6cyzABWc1cAnuXAhRL00T7CDDymyOIZIrLaimgNGqiUUJfzYMB3fP3IdsOoytHgR8Wp TLQICqV0qmJWvROqWEeKM8NG8c4GgzNsMKd18sbb5pjUy6NMnl189mxIshMUZajP8vJE 2ruw== 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=SPK9BPRVMrtQBkMiwV/MXHk5IDy6ewxhGnxMPGqt0dg=; b=vRepTA5UopetEJjejVVkG5H1XHuMCotMSVkjun94pv7myFBAKMFtQhtsCYTLUxmVs9 +pwgXA36gwkB1mUFevvvz+lYNID2dEe/FbNxXVPkxsDgDVOeKrtutvNjeBPuIqb3D+2A CuCfn78VjFBUVUPuHVuBAg4g+ywr0hOdffuUe/JH8O53NdjGx5/o3j69iVhbmiTHRLxu XN5/NJ9eotDC8+V1OscjZl199/X99cOBmzR71J+mrB+BLl0/K5CPe1WOsT9UGhPBCozr t74OoM65dU49+7c+ISg8/VjTKb1GXislLEWxzYvXKz/vPXWz7UD/61ELTH1hUWA8grd1 bC+Q== 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 l69si9150687plb.272.2019.03.25.22.51.49; Mon, 25 Mar 2019 22:51:50 -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 S1726175AbfCZFvt (ORCPT + 7 others); Tue, 26 Mar 2019 01:51:49 -0400 Received: from mx.socionext.com ([202.248.49.38]:10888 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbfCZFvs (ORCPT ); Tue, 26 Mar 2019 01:51:48 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 26 Mar 2019 14:51:41 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 5D7D86117D; Tue, 26 Mar 2019 14:51:41 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Tue, 26 Mar 2019 14:51:41 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id BA5324049C; Tue, 26 Mar 2019 14:51:40 +0900 (JST) Received: from user-VB.e01.socionext.com (unknown [10.213.119.151]) by yuzu.css.socionext.com (Postfix) with ESMTP id A0E5D120459; Tue, 26 Mar 2019 14:51:40 +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 v1 1/2] dt-bindings: mmc: sdhci-fujitsu.txt: add miilbeaut driver Date: Tue, 26 Mar 2019 14:53:37 +0900 Message-Id: <1553579617-6139-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 new compatible description for Milbeaut SoC. Socionext inherits F_SDH30 IP from Fujitsu. Then new Soc series "Milbeaut" has F_SDH30 controller specified by "socionext,milbeaut-m10v-sdhci-3.0". Signed-off-by: Takao Orito --- .../devicetree/bindings/mmc/sdhci-fujitsu.txt | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) -- 1.9.1 diff --git a/Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt b/Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt index 3ee9263..405811f 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt @@ -1,10 +1,10 @@ -* Fujitsu SDHCI controller +* Fujitsu/Socionext SDHCI controller This file documents differences between the core properties in mmc.txt -and the properties used by the sdhci_f_sdh30 driver. +and the properties used by the sdhci_f_sdh30. Required properties: -- compatible: "fujitsu,mb86s70-sdhci-3.0" +- compatible: "fujitsu,mb86s70-sdhci-3.0", "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. @@ -17,6 +17,8 @@ Optional properties: 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 gpio. This is for only "socionext,milbeaut-m10v-sdhci-3.0". Example: @@ -30,3 +32,17 @@ Example: clocks = <&clock 2 2 0>, <&clock 2 3 0>; clock-names = "iface", "core"; }; + +Exsample2: + 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 = <&uhs1clk2>, <&ahb_clk>; + clock-names = "core", "iface"; + cap-sdio-irq; + sni,mmc-power-gpio = <&pinctrl 53 GPIO_ACTIVE_HIGH>; + fujitsu,cmd-dat-delay-select; + };