Skip to content

Commit 1cdca16

Browse files
masahir0yUlf Hansson
authored andcommitted
dt-binding: mmc: rename tmio_mmc.txt to renesas,sdhi.txt
As commit b614749 ("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 <yamada.masahiro@socionext.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 29ca763 commit 1cdca16

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

Documentation/devicetree/bindings/mmc/tmio_mmc.txt renamed to Documentation/devicetree/bindings/mmc/renesas,sdhi.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
* Toshiba Mobile IO SD/MMC controller
2-
3-
The tmio-mmc driver doesn't probe its devices actively, instead its binding to
4-
devices is managed by either MFD drivers or by the sh_mobile_sdhi platform
5-
driver. Those drivers supply the tmio-mmc driver with platform data, that either
6-
describe hardware capabilities, known to them, or are obtained by them from
7-
their own platform data or from their DT information. In the latter case all
8-
compulsory and any optional properties, common to all SD/MMC drivers, as
9-
described in mmc.txt, can be used. Additionally the following tmio_mmc-specific
10-
optional bindings can be used.
1+
* Renesas SDHI SD/MMC controller
112

123
Required properties:
134
- compatible: should contain one or more of the following:

0 commit comments

Comments
 (0)