Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp425097pxh; Tue, 9 Nov 2021 12:57:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4kfVoifLlOQCPBsgD9O1TajmlrKFDc6kkUYYoASjuzXUvCkHfDN+nPBs51KlJ3g0TFGL/ X-Received: by 2002:a92:360c:: with SMTP id d12mr7721312ila.172.1636491461134; Tue, 09 Nov 2021 12:57:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636491461; cv=none; d=google.com; s=arc-20160816; b=Jciu8Lpt5CS7AKErboNojNXUGvPBDllbHzj1JU28eYPcNKg/hAXNv77QxWcjzx97a2 /LrZDCIBVChczDnll1dLKgKhyYKoF38JyAdsKC/5y43OXR3tiCzTv5UNawrD06ZU35dL mbUakCH4LSHVCuDu0QKeyrYgAp6iuc2xosDSpe2f8XkROLyuDM2+0CEu2VBTAgZwmAn3 8VbyKujIA7qxATbJtUMbdR2WeuBQA+y/bLo6LHD5vCi/Vqd/pnJnQSGIbcKBTh+Ozi7V m3msK3/ij9hsuUFoKRApUctepFgBzmhTQVHvRBLVKR6l6PECBpmROmRJJwdX3lkrKVod Nnuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=81oSrvuxBM/j7gpiOLY81PcqBRup1M3UbsvvPZ2iPus=; b=sm4UchxrTqRkrP9eW/cdKug5bbXdB12ySvfbFNUwDfmwTQcjfFVp5V9WJVeyImz80q tqUQjKHrnqYa/gagFmkw/7AIgBnv4L2dL700Daq0oHVputmDfxp38VUlY7CVjJ8R2TF6 nTELhBbsnwhHm8kwfOHxOQRAIGAvW2kMwssu3ieldMyxUSfoKglfwrBOwZClv/ZOxT2n SotCTM/G+W6Boo+LKdN6ejGOIEndlEPqWKCSkftrZqqL2VWN7p8AHCVG5m3qRVlrcwMM k7NsqTKfRJn6MyLTru1fw9PCcqpKUwbOanRvrel+KEucQGJT0ZpOruYH6ap1PW10qRbB zuZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WHzNM7y8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u14si27880546ilg.6.2021.11.09.12.57.24; Tue, 09 Nov 2021 12:57:41 -0800 (PST) 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=@linaro.org header.s=google header.b=WHzNM7y8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245685AbhKILW1 (ORCPT + 99 others); Tue, 9 Nov 2021 06:22:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245678AbhKILW0 (ORCPT ); Tue, 9 Nov 2021 06:22:26 -0500 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91BE4C061766 for ; Tue, 9 Nov 2021 03:19:40 -0800 (PST) Received: by mail-ot1-x333.google.com with SMTP id x19-20020a9d7053000000b0055c8b39420bso9738491otj.1 for ; Tue, 09 Nov 2021 03:19:40 -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; bh=81oSrvuxBM/j7gpiOLY81PcqBRup1M3UbsvvPZ2iPus=; b=WHzNM7y8f9g7e8SVkE7MzIw0Sw8i4/Pjgh+2C5ZPjqI+1ZlC49KJuMM5uD/IScW8u0 2fKiYTzn1/kcpn9Ms1rCUp2/6aVPVUzL86l6Qy5cq7ZaD7DlDbbFHT7TGIxQoYBaHGkr XbOmOEKRkTTFulZLwKv+DY3zff/kZ1papnm+IqqcmLC1brP0oxNTC9RGqsOlPqwwINDW cvwf7ZwTCTQ+kxkuKPEGGyHh6db+m5+p8wCB2mrlw+ArWBBXA9iGAeYSdf+UvF9Yvput 5S1365/x1N2xqlQ7ZG98o3YTbxZjtdqBEYNidzvPJhMRZj5+5idyQNXrmv96xPskeNMa KodA== 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; bh=81oSrvuxBM/j7gpiOLY81PcqBRup1M3UbsvvPZ2iPus=; b=oQgYks4GC3GSL5Ru46ZRHB8KAOYU14ZzLbnbrUWzdM+k2+poWv46YXC6zKpsTRU3VP NmNwVKu6AIaUo9NmASmjBEBv8F8QEvvwEMygw5Lx9nVnmIB2VPUNCtAV/9N4kbVZKI5F pVRdpUNSFUMrgBAJAMYbcqwjIZAV/r3+LyrryUS2Mnmf46Atzg32bHi0QNpwj+WISnRe kgsjkfBUTNc043VMc4OaszU0ihiuboIuBnWpUGHVQLn0hzRjnUIKj8gknZ8nTb20bvzu j5BQjL3e34fzKETMgXdWy5ABnpUahMWHkhNQCA1RvXghfgXBybg7KncRoG5aIBuVOA2j hTWQ== X-Gm-Message-State: AOAM533anMR70Ck1RgYhwc/eObDszqKHDLRAIHJlZxluIoi4Or3mWGo1 hKxxlLuTYiin+W2T2JqY0se6Dxh8ZtDDq1E+9p38vg== X-Received: by 2002:a9d:6348:: with SMTP id y8mr5318661otk.179.1636456779951; Tue, 09 Nov 2021 03:19:39 -0800 (PST) MIME-Version: 1.0 References: <90a75a0be2d8e05066765ede1db7a19f9f4d095a.1635944413.git.hns@goldelico.com> In-Reply-To: <90a75a0be2d8e05066765ede1db7a19f9f4d095a.1635944413.git.hns@goldelico.com> From: Linus Walleij Date: Tue, 9 Nov 2021 12:19:28 +0100 Message-ID: Subject: Re: [RFC v3 5/6] mmc: core: transplant ti,wl1251 quirks from to be retired omap_hsmmc To: "H. Nikolaus Schaller" Cc: Ulf Hansson , =?UTF-8?B?SsOpcsO0bWUgUG91aWxsZXI=?= , Avri Altman , Shawn Lin , Tony Lindgren , Bean Huo , notasas@gmail.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 3, 2021 at 2:01 PM H. Nikolaus Schaller wrote: > The TiWi WL1251 WiFi chip needs special setup of the sdio > interface before it can be probed. > > So far, this is done in omap_hsmmc_init_card() in omap_hsmmc.c > which makes it useable only if connected to omap devices > which use the omap_hsmmc. The OpenPandora is the most promient > example. > > There are plans to switch to a newer sdhci-omap driver and > retire omap_hsmmc. Hence this quirk must be reworked or moved > somewhere else. Ideally to some location that is not dependent > on the specific SoC mmc host driver. > > This is achieved by the new mmc_fixup_device() option introduced > by ("mmc: allow to match the device tree to apply quirks") to match > through device tree compatible string. > > This quirk will be called early right after where host->ops->init_card() > and thus omap_hsmmc_init_card() was previously called. > > Signed-off-by: H. Nikolaus Schaller Reviewed-by: Linus Walleij Yours, Linus Walleij