From patchwork Fri Sep 23 01:43:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12986044 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1303C6FA92 for ; Fri, 23 Sep 2022 01:43:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231976AbiIWBnt (ORCPT ); Thu, 22 Sep 2022 21:43:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiIWBns (ORCPT ); Thu, 22 Sep 2022 21:43:48 -0400 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7A1A118B19; Thu, 22 Sep 2022 18:43:42 -0700 (PDT) Received: by mail-io1-xd29.google.com with SMTP id c4so9257434iof.3; Thu, 22 Sep 2022 18:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=cmlo/wojh5Vp9+J8FgpPphc/JtfpcSJwctIUg2QPCZE=; b=WqmkzT4HasAp+GIzkY8KPTD8IarV+9i6jykrBWTmQtOTXBFvaqDB4P3LmH1ga5Q323 4HPb+dvhiRNnoctIYZN5bPOjjlwlaKCnYMGIgktR8/OjvTQzTTk+6kFMDNi5KleAMtIv nUZL/LoNF3rOCvMlk4ssp0lF6bbHFYd9W5siQbl5Up2Aa/VKVvOU80jHW/N2f1MFb+tJ tMWsLeBUgS99qoDSLiW5ZG6lZdWbpShNQEwgs2d+7nsEF4iU1mkFaLPROfd4LviJnx5y EWdjQTe2a6Vqq36lZ+ZRqSgroxMQzeMX+GC0H0bUhNdQZthPyVcTqACIxSlPkCrm6VAv ruLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=cmlo/wojh5Vp9+J8FgpPphc/JtfpcSJwctIUg2QPCZE=; b=Wny2pxPCWvS6IgXCc+lZXCA6PbdbxKU95i05iaB12b8p8juw/ipRFDjcdqa7ZAr/W3 vZm0UxrNbEnKVqk2lF/lFY4MoQkKrbTHMLH6xVo6Ts/Z8f9u/c1lmjzpQMMIcHO35nk5 fASZ1RYYvhQhgzURPGclH248bdzgPcn38Q9pjLmwE35BkiZkmy1gNQJbxDkSXKlzBHW5 0kt6H09qXYxKZl98pkdexutbm4Dv9MbB0atA3yoDvygiiaw7+i1l+WuXNIGKnagh2f2E 25fKDvWu+R0Juhv8vqJ7go33rQv2s+LreaACYSPCJsWFEAMO++1BVaUUhxaClVrus3Mk r35Q== X-Gm-Message-State: ACrzQf1sX7PnahNUg57AcsX1n3NaPITEeCsBNK9vYBYeOnF+yGky3kDc eK8y/dgB0sATtqk4+Koed9cxpuJxgaY= X-Google-Smtp-Source: AMsMyM5vwWgMXzazek9vqaYERsqbF63cirApd9wtIcfNsRI+aRHA0LdmUJ2+j0YymRNlxfo6RSwmIQ== X-Received: by 2002:a05:6602:1687:b0:6a4:d44:74bf with SMTP id s7-20020a056602168700b006a40d4474bfmr1628679iow.80.1663897421637; Thu, 22 Sep 2022 18:43:41 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::1e16]) by smtp.gmail.com with UTF8SMTPSA id m41-20020a056638272900b00352a7f96772sm2823832jav.38.2022.09.22.18.43.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Sep 2022 18:43:41 -0700 (PDT) From: Richard Acayan To: linux-arm-msm@vger.kernel.org Cc: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Adrian Hunter , Andy Gross , Bjorn Andersson , Konrad Dybcio , Bhupesh Sharma , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Richard Acayan Subject: [PATCH 1/2] dt-bindings: mmc: sdhci-msm: add sdm670 compatible Date: Thu, 22 Sep 2022 21:43:21 -0400 Message-Id: <20220923014322.33620-2-mailingradian@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923014322.33620-1-mailingradian@gmail.com> References: <20220923014322.33620-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Snapdragon 670 supports eMMC with an SDHCI controller. Add the appropriate compatible to the documentation. Signed-off-by: Richard Acayan Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml index 775476d7f9f0..a96f143479c7 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml @@ -38,6 +38,7 @@ properties: - qcom,sc7180-sdhci - qcom,sc7280-sdhci - qcom,sdm630-sdhci + - qcom,sdm670-sdhci - qcom,sdm845-sdhci - qcom,sdx55-sdhci - qcom,sdx65-sdhci From patchwork Fri Sep 23 01:43:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12986045 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7EEAC54EE9 for ; Fri, 23 Sep 2022 01:43:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231785AbiIWBnt (ORCPT ); Thu, 22 Sep 2022 21:43:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231799AbiIWBns (ORCPT ); Thu, 22 Sep 2022 21:43:48 -0400 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CC8FD827D; Thu, 22 Sep 2022 18:43:45 -0700 (PDT) Received: by mail-io1-xd2b.google.com with SMTP id b23so9260165iof.2; Thu, 22 Sep 2022 18:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=uZmP6cRO+2tkjn9k8/NCTzUaoPITyxk1HEeB04T7EQg=; b=RsfmeuH6YVdUXS77gOIXlafLDL9LXZnA66gxD0cRM221sYoEZwx/Lu7/5EMZbH22T/ 5CxyDaIaDVZUabjQRo0FiY/y0o5An+kjb60WLeRDpFygsNVa8l/FFflGXIAs4FR+41vi wdcudhzZPHomFVcHUCYV2GLqH/p5h9WCru9asKmm/RPGi8FmoRUnviQYAN5dyjJsPC/y udQV0crkNOacTlhec723ytUPPokv7DPucwLM4stlBBl+zNOLLaQ2f6laNSAq970wBrff VpNwy3yxqifaRgA54oX+TIStBTPAyqI3AlVWeaaxoM1zLxdqpCNd6mYSy1E7v8Q4N4XP sP7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=uZmP6cRO+2tkjn9k8/NCTzUaoPITyxk1HEeB04T7EQg=; b=D/UyI01WviK9Upfh+xakSGI4iNJ4f/yik7aP05ZETeglDg7kNQrJWUDXd1WYY2/xYb +IvYykiZsyFK/TJeljIJp6zH12NkDd5pPwgODjSMJWbl0tMEtuqIQV8rEk3f/WljQ/b0 R6JV3vKV6Iz9wWoAwIud8j1sOhQ61WyAjIahCiFrnBFhzr8HuLayZHzAlM/m2pW2OyTh MQEpv2kRB21DHyQGQlK7GhfhLBrTTbKg7riK8VrmjndHsh3ucOI2reNHq5ORMBF+Xuro TKyQY2AABjforBMco5Qohzus9Y6g4UryMkiJgK5zYSVvbZ0YDDci9CEsmDeRhxXp89BP Kq2Q== X-Gm-Message-State: ACrzQf3phTYWgPTKjec331TGn1BLvie6Sf7pCEeFlN2waMd4j3M5YxWA KDDce1sUVigQ1Lh6gK1ggbIyQb/t5Yw= X-Google-Smtp-Source: AMsMyM5J021qo6Aq6Z5vh71aUCHz2b6nMQv28SqbpA0turgOM7YTLLOl+tNXu0blxVprm8Zl1w3UtA== X-Received: by 2002:a05:6638:150c:b0:35a:f7a9:c3d8 with SMTP id b12-20020a056638150c00b0035af7a9c3d8mr3662216jat.38.1663897424417; Thu, 22 Sep 2022 18:43:44 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::1e16]) by smtp.gmail.com with UTF8SMTPSA id q24-20020a02b058000000b003566d1abeabsm2847507jah.5.2022.09.22.18.43.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Sep 2022 18:43:43 -0700 (PDT) From: Richard Acayan To: linux-arm-msm@vger.kernel.org Cc: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Adrian Hunter , Andy Gross , Bjorn Andersson , Konrad Dybcio , Bhupesh Sharma , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Richard Acayan Subject: [PATCH 2/2] mmc: sdhci-msm: add compatible string check for sdm670 Date: Thu, 22 Sep 2022 21:43:22 -0400 Message-Id: <20220923014322.33620-3-mailingradian@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923014322.33620-1-mailingradian@gmail.com> References: <20220923014322.33620-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 Acked-by: Krzysztof Kozlowski --- 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}, {},