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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B2F6C433EF for ; Thu, 11 Nov 2021 12:10:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 690F761261 for ; Thu, 11 Nov 2021 12:10:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232855AbhKKMNq (ORCPT ); Thu, 11 Nov 2021 07:13:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230358AbhKKMNm (ORCPT ); Thu, 11 Nov 2021 07:13:42 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C10FC061766 for ; Thu, 11 Nov 2021 04:10:53 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id 13so11469968ljj.11 for ; Thu, 11 Nov 2021 04:10:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=mVYKVIklyAhOeKYt/Djeg3160H0V9y1eVTKBm55rYr4=; b=k3q5rOXFghTofEhfgNFZGn72Byg4WZL2YMlU6dcRFOH29E5OyE3PdQ0M6W1RFKUZOo xWLww/RlEIby7RDSU/5H1KWl8+vtnxd3rGXQuU7T9UFtiSvVGWGc+A6OvPxp/+Dur9nC WCYs48v2xKH3SjEsyiCmAWgKUXDHVfWfANcRXrumWUOEog/P6Pk3OOq7WbLCW19a9kvj D3kj2DPxIf4BhHrVZUi4xJr3HwXqdMkp/uRl49atKJ3KliyTwzqIFbLpIyjpa3BlHDvh 6u+oL8zRKeXi7mKqlrBnXuxsNs4/IsJtkwrWRm3vGSBd61HiKtOyWYqSeZIXeMPPKTWL jwyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=mVYKVIklyAhOeKYt/Djeg3160H0V9y1eVTKBm55rYr4=; b=6o1F1nZlOabAQkp4ejc2zRVfCjduQMtswA5TjdRfleG2H8b70GF6s7uSVpZO1Ttq6M WNOaM1Uyu206bsojkV3Nc0Q7oKxdlGdbKIerb49jr4mpNWS02isrL7dQfOmlsLrKf35m rNGLEqwD7R+O3nTsZCfJOvErRi+tBEafN6WXAgJg50BDfd8jyBScdnGvhPhsQZjOeqop KgErXEdzWVCFtnTZvQKxmTzFrKihdaxOXJIq4pIW0x7UR8SpSoN17CMiCFwv/rkzwudX 3gfvU7UMaorhn2WcQlN1+wf3vpNLNctcjhe96nZo41iqMYjczoByXNvB+MPLt54EJPDy kLtA== X-Gm-Message-State: AOAM530bQrzu17TXuuk9mnGEkTg21xgxgX6NAs6hBx+PSRpMTQgrdc/1 SWgqIubEWY1fN8goCpczoPVCALBhlX/XeL6mJYLtUA== X-Google-Smtp-Source: ABdhPJxou4aoi7oS5hpR0rqworoRVynrLUveORbssI5/aUrXcszt6Nh4XLnfTXeqZb8oc5ikkuX0GL8UbFkNhyUb6/o= X-Received: by 2002:a05:651c:10b1:: with SMTP id k17mr6595483ljn.463.1636632651450; Thu, 11 Nov 2021 04:10:51 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ulf Hansson Date: Thu, 11 Nov 2021 13:10:15 +0100 Message-ID: Subject: Re: [PATCH v2 0/6] mmc: core: extend mmc_fixup_device and transplant ti,wl1251 quirks from to be retired omap_hsmmc To: "H. Nikolaus Schaller" Cc: =?UTF-8?B?SsOpcsO0bWUgUG91aWxsZXI=?= , Avri Altman , Shawn Lin , Linus Walleij , Tony Lindgren , Bean Huo , Kiwoong Kim , Tian Tao , Andreas Kemnade , Yang Li , notasas@gmail.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-omap@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 10 Nov 2021 at 18:17, H. Nikolaus Schaller wrot= e: > > PATCH V2 2021-11-10 18:17:11: > * remove setting card->ocr =3D 0x80 because it is no longer needed (by H.= Nikolaus Schaller ) > * include patch "mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDI= O" by Ulf Hansson > > PATCH V1 2021-11-09 11:59:08: > * merge call of mmc_fixup_device for sdio into other commit (suggested by= Ulf Hansson ) > * do not call mmc_fixup_device(card, sdio_card_init_methods) for mmc and = sd interfaces, just sdio (suggested by Ulf Hansson = ) > * do not use a matching list but a single string constant (suggested by U= lf Hansson ) > * switched to "[PATCH v1]" (suggested by Ulf Hansson ) > > RFC V4 2021-11-05 10:05:51: > * remove const from char *const * (Ulf Hansson ) > * use for_each_child_of_node() to scan compatible children (Ulf Hansson <= ulf.hansson@linaro.org>) > (see: https://lore.kernel.org/lkml/CAPDyKFpr0kpRXoUACNNSwe8pL1S9wJPjnX+GF= GS1PNezKCDYzQ@mail.gmail.com/) > > 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 (3): > mmc: core: provide macro and table to match the device tree to apply > quirks > mmc: core: transplant ti,wl1251 quirks from to be retired omap_hsmmc > mmc: host: omap_hsmmc: revert special init for wl1251 > > J=C3=A9r=C3=B4me Pouiller (2): > mmc: core: rewrite mmc_fixup_device() > mmc: core: allow to match the device tree to apply quirks > > Ulf Hansson (1): > mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO > > drivers/mmc/core/card.h | 36 ++++++++++++++++++++ > drivers/mmc/core/quirks.h | 64 +++++++++++++++++++++++++---------- > drivers/mmc/core/sdio.c | 5 ++- > drivers/mmc/host/omap_hsmmc.c | 36 -------------------- > 4 files changed, 87 insertions(+), 54 deletions(-) > This looks good to me, I will queue it up as soon as rc1 is out, thanks! Kind regards Uffe