Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp52610rwi; Sun, 9 Oct 2022 18:19:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6chTcsS2JObhHUXniROUU6MdJMuKYn9d4crSAmm0n6EVtG70tVi5rhBV3snqT9/QaxHWJH X-Received: by 2002:a17:902:ab1d:b0:180:4030:757d with SMTP id ik29-20020a170902ab1d00b001804030757dmr12910051plb.155.1665364742795; Sun, 09 Oct 2022 18:19:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665364742; cv=none; d=google.com; s=arc-20160816; b=guhPG8EjdZYBpD8H7ozzRwPirilU46NpKezf656Yfytw5aOcvZ7g5kXcZkcVkkciyC lla6209wwZQbx7DDf04C0kxN7JKhhY38nt9xhgpIX1066Q7RBkMO318cbMstDZBjzJAH idze8HbZItiy6umNrYZG/Cgix8HQX9JGAXqLQX02znXpCPzRXANiOACfdo4yHUio9dTU /T7CDMo6HydK+TAii33BTXUdkPuUFSIW7U4YOhOTOy8zuHo7f1qOo4++bu1vGb77ngJW /4xGw+b3j7ZSaNJpNW3tctgmG68I+O/w7TFSdGHAghNxuRtcdB8vvN+M1QAgh44Z0FoU 8vWA== 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=uRTcxlHaUbhkjEfKnTh3Z4Nk7DXbY2g944ynDuCx7Vw=; b=AjU/8R9+YwRiI6qLCyXRZHGZvM4u7uy3Atewq845g8/sS9+FD22/8moeO+LBBRLk8D 9HIIyA+b+vgGSrO2N74By8nR+fyHKkY+B/CpR23LX1M+55EGQU/fpmL/vHkXsStC8Q/K zr44k4QqasetxsGe3pzWs0sVrwwMXey9al1yuF22hJj37835LYxbdN3l+LlIi+zicK8w R7ZWCyBw63H6QdDmmyeKe6W7IPJUXC7o+X0yGduGdU8vbeioWMcyXgLTwY8OFYmDIpak vzhp7KgCg/aplyPBCWSBfIhZxTzTuqlTIpeXVQpZ63PHC9WELXAODnsJEqY0derFrhxo V4CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uFPnJLpG; 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 t189-20020a625fc6000000b0054246220a40si10951429pfb.158.2022.10.09.18.18.51; Sun, 09 Oct 2022 18:19:02 -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=uFPnJLpG; 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 S231259AbiJJAQG (ORCPT + 99 others); Sun, 9 Oct 2022 20:16:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231616AbiJJANv (ORCPT ); Sun, 9 Oct 2022 20:13:51 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55CD65F6C; Sun, 9 Oct 2022 16:51:51 -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 E0097B80C74; Sun, 9 Oct 2022 23:51:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 855E0C43141; Sun, 9 Oct 2022 23:51:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665359508; bh=ThY2MOp/n/nLpFQXMwnUVPXfqCJib/tNxueBla8bxI4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uFPnJLpGiupSaFUpuWCapFeYUCbMV1we+3JhFkkYWRUO38bWQPMRD3VeqhTCLydot qwnO8A4TYf9wQLoLmlJjBu5wgcim/giNJVLuBZjmZIHgdVV2jU4ukH+tQtDloz2g1N +j1UcgNXA6Pg91pamjRTicXXOEU38AUOZHWDV4tNZtYD90g8e20Y354Y6P6E0wT8/k S4hyqCuUnba5K9/WVB10Hb0dCIh+qwT9oQSg8Hfqk1rym48NiVepm8Ip0oN0De5pyx ZlonHt+NaCQgXpFnuWoXyylBr8V7JpdPmnMGtKeCD735zadN+M7F2AF6ZGUcLnT2tA inkMUDBug5WiA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Richard Acayan , Bhupesh Sharma , Krzysztof Kozlowski , Ulf Hansson , Sasha Levin , agross@kernel.org, andersson@kernel.org, adrian.hunter@intel.com, linux-arm-msm@vger.kernel.org, linux-mmc@vger.kernel.org Subject: [PATCH AUTOSEL 6.0 39/44] mmc: sdhci-msm: add compatible string check for sdm670 Date: Sun, 9 Oct 2022 19:49:27 -0400 Message-Id: <20221009234932.1230196-39-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221009234932.1230196-1-sashal@kernel.org> References: <20221009234932.1230196-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 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[] = { */ {.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,sc7180-sdhci", .data = &sdm845_sdhci_var}, {}, -- 2.35.1