From patchwork Fri Jun 29 14:47:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Mack X-Patchwork-Id: 10496809 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6A70E6016C for ; Fri, 29 Jun 2018 14:48:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65D532817F for ; Fri, 29 Jun 2018 14:48:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A35D29878; Fri, 29 Jun 2018 14:48:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,TVD_SUBJ_WIPE_DEBT autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 083432817F for ; Fri, 29 Jun 2018 14:48:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935500AbeF2OsB (ORCPT ); Fri, 29 Jun 2018 10:48:01 -0400 Received: from mail.bugwerft.de ([46.23.86.59]:34614 "EHLO mail.bugwerft.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934664AbeF2OsA (ORCPT ); Fri, 29 Jun 2018 10:48:00 -0400 Received: from localhost.localdomain (tmo-105-139.customers.d1-online.com [80.187.105.139]) by mail.bugwerft.de (Postfix) with ESMTPSA id 6C6F728C397; Fri, 29 Jun 2018 14:44:43 +0000 (UTC) From: Daniel Mack To: ulf.hansson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: robert.jarzmik@free.fr, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Daniel Mack Subject: [PATCH 6/7] mmc: pxamci: remove pxa-mmc, gpio-power from devicetree bindings Date: Fri, 29 Jun 2018 16:47:37 +0200 Message-Id: <20180629144738.446-7-daniel@zonque.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180629144738.446-1-daniel@zonque.org> References: <20180629144738.446-1-daniel@zonque.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Devicetree-enabled boards should use proper regulators to control the power of cards, not GPIOs, so let's remove this property. The regulator properties are are supported by the MMC core and are described in the generic MMC document: Documentation/devicetree/bindings/mmc/mmc.txt Note that devicetree support for PXA platforms hasn't fully landed yet, so this binding does not have any users at this point. Signed-off-by: Daniel Mack --- Documentation/devicetree/bindings/mmc/pxa-mmc.txt | 1 - drivers/mmc/host/pxamci.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/pxa-mmc.txt b/Documentation/devicetree/bindings/mmc/pxa-mmc.txt index b7025de7dced..359b13977f24 100644 --- a/Documentation/devicetree/bindings/mmc/pxa-mmc.txt +++ b/Documentation/devicetree/bindings/mmc/pxa-mmc.txt @@ -8,7 +8,6 @@ Required properties: Optional properties: - marvell,detect-delay-ms: sets the detection delay timeout in ms. -- marvell,gpio-power: GPIO spec for the card power enable pin This file documents differences between the core properties in mmc.txt and the properties used by the pxa-mmc driver. diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c index e15708aa77a2..c01d69904e2a 100644 --- a/drivers/mmc/host/pxamci.c +++ b/drivers/mmc/host/pxamci.c @@ -612,9 +612,6 @@ static int pxamci_of_init(struct platform_device *pdev, of_get_named_gpio(np, "wp-gpios", 0); /* pxa-mmc specific */ - pdata->gpio_power = - of_get_named_gpio(np, "pxa-mmc,gpio-power", 0); - if (of_property_read_u32(np, "pxa-mmc,detect-delay-ms", &tmp) == 0) pdata->detect_delay_ms = tmp;