From patchwork Wed Nov 24 18:45:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Keeping X-Patchwork-Id: 12693571 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 87EC3C433EF for ; Wed, 24 Nov 2021 18:48:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=yGMnz5McHJEuxDOrltE6Hb5DvagBnzcCyBeLiGmvX+Y=; b=ltbrm25YG2ty98 UPTp+C6rQcmjTgWT4TuPkU2LN9jwLr7KN7RWW1x/cn6X5ojRm3cKVKiiIdMIVrtfJZr9L6Zy/j3Wl JGHSGXag7Qi6/+eILVHxmJpFTWmVEDDL/DQt47K0EdpJoMW37MsS+YY0sM2us7vrTxjcIzlfGxesn F+6jlTYsVoXHxGqlOzYU+F+CiEBLxNYZYjh9VOEIIhS721znH9PxLvehK1GSlG/qXRJdKa5CG8ijF 36B2+D1oFZ8N2Sl3xvxTl8chLurRMUN7taRhVYEoys5DnmlgCJKlGfcBqk+P9BiGSQYbNMDMWPU6I khiMpfJILAzoYkwytV5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpxIf-005XSq-W3; Wed, 24 Nov 2021 18:47:22 +0000 Received: from [2001:8b0:1628:5005::111] (helo=metanate.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpxHc-005Wzk-Sc; Wed, 24 Nov 2021 18:46:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=metanate.com; s=stronger; h=Content-Transfer-Encoding:Message-Id:Date: Subject:Cc:To:From:Content-Type:Reply-To:Content-ID:Content-Description: In-Reply-To:References; bh=xdJhRT8gHwOG2GAHSWsFdaRNgcw78JPzju2JYRuISc4=; b=5C vNWud1YX5zuJYO41GAoZePSVD0hBMY66VLiNR/FufOmli/Yd6lpBGHYlZVV/XRy5JEkJku/r/uQLJ GOLtb8KunPQ8wzsSaSEAKkMgObUhQTxqoOZ0oLNhhwIKMj3AMCNiks0i+5bjzxRy3iv91OZl7MUEO 52qxgoJMOZNxo1xPpI7Zp3grW/zUPonyfU7ZZgUJDLoNo3l9IiBIyNUB2oXBO7YFMzO4Spy9Hf+24 U1PgLEFN13nYo53f1PvjzXtAm8F8gC4Yjb2YTJMyo05i8k6HY0bikZyN5SbGmR9UycZYfITHfv0E1 PVmL7qQXwIpMJ7Y9UTPVH0TholPkJdkA==; Received: from [81.174.171.191] (helo=donbot.metanate.com) by email.metanate.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mpxHU-00007s-C6; Wed, 24 Nov 2021 18:46:08 +0000 From: John Keeping To: linux-mmc@vger.kernel.org Cc: John Keeping , Heiko Stuebner , Jaehoon Chung , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Ulf Hansson Subject: [PATCH 0/4] mmc: dw_mmc: start deprecating mshcN aliases Date: Wed, 24 Nov 2021 18:45:58 +0000 Message-Id: <20211124184603.3897245-1-john@metanate.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-Authenticated: YES X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211124_104617_019622_085B9648 X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series is prompted by discussion on a previous patch set [1] but is a totally different approach and only a partial solution. With these patches, the dependency on the mshcN alias is totally removed from dw_mmc-hi3798cv200 and dw_mmc-rockchip and dw_mmc-exynos moves towards being able to consider the mshcN aliases deprecated. I haven't changed dw_mci_hi6220_caps here, although it looks like it's possible to apply MMC_CAP_CMD23 to all controllers there with no change in behaviour as the final entry is SDIO for which CMD23 is not applicable IIUC. But I'm not familiar with that hardware and don't feel confident making that change. [1] https://lore.kernel.org/all/20211116190244.1417591-1-john@metanate.com/ John Keeping (4): mmc: dw_mmc: add common capabilities to replace caps mmc: dw_mmc: hi3798cv200: use common_caps mmc: dw_mmc: rockchip: use common_caps mmc: dw_mmc: exynos: use common_caps drivers/mmc/host/dw_mmc-exynos.c | 9 +++++---- drivers/mmc/host/dw_mmc-hi3798cv200.c | 9 +-------- drivers/mmc/host/dw_mmc-rockchip.c | 11 +---------- drivers/mmc/host/dw_mmc.c | 3 +++ drivers/mmc/host/dw_mmc.h | 3 +++ 5 files changed, 13 insertions(+), 22 deletions(-) Tested-by: Nicolas Frattaroli