From patchwork Sun Nov 25 22:52:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 151931 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4908625ljp; Sun, 25 Nov 2018 14:54:27 -0800 (PST) X-Google-Smtp-Source: AFSGD/V6NXa9rUAFUd+YNLxZizxszAcL3EqkRoodAV6/8KHjfIcB8Th9v3sD19/ctIB2a4d76daL X-Received: by 2002:a63:4f20:: with SMTP id d32mr22351413pgb.47.1543186467395; Sun, 25 Nov 2018 14:54:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543186467; cv=none; d=google.com; s=arc-20160816; b=oN7KK9oX8PO+gFsnw9fqWbm3hpf98/dg5VIq7Z9AAC/Ik//G3UIBSAdlH6aKFjiBl9 2jRLyZRq1lge1IAwd3EUexJ5ja7GgMRzWu8YV1MUkfureQ6d8wExFFNzRmfNxRaTP62+ T5BhDUH3DpTOE9a7bLrbNwSVt3qbnIIO7CEohYf5ipESc5IP6HmjB6l2ysZCp+MwbaJp G4sIz/ru7ncOOgfj0mjYPNzw1pRxD4+KUDcZWaRoI9iL2XPPD1Wu8olzY+ULydkDmO41 kTfz2nBlziy8FGgzea5xdfZtOU0gVR1YXh8lFby81SlZUMEtMyh/n4aIr+TIZxuVnzNq 6wjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jBhYVyn859jbLPCvYXiICwVXkGfXOYx7KQtlJC2INe0=; b=QYIiLooUAhOYB03Gi3l3wxrsiUgToo8Gb133ztmFibE7NKVSqlQ8c2wYk9IBr940ad 5Nte03eDFYAIuXp8LT5xpLBonffQIAPOSeUHemtwvG6DzBbrgNYNwQ6msdOsIKgkLXH3 H4YBhMFhBkuCJBuyKZakkWOu8OB6Ug/Lmf+6AJaqcxcnGo8gb1LvmvyT4jqcJ1v+5ErO 1NTJ6BS0mOTdBepiCtlx9gBDLzmBj5s5QOgRbrdBzPdOdlr2XK2QQeU4dgAILyRFCJdd agVVgINNgrPJOAfv1ShxRn8h7MSPuIdOFUUzfayWmmfkk574sPIItTG5/D1e04Sb3tS7 mJrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="c/IhrovH"; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m75si39838955pga.432.2018.11.25.14.54.27; Sun, 25 Nov 2018 14:54:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-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=@linaro.org header.s=google header.b="c/IhrovH"; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726076AbeKZJqh (ORCPT + 5 others); Mon, 26 Nov 2018 04:46:37 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:40250 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726059AbeKZJqh (ORCPT ); Mon, 26 Nov 2018 04:46:37 -0500 Received: by mail-lf1-f65.google.com with SMTP id v5so12111055lfe.7 for ; Sun, 25 Nov 2018 14:54:24 -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=jBhYVyn859jbLPCvYXiICwVXkGfXOYx7KQtlJC2INe0=; b=c/IhrovHjwYHzTnrCu4ffB8IAi/SdWp9T+DryGesrUPJg5N6NVRsxZRb6hrEUz7JN/ rZ9VRUt+hJLxBqWZ7skxmmQEcQydxRxHt+PmxN1KLdM5Ic+9hbKh64GSBlOuL2cTNlrb masZr9a7gY9BWJPuQMYtewieGxOFz2kHHQC6U= 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=jBhYVyn859jbLPCvYXiICwVXkGfXOYx7KQtlJC2INe0=; b=Lq3gIyS/NE407vk3Kn1qU8OcpdCCvYQDWKOs82KT/wAuWROuJlWzKrgfUqSjIrVt1a pek/Z024XKmGCXUzd2tRfirYfQYs32OfjXYPcQPVDsw/DACNh44hAox/QYh4shrUgM+I U8OLmJwf2GIpvtkzYLL52OgUWHJ3VobLeBiZPn/irnKyoN2sY6yX4hGRn8aP89KiloYj L0crKN7NusuL8sTpaEHr+3ewCpxdDwDndt67YGKTQ9PPZRNfiNud0EGNJ+C6s445vwrn rcr8isdA/TiNlnpCo23NYADjTZ3aeTovBG4q1jZHd7b9UG/wr4DYM9gdi1DU1z0AW46o G/qw== X-Gm-Message-State: AGRZ1gJlXSPHbXvWR3/tx6TY98FIZJODBUDxgTf2ZxTzGekYDl3U85WM pqIIPB2eoMWQ1T6MNHqE7Dj7dTy25GOZUQ== X-Received: by 2002:a19:c396:: with SMTP id t144mr13850948lff.110.1543186463451; Sun, 25 Nov 2018 14:54:23 -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 c19sm9047235lfg.86.2018.11.25.14.54.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 14:54:22 -0800 (PST) From: Linus Walleij To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Linus Walleij Subject: [PATCH 00/11 v3] Use GPIO descriptors for CD/WP Date: Sun, 25 Nov 2018 23:52:06 +0100 Message-Id: <20181125225217.23201-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 This is the updated v3 version of the patch series moving all boards still using global GPIO numbers to GPIO descriptors for "slot GPIO". I removed the patches that were applied and added a bunch more by splitting up the PXA patch as Robert Jarzmik requested. 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/pcamci: 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 | 22 +++--- arch/arm/mach-pxa/cm-x300.c | 23 ++++--- 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 | 17 +++-- arch/arm/mach-pxa/lubbock.c | 3 - arch/arm/mach-pxa/magician.c | 22 +++++- arch/arm/mach-pxa/mainstone.c | 3 - arch/arm/mach-pxa/mioa701.c | 18 ++++- arch/arm/mach-pxa/mxm8x10.c | 17 +++-- 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 | 44 +++++++++--- 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, 590 insertions(+), 416 deletions(-) -- 2.19.1