Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3411861imw; Mon, 11 Jul 2022 08:10:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vZ2IT2ZNZvXmAA2rtpKF8t0+jB5oVzkREFRq3edlTqMF0WSxY8mIp4HmfKQBuibbFlmwwI X-Received: by 2002:a17:90b:384d:b0:1f0:2b57:5648 with SMTP id nl13-20020a17090b384d00b001f02b575648mr10019790pjb.125.1657552223860; Mon, 11 Jul 2022 08:10:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657552223; cv=none; d=google.com; s=arc-20160816; b=BiSF+W+XWOLi2ZMFK0nJuwgITlLoWjBpm/wwMci1Prah7CYgFtWcLXQSvwGsATvtPE JXK42/YwSVp1NNTJcCmCBvb/gDO9mypdShvWnDXfdTyGuQx/I6R4wmfTWonK6cSnVgmm IXDa9O1wryeMTniOvXH2PoMbk8k0H3zHhW3pXqTAXinzeRYznf5GJhWHctvFwvxRl5AC vauJqRaEaW3z50PRUnXY8ZN4ndviz53rjKz/3ktbdbWG0/rv9ewAP1ld46MmES7vaAFV sT4HudDhR8JRL7HQNlMW9qCN4sYl0L978FK9WHyU1rwKKb0DE+1bmc81S0aMlM7/dlBB gTyw== 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=tjJyUrv/9KeAF4uwLYY03FcyF3s57OWw5tLe/ipLqOA=; b=YaZTu4bhswNqzY7m2tlybJCPECsbt+Ug5INY3aE0m5MgdHsj6JEJ9mNXWwixNczwNU bVUZKjdpyAzJYAn+Bb2J4wiZKME9WEWbHiG6yL0g6cP9aukXgpb01wcSv/9t4bJXIps/ mqRsDXPBY4dYcT3L2ZPr+eCaYVyfhVuq+oWymzCZGWTiVVj1qHm04q7+elRnFWtgGVOR v/cAt7GYIPOHvDzfYNA1F6n2VSuy9jK3g8iMGYKZZe2IJXvTTX3co32olmjaaM8DtF7d 5SjQvLbQ49/LKRsZWDCbUWeGo+nSPPel01gLUEbnvkSq/SnT3vjvmaIVLwgXwi8dUlBp m3hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZgMqfivM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c21-20020a631c55000000b0040df75e9e43si5357196pgm.408.2022.07.11.08.10.04; Mon, 11 Jul 2022 08:10:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZgMqfivM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232086AbiGKPJW (ORCPT + 99 others); Mon, 11 Jul 2022 11:09:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232135AbiGKPJO (ORCPT ); Mon, 11 Jul 2022 11:09:14 -0400 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2EA025EAA for ; Mon, 11 Jul 2022 08:09:11 -0700 (PDT) Received: by mail-io1-xd2b.google.com with SMTP id u6so5002773iop.5 for ; Mon, 11 Jul 2022 08:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tjJyUrv/9KeAF4uwLYY03FcyF3s57OWw5tLe/ipLqOA=; b=ZgMqfivM/ulF9/76btxe6b02wCo/5qZWqIUWWwrSRzFcU6xI4UUMRgLgzZTgQ3xOTl TAxvsLCJ4AcY5KWdYyxsWoVb/zmhDp2kgVRPbcEkOuOdCuaN9d+7NKwAXlKE6XN9djX9 qRu82BLQgsvTR6iC/z53I4Jf9lk4h6s6vL0fM= 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=tjJyUrv/9KeAF4uwLYY03FcyF3s57OWw5tLe/ipLqOA=; b=jmH1rZjhXrV8laHW0XKlfBTdXUGG6pD/6I8D0xEf+qQAuFfqFRFtGiJv13ELzVVhSv XabvRhHnj4oqU0tRJfSRAdcRQK2X16lvib8kUeeSxCc2E4fpSJf39EewwYO9SaVYbctO YU81hvoVbEdBwH1fR3t/Rzlk35Z7lHP4U1CLz6Er4+pRbBcsUc4nzv50f+PMAN++u1jw HX1wvdfKFW+J1hC2EjWYPZi3LNw2NIh0bef/XbiHOEyiuDgFFv82qLS2Sg33swbCHvCi WJdBKfjNjMKGm1PJywqrEYOS72dKYaDaQr4f2s6ul8ppXbNtoTsz/yaUeEtcibtjPNoR yJig== X-Gm-Message-State: AJIora/zpNkocsCEPoRIWuWViTBR6wxYfDn77Bxc3bDzMdaAggz1yg3J xPWVJ6wZlUH033j3tdthQDtONm3XlULNNB1wawE= X-Received: by 2002:a02:9044:0:b0:33f:3845:3ea0 with SMTP id y4-20020a029044000000b0033f38453ea0mr8631170jaf.176.1657552150893; Mon, 11 Jul 2022 08:09:10 -0700 (PDT) Received: from mail-il1-f175.google.com (mail-il1-f175.google.com. [209.85.166.175]) by smtp.gmail.com with ESMTPSA id s22-20020a02b156000000b00339db3266c7sm3008235jah.124.2022.07.11.08.09.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Jul 2022 08:09:09 -0700 (PDT) Received: by mail-il1-f175.google.com with SMTP id z3so3173529ilz.5 for ; Mon, 11 Jul 2022 08:09:09 -0700 (PDT) X-Received: by 2002:a05:6e02:174a:b0:2dc:7bc5:f810 with SMTP id y10-20020a056e02174a00b002dc7bc5f810mr3279673ill.254.1657552149101; Mon, 11 Jul 2022 08:09:09 -0700 (PDT) MIME-Version: 1.0 References: <20220711082709.39102-1-krzysztof.kozlowski@linaro.org> <20220711082709.39102-2-krzysztof.kozlowski@linaro.org> In-Reply-To: <20220711082709.39102-2-krzysztof.kozlowski@linaro.org> From: Doug Anderson Date: Mon, 11 Jul 2022 08:08:53 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/3] mmc: sdhci-msm: add MSM8998 SDCC specific compatible To: Krzysztof Kozlowski Cc: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Adrian Hunter , Bhupesh Sharma , Linux MMC List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , linux-arm-msm Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Jul 11, 2022 at 1:27 AM Krzysztof Kozlowski wrote: > > Add a MSM8998-specific SDCC compatible, because using only a generic > qcom,sdhci-msm-v4 fallback is deprecated. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/mmc/host/sdhci-msm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c > index e395411fb6fd..bb169c1c2b5e 100644 > --- a/drivers/mmc/host/sdhci-msm.c > +++ b/drivers/mmc/host/sdhci-msm.c > @@ -2447,6 +2447,7 @@ static const struct of_device_id sdhci_msm_dt_match[] = { > {.compatible = "qcom,msm8992-sdhci", .data = &sdhci_msm_mci_var}, > {.compatible = "qcom,msm8994-sdhci", .data = &sdhci_msm_mci_var}, > {.compatible = "qcom,msm8996-sdhci", .data = &sdhci_msm_mci_var}, > + {.compatible = "qcom,msm8998-sdhci", .data = &sdhci_msm_mci_var}, FWIW I'm _against_ this change. In my mind while it is correct to specify both the specific and generic compatible string in the device tree, the driver itself should rely on just the generic compatible string until there is a reason to use the specific one (like we needed to for sdm845 and sc7180). I think I pointed that out before, but somehow all of the specific device tree strings have snuck their way into the driver without me paying attention. :( -Doug