From patchwork Mon Oct 24 11:32:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 9881 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp569930wru; Mon, 24 Oct 2022 10:29:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7uBgM9JlOg+txWpMF9iukNx8Lq7cDftTBCzd1UAQeGC1+pwZmNa/4bsmV+MjPId7fWao9c X-Received: by 2002:a05:6402:440d:b0:450:de54:3fcf with SMTP id y13-20020a056402440d00b00450de543fcfmr31136489eda.312.1666632572935; Mon, 24 Oct 2022 10:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666632572; cv=none; d=google.com; s=arc-20160816; b=Yd5IfNQrICtVkdtfCm1fLrT6PE22/tnoa1mV1zvyxXUTYA+RE2MUVvh042Vk9Cf6sO xKqaArWuFTpL7zM5M0dPjgxK6oy58VCGeHAvmsf8xIRN9OpkQPOLLYA0Ko6AwUajQOah 4AG9lPsgzRuX7oTyLjdRNEbXInULY55fBXV2qHEhnHGKP8tZVK9y+8CeqXVhOSanHxaM Wba35qwBous5kyjPkkqMt5tJwYoG6aVlPeB6Re0o9NlpErUU3NvTsLPFMEnuF5QeXahV OEdYnqgKklDBzG4fA3JOjHA8jQ1odS1iAAj3SDVby0FfvwbYxxMHlXkANEQKSnjpdpXp 9pJw== 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=Lbo1Bhtl5A+LUqgooRIXiM4VnLm29WKHNKzLNNmSJc4=; b=UUzEFjB4v7d1plLfzVZE5BzxFI/lCy/7scTn2mYXdAZ4zTZVFp/o/4wsIYwTZzL3hi TN5ydroKO4sgM2nZuS3HEEmvTkEcoUQqGYOzzUEdN2uiWmxQjPfHuYpAcyFgCl3OoY36 VhmRlCKDSwSkwoZ3lEKEZX3phW4lJtOuSfwLieJ5pHDqfWIsQ6QDDeCh28F7gGHS/kHS 2BBmcjJ3AgsZVfpBNEtgg70go8jWbWIx+kl3aa787z8dERumugyLNxN2lHXIBI3CEYgH OPj6aXjsHZX/19+gVrQ/PBUtmIY7KEC+NKw+WRP/WdQHas9jQVml7u7L1kzR0LXQYpxj ViwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tvLk25mr; 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 n13-20020a05640205cd00b0045a16f47a9fsi315880edx.624.2022.10.24.10.29.08; Mon, 24 Oct 2022 10:29:32 -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=tvLk25mr; 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 S233203AbiJXRTn (ORCPT + 99 others); Mon, 24 Oct 2022 13:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235551AbiJXRTO (ORCPT ); Mon, 24 Oct 2022 13:19:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B63F0558F4; Mon, 24 Oct 2022 08:54:11 -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 BDAEF61315; Mon, 24 Oct 2022 12:14:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB67CC433C1; Mon, 24 Oct 2022 12:14:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666613656; bh=lMngYpEaHn+GSZ8B6h5KSHU2ZLlH+zvHYVzQIpHhrHI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tvLk25mr24WEVsR+QuIAaqj43TIuJrCx/IG0Yy1bU5rJFZ3AilO7ysiYfH0QyY+b+ voO6kgWUkgNRW+lV8ZMDp98k0bR8y+6w1fXIu7zazfCzcSG3QGSKv6J20xdAjH21oH 7miTMiktpmP9ztqmJl/TiZBASxfQBrH6GLpNbhYk= 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.4 218/255] mmc: sdhci-msm: add compatible string check for sdm670 Date: Mon, 24 Oct 2022 13:32:08 +0200 Message-Id: <20221024113010.317114540@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113002.471093005@linuxfoundation.org> References: <20221024113002.471093005@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?1747590916292576527?= X-GMAIL-MSGID: =?utf-8?q?1747590916292576527?= 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}, {}, };