From nobody Fri Oct 17 10:31:32 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E330C433FE for ; Wed, 19 Oct 2022 12:00:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231516AbiJSMAN (ORCPT ); Wed, 19 Oct 2022 08:00:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230134AbiJSL7P (ORCPT ); Wed, 19 Oct 2022 07:59:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D77C1285DA; Wed, 19 Oct 2022 04:37:50 -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 ams.source.kernel.org (Postfix) with ESMTPS id E9A71B824CD; Wed, 19 Oct 2022 09:12:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69044C433D6; Wed, 19 Oct 2022 09:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666170724; bh=ThY2MOp/n/nLpFQXMwnUVPXfqCJib/tNxueBla8bxI4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hjyWneEGx9f+1B+d+OrjQ0PxG7xOcwlk90+81dm9icaAedRj5Y164AASM9gmQ69pq jyMsH8ZmP8rlj7j210XQByiY/e72wISsQgaXKXPFmd+O3w3qtDOA4JEXDM+6xxp8ox 9p1OwZVp0i7dk59vKRVZ1CBOO7iqporIJ//Eo66k= 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 6.0 763/862] mmc: sdhci-msm: add compatible string check for sdm670 Date: Wed, 19 Oct 2022 10:34:10 +0200 Message-Id: <20221019083323.632044579@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 dc2991422a87..3a091a387ecb 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -2441,6 +2441,7 @@ static const struct of_device_id sdhci_msm_dt_match[]= =3D { */ {.compatible =3D "qcom,sdhci-msm-v4", .data =3D &sdhci_msm_mci_var}, {.compatible =3D "qcom,sdhci-msm-v5", .data =3D &sdhci_msm_v5_var}, + {.compatible =3D "qcom,sdm670-sdhci", .data =3D &sdm845_sdhci_var}, {.compatible =3D "qcom,sdm845-sdhci", .data =3D &sdm845_sdhci_var}, {.compatible =3D "qcom,sc7180-sdhci", .data =3D &sdm845_sdhci_var}, {}, --=20 2.35.1