From patchwork Mon Jun 24 07:03:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 167549 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3836440ilk; Mon, 24 Jun 2019 00:04:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzY9ETt1Hvc5SKtO+qezi9m0M3Sckuj+8Yc5YEgbOFVxZC0Odr0g/8KWu078l1lyWlfUcrl X-Received: by 2002:a63:3710:: with SMTP id e16mr31134825pga.391.1561359895652; Mon, 24 Jun 2019 00:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561359895; cv=none; d=google.com; s=arc-20160816; b=1IihHLHMIlFO0fN8MkqzsIdwngkt99cohNbIuyXezvvxQ2WuZbzSiDDlmDPNRnBh2P So70SYiuOhze1jiYdXlKyeVKgHnsm7lqDyIaYpKZRx76si8QTk59FIgIJXuC9eCQO3nU Xy7cNwH15YQEgO1SCafLuYcYGGsmHJ/L5r+P9OTzNekRroY97Bl0YaXxC3TlwC4YFQrL FU50vew3V2aXNzyuBEjUhAZFNjR8ap2GZtEOdfSrVMYkBOKtkVI0YUKQVGN7dXNf8tbk g2HLNFV4vA3uBX1e/W+xxh5XsDBqdvnGCQwmNd2vr0muflib7lOy/ICWR4e9Srlf3gMv ktUA== 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 :dkim-signature:dkim-filter; bh=5OUaZkjNas9lHS+ZQnY9UtPOBcnTTcVLurctTO3m70A=; b=zBxc/6qyNE97gC1I2biqOZBdKnfXvsfyK1dQi1usFyvqJGmmdUhyF6HHiKYm7QinNu A9ZQ490IP6h7D3YYEu9EbfN3Wp4eKwhkyJYSIARM3tFwAQgbKRVX4iccCmm5BAPozYHS DnlI81bBQDBjr0ODCeB+UVuJRghVeFjYOgeoNYkXLRmeXN6ecW+zKzUW55azGGRptXDJ qVdTq2Q5xYz03Ni6DBx560MIldfby3yyYWko0o2pcDX+y9JWmYb/g3Jl1iizQZ81ivnJ BhMb56aVPhtb8RmYTMhDFZ3zjr2A3bbr8l188PhgKtjNjxo4c8sTrAzzJRekKMc3sPju xLPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=YG5GjITf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 b96si20981233pjc.0.2019.06.24.00.04.55; Mon, 24 Jun 2019 00:04:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=YG5GjITf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727562AbfFXHEy (ORCPT + 30 others); Mon, 24 Jun 2019 03:04:54 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:58407 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726343AbfFXHEx (ORCPT ); Mon, 24 Jun 2019 03:04:53 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x5O73v9q030616; Mon, 24 Jun 2019 16:03:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x5O73v9q030616 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1561359838; bh=5OUaZkjNas9lHS+ZQnY9UtPOBcnTTcVLurctTO3m70A=; h=From:To:Cc:Subject:Date:From; b=YG5GjITfAvzH2ZVvZjUsSjp2gg9EqW6C69xZBgP9nFJBGAEaCLEu0mDuVCmoiPv95 XDP/XKSVXF1Y8haU2KSZBjRmZUdKzX+Xyd3k/jte2Di7Nz28I8v3UPGPg35Gb08mDU cyBAgI0thchw/xzTkbFlG2m581OwB0a+4r4EXb8WuLBNPaVPavybPjahJ4QACOGyZu BgxWXXEmw4ThKwFxH3piyBsyV7/9YF5bNv0fQmSIv4NIjty6iSr5PNKVVWVoYYvmk4 S1eo4x+tOhbY2KwKxVOYxVmqnUOVxof/zEka9MqdHj1YJiPzu3pLl3PCAE/PMaO3jG yozMaTddvqpJA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Simon Horman , Wolfram Sang , linux-renesas-soc@vger.kernel.org, Masahiro Yamada , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland Subject: [PATCH v2] dt-binding: mmc: rename tmio_mmc.txt to renesas, sdhi.txt Date: Mon, 24 Jun 2019 16:03:45 +0900 Message-Id: <20190624070345.20373-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As commit b6147490e6aa ("mmc: tmio: split core functionality, DMA and MFD glue") said, these MMC controllers use the IP from Panasonic. TMIO (Toshiba Mobile IO) MMC was the first upstreamed user of this IP. The common driver code was split and expanded as 'tmio-mmc-core', then it became historical misnomer since 'tmio' is not the name of this IP. In the discussion [1], we decide to keep this name as-is at least in Linux driver level because renaming everything is a big churn. However, DT should not be oriented to a particular project even though it is mainly developed in Linux communities. This is the misfortune only in Linux. Let's stop exporting it to other projects, where there is no good reason to call this hardware "TMIO". Rename the file to renesas,sdhi.txt. In fact, all the information in this file is specific to the Renesas platform. This commit also removes the first paragraph entirely. The DT-binding should describe the hardware. It is strange to talk about Linux driver internals such as how the drivers are probed, how platform data are handed off, etc. [1] https://www.spinics.net/lists/linux-mmc/msg46952.html Signed-off-by: Masahiro Yamada --- Changes in v2: - Rename to renesas,sdhi.txt instead of renesas_sdhi.txt .../bindings/mmc/{tmio_mmc.txt => renesas,sdhi.txt} | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) rename Documentation/devicetree/bindings/mmc/{tmio_mmc.txt => renesas,sdhi.txt} (87%) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt b/Documentation/devicetree/bindings/mmc/renesas,sdhi.txt similarity index 87% rename from Documentation/devicetree/bindings/mmc/tmio_mmc.txt rename to Documentation/devicetree/bindings/mmc/renesas,sdhi.txt index 2b4f17ca9087..dd08d038a65c 100644 --- a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt +++ b/Documentation/devicetree/bindings/mmc/renesas,sdhi.txt @@ -1,13 +1,4 @@ -* Toshiba Mobile IO SD/MMC controller - -The tmio-mmc driver doesn't probe its devices actively, instead its binding to -devices is managed by either MFD drivers or by the sh_mobile_sdhi platform -driver. Those drivers supply the tmio-mmc driver with platform data, that either -describe hardware capabilities, known to them, or are obtained by them from -their own platform data or from their DT information. In the latter case all -compulsory and any optional properties, common to all SD/MMC drivers, as -described in mmc.txt, can be used. Additionally the following tmio_mmc-specific -optional bindings can be used. +* Renesas SDHI SD/MMC controller Required properties: - compatible: should contain one or more of the following: