From patchwork Wed Oct 19 08:34:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 5300 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp282775wrs; Wed, 19 Oct 2022 05:03:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5T59Y5bbZET0m4yu00tx8QEmV6N1SSfh/QVsNWjtc65coPH7Xloyhs8HCmPHyQpPndNW9x X-Received: by 2002:a17:907:75e8:b0:78d:cf11:cccb with SMTP id jz8-20020a17090775e800b0078dcf11cccbmr6467171ejc.42.1666181021932; Wed, 19 Oct 2022 05:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666181021; cv=none; d=google.com; s=arc-20160816; b=tuzmR9ErhFXkWosK/yiuR649p4PXK5T7Tf2Dc2yptkn+ZjQQQcpN2vg7dZi1NSoUhB gks8AFhREJcBlYp2uSiWhk3IvTJeZc+AMQg+ilRZoszvt8hZHUOICDRi9mPKmfzin5fp OTCyryyoO9y18VhonABKAXuTLcoZPABdO5S7KgJpPofroip25caze9lI+4iG75/MnoZO u4TGnJlO3CP9nYgBXh6YGCSCCjPWqHRyHo0w+DqKjbTRuPShGdYLv50ACAY23hftOQBv B3rjSwrd0jX2aeoB+TBAhkh7MdJBBSaT9Xq691JgUpV5+Bb1LVZ+uqZCXnaD4GEt55+x VD6w== 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=uRTcxlHaUbhkjEfKnTh3Z4Nk7DXbY2g944ynDuCx7Vw=; b=RZqUdXS00uUNYfx7IetrCtNLnsjHPvMKlEW7LFaS/S9GBOwN0zNO1a4c2c46LMmOT0 u9g+6kSomaZMD97adJM2WVO5rI/kGaB1iOYJEKFlIpfHlVoihB4IH9sZ+6I7wQ3hAaeO qVNHa9bjDHURvSi/ptEbvC17ChkxVB7jQ4Ad/1SOYS145t5DQ8PPM49TlpHH7oclRCuH 6OqynDMTqyknWMZAuahOAYJ3g3xxdArq+ZJIDbTp4V/z1rq5jVuPK87VjkY6GxNGW8H2 hWd7DfXbKf0c8E3oB7OmUF5rbkRiPg7cvEbbRmhKjAgno+2DgQrYJRW1HyeEP8rLlnsl TxDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hjyWneEG; 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 p11-20020a056402500b00b0045d212cc170si13526557eda.363.2022.10.19.05.03.10; Wed, 19 Oct 2022 05:03:41 -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=hjyWneEG; 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 S231926AbiJSMAK (ORCPT + 99 others); Wed, 19 Oct 2022 08:00:10 -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 X-Spam-Status: No, score=-7.4 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?1747117431202044397?= X-GMAIL-MSGID: =?utf-8?q?1747117431202044397?= 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}, {},