Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp17045rwi; Sun, 9 Oct 2022 17:33:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7axxWrDOnDqQ5t33VF6nctQWfAJtwuFXeM6JVMgIdeY5GeVKYfsPmAHgfi0eGlOADwngCZ X-Received: by 2002:a17:907:ea6:b0:782:1ace:9d5b with SMTP id ho38-20020a1709070ea600b007821ace9d5bmr12331235ejc.770.1665362006008; Sun, 09 Oct 2022 17:33:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665362006; cv=none; d=google.com; s=arc-20160816; b=zKiAXL6PVhWEvzuBnJVxqYT+MVJwsTvwR59VVP98W0SCypBQG5tH2LrozHFUhvighg 1S93cVlzPIhIoWKwyeXNX/b38Kh91bwag1lYq97e4Y+rxeK8s8RtkC0VTJbFRxeyQDI2 S2ZD6oAe+xxDNrKf7dtU8xmw1rsHVskC0VTmsdT8P9KF5/j+ft1iOnz2nl2w7oDpJNix kFgAHbZSw5/v3RJQ1eKfUF0ugfulxUUHXt6aAsQk4ZWN+1Do8aFVFq/aZUuEetxhNOat qXTTp4k01w1uvVz1A/gQwhi3zyhF+31WbkI4PSMsOSs++O2v80iWNjTKGy9DBIoWn9+l kHHw== 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=Lbo1Bhtl5A+LUqgooRIXiM4VnLm29WKHNKzLNNmSJc4=; b=WuEDW0+o8k4RyEd5yk1cMe6AybnZ66gENLBnn+AWLOdfX6lG+BMnrPxlpvMQcbnugX dzTcMNFJb+yfaoqrR7S1s86FC7LqlNwJRCBMZV3p+sbDjcN/3WHIOAA/D1OG3zfEy3PJ r7TAnaTxKU5EVrnqDWnhuCU+QvKkGo7ZVBDRdtRI4uKnq+iDUmvmC8eRztestmG9+Ku/ VNe/O9SRStIr6fFF1HQiHf9JygaOIrmKrFzfT4c18YKvyrL2YXMRcOjeVIF62AF7rNSs 5O5/P1nc0rklAISDzi+EKLwboXvxoQ7jsFpLDGLc3sVReDe1IHvtnesAxdtL5hI6vkBr OD8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="e2Qv/c1z"; 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 g12-20020a1709065d0c00b0078b0865d469si10658494ejt.751.2022.10.09.17.33.01; Sun, 09 Oct 2022 17:33:25 -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="e2Qv/c1z"; 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 S233180AbiJJA3F (ORCPT + 99 others); Sun, 9 Oct 2022 20:29:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232918AbiJJAXx (ORCPT ); Sun, 9 Oct 2022 20:23:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EC453DBE5; Sun, 9 Oct 2022 16:57:42 -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 65E6160CBB; Sun, 9 Oct 2022 23:57:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A63C5C43142; Sun, 9 Oct 2022 23:57:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665359860; bh=lMngYpEaHn+GSZ8B6h5KSHU2ZLlH+zvHYVzQIpHhrHI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e2Qv/c1zHT+Ng42InjKOilpqk2/+Ty47quvqY4ZdRDiQU1mQ4a/r4tABNGrRQYOdo D3oIN7eFHSZpf6lccCPQBOjC24YgiBAiOhAUgneaZcjqRDJpDim6Zmcb274Wq97dql 2vxxKaGeM2vnSMDd8TQfju8ypXVB1gMs+zytEQKD3veF69v5cARyfFcHnJylXsQFu2 dKAYyVlwwzZGtcnRuKxWhqvQ+O5J7qxjRCLlw+dO6pXr0domAHRzUK7aXBxb6+MU7L FkGH8ccUlPHFaAWrX6ehoOJoNxbdlmxz+Bs95LqF1S0VqyG2MU2g/gd4sI7skijAue 9QfYZCr0LRa2A== 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 5.4 13/14] mmc: sdhci-msm: add compatible string check for sdm670 Date: Sun, 9 Oct 2022 19:57:09 -0400 Message-Id: <20221009235710.1231937-13-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221009235710.1231937-1-sashal@kernel.org> References: <20221009235710.1231937-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 8ab963055238..5e6f6c951fd4 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -1755,6 +1755,7 @@ static const struct sdhci_msm_variant_info sdm845_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}, {}, }; -- 2.35.1