Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3097129rwb; Fri, 9 Dec 2022 09:55:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf5FbGnI9S9WavesM535659A2tPrLMbCPIpb13PKdoBAJHpBR7gj+FK5yMkDmrI0dDLakZSW X-Received: by 2002:a17:906:2284:b0:7c0:4030:ae20 with SMTP id p4-20020a170906228400b007c04030ae20mr5728812eja.24.1670608543492; Fri, 09 Dec 2022 09:55:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670608543; cv=none; d=google.com; s=arc-20160816; b=BGbzqbeOXx4F9DaoanoW444BFXwJa4/X8f6hGsKKUdsEJDjqyuKR9Fg8MkL3vKLhWt SfjEVmBSnZqvvxVLZztslx6NbQrmtSQ0P6Gp0Jb5BRvVfoLB2d/0eHPqa2umLsXsAY3E LHwy2+rdZhfaCnlMmCFhHPIOCDY17MTzrvU+oxuzFCKTaw4rSe8K66FX+uZWE4DGkzc8 43cwCz1GCvr//fLkmCQUQpJG0Emh7MDG4Zu+oJwjpUrH5/o+RqAfjeh0jVrSD1dd4nwx 4tGccrxj524SqsaTPRcyLwZ9kzYcGPsKSstAMciHmQKZu+5eGC10vEj95RO5TjTEtl5B Ea1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:subject:message-id:references:in-reply-to :cc:to:from:mime-version:content-transfer-encoding; bh=lfLx+eHbQgdk9kX2AxUh539ocDqtDYlE8mRQQ26b+yU=; b=pVSFkChaCtjEyzqbkNzjEEq1O8Ktpyw5XKD0UzIblKQmHJBH6M4yEYV6DZtnQQji+8 desR1Adbfd7vkXk01PRGXaHtD5Oj9+XoV8bFboXiJtr6hxKaACmhCVE+QvGuT5hZ6j2s DzxrcNsIe9eOfTgW4nM4hLRra6r9AYElKNs3QrbCuWsHc1rJMaYjuS6ygevYG3h7MZ9U m/Pqwvra0PqQcGin65cTTHoxa8zZC6akmCiQHyR6bNCvfBv8zyISAP3wgdEvszrrGLrN QAWH+J5XY948ZfmvPR7SBnv+SogSoH5+/dMK4feXdAjQipq2wPrs/TcVY4D7GcCvWCRR 325A== ARC-Authentication-Results: i=1; mx.google.com; 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 nb33-20020a1709071ca100b007bddb7980f9si331192ejc.100.2022.12.09.09.55.25; Fri, 09 Dec 2022 09:55:43 -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; 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 S229554AbiLIRlh (ORCPT + 74 others); Fri, 9 Dec 2022 12:41:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230037AbiLIRle (ORCPT ); Fri, 9 Dec 2022 12:41:34 -0500 Received: from mail-oa1-f53.google.com (mail-oa1-f53.google.com [209.85.160.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 384FA53EC8; Fri, 9 Dec 2022 09:41:33 -0800 (PST) Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-1442977d77dso571922fac.6; Fri, 09 Dec 2022 09:41:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=date:subject:message-id:references:in-reply-to:cc:to:from :mime-version:content-transfer-encoding:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=lfLx+eHbQgdk9kX2AxUh539ocDqtDYlE8mRQQ26b+yU=; b=OH4YzqvJSTxOhyP7USYic2+3okVDgaREE8YkhTbTyR+ydBIZ99XQjQDU6Vsxb3wi8a jKt8Ur4cma/8A0OPKfbxmjqYnD1PbvXgaPpgm8+rPAIQBk2rZpKkyF5Eoc0xkjHrC+fG 2xcY5/iccmZcBqFBkKam+6ngDGi4p6tgtMpC4Chpz5Kqox/uW7DF+BQ62QHrxSWV5+6x DlcMM3n+XaCF2HuYol39MdmojMwCkA7SthWvc8qK3DpSR5/Q2yS3vrAqLM5dZAsSACH2 dCiciFk4vFMZLUSFS0arBfSXPjbvYlZ7c37wHIfREqMBncgYwbvuFvoXtKf3KkngfPB0 TG0w== X-Gm-Message-State: ANoB5pn9eT4rAC61opHyto04kgmUDNat2wny75tNTSBrnvH0Yyn9FYHj VbbqSEZHutZIPPZyRAQB1w== X-Received: by 2002:a05:6870:da0c:b0:144:1078:ed9 with SMTP id go12-20020a056870da0c00b0014410780ed9mr3477199oab.25.1670607692409; Fri, 09 Dec 2022 09:41:32 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id l17-20020a056870f15100b0010d7242b623sm1120461oac.21.2022.12.09.09.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Dec 2022 09:41:31 -0800 (PST) Received: (nullmailer pid 3384468 invoked by uid 1000); Fri, 09 Dec 2022 17:41:31 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Luca Weiss Cc: linux-scsi@vger.kernel.org, Bart Van Assche , Alim Akhtar , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, phone-devel@vger.kernel.org, Bjorn Andersson , Rob Herring , linux-kernel@vger.kernel.org, Avri Altman , ~postmarketos/upstreaming@lists.sr.ht, Konrad Dybcio , Andy Gross , devicetree@vger.kernel.org In-Reply-To: <20221209-dt-binding-ufs-v1-0-8d502f0e18d5@fairphone.com> References: <20221209-dt-binding-ufs-v1-0-8d502f0e18d5@fairphone.com> Message-Id: <167060767531.3383988.11067282925964862729.robh@kernel.org> Subject: Re: [PATCH] dt-bindings: ufs: qcom: Add reg-names property for ICE Date: Fri, 09 Dec 2022 11:41:31 -0600 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Fri, 09 Dec 2022 15:29:47 +0100, 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(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/ufs/qcom,ufs.example.dtb: ufs@1d84000: clocks: [[4294967295, 151], [4294967295, 10], [4294967295, 150], [4294967295, 166], [4294967295, 0], [4294967295, 164], [4294967295, 160], [4294967295, 162]] is too short From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/ufs/qcom,ufs.example.dtb: ufs@1d84000: clock-names: ['core_clk', 'bus_aggr_clk', 'iface_clk', 'core_clk_unipro', 'ref_clk', 'tx_lane0_sync_clk', 'rx_lane0_sync_clk', 'rx_lane1_sync_clk'] is too short From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/ufs/qcom,ufs.example.dtb: ufs@1d84000: reg: [[0, 30949376, 0, 12288]] is too short From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/ufs/qcom,ufs.example.dtb: ufs@1d84000: 'reg-names' is a required property From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20221209-dt-binding-ufs-v1-0-8d502f0e18d5@fairphone.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.