Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4051477imw; Tue, 12 Jul 2022 00:07:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vm7vsosvj19fuS1i+B6+f099EYG30V0XayX3MuqgSof9nXvdA+dVgPPJLZFcJDtCmnq1E2 X-Received: by 2002:a17:903:1111:b0:16a:acf4:e951 with SMTP id n17-20020a170903111100b0016aacf4e951mr22319390plh.72.1657609639470; Tue, 12 Jul 2022 00:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657609639; cv=none; d=google.com; s=arc-20160816; b=t97Rq6HxVr2eDnljsHoW4SDmXkuYqGAMAFpEXV4fFL1GPUyc55ZSlRLRTm0Jau+3Uo W3S3KR9KQDkG5xg7oMHqL03iglsNqaA4xMHDSHQLHwvIwcZ8Kf775ANqvehYWK6Fn6WD Do1ft/kYn4CxRfQ/Hh/ozj9rG0IjOPs61lAJUXxHsP50ewhOcCoGAayq2yawKwG35zk3 hNMxANDnnUqeN3wNd01ZAqx5hm8OHYUOghzUnl063n9h+EG3BfuAu18v8s6bNBHIDEvU hXFeyzfk/CeZqrQ0qS/b00UijhDcquZUwtaTxgRJVatTZFQuJsasPfVGmjYBEYwvXC2V bH2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=jMuRcrjE7BdyitlsbzjBTLs0XHaQgX+9YW3636oyPpA=; b=l2GKwlz3eSbsTvZd5i928R/vg6VyZxjEImESqASiGgr3yOV1kcLy5WB1Mj7fhVwVgu 5iqjbEFVd0aM2KlHsE/0L8h4SQsI8eZIqfk74ixQedoSicK496rBEiFAoUUrOFB/ipDO Wid1qxHM9HKEpQzf5DQIO5BhBBPGKrK3cv8nrDRy8jZwRBqdeYh0dEdmzFgEVDpKz1AJ PNSlJHllB+0jQ2Vl6U53YMeOWOACgsEgcGoSgkJ9tncjPHsym15sBjBzZ+6oeUOtQP2J Wkp4MVdaSbQurv0EyjeetSJwpJPo89kHSZLFYiFegFST2Nhv3QqNpOESdBDCjv32nmMj VWaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rGaxi11F; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bj9-20020a170902850900b001659bb37e19si12099293plb.231.2022.07.12.00.07.07; Tue, 12 Jul 2022 00:07:19 -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=@linaro.org header.s=google header.b=rGaxi11F; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232069AbiGLGrV (ORCPT + 99 others); Tue, 12 Jul 2022 02:47:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232054AbiGLGrT (ORCPT ); Tue, 12 Jul 2022 02:47:19 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 975DE4B0DE for ; Mon, 11 Jul 2022 23:47:15 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id t1so8804713lft.8 for ; Mon, 11 Jul 2022 23:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=jMuRcrjE7BdyitlsbzjBTLs0XHaQgX+9YW3636oyPpA=; b=rGaxi11FZcV17/AmY/XXSQakC2aoNyn09A4wYTzxBLTuUk6SH4pZMO4LLGabGqoVxa 3SlJ8hsmjq+OoPUJAjPO6JjfoOrfsi79JwY2UcDs3q66EL/LH2EnRqgfn1Zg/jK1cB9i ckRieC3iYDCruJaoCbuIw3bmoEIFDFa0G+Y6s5luIaB0mMHEPXr4KJd7Rcsagz+4LmEk q/PeUa1vCV/uHj98uvIJCx2+t7FnkzXQdrzAZtJu1TQCODz4TlBshN5xUfHApQuG4o5f UYuOFsFb/QqURLQpMP7sjKwA2ZFJFkC9WPyS5n/4QwblS5WfJV2FmUyAcVgE9vIM86fV uR+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=jMuRcrjE7BdyitlsbzjBTLs0XHaQgX+9YW3636oyPpA=; b=sjySf2nMrrI5Z4EOaM7JqsLFss8It51s7D8hr6nSRAzF5P10GhZmY+VbhjM4Ikc5Ac 6InixA66ZVSPFUL6qzSfx9GOQCgSyinUcl5o/sUWKZhCrvq8C1XJKElXcm2VpBDym82I 7S7kz8pP0xgIwrwQqkALFRhTYcl0AiijhEYPUW+bJVW3nSBp50DGc27RqzrtfwrZbPlH 5jmCQjlPMIWRWPaq08RGJm4CiTfp6VVhWxoKrXOuF7yllcNzzOBQfhPXTPE7fnqckrVr szUHJ88/QEY0ZAsfKsSyGkqhuAcOZBxqplHA0oOtuQxohO54rbQqWi+f+IJz80xyu6NW Demg== X-Gm-Message-State: AJIora8/E/sQRLQ7k1V25VwNYDEyor9x6K2crUqR6AplrZ1Q9VGgwUKs FkmvuJihunBHSON9I/M94la2Ng== X-Received: by 2002:a05:6512:3b0a:b0:489:da13:180a with SMTP id f10-20020a0565123b0a00b00489da13180amr7313675lfv.489.1657608433934; Mon, 11 Jul 2022 23:47:13 -0700 (PDT) Received: from [10.0.0.8] (fwa5cab-55.bb.online.no. [88.92.171.55]) by smtp.gmail.com with ESMTPSA id l18-20020ac24312000000b004785b0dfba4sm1993959lfh.195.2022.07.11.23.47.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Jul 2022 23:47:13 -0700 (PDT) Message-ID: <6ebdb95a-6458-b77e-e14c-e89539c51b3f@linaro.org> Date: Tue, 12 Jul 2022 08:47:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 2/3] mmc: sdhci-msm: add MSM8998 SDCC specific compatible Content-Language: en-US To: Doug Anderson 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 References: <20220711082709.39102-1-krzysztof.kozlowski@linaro.org> <20220711082709.39102-2-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 11/07/2022 17:08, Doug Anderson wrote: > 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. :( I thought it's existing practice for some time, but it's a fresh commit 466614a9765c ("mmc: sdhci-msm: Add SoC specific compatibles"). I agree that it does not make much sense to add each compatible to the driver, so how about reverting 466614a9765c? Best regards, Krzysztof