From mboxrd@z Thu Jan 1 00:00:00 1970 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 2F939ECAAD5 for ; Mon, 5 Sep 2022 14:42:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238646AbiIEOmu (ORCPT ); Mon, 5 Sep 2022 10:42:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238395AbiIEOm3 (ORCPT ); Mon, 5 Sep 2022 10:42:29 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51B6E5D0F9 for ; Mon, 5 Sep 2022 07:40:03 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id k18so9413647lji.13 for ; Mon, 05 Sep 2022 07:40:03 -0700 (PDT) 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; bh=INhSK7LXVVDaskTu6/00QJErD966u/7pw0hdfzEYJWg=; b=Qb8c09iKkB1fVbjL/AHzIlkmAr6Y4pLSDFlotZFPJRWqBG928PVxOvR6GxtKtwbMT7 9sKPGiyfV5+nnjYsF8Xfhdvs1/OhBuOp2BOa0RZrBjbpgPfVX3TFPiTTMBuTbjngyKEk GD6qP6mL7KHM+2tpDX4YeT/BdjSqHL/znY/WT2dEHyRb7N2+Fy/oypSllsV1g3oS4Bvm ifSEG+TSpqMp0QAwbc12KtWpCyLOSpfzewdUdGyZZkwjfZrONj12+/8tvBVZl6cf/CA8 i6EXZHGISO00IaNUj0GUaCgypA2Fv30lyvSYzaUscxcKqK9Z0VLHDEu3yQB5vcVaimY9 hAFQ== 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; bh=INhSK7LXVVDaskTu6/00QJErD966u/7pw0hdfzEYJWg=; b=FBVL5AhRkmpV1CBLRSspJQ6PEF3PomhFPgFA825ga4DRNqm0ZmLz+07+p+Xu87PdGs UmJjKlw8cUzgBV8Gy25DEqIb5I0jUuFiLV/OmGH+xe4ZOFSVASFyNYUlQqYtmABvtfum xG3KPHToeY1w7NklB3ObQc6Y9h4PuEIQ/jF/btsMJJD86BHYhd5FjYgZ0FnsmOzRKImc RyVBDzJTz85xiT4xNJjGHVGgQdof65z/X8Y+0Xua1d2LNrg17Q5BMekQCta9jPGmj5Cj TOZ8DB7ZAOsQjnVC9gbBoz+12TrWCbW93SuR56kyOCXHnuJNJrI/UTyLo15anAL/+fmZ CYhA== X-Gm-Message-State: ACgBeo0ePDdI6d1UMaIAm5VUG7AKkYx1yApQA7wjmjg+936cD4P6d6Fa BB/GT+7DSoZwwhq0XF6S/mxU9A== X-Google-Smtp-Source: AA6agR7hdr6wzS4L5wb5JGm+1Oatscya7lhcM/HJzwZeKmJb29LdFrIu7ziHYTAFlu65mtPF1f/LBw== X-Received: by 2002:a2e:3808:0:b0:268:f30d:a3e with SMTP id f8-20020a2e3808000000b00268f30d0a3emr4576031lja.486.1662388801204; Mon, 05 Sep 2022 07:40:01 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id c2-20020a056512324200b0048b08e25979sm1205662lfr.199.2022.09.05.07.39.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Sep 2022 07:40:00 -0700 (PDT) Message-ID: <0ab48493-cb9d-8760-d629-1ccd8c75b6f5@linaro.org> Date: Mon, 5 Sep 2022 16:39:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v6 1/2] dt-bindings: misc: fastrpc convert bindings to yaml Content-Language: en-US To: Abel Vesa , Rob Herring Cc: Konrad Dybcio , Linux Kernel Mailing List , Andy Gross , David Heidelberg , Amol Maheshwari , devicetree@vger.kernel.org, Srinivas Kandagatla , Bjorn Andersson , linux-arm-msm@vger.kernel.org References: <20220905103715.955786-1-abel.vesa@linaro.org> <1662381657.354400.1957044.nullmailer@robh.at.kernel.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/09/2022 16:30, Abel Vesa wrote: > On 22-09-05 07:40:57, Rob Herring wrote: >> On Mon, 05 Sep 2022 13:37:14 +0300, Abel Vesa wrote: >>> Convert Qualcomm FastRPC bindings to yaml format, so that we could validate >>> dt-entries correctly and any future additions can go into yaml format. >>> >>> Use compute-cb@ subnodes instead of just cb@. >>> >>> Also add qcom,non-secure-domain, qcom,glink-channels and >>> qcom,smd-channels missing properties to make sure dtbs_check doesn't >>> fail right off the bat. >>> >>> Co-developed-by: Srinivas Kandagatla >>> Signed-off-by: Srinivas Kandagatla >>> Co-developed-by: David Heidelberg >>> Signed-off-by: David Heidelberg >>> Signed-off-by: Abel Vesa >>> --- >>> >>> Changes since v5: >>> * Removed the txt file >>> >>> .../devicetree/bindings/misc/qcom,fastrpc.txt | 88 -------------- >>> .../bindings/misc/qcom,fastrpc.yaml | 108 ++++++++++++++++++ >>> 2 files changed, 108 insertions(+), 88 deletions(-) >>> delete mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.txt >>> create mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml >>> >> >> 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/linux-dt-review/Documentation/devicetree/bindings/misc/qcom,fastrpc.example.dtb: smd-edge: 'qcom,smd-edge' is a required property >> From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml >> /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/misc/qcom,fastrpc.example.dtb: smd-edge: 'oneOf' conditional failed, one must be fixed: >> 'mboxes' is a required property >> 'qcom,ipc' is a required property >> From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml >> /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/misc/qcom,fastrpc.example.dtb: smd-edge: 'oneOf' conditional failed, one must be fixed: >> 'interrupts' is a required property >> 'interrupts-extended' is a required property >> From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml > > Right. > > So actually, the parent node is glink-edge, not smd-edge. > > And there are some other required properties missing when switching to > glink-edge. > > Will resend with glink-edge instead and add all the related missing > properties. BTW, if you need more fixes, just take over the patchset and add co-developed-by. Best regards, Krzysztof