From patchwork Mon Oct 24 11:32:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 10046 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp622776wru; Mon, 24 Oct 2022 12:46:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4qXIZrZStK9vlcueUwzEkJ1djX88cjMhZslSigJxRZ5BDaAdZXfsc6gWp6Ie0uVNgP1EX5 X-Received: by 2002:a17:902:c405:b0:181:83e4:490e with SMTP id k5-20020a170902c40500b0018183e4490emr34358173plk.4.1666640789028; Mon, 24 Oct 2022 12:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666640789; cv=none; d=google.com; s=arc-20160816; b=Bo46aKVm85Dj1+SG5VIaCWmllrszIktH4zMNz2XyWBBCeuZgZJtII/ZMYnbGHVi5mt SCIL7YIXvffKq6LrYDDetIVynh9GJTlLvRt8aCt+l+ssQNDl3PpQ0/8NzMoXkAhUt5h/ eLxevqNu7NIxpI4C50aBmCW5/DiPcOJtRhx0dYFcFR1x43mW0tWJO7gXStF+Z9qStaEQ O2hJgBLWLtfjX8GlXh8LzYBFdv3lwYWjTU2qlCOLtLKQU2oOGnNSSCb94VEkc6S7U67x oI9cWLPGfym9xwxQeSqCDPoqgm/zj+KyXKwx3bfDl4AbkoQt1awQY97VwlvGo4TJz91H bo0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=E2pD4RVo1bGGzjVZQsTmoLtusCLLRSkz1Xwl67Af8s8=; b=gcedZZjOHygY6tLzhIUutyHjyEd2+gTBY+ZqaGqI8BKETiu+4Qnq31D1jaB2XpndVW vI0Ul0Ss+V2UQRHhjLNbUOyFGOrDp6IqO+duSkLIWbhlRvfWudvjBFywPYkx7Pp3sTy0 tDEmAxhRQRVMEAP+mLH+FUjKJVGyh1/cept2+KN0bHPxmr3L0CGX4wcu89yGSHeS12fD WG33BFNe9/cf82d8n9MtrPHzFTCfDGciCcBzar6W9L99YXs9U3kK62QjY7JFNECIWy+B Q+PbU3rNhdQmf4UudUNCw/tI19AHTyZ7U+TYsqxyT+Ixv5wRARwXhwB+5OgENU2uMJR7 oc+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=b+91PZ3F; 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=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z3-20020a655a43000000b0043bd8458031si409433pgs.435.2022.10.24.12.46.08; Mon, 24 Oct 2022 12:46:29 -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=@linuxfoundation.org header.s=korg header.b=b+91PZ3F; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231605AbiJXTmp (ORCPT + 99 others); Mon, 24 Oct 2022 15:42:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233475AbiJXTla (ORCPT ); Mon, 24 Oct 2022 15:41:30 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7062E263B69; Mon, 24 Oct 2022 11:11:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id CE2FECE12E6; Mon, 24 Oct 2022 12:30:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBB85C433D6; Mon, 24 Oct 2022 12:30:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666614644; bh=mUdPkcinbaaDmr2EIH5eTUOcBG9ba61MG0Xo4Gj1jWg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b+91PZ3FGNIQscWh30z8uC1xAq2naUGF5Ag4eSlQkIdjEAqA0Fcv45Ga5r6hsft2o jZCMEitJWtrPOFYxb9ojXQGSHCbL5/84MfWMefmcoiT3tMlED6uD/+OXVhpFVFsIHQ pnFsTrVaeQswqkHiQk5v4UP0Pd/cegg+pGPbqlqo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Richard Acayan , Bhupesh Sharma , Krzysztof Kozlowski , Ulf Hansson , Sasha Levin Subject: [PATCH 5.10 339/390] mmc: sdhci-msm: add compatible string check for sdm670 Date: Mon, 24 Oct 2022 13:32:16 +0200 Message-Id: <20221024113037.444908281@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113022.510008560@linuxfoundation.org> References: <20221024113022.510008560@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747599532364599129?= X-GMAIL-MSGID: =?utf-8?q?1747599532364599129?= From: Richard Acayan [ Upstream commit 4de95950d970c71a9e82a24573bb7a44fd95baa1 ] The Snapdragon 670 has the same quirk as Snapdragon 845 (needing to restore the dll config). Add a compatible string check to detect the need for this. Signed-off-by: Richard Acayan Reviewed-by: Bhupesh Sharma Acked-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20220923014322.33620-3-mailingradian@gmail.com Signed-off-by: Ulf Hansson Signed-off-by: Sasha Levin --- 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 192cb8b20b47..ad2e73f9a58f 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -2182,6 +2182,7 @@ static const struct sdhci_msm_variant_info sm8250_sdhci_var = { static const struct of_device_id sdhci_msm_dt_match[] = { {.compatible = "qcom,sdhci-msm-v4", .data = &sdhci_msm_mci_var}, {.compatible = "qcom,sdhci-msm-v5", .data = &sdhci_msm_v5_var}, + {.compatible = "qcom,sdm670-sdhci", .data = &sdm845_sdhci_var}, {.compatible = "qcom,sdm845-sdhci", .data = &sdm845_sdhci_var}, {.compatible = "qcom,sm8250-sdhci", .data = &sm8250_sdhci_var}, {.compatible = "qcom,sc7180-sdhci", .data = &sdm845_sdhci_var},