Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp476175pxh; Tue, 9 Nov 2021 13:51:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqdM/on7XkDFFILJucBXgAB5VnJ1650E9jQrWS+SiXoe3eMgYFqW8/9MfB802HMQ7v9sA6 X-Received: by 2002:a5d:81c7:: with SMTP id t7mr7549583iol.65.1636494660934; Tue, 09 Nov 2021 13:51:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636494660; cv=none; d=google.com; s=arc-20160816; b=dpPWaedHl+b75HgobHYrjRVpN0MjgVG8ZofsEKq1PJygt9MO8G4+HKp9EtmtLc8YY4 FyNhccGRSACeGCjIGoPBoDQNlOGUxFbf5O2okNGlfNWsiej0+hYDKYwMtboYpduo+HHl 9a4fRxGON5LQskCm3f9FQXO/Flzj3woSu4Ewh1T9DpyzUI2eWEuaSvYJhJqoL/13GB/O KPUBQUCcXKJI5U3jUoMTdc43QESiuJUcwJ7QPBHx+rc4vUHXU81q4NjiKhNXQgLL/Bnu TMyirva8hfWYqOIyUOFHcjVcqnqJo2+Ja/5S+71YQcx3wuluEBcBueeoKqGpNGiwKsyE 2ZrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=LvjhM+ndLmfanYgG/PDDwKh3dxV8bwuerw60vON1ncM=; b=lWsFLRxlZyiwDIgcH1dDsN4/hR2a82BGLq3yE+AzlUSkx84YeTbWWNYFKwXOX/tNV7 kkFWPZJxa/lxKVyNahT+ACRdTtzieep+7By2d2XHaIy56RkB1AZIBFfbfV9z91wLfNI/ h7GYhidUZfIZZPefZeK7hdTVKcW4HdFD1sJdexRhDilwf0Z1UqoQk/yeGhOhA3zN4hlV eO51HYLR6O3H6e2h7Ke5urZa5QfEY8m6pRBBxNqk9MplSRzwqVShdm+oWpNN8hdUCva1 uY2EGes1AOqSijGCZoJvuajz5tHQsv/G2k5Va+z6gUeaNP+UBvs9gy2cnHl4ie0kfYrF saZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s1yhnm0H; 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 u1si31025709jad.85.2021.11.09.13.50.40; Tue, 09 Nov 2021 13:51:00 -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=s1yhnm0H; 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 S241983AbhKILTl (ORCPT + 99 others); Tue, 9 Nov 2021 06:19:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239868AbhKILTj (ORCPT ); Tue, 9 Nov 2021 06:19:39 -0500 Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CA85C061766 for ; Tue, 9 Nov 2021 03:16:53 -0800 (PST) Received: by mail-ot1-x32c.google.com with SMTP id q33-20020a056830442100b0055abeab1e9aso30335560otv.7 for ; Tue, 09 Nov 2021 03:16: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=LvjhM+ndLmfanYgG/PDDwKh3dxV8bwuerw60vON1ncM=; b=s1yhnm0HwPkgIjtw26RqFj2IuUGpaWBoCbVm1K6AQrmQmqmSlUe/IoSKKeeprv8l0z IqGq+k4qdpb8L0fjjKBfG5aKtdhYAHClomeAaMaxv7rfN/VkdEolXynJyME/zu069O7r LshaCL3swso5UT5Ii5GeD2cMgxm7Pn4HG0s3qea18HPjnHn3JEPfCk55W98/Jrj2uPVq UgXyUtCqskdjANCkd1ZiJv0okooaAVFEN9tLwhVM3j8rFcOqVmWL8CV7p6abFW7aBbkr qhz7J1J5yjadWsjeY3MxXaG1pt0i3+NWLACl13Knv8H8H7K4HIr5cWOcBQZZbv5fVV4m f6cQ== 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=LvjhM+ndLmfanYgG/PDDwKh3dxV8bwuerw60vON1ncM=; b=bxtii3DVHWNYAY2i4p6o8VLaAV7AoVeMNetS5sDYX1r7Dt8TGzVwxx8PQPYmKrPSFW enrYCJKbNw+VxJ5Wtu6pdnlkJ5gaPEdCJBfD1zknWWTp9H+g2F1/fdIFvTOznLF9j7ke YGEmCRBaip7zyWfJoi0BWzhtxGlmLroA2ZSRI7JUQ0YcPiOASqVf2r/GFZJ5aMg6OvtJ sXIpx5vjWoXH66fbdSnLsgpuQBBRqq7E6kKz+wAvXJKQN3ZE8nUjOCJ8A8ZrCiQCQoVe vEwTXa1twptckDIgTBzjkFO6vQ2HTbFWg7k8tU4PobNEBtBbUEwcAhQwTVWa/NJFVMXv crSQ== X-Gm-Message-State: AOAM530NtMkQMaz9V2KhQ19qFuEluOa6WiJsIgUhguu+fqX6crr7gKQw pyrcRpRA30lwUSVP0Yz0s29QKQ+zRqkGIMENxq43uw== X-Received: by 2002:a9d:6348:: with SMTP id y8mr5304087otk.179.1636456612500; Tue, 09 Nov 2021 03:16:52 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Tue, 9 Nov 2021 12:16:41 +0100 Message-ID: Subject: Re: [RFC v3 2/6] mmc: core: allow to match the device tree to apply quirks 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" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 3, 2021 at 2:01 PM H. Nikolaus Schaller wro= te: > From: J=C3=A9r=C3=B4me Pouiller > > MMC subsystem provides a way to apply quirks when a device match some > properties (VID, PID, etc...) Unfortunately, some SDIO devices does not > comply with the SDIO specification and does not provide reliable VID/PID > (eg. Silabs WF200). > > So, the drivers for these devices rely on device tree to identify the > device. > > This patch allows the MMC to also rely on the device tree to apply a > quirk. > > Signed-off-by: J=C3=A9r=C3=B4me Pouiller Looks like the right solution. Reviewed-by: Linus Walleij Yours, Linus Walleij