From patchwork Fri Jun 23 11:30:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 695608 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 B1F06EB64D7 for ; Fri, 23 Jun 2023 11:30:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231418AbjFWLaW (ORCPT ); Fri, 23 Jun 2023 07:30:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231460AbjFWLaS (ORCPT ); Fri, 23 Jun 2023 07:30:18 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9892E268A for ; Fri, 23 Jun 2023 04:30:16 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-98746d7f35dso60684266b.2 for ; Fri, 23 Jun 2023 04:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687519815; x=1690111815; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BAVdWTyVv3g73n3CI+aPBRAAgKOeuBE5xdTL21wVIwg=; b=WU2xliCvd4k0PhUDtYCukSTQgNP9IiMRwhkE2J29RhyOsvutK/TR4kgQpzmawI250J GOG03XVJm+9emx4oszUbYeVHs9gjUh7b7vu2oMGGhMmvRwAn6qJweCH9wdC0PgSB1sKO Rct9gMXEDBM59Q/QQfMQ+fk7n1/H13ThS0AA9VBveGdZ3mjHsPka8tUukz03sGmhYXAA 21GNh5ot1k6SunbyV8wix9rCiSC2Fl9vDuP1F9Jjb+MfYRv5bPOtbKLpP8NIvdfVF/fa YhTkhRlINM4WmIVTOnEm5hDpJLNSaSrHMZMKeabp19NV3xtsZGmsH8wXYz8E96otd/s/ uD4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687519815; x=1690111815; 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:message-id:reply-to; bh=BAVdWTyVv3g73n3CI+aPBRAAgKOeuBE5xdTL21wVIwg=; b=NdFcHisyDjkB6I9s8vB+ixMEdKtE7fn2QDbh+6zOamUFdaXIwrbcmJp9kpmItfOyTW hMjUSJh+uxWQydG8NcgyD2O9CGSsrOpxxDopJGigkSVEeVZl/9DSph+LaqSYdz+MHs7U qskgMmKUplKsoXDopmj/AoYVUmgtOnWaxH+VdiY+kU26s1f0oIGBZXxwx0f1m+6xBMJA n4kTmZ4I2wtf3BIL61MMRg2qiMxN/v37cjokVQ8oRkLPHh3h0ftdF91MCUIbEidgJPKN M59BkPKu+vdMH6SA0QhClPtt6UI62gN+a3dNSDlsvi7WBiFUEdmSt2/qAdn8i/1O+bVK wsnA== X-Gm-Message-State: AC+VfDwaz/hI0mSlkX2quscX5MvoHR48/aMDZNxp7XmGA5XnB3ZNfYjG 0eiUZY7K71+rVeV3gMpDONB6vg== X-Google-Smtp-Source: ACHHUZ7442WtdeZn/EbQNjnsNf4WN5KkBAVB7CFMsOO+BKNDLrNVoN9HuA2w7XSsTcE9PVr8p/76FQ== X-Received: by 2002:a17:907:9810:b0:96f:bcea:df87 with SMTP id ji16-20020a170907981000b0096fbceadf87mr21417284ejc.42.1687519815129; Fri, 23 Jun 2023 04:30:15 -0700 (PDT) Received: from hackbox.lan ([62.231.110.100]) by smtp.gmail.com with ESMTPSA id z17-20020a1709063ad100b009821ce1ea33sm5908033ejd.7.2023.06.23.04.30.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 04:30:14 -0700 (PDT) From: Abel Vesa To: Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Martin K . Petersen" , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH 1/5] scsi: dt-bindings: ufs: qcom: Fix ICE phandle Date: Fri, 23 Jun 2023 14:30:05 +0300 Message-Id: <20230623113009.2512206-2-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230623113009.2512206-1-abel.vesa@linaro.org> References: <20230623113009.2512206-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org The check for 'qcom,ice' property is wrong. Fix it by checking using if-required clause and expand the clocks minItems and maxItems for platforms where 'qcom,ice' is not required so that it includes platforms with single reg entry and clocks that do not provide an ICE one. Fixes: 29a6d1215b7c ("scsi: ufs: dt-bindings: qcom: Add ICE phandle") Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index 943dafb69529..bdfa86a0cc98 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -194,9 +194,8 @@ allOf: # TODO: define clock bindings for qcom,msm8994-ufshc - if: - properties: - qcom,ice: - maxItems: 1 + required: + - qcom,ice then: properties: reg: @@ -207,10 +206,10 @@ allOf: else: properties: reg: - minItems: 2 + minItems: 1 maxItems: 2 clocks: - minItems: 9 + minItems: 8 maxItems: 11 unevaluatedProperties: false From patchwork Fri Jun 23 11:30:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 696136 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 E2B23EB64D7 for ; Fri, 23 Jun 2023 11:30:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231630AbjFWLa2 (ORCPT ); Fri, 23 Jun 2023 07:30:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231520AbjFWLaT (ORCPT ); Fri, 23 Jun 2023 07:30:19 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 400742686 for ; Fri, 23 Jun 2023 04:30:18 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-51beb527a89so557437a12.1 for ; Fri, 23 Jun 2023 04:30:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687519816; x=1690111816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IdYoL4tmbwTZuD91LiWi1VOBXorpaCxfk3Oa1MlS4bs=; b=TaBkYtOl9AULVW7HulYaVbmyn3vNVRpEgBUa2gW1YfqqeECQiI5ZqeS/Ar/cydqNUX KuKIGbw5qriXMG0GvUiP5W602KYeZ/jrPokIhClce5O6W8dSFaQeEV0aFMbryylqYfnW iL++jcIkR7E1NMwmNs2+opGYZmmkA5sS84Q+pzU0O/P/QfKI5y9mD9T805NbH70934M5 fiPWlDTNvhsiFWJjqbK96ZWDmz2Q2WFF4ovUkQKU3wrC0fm3TWoKoaVTP5/T29xpQXnH o1ydIANZR+PSJUQxqB4Or4HhyR1hRjBqkL9WpGQnwBb4lVN2welM/KYTIlVIsv37MOa9 LFaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687519816; x=1690111816; 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:message-id:reply-to; bh=IdYoL4tmbwTZuD91LiWi1VOBXorpaCxfk3Oa1MlS4bs=; b=SJkSRg9Y34k2bYHgtUrFF3L4Zwzn1Ebu41rqCitVijYoJceI2RLbHRQ9IEXFtP3Wd4 FIMerYZbwzVxiHMd5SRKAdM2UEN2u5VE4IPwaAKAd2873FkmGAIYeFAe8WP9g0/w/aK7 gCl4eUfhwX93PWiEY3ozdxlTyDQq3mqDQC+KtU17LeF7fdbZcSgkRT4bb77QniiCVfVU kjacZYiZ2AcpTlY029gyl+fyOlI9vNfNqWawqnlt7F/YdSjU0oftmNlBRACu5GQVqohr bxYd8tz1l+hQOW3ZvbUycH4wRs8UdU3Ke5SxBI01DKuEFyqyo6jdXZng61vBLdXbX9Qi hqYg== X-Gm-Message-State: AC+VfDx8etWZUbTvXEINFoSSVRLCl45N1Zp4MwRbmNISvoSCnwoT2Po9 QxJRfCG9NAuabdgPvLOHrPnYPQ== X-Google-Smtp-Source: ACHHUZ5scCkLTmJhlnUviPE6BCxa3dLa9bOAE+xQtpQ5suJmyEok4UJ6tW3/cTMFeCQKFp9fCqDpRw== X-Received: by 2002:a17:907:25cc:b0:989:450:e567 with SMTP id ae12-20020a17090725cc00b009890450e567mr10065506ejc.65.1687519816758; Fri, 23 Jun 2023 04:30:16 -0700 (PDT) Received: from hackbox.lan ([62.231.110.100]) by smtp.gmail.com with ESMTPSA id z17-20020a1709063ad100b009821ce1ea33sm5908033ejd.7.2023.06.23.04.30.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 04:30:16 -0700 (PDT) From: Abel Vesa To: Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Martin K . Petersen" , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH 2/5] scsi: dt-bindings: ufs: qcom: Add compatible for sm6115 and sm6125 Date: Fri, 23 Jun 2023 14:30:06 +0300 Message-Id: <20230623113009.2512206-3-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230623113009.2512206-1-abel.vesa@linaro.org> References: <20230623113009.2512206-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Add the compatible string for the UFS on sm6115 and sm6125 platforms. Signed-off-by: Abel Vesa --- .../devicetree/bindings/ufs/qcom,ufs.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index bdfa86a0cc98..46f454ec3688 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -29,6 +29,8 @@ properties: - qcom,sa8775p-ufshc - qcom,sc8280xp-ufshc - qcom,sdm845-ufshc + - qcom,sm6115-ufshc + - qcom,sm6125-ufshc - qcom,sm6350-ufshc - qcom,sm8150-ufshc - qcom,sm8250-ufshc @@ -163,6 +165,36 @@ allOf: minItems: 2 maxItems: 2 + - if: + properties: + compatible: + contains: + enum: + - qcom,sm6115-ufshc + - qcom,sm6125-ufshc + then: + properties: + clocks: + minItems: 8 + maxItems: 8 + clock-names: + items: + - const: core_clk + - const: bus_aggr_clk + - const: iface_clk + - const: core_clk_unipro + - const: ref_clk + - const: tx_lane0_sync_clk + - const: rx_lane0_sync_clk + - const: ice_core_clk + reg: + minItems: 2 + maxItems: 2 + reg-names: + items: + - const: std + - const: ice + - if: properties: compatible: From patchwork Fri Jun 23 11:30:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 695607 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 964A0C0015E for ; Fri, 23 Jun 2023 11:30:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231734AbjFWLaa (ORCPT ); Fri, 23 Jun 2023 07:30:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231577AbjFWLaZ (ORCPT ); Fri, 23 Jun 2023 07:30:25 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6B2F2697 for ; Fri, 23 Jun 2023 04:30:19 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-988f066f665so57825866b.2 for ; Fri, 23 Jun 2023 04:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687519818; x=1690111818; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CzYeX68lKPlCz+L8LZ4YwI674b1AAUDgqY7Xo7im3/4=; b=uHJ4+gc4n6QbqMyBWtK7W1Xjt3MTzTnVUjya30Fb5NdXahoVDeLZRl3hgSp278tlE4 VliyNQplaORSO0/kwQjLUpPqz96HPEJEQWotYXarNJMRZNaUhg5911D/zJmwidH4CFwr oTkv1BJJGZWaG4cul83ynqe+ClDig+Eh0r69dXzz6n/dMWh3Ypm5IJyZtq4TcDDyRfSs XCf+WWMscRVc8iFb4NuvjeOu3Aw/Z4WvUf+glGyrC0zFfFTDlbSBTilr7zPGYx2FltqR YM8RKimFT9j7RUKJQ7sK0lVTAh0i4Uu0yWYMFc0wX1mqz5Jv/JIOu/wUcyXNERoKQXuf ILxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687519818; x=1690111818; 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:message-id:reply-to; bh=CzYeX68lKPlCz+L8LZ4YwI674b1AAUDgqY7Xo7im3/4=; b=YZkMGCutuoW+vIbvCSH4Vs6frXgsljJl+x6HElcJnSfzZ12gWwCE9DjMQCwDCEdd9v /WOWsNqtlRXr6fe2wT5KnApD4P9AhZnyr00d7qrBttveG1Nv3ovkl0KmeKDyFkf+hEZu EJcOonkDzkmS957MM14YU/9+jt1mEAiMLEid9paf8ia9Rq7venIQrib+0KVfkqh5xNGY KxFnlYmEGBEs5z+TdAcEDLhI164hZSTuTLfuMxGJR524VFIqo/Yv2Zf19tH1ocyuS64u ZpO/BbTW1OOGueZnSdQDlbiCQ6P+JMdZy1H0S/TKxFqQyr/4aze+0t/agRBK+GLPYAy/ cqYQ== X-Gm-Message-State: AC+VfDxoViG/11BxGzd+TWgFUCT87XPPbmAJhabMsyervJiyp6rn6eIN ygguZwvoyaFj01XIQOImv4aArg== X-Google-Smtp-Source: ACHHUZ6nwQNRD1YKOwwps0UGbxCzVqLniiQ53txsZ6ugpBw6DK6UIbEJhyYSWpw+zyT7teqY5aegMQ== X-Received: by 2002:a17:907:60d6:b0:98d:264a:422e with SMTP id hv22-20020a17090760d600b0098d264a422emr3827978ejc.23.1687519818146; Fri, 23 Jun 2023 04:30:18 -0700 (PDT) Received: from hackbox.lan ([62.231.110.100]) by smtp.gmail.com with ESMTPSA id z17-20020a1709063ad100b009821ce1ea33sm5908033ejd.7.2023.06.23.04.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 04:30:17 -0700 (PDT) From: Abel Vesa To: Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Martin K . Petersen" , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH 3/5] scsi: dt-bindings: ufs: qcom: Add compatible for sc8180x Date: Fri, 23 Jun 2023 14:30:07 +0300 Message-Id: <20230623113009.2512206-4-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230623113009.2512206-1-abel.vesa@linaro.org> References: <20230623113009.2512206-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Add the compatible string for the UFS on sc8180x platforms. Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index 46f454ec3688..4dad3f9ba81f 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -27,6 +27,7 @@ properties: - qcom,msm8996-ufshc - qcom,msm8998-ufshc - qcom,sa8775p-ufshc + - qcom,sc8180x-ufshc - qcom,sc8280xp-ufshc - qcom,sdm845-ufshc - qcom,sm6115-ufshc @@ -113,6 +114,7 @@ allOf: enum: - qcom,msm8998-ufshc - qcom,sa8775p-ufshc + - qcom,sc8180x-ufshc - qcom,sc8280xp-ufshc - qcom,sm8250-ufshc - qcom,sm8350-ufshc From patchwork Fri Jun 23 11:30:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 696135 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 713DDEB64D7 for ; Fri, 23 Jun 2023 11:30:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231543AbjFWLad (ORCPT ); Fri, 23 Jun 2023 07:30:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231655AbjFWLa1 (ORCPT ); Fri, 23 Jun 2023 07:30:27 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B1CE26B5 for ; Fri, 23 Jun 2023 04:30:22 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-9887ebe16d0so56650966b.2 for ; Fri, 23 Jun 2023 04:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687519821; x=1690111821; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CHaK7rdeki9lfbQ0L5n5XKF0tPcuK6yq3LmKlu+Ivww=; b=fSaEd9srqlW02t5EJIQeM2hse3zR9gmx3WuT3NE1AjtZVL3CZf8n94Kn2z9ki1NMuI sGOyQIBwsuc26lpQrl0mmIqU1IIXV9Dpf29zJOg++QsDvL28tShS00zdAchY5fMlZs0d 86tjC0uiX7U6ZwK+I0gqr5IVUo95JpdduZfL4hLIKJBYdt44ia7LHU6prA/Zz6i1zHtt 80o6z7SFxpvFyG6+pPmACxGS/zyDKdJ1XkLS8umQdOlGU8mJzFatDynZyqhBrGhNCQDB BJPzQpStmicRGPzE9+w3ggL5myuXjxTA9KqMuBGDBlJv+F7tdmk33N/WnH85EgBLTNJd oYyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687519821; x=1690111821; 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:message-id:reply-to; bh=CHaK7rdeki9lfbQ0L5n5XKF0tPcuK6yq3LmKlu+Ivww=; b=VjdS+cbN5kMyGFoky5sxnliBQwZx+hYGWsPqlr5cYlk+3DDOtR/oGq026HZKhfmjKw T8NVwpm6VnCYkwPXCO3B6dN/tCjoJ1D5EOp3rc0Bj/mlhJdjZYw3v7UwOlPWeptgWZda lQQmIgTqhQAzZoIgAwUTaYnGZLqB3LMjuSS6gyiSUF3N1n9lroIX0zsfzNmJPdmAbv3P NaJscZ7YbI6QNc0Qn3GAhq/VSrujU89DniuPVAWOi/Ky/FxrX4RIWOeKcQqJtnjZ4PJR p6weuXg2tjHY2H5sG+eh3K1k2gMb+Y0IVmEhQvOVEQ84mlPU7dRF7I8AvJahDd047zUL 5IFg== X-Gm-Message-State: AC+VfDyXWt0aLNbRZDKWnsXz9LMvfm+NBU6vTVSjozljYBIZBNSsQOci rD/4YmWQtHo/F0twaq2SMIolbQ== X-Google-Smtp-Source: ACHHUZ50An5CQMTUNnqVpshyVZ/03Vud6u0iyBErDojjmGr50lXvYlkYcoJz9SbGBNAJCuaZE9/0XA== X-Received: by 2002:a17:907:7ba5:b0:973:fd02:a41f with SMTP id ne37-20020a1709077ba500b00973fd02a41fmr21528891ejc.40.1687519820927; Fri, 23 Jun 2023 04:30:20 -0700 (PDT) Received: from hackbox.lan ([62.231.110.100]) by smtp.gmail.com with ESMTPSA id z17-20020a1709063ad100b009821ce1ea33sm5908033ejd.7.2023.06.23.04.30.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 04:30:19 -0700 (PDT) From: Abel Vesa To: Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Martin K . Petersen" , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH 4/5] scsi: dt-bindings: ufs: qcom: Fix sm8450 clocks Date: Fri, 23 Jun 2023 14:30:08 +0300 Message-Id: <20230623113009.2512206-5-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230623113009.2512206-1-abel.vesa@linaro.org> References: <20230623113009.2512206-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org The sm8450 has an ICE clock, so move the compatible to the proper clocks check. Fixes: 462c5c0aa798 ("dt-bindings: ufs: qcom,ufs: convert to dtschema") Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index 4dad3f9ba81f..0209713d1f88 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -118,7 +118,6 @@ allOf: - qcom,sc8280xp-ufshc - qcom,sm8250-ufshc - qcom,sm8350-ufshc - - qcom,sm8450-ufshc - qcom,sm8550-ufshc then: properties: @@ -147,6 +146,7 @@ allOf: - qcom,sdm845-ufshc - qcom,sm6350-ufshc - qcom,sm8150-ufshc + - qcom,sm8450-ufshc then: properties: clocks: From patchwork Fri Jun 23 11:30:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 695606 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 52109EB64D7 for ; Fri, 23 Jun 2023 11:31:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231858AbjFWLa7 (ORCPT ); Fri, 23 Jun 2023 07:30:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231462AbjFWLab (ORCPT ); Fri, 23 Jun 2023 07:30:31 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 369A32711 for ; Fri, 23 Jun 2023 04:30:24 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-988b204ce5fso56635966b.3 for ; Fri, 23 Jun 2023 04:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687519822; x=1690111822; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pNvuq6mkva9AEwJO9JM3pF+J3bkYwlLNxD1WUPaScDY=; b=JyzgYeYGNAXiEO38g990qGezFImnyLJ1NctOgLVYfhN+FMGZDp/HilrsHhxCJZpjmH nCBpKvS9F3ZF6idUmrS193Ui/0nlt4M/2OjUtXfjlrFTNme1BnHY+fNqcOBS1GCz2xd/ 6r6vV2lrrZcKuUVc+ICPmjrckuoU/WU8rhpu/vKVuddYUfh5v+Me19Phemob4mtUZJLA 3wL6DR1hhWkmjp4/FcAhlVzMaYOPpGXPCD0AjAiZd/+Re1FkBordvtJxNB6+82ipo97d TyfbwGNG9OPG6+2g0D1tQxKccI+juogcvLHXNjgMIkuw+N1mVN82BRcNM9c3pMgQOHKA 4i1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687519822; x=1690111822; 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:message-id:reply-to; bh=pNvuq6mkva9AEwJO9JM3pF+J3bkYwlLNxD1WUPaScDY=; b=EJAvJf90UDVA5jiYPIGFNlLDT6VhwJoLTTCsuf+RUtYTMyoq2iwk1YQGBbDm2YNung bJxGWHxzJ+t5TOnga8yCZocBfLimgig2MQua8vyBEJEdffB1XqMDk3qsUmFuDoYs6Zu6 DKvI7AUS70Eax2HW/6T8dhdj2FAA5Gy8FBVW1kTQhdCiRcb08yW/4TBJgNxx99RXDjAK e3ajkqBP93QvDzJXmX8v+aeNJGmctKBd0bTPQ8h7UruMDStF+xrsVt+hEz7Vjin7rZID OvjcQJFqFikRDOJ+zNVQA9EgaNBRRIFvtTFQfmVfBxuDjJ/xEXmss5J0x1q1Ps0hHJAK yl9Q== X-Gm-Message-State: AC+VfDwH0+YCHBSlOdIZ6fyxXVBqWVfnur0vwvoC9aiM9Roz6+8ip9km 38T3JaLEvnE/NLc7tikqG8TLDg== X-Google-Smtp-Source: ACHHUZ4fCA7KAKMZZcYPseVlCdJe079NwRS/tCOOQIdkW+evoYdAnQ9CHxOezcJFLlSf7FY9Jf/Xtg== X-Received: by 2002:a17:907:a421:b0:987:5761:285f with SMTP id sg33-20020a170907a42100b009875761285fmr15875704ejc.42.1687519822320; Fri, 23 Jun 2023 04:30:22 -0700 (PDT) Received: from hackbox.lan ([62.231.110.100]) by smtp.gmail.com with ESMTPSA id z17-20020a1709063ad100b009821ce1ea33sm5908033ejd.7.2023.06.23.04.30.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 04:30:21 -0700 (PDT) From: Abel Vesa To: Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Martin K . Petersen" , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH 5/5] scsi: dt-bindings: ufs: qcom: Fix warning for sdm845 by adding reg-names Date: Fri, 23 Jun 2023 14:30:09 +0300 Message-Id: <20230623113009.2512206-6-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230623113009.2512206-1-abel.vesa@linaro.org> References: <20230623113009.2512206-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org There is a warning on dtbs check for sdm845, amongst other platforms, about the reg-names being unevaluated. Fix that by adding reg-names to the clocks and reg properties check for such platforms. Fixes: 462c5c0aa798 ("dt-bindings: ufs: qcom,ufs: convert to dtschema") Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index 0209713d1f88..894b57117314 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -166,6 +166,10 @@ allOf: reg: minItems: 2 maxItems: 2 + reg-names: + items: + - const: std + - const: ice - if: properties: