From patchwork Sun Dec 2 08:43:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10707891 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9897817D4 for ; Sun, 2 Dec 2018 08:45:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85CA029C9B for ; Sun, 2 Dec 2018 08:45:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 79C9B29D6F; Sun, 2 Dec 2018 08:45:47 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 0E56029C9B for ; Sun, 2 Dec 2018 08:45:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725772AbeLBIpr (ORCPT ); Sun, 2 Dec 2018 03:45:47 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:44878 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725771AbeLBIpr (ORCPT ); Sun, 2 Dec 2018 03:45:47 -0500 Received: by mail-lj1-f195.google.com with SMTP id k19-v6so8579307lji.11 for ; Sun, 02 Dec 2018 00:45:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=F30/68tgBoUl1VCjeCAmfPxA4vytelnWzVkU91jsbRc=; b=YX2gRLb6b0+PZ8Ir9HM3vLVU61soArMsHetMe9C9Yjwixdj7mbKWPh5QGnA9TXDyEs dEzGLhEnn2juTxPUEHOEowYDAfP6aaOtaDvREtscocBUExpVq6q8WXlKws7q09vFq64H Iesl5CDe+qrppMT12zvLawOVxfSPyj9OqLXCk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=F30/68tgBoUl1VCjeCAmfPxA4vytelnWzVkU91jsbRc=; b=OThkj8v4yntuj/ABNIh2kCluFYxEqAWw8ufjJfmxtwAouPJKQI7vkLcGOweNSwEWQg dWhWVo49YLL7K3vQ0kFhxAKrVaGKZISxeZ6fTcvjjsBYFGoGu1Pivqc3gE1K64xXBjSf 03/brqYNqaz/KKjEvho5RjTZ7iScDK6DQM/KtkVDPuU7F6a/vEZXZMOcfed7f/6N1b05 ABn+/ZsjQaqoDpuqXhxPBeryD0cCn6302RbXi6qstEHWa9vqiyj0nuW7CLX/U/4w7IB5 p0psYPHsmUCKI1dmeiPsXB4n1KAqrN2p3POeMgYvxdXWI7iYPgbqUT/PnMcm8Nfox6ez nboQ== X-Gm-Message-State: AA+aEWbxu9IdDtrOO5AQUNDi7/MA2EmrD8Nt0ZxAmCzMhbZWC7orn6Hz 1CafEgna+DC0hL4pHiQ7kiYKVhh+7ANlyw== X-Google-Smtp-Source: AFSGD/W8WLHNDw+tvqrMdDRenqzxTuCg7YJ0V737qVoKccYwHb0sHMV1cpgi0lqW9y27kMYDJf+Xlg== X-Received: by 2002:a2e:2106:: with SMTP id h6-v6mr7182962ljh.37.1543740337476; Sun, 02 Dec 2018 00:45:37 -0800 (PST) Received: from localhost.localdomain (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id z7-v6sm1772719lji.42.2018.12.02.00.45.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 Dec 2018 00:45:35 -0800 (PST) From: Linus Walleij To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Linus Walleij Subject: [PATCH 00/11 v4] Use GPIO descriptors for CD/WP Date: Sun, 2 Dec 2018 09:43:17 +0100 Message-Id: <20181202084328.25546-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 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 The patches are updated in accordance with Robert Jarzmik et als comments. There is also a GPIO patch sneaked in, which can be applied to the MMC tree with the rest. The SPI, TMIO, s3cmci, and the PXA series can be applied individually (no dependence). The last patch must be applied after all the others. Linus Walleij (11): mmc: spi: Convert to use GPIO descriptors mmc: host: tmio: Use GPIO descriptors mmc: s3cmci: Use the slot GPIO descriptor gpio: name PCA953x gpio chips after device name ARM: pxa: Add gpio descriptor lookup tables for MMC CD/WP ARM: pxa: Add GPIO descriptors for Palm27x mmc: pxamci: Support getting GPIO descs for RO and WP ARM: pxa: Delete platform data for CD/WP mmc: pxamci: Delete platform data handling of CD and WP mmc: pxa: Use GPIO descriptor for power mmc: slot-gpio: Delete legacy GPIO handling arch/arm/mach-ep93xx/simone.c | 14 +++- arch/arm/mach-ep93xx/vision_ep9307.c | 17 +++-- arch/arm/mach-pxa/balloon3.c | 3 - arch/arm/mach-pxa/cm-x270.c | 18 +++-- arch/arm/mach-pxa/cm-x300.c | 18 +++-- arch/arm/mach-pxa/colibri-evalboard.c | 40 ++++++++--- arch/arm/mach-pxa/colibri-pxa270-income.c | 19 ++++-- arch/arm/mach-pxa/corgi.c | 20 +++++- arch/arm/mach-pxa/csb726.c | 19 ++++-- arch/arm/mach-pxa/em-x270.c | 34 ++++------ arch/arm/mach-pxa/gumstix.c | 3 - arch/arm/mach-pxa/idp.c | 3 - arch/arm/mach-pxa/littleton.c | 18 +++-- arch/arm/mach-pxa/lubbock.c | 3 - arch/arm/mach-pxa/magician.c | 26 +++++++- arch/arm/mach-pxa/mainstone.c | 3 - arch/arm/mach-pxa/mioa701.c | 21 +++++- arch/arm/mach-pxa/mxm8x10.c | 19 ++++-- arch/arm/mach-pxa/palm27x.c | 10 +-- arch/arm/mach-pxa/palm27x.h | 8 +-- arch/arm/mach-pxa/palmld.c | 16 ++++- arch/arm/mach-pxa/palmt5.c | 16 ++++- arch/arm/mach-pxa/palmtc.c | 19 ++++-- arch/arm/mach-pxa/palmte2.c | 18 ++++- arch/arm/mach-pxa/palmtreo.c | 31 +++++++-- arch/arm/mach-pxa/palmtx.c | 16 ++++- arch/arm/mach-pxa/palmz72.c | 16 ++++- arch/arm/mach-pxa/pcm990-baseboard.c | 3 - arch/arm/mach-pxa/poodle.c | 15 ++++- arch/arm/mach-pxa/raumfeld.c | 3 - arch/arm/mach-pxa/spitz.c | 16 ++++- arch/arm/mach-pxa/stargate2.c | 3 - arch/arm/mach-pxa/tosa.c | 18 ++++- arch/arm/mach-pxa/trizeps4.c | 3 - arch/arm/mach-pxa/vpac270.c | 16 ++++- arch/arm/mach-pxa/z2.c | 14 +++- arch/arm/mach-pxa/zeus.c | 15 ++++- arch/arm/mach-pxa/zylonite.c | 57 +++++++++++++--- arch/arm/mach-pxa/zylonite_pxa300.c | 2 + arch/arm/mach-s3c24xx/mach-at2440evb.c | 14 +++- arch/arm/mach-s3c24xx/mach-h1940.c | 15 ++++- arch/arm/mach-s3c24xx/mach-mini2440.c | 15 ++++- arch/arm/mach-s3c24xx/mach-n30.c | 15 ++++- arch/arm/mach-s3c24xx/mach-rx1950.c | 15 ++++- arch/sh/boards/mach-ecovec24/setup.c | 43 ++++++++++-- drivers/gpio/gpio-pca953x.c | 2 +- drivers/mmc/core/slot-gpio.c | 81 +---------------------- drivers/mmc/host/mmc_spi.c | 27 ++++---- drivers/mmc/host/of_mmc_spi.c | 34 ---------- drivers/mmc/host/pxamci.c | 68 ++++++++----------- drivers/mmc/host/s3cmci.c | 29 +++----- drivers/mmc/host/tmio_mmc_core.c | 12 ++-- include/linux/mfd/tmio.h | 9 +-- include/linux/mmc/slot-gpio.h | 5 -- include/linux/platform_data/mmc-pxamci.h | 4 -- include/linux/platform_data/mmc-s3cmci.h | 4 -- include/linux/spi/mmc_spi.h | 15 ----- 57 files changed, 616 insertions(+), 404 deletions(-)