From patchwork Wed Jan 23 15:32:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2025561 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 6A94A40060 for ; Wed, 23 Jan 2013 15:40:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755801Ab3AWPk0 (ORCPT ); Wed, 23 Jan 2013 10:40:26 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:63997 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755551Ab3AWPkU (ORCPT ); Wed, 23 Jan 2013 10:40:20 -0500 Received: from axis700.grange (dslb-178-006-250-035.pools.arcor-ip.net [178.6.250.35]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MHYWy-1U1LI41iQO-003K8E; Wed, 23 Jan 2013 16:40:16 +0100 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id C5B2D40BC3; Wed, 23 Jan 2013 16:40:14 +0100 (CET) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1Ty2Qw-0000Pp-F7; Wed, 23 Jan 2013 16:40:14 +0100 From: Guennadi Liakhovetski To: linux-mmc@vger.kernel.org Cc: linux-sh@vger.kernel.org, Magnus Damm , Chris Ball , Guennadi Liakhovetski Subject: [PATCH/RFC v2 06/11] mmc: tmio-mmc: define device-tree bindings Date: Wed, 23 Jan 2013 16:32:33 +0100 Message-Id: <1358955158-1510-7-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1358955158-1510-1-git-send-email-g.liakhovetski@gmx.de> References: <1358955158-1510-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:lLZRrWpkDPWHh6ljUE564qChaZZdpHE9ktx3g+X5+ad jjTjyo3gF4qsjEDqjIhppamQesAIBbgg3/v7eckspq36hiqstz Dj3R08f9pw2xuDvZ1ikzYEofKL+4tzFMd82BumMaQ1kixhul6x 7kd8xdQFLAntmeGyRoabvltWgfqV/3Z2MPPEDqMQf8HC4EwzjU a4wSNvqO4p+p0ToXYsSGHiW67swhV0B0ASsMdJWCW4jNr5OzUr iSXsrrUkKPDns0eTalSywk/Nr0k1zGZEYVs5V2DNsp0wcq+dzQ wKMScPpg5yXISsMJphS4L8iUSqZt+TzomMJXaQGFTKQsjEP7af 2PywdK7pWs74rGhEOyvgl/haQDlA1qWonsGd8o0eruUtBgrKZz K1VDE+wQsyKcw== Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Define device-tree bindings for the tmio-mmc driver to be able to specify parameters, currently provided in platform data. Cc: Magnus Damm Signed-off-by: Guennadi Liakhovetski --- Please, comment on this one, since it is defining an ABI Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/mmc/tmio_mmc.txt diff --git a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt new file mode 100644 index 0000000..dd8decd --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt @@ -0,0 +1,19 @@ +* 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, should or can be used. Additionally the following optional +bindings can be used. They set either respective TMIO_MMC_* flags or MMC_CAP_* +capabilities. + +Optional properties: +- toshiba,mmc-wrprotect-disable : set TMIO_MMC_WRPROTECT_DISABLE flag +- toshiba,mmc-blksz-2bytes : set TMIO_MMC_BLKSZ_2BYTES +- toshiba,mmc-cap-sdio-irq : SDIO IRQ signalling should be used, if + supported by the hardware, i.e. set MMC_CAP_SDIO_IRQ if + TMIO_MMC_SDIO_IRQ is also set +- toshiba,mmc-has-idle-wait : set TMIO_MMC_HAS_IDLE_WAIT