Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp15313rwi; Sun, 9 Oct 2022 17:31:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4iHqkSYpnUkiYeaBmp+ahRDtTEWaRgqXNGTxCKoQIABkUFhdkES0OOlOJEHn2TvRYdCgff X-Received: by 2002:a17:906:4fca:b0:78d:b042:eeca with SMTP id i10-20020a1709064fca00b0078db042eecamr3185085ejw.685.1665361896678; Sun, 09 Oct 2022 17:31:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665361896; cv=none; d=google.com; s=arc-20160816; b=ACGJyrCfzDY138Io/RwiZBM9SltLrOR5f+KXm2DEZZ+ud13z7zlMWys4JKH/thqYw2 SZrse4t7v5eKQGAm6NEbvRRbM0Hgp7HyWVAvqp6FplfY6IUAL8Y4yysdmfKq2VMaroYJ I8qQJ9IoEfKDYmq2Fql0DFYmo01qUKR06Ki7o6PbVJ2lmkgOyGhTtyy6f2pVB80Y0NM+ vvCvletrVuIjbKgyGpwnanuuiUIg/QGiD7EjjAUGBNEuPKZhGSI0nh4PbO1B3hVB/buo bJkvuqede9m7E9xwcsIKi6exjdXZsy3/sFtB5UwpQkCPVhOwVg/Dls7/KNL0cuUK68jo K2Dw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=E2pD4RVo1bGGzjVZQsTmoLtusCLLRSkz1Xwl67Af8s8=; b=glfU969m7kKQVPKj3c3AEQEWGJaTtVIqOS1wPxD1WkpN2GcOZUMZetpIrTNTWL2JO5 IyZMFliXnbGRK7wEwZs/jNHrjd5HLGLKOqi5S96xcGp4YxOb5pgO5U9JjGEVGw5yRlsw RqjTL1UsMq0E9IOKjPc3doeVxTDv1DNxWUW+OtCxmRoSlnmeNoyN6h7e29ez+pCeH6ji 7D8eFX5rM8O5RRyNPwP7ktDkyo71L0XfR0phHig7NaNi88NGvXmVFRHAB+PoC32nF/Zw 0zaXWXyR7edjPOS7EDI1q2h6rvTCPB3JOE47f2bC0Siyd0nJQv5sSW8ZaWU/AI2rLF+M FLNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GtUOlOsH; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l1-20020aa7c3c1000000b004588172def1si5927292edr.410.2022.10.09.17.31.10; Sun, 09 Oct 2022 17:31:36 -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=@kernel.org header.s=k20201202 header.b=GtUOlOsH; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232822AbiJJA1N (ORCPT + 99 others); Sun, 9 Oct 2022 20:27:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232370AbiJJAW6 (ORCPT ); Sun, 9 Oct 2022 20:22:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21D33178A4; Sun, 9 Oct 2022 16:56: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 dfw.source.kernel.org (Postfix) with ESMTPS id AD62C60DD1; Sun, 9 Oct 2022 23:56:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4C1DC43470; Sun, 9 Oct 2022 23:56:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665359809; bh=mUdPkcinbaaDmr2EIH5eTUOcBG9ba61MG0Xo4Gj1jWg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GtUOlOsHjzXm9s5XB3toQrBf7ybnVE1PiBpm2FKfHcSAT5APrs4I7zyVqU/5OogOm s5VYJKWYAzIRxYLAmv9stft2b94GkQvksvu8/hF6MDALzYmeoYJ/7TKjJRTTNO5mkl gIc8z0HouqOspftqn8UFDcyJsNhbl4zlp+xKZkNWHOY2rhXTsxrqYdqnpLLJYr5M7Y LbBRSdFs8aMuVmsQU1vVt2an+C6rL7DXqWPtpN/JFHUmszilRLoV8tvYtV3ZHF/tOY 2ezMm7ZD3o/dLcgT54PHB68EN5c4I4Bj3YF4BHCxpPYHCy68cauaVBTr3bHAj3onOV 3LaW0boZmrZjw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Richard Acayan , Bhupesh Sharma , Krzysztof Kozlowski , Ulf Hansson , Sasha Levin , adrian.hunter@intel.com, agross@kernel.org, andersson@kernel.org, linux-mmc@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH AUTOSEL 5.10 19/22] mmc: sdhci-msm: add compatible string check for sdm670 Date: Sun, 9 Oct 2022 19:55:37 -0400 Message-Id: <20221009235540.1231640-19-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221009235540.1231640-1-sashal@kernel.org> References: <20221009235540.1231640-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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 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}, -- 2.35.1