Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp55679rwi; Sun, 9 Oct 2022 18:22:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7DKYzApLAb+rVbURW9Ss1UqYoQttov0XA4/e2V38XQizbOu0k8W4pH6ceMIwl9dbcgPHQX X-Received: by 2002:a63:1e56:0:b0:462:970:e0de with SMTP id p22-20020a631e56000000b004620970e0demr3552843pgm.90.1665364972970; Sun, 09 Oct 2022 18:22:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665364972; cv=none; d=google.com; s=arc-20160816; b=ZQ///+PFn5PPlDrg5GZQwcWVV3cWNjnqE1Y0TwSSxrPNyqU0VqqHJurdhKk/dnD0P5 Zj2cbtUS7MHNh78189x5lTxoSkyRF5LfIi5Xdjks2BHkzNbt6wftTkpLZkSoxT5hwgZE +UR6w3uQLjI919Ry5uUke9+ch9bU26KrjWfJX5nPs4Jd+Jdk0WeN0QmVkD7h2X/NFBYz Pw5H9LHB3O2bcIjyqkOItF0/tjR8VLG+W3hC0aNlesGupcpzsOkmAo5vXH6ZZhpbGhgR poMBxvd0EM7Qi6EhESZMYXoDjaXsjwQeis5ulDcmyOKZzEwrmHEO6r7NFqABnRhVLdQO 0a8Q== 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=LQBvfwIbsHIz4yq+4/YywYuzoyoD7vD6I03fqaUyoQw=; b=Yyn142y/eG0W3v6ctuW/H13VZMrdn0z5htM9u2XHwCSSckMOPzUWSGERIdBTzIw52u cofcfiCN9diwrwwa3wa/xzv6zXvxNjZ0EnuogujaRSb3TGwbjFTEd+yq53US75yvYAkg MtgPCDoPEUvX2UFATerLZYm/6MeC1Ci6uhnTrt5R/U5mebu3FZeoQgvG5/maPB1OZk2T 1A5ivVqr9QYbHcf306uD9qI6v2o3EzQq/uitbRgFBv3Rd9CEfFVT5oN0jqhZivKrcvIW AvRo2Zh6ibfmyxsZ/2Qr273zXby+siwpmwoypPjrzg2iEFeignlGJFaEf43nNzv2qstp EnuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OhuDiWwc; 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 u32-20020a056a0009a000b005251a2f06bbsi1603491pfg.59.2022.10.09.18.22.41; Sun, 09 Oct 2022 18:22:52 -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=OhuDiWwc; 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 S232401AbiJJAXA (ORCPT + 99 others); Sun, 9 Oct 2022 20:23:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232398AbiJJAVL (ORCPT ); Sun, 9 Oct 2022 20:21:11 -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 E63F64DF0C; Sun, 9 Oct 2022 16:55:22 -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 BFCBAB80DEA; Sun, 9 Oct 2022 23:55:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 472DCC43142; Sun, 9 Oct 2022 23:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665359719; bh=ftE3qsa6JbKMO511EJB+96PoC7zViLf5SxwbtuCDLIU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OhuDiWwc9TgV7GaslVZ0PfjHVxsdBAsrezvWBRjqkpGlzgQ3B5TAuceUAe7jCax8k CJINAataPUUyCNPLrGhQ8IZbynW0bymhmkLbeL7ndHWPLW9/rSPweeT1sbQE4y+1wp V0VIsiEQ4owutlMaTjwThhuJHzyMthJwXwZWn6gj8sGd83ETqqHIQTPsw76ShJ6du9 NScuQ7tA/posJX25H9+g6v34w744P2LfLKX5RCeDBcPK3yrj+FoDBzxbtcKq2nZUC9 sMhvOmhkfroYw34Dd/ZUVGA04Gi2sAiPX5IbtaSMF9IR8eKA/ARE9kyJi/dp2mCIyH R6574wI1Noduw== 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.15 22/25] mmc: sdhci-msm: add compatible string check for sdm670 Date: Sun, 9 Oct 2022 19:54:22 -0400 Message-Id: <20221009235426.1231313-22-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221009235426.1231313-1-sashal@kernel.org> References: <20221009235426.1231313-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 ff9f5b63c337..83d38e44fc25 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -2437,6 +2437,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}, {.compatible = "qcom,sc7180-sdhci", .data = &sdm845_sdhci_var}, {}, -- 2.35.1