Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2869651rwb; Fri, 9 Dec 2022 07:16:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf7cGXe20H7y3BvBUDREsCIcEfeLWo/XKI4zZupXkvWh3hIeSFexvmwLuB0wuDQ963mfTTY6 X-Received: by 2002:a05:6a00:1696:b0:56e:dca8:ba71 with SMTP id k22-20020a056a00169600b0056edca8ba71mr8082893pfc.32.1670599012968; Fri, 09 Dec 2022 07:16:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670599012; cv=none; d=google.com; s=arc-20160816; b=r310X8Qc170nAV2VXOH7P7DtAhxse+a+AUELl/woWxqqFGZKH/Xoe/N0tjAYXm7gLy k/VXkvyNIKkUAjPXSgG4A/zmPpZqfOdatWER78WqHoCkoXEvcAdKHK+qJdy9lKcf0upc QJ8XlZT7fyuZsj53lSVKySC6NU/FWfRm+lKR4g4vrR2JLX0PXlT6Tnzu4vVRQE3y7ofh /NDwY4dkQn/ESH3+VF1gfY1//HSNJ+8QDkwTotRB7bNW10vw1AwfM0oMGcKTBTrg/H5Y 5y4kjHR349be/RHPQHoUNruUtI96LCi3GJyLnAnDMTlUVTVsAF8Riuv4vdA4gis/UuyV EzHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Eb+dzXKfFxLhKYjaGwUiIKvSA18uKRx27pJ/FmHwtEU=; b=CbaRzn9CxeTEcLE72GEv9QpPEULvEAg1FxmMushJ5htCfUHsoSuJj/TnwJely+F9ca ePTR3QQp7bdnX9KTUBs4EvSDz+xxa03zDFXWJd52PloP6wK0qqM9s4IXj2mzK4gCA7CO tzo12W11CWxwdd4n43Fe6Kv/Zvzf9ACBJs7lNrStZ0MMAzadgWfEsdab27JHRtyBGk4+ d7zNeJcLBkq4O0YtEUtCgZlQJQR9W37hGo97sFqDIrVUIcIroCG7OsGeG2HnKhxC8PLA mKzRpiX7fK9OWrySCDJX9kdnn/Sw3LmmPp8YRNQr/NPZRggTxwzho/bMkfNoQ3FN/BtA nAcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UaqEE2V7; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9-20020aa79f49000000b00571855d566asi1926060pfr.10.2022.12.09.07.16.42; Fri, 09 Dec 2022 07:16:52 -0800 (PST) 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=@linaro.org header.s=google header.b=UaqEE2V7; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229919AbiLIPHP (ORCPT + 75 others); Fri, 9 Dec 2022 10:07:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230180AbiLIPGb (ORCPT ); Fri, 9 Dec 2022 10:06:31 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 543F089338 for ; Fri, 9 Dec 2022 07:05:53 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id f20so5204791lja.4 for ; Fri, 09 Dec 2022 07:05:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Eb+dzXKfFxLhKYjaGwUiIKvSA18uKRx27pJ/FmHwtEU=; b=UaqEE2V7XWYGetw5n3TULGb3MoulZySHOYQ45kKm+9Eji+t1wo6MYUsW1LCCKdPiPY Vu266DfbJXMo4NoR0PIPAf0q2mOUQQ0RzXKII/DP5rY/X7uagyLXuOCAZ/LIRCbMWkVD KHE0DkBTFDkR9uIFeVYbEl7pJzQazF6EKMmuQyiP9Ktjxd+KxzAKbUj3M8Ha/IIGvVP/ UqHY/ruIR5qS9yi2gb/bpnCK86jZmpJhHENjwoSGG+GYN4OVQB8kPmFdHoLVIk5xwRNB YH1m3qyByyMey0nxj7P+MukceClfttKeE3lSNC9BfGc+JFoXsYmUIrS4/89ZAatwcjmY 3CMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Eb+dzXKfFxLhKYjaGwUiIKvSA18uKRx27pJ/FmHwtEU=; b=Ndq9IGxWfkMU5+EunfVpJPdfX9dbYXZDFV9pLEbHx2PN8Q0pKv8j+vb74Jta/UsdEW ZgEY7Og88tjgoIXGT3S6gY4AmjlcSfX3v8EAbB6SnBTZFwbUlMastMSNYJzCJVchV1p0 81OmJmLI3ymUg9v+QkTdG2KYXAcyNKo0bsQDWdir7FXfnMwbX2k9IzpriDkdHlKAZ7oe MEmhgvECuhtwxUkV3ijW2UmrVrBJ1t4pct4h7hnHiCFbbzLJxkeEJGqlIed5/FQYVK14 CGMVrMA16AdYwclxV3g9XZus8wIPQm5218XBeenD76iI39VXg0XVPCqV5AzfzgRq4BIp h+XQ== X-Gm-Message-State: ANoB5pl169RAMVyUhpA1q3rVj7bELH5xdjF2PQVug9Q++3pSJh34p6aI Ju9Ma/w5J9vkCnwsg6E2TmknLg== X-Received: by 2002:a05:651c:94:b0:27a:7a8:c54b with SMTP id 20-20020a05651c009400b0027a07a8c54bmr1902929ljq.45.1670598351535; Fri, 09 Dec 2022 07:05:51 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id r23-20020a2eb617000000b00279cbcfd7dbsm245033ljn.30.2022.12.09.07.05.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Dec 2022 07:05:50 -0800 (PST) Message-ID: <24fa41d2-87d1-be19-af44-337784b0f0a4@linaro.org> Date: Fri, 9 Dec 2022 16:05:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH] dt-bindings: ufs: qcom: Add reg-names property for ICE Content-Language: en-US To: Luca Weiss , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Alim Akhtar , Avri Altman , Bart Van Assche , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221209-dt-binding-ufs-v1-0-8d502f0e18d5@fairphone.com> From: Krzysztof Kozlowski In-Reply-To: <20221209-dt-binding-ufs-v1-0-8d502f0e18d5@fairphone.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 09/12/2022 15:29, Luca Weiss wrote: > The code in ufs-qcom-ice.c needs the ICE reg to be named "ice". Add this > in the bindings so the existing dts can validate successfully. > > Also sm8450 is using ICE since commit 276ee34a40c1 ("arm64: dts: qcom: > sm8450: add Inline Crypto Engine registers and clock") so move the > compatible to the correct if. > > Signed-off-by: Luca Weiss > --- > (no cover subject) > > The only remaining validation issues I see is the following on sc8280xp-crd.dtb > and sa8540p-ride.dtb: > > Unevaluated properties are not allowed ('required-opps', 'dma-coherent' were unexpected) > > Maybe someone who knows something about this can handle this? > > And the patch adding qcom,sm6115-ufshc hasn't been applied yet. > --- > Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml > index f2d6298d926c..58a2fb2c83c3 100644 > --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml > +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml > @@ -102,7 +102,6 @@ allOf: > - qcom,sc8280xp-ufshc > - qcom,sm8250-ufshc > - qcom,sm8350-ufshc > - - qcom,sm8450-ufshc > then: > properties: > clocks: > @@ -130,6 +129,7 @@ allOf: > - qcom,sdm845-ufshc > - qcom,sm6350-ufshc > - qcom,sm8150-ufshc > + - qcom,sm8450-ufshc > then: > properties: > clocks: > @@ -149,6 +149,12 @@ allOf: > reg: > minItems: 2 > maxItems: 2 > + reg-names: There are no reg-names in top-level, so it's surprising to see its customized here. It seems no one ever documented that usage... > + items: > + - const: std > + - const: ice > + required: > + - reg-names > > - if: > properties: > > --- > base-commit: f925116b24c0c42dc6d5ab5111c55fd7f74e8dc7 > change-id: 20221209-dt-binding-ufs-2d7f64797ff2 > > Best regards, Best regards, Krzysztof