From patchwork Tue Mar 26 04:58:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takao Orito X-Patchwork-Id: 161149 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4772396jan; Mon, 25 Mar 2019 21:56:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOeiAHno3lZTwGpQorEskfMckZUvgzo7G1H3PCrOvLIiLIxjJ+QeXXMfTjZEDTBjfvjQCf X-Received: by 2002:a17:902:7242:: with SMTP id c2mr28480702pll.245.1553576178803; Mon, 25 Mar 2019 21:56:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553576178; cv=none; d=google.com; s=arc-20160816; b=NArTqhdBmdA/pdTg6AI/CqP4Rxn/w4dmhKtoaIZpcflIfMX3xntehVEXpT4zBUi6b1 vYQZ147mKD9qNJLZ9/doXWZga1pTawc/r13XhM2y/NCJczgWdLNc9D7flppcKERwGHmv L70afcEgpFe9Xn2HFhN14yW2GfzCX1ggeaoF84fJ4RjRKW+TJA+KxlNyLYRi5I/70goH AtEomnl7iFpdlbKOqgyny47HYiL21G63PJ2DobsMkU2pGRbKiU5nwhZv9X3GYw1JoAs1 6sV56xWDJML5dgBp08AxZ8lpSMF6sSEbqQCq5QpdnerO9D6pKeLMuqhM2/E8igfpVtrx AfNA== 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=04lXyAV0/kCwSVFTRu05a6M2efP4e8lKJOby6PCb1Df5Uie5wzw4jmIl081MqG2m73 WIgF+wE0CfQi4bgm6PubkUcd6Hr9+NsXy1jEkGt82zpSnkU5fYxBedSF90lgNTo6zvyr b7GlbU8YeNJO0Ae7QVzU8WJGZnkyToY3sHTCQ0tyGi+Oa8oLDR2DEtBbnUauuaRFoOuH Jr86zqSXoWjfZT0I8zZll/qm4Q6EGH0qt48tcNxicu1IzT3DiMlir5fe8MLO69kWolt5 wfJp8nhAfLSHJ7CYDhpogYZPt6f2gIwmJLS300n+ehglkumm7r+eqChN1a/NWMmx9/SI M/kw== 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 d2si16024102pls.325.2019.03.25.21.56.18; Mon, 25 Mar 2019 21:56:18 -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 S1726669AbfCZE4S (ORCPT + 7 others); Tue, 26 Mar 2019 00:56:18 -0400 Received: from mx.socionext.com ([202.248.49.38]:10155 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726175AbfCZE4S (ORCPT ); Tue, 26 Mar 2019 00:56:18 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 26 Mar 2019 13:56:16 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 3B916180BD4; Tue, 26 Mar 2019 13:56:16 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Tue, 26 Mar 2019 13:56:16 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id A70F640385; Tue, 26 Mar 2019 13:56:15 +0900 (JST) Received: from user-VB.e01.socionext.com (unknown [10.213.119.151]) by yuzu.css.socionext.com (Postfix) with ESMTP id 90ABC120487; Tue, 26 Mar 2019 13:56:15 +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: [Milbeaut PATCH v0.4 1/2] dt-bindings: mmc: sdhci-fujitsu.txt: add miilbeaut driver Date: Tue, 26 Mar 2019 13:58:12 +0900 Message-Id: <1553576292-5854-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; + };