Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp390996pxb; Wed, 3 Nov 2021 06:03:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLtdCXzmSY7ZkNYnbchthlvnhIH0ZdDumL3GnBQJyd/69rYhK8WfoU/vH/0G9FYjShJUVC X-Received: by 2002:a17:907:3e11:: with SMTP id hp17mr16867203ejc.243.1635944594516; Wed, 03 Nov 2021 06:03:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635944594; cv=none; d=google.com; s=arc-20160816; b=XBBcaRCE+H1+nJ1exQKAH37Ne0wUBGscIl4wUy3njo3xMeVJ/DbtkFAbK0PQpufufM njMQ2EgqTvCl6rvYc7/t74zCYMNFiChK34NClhdNZPi3zcUfqPT5B38nbTWlKKafuavf 1w9Gh//IaWDIsijK3sGCMsMhZWLxUSnI0NVHhrlv4PqYoLzX2RKyPgDeK0H9lQaDT1/2 PSV4k7Co/ABzYi/qnxb0/yNJCWpZXd1CqIMfFIVlm6jFXjwl2wcfejH7e4GRUVbX1AlU XMTow52FZLv68vXC94Y+bJfJ0gCyMn3q/5raMd8QH00FN1lHhU0Mzghwq40TE2FU1eh9 i4dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mAhcM7qlQhV+zsJUgsi5MqKZxixjHLQqGyoVSaOR4WA=; b=yHVnT6oiyGyeZD04tCU3/k5GwRxYg5mBM4lc9IeHVcndgEshTxvKGGyMjpwaWODRwF 5uVyAwqo7hO11Z+y9OgdQ/t/EPA74S5OAeQ+8WZnJ5J34qckm517IvZZrfcGxyapx54e atWeuTriLmD/uM4Ey/bGtOltwnvBL98uVp08DXT1wWIWjxJCC8/mCvczvLFNHCAuviz1 05Rbr5RSxIHXw+7EwKC/1bn2hhibABInuT/VNliG1wVfEa403al9jQhI3y+VV4ADBFk8 NZYsZJDNdCdM9Sol0GeiCIXQnWbWVs281PjGdr4EMkEMOdtqurwrmPgLdZ5FipZD5jF3 IbmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=mFGC93xF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds3si4838966ejc.113.2021.11.03.06.02.49; Wed, 03 Nov 2021 06:03:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=mFGC93xF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230435AbhKCND3 (ORCPT + 99 others); Wed, 3 Nov 2021 09:03:29 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.51]:34010 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230152AbhKCND2 (ORCPT ); Wed, 3 Nov 2021 09:03:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1635944419; s=strato-dkim-0002; d=goldelico.com; h=Message-Id:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=mAhcM7qlQhV+zsJUgsi5MqKZxixjHLQqGyoVSaOR4WA=; b=mFGC93xFn007IUPTB+Of4os9W1giMJJSxt+UwfFGfnxN7e6Au1M+2+KnQRjcHC03vY EYpx9MWXTcTFnhnNsPeKdstKX3j2R5Ybyh98db9dRCzwXanDDjLIX709fKxOQioqEd6t KvQbP3/7+/wLSENYEy9/gbld2Em1QvrCK2bB3P3ewQr5/W8pdeay6508pe0uUr6O98f6 r0P61LIxrpflTLQypczOqLxiT2CUxHouiZnx673Wh3m0ndxLW2cFggNL2WADL/7VV8d0 LYKpT39Ojdne4pUFzN6x5rrzSGH8kSM/l1td8GIaYVrxf0SWypsIocH0EN467AL821Fd CwfQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1OAA2UMf2MwPVbgc7na" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 47.34.1 DYNA|AUTH) with ESMTPSA id 902c63xA3D0F0EW (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 3 Nov 2021 14:00:15 +0100 (CET) From: "H. Nikolaus Schaller" To: Ulf Hansson , =?UTF-8?q?J=C3=A9r=C3=B4me=20Pouiller?= , Avri Altman , Shawn Lin , Linus Walleij , Tony Lindgren , Bean Huo Cc: notasas@gmail.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com, "H. Nikolaus Schaller" Subject: [RFC v3 0/6] mmc: core: extend mmc_fixup_device and transplant ti,wl1251 quirks from to be retired omap_hsmmc Date: Wed, 3 Nov 2021 14:00:08 +0100 Message-Id: X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RFC V3 2021-11-03 14:00:13: * patches have been split into smaller ones a little further * propose a new macro for setup of device tree compatible quirks * directly include patches by jerome.pouiller@silabs.com in this series RFC V2 2021-11-01 10:24:26: * reworked to not misuse mmc_select_card() but add a call to mmc_fixup_device() right after where host->ops->init_card was called before to apply the wl1251 specific quirks. Device tree matching is done by a new table passed to mmc_fixup_device(). suggested by: ulf.hansson@linaro.org based on patches by: jerome.pouiller@silabs.com RFC V1 2021-10-06 13:24:13: H. Nikolaus Schaller (4): mmc: core: provide macro and table to match the device tree to apply quirks mmc: core: add new calls to mmc_fixup_device(sdio_card_init_methods) mmc: core: transplant ti,wl1251 quirks from to be retired omap_hsmmc mmc: host: omap_hsmmc: revert special init for wl1251 Jérôme Pouiller (2): mmc: core: rewrite mmc_fixup_device() mmc: core: allow to match the device tree to apply quirks drivers/mmc/core/card.h | 37 ++++++++++++++++++ drivers/mmc/core/mmc.c | 1 + drivers/mmc/core/quirks.h | 70 ++++++++++++++++++++++++++--------- drivers/mmc/core/sd.c | 2 + drivers/mmc/core/sdio.c | 1 + drivers/mmc/host/omap_hsmmc.c | 36 ------------------ 6 files changed, 94 insertions(+), 53 deletions(-) -- 2.33.0