Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11636885rwl; Tue, 3 Jan 2023 02:22:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXvL2zFqjsdzbzwpeDCYm6jBoXC9vo/ZaOVPVGcdkBgbhp9jmCv+EaQjlbVbR5xga6u8aAtl X-Received: by 2002:a17:902:cf01:b0:18b:3389:2caf with SMTP id i1-20020a170902cf0100b0018b33892cafmr77509350plg.59.1672741326816; Tue, 03 Jan 2023 02:22:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672741326; cv=none; d=google.com; s=arc-20160816; b=GwNH6knmfy8mU+EoH5esj1IhtGJtmv1jOL0wJ5TbAd5qkLuhE0bQqCep6i6x+BJuhI CCxF4NjW1tFxXakSHbafIRDOtBto/bR09/pLeb7RBZVFlIeT63KxjqsOBRttv624P99R wF5YPXhj5lsr/RbwlUuIq/mgpWmZoi/u5fdKtxhjUjnzUCZJ0pjlb60/kr5kSuglCJxO FoWQlkjdy7EMadTuLXe66UXBFFFB+h9xaCuIrNw6DQZX/mMxktaP634zrEiYrkrAfMgF cHH08OfAUH2wlO4yxAiK9ziYzipw0+B29ReLdVwDAY59ickkHtJ60bTUK6B3GcLxOi13 mkNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=1qegoFz4x7XfcFSsZ34cQSMJblSaQTf1MBI1mJP5ViM=; b=gqviF/M9ONMlHiaQInBAvNylCGthetFaixuj4Y2guvLgLiQBHxRpEXit2J5Tz2NCBQ ifNTw4E3p4Bu6Yw+iTSrXUzT464Qb3H08FEmKTZ7CVRyVlA93M7nfKg34Ar99HYcDCC9 NqlrWvZ1X5nUw+7wIcssupIlOrk/hThiUetDUX28mwUhUl/YTCZhXGWJxqI0c+BseXSf wxX6s3MN9TW2KPckAA6dDzAXX+Tx6MIHRSoEQwQJ9Hc7Uu4Jzncg2F9FT/XJ9lrCQ/61 2yuajD4/ejI4/dfmoMFy/Dsm8W6V4kGK2BCmIfD2L1G7Si4gkxJV5IdvzvDR7sQY7ghd c3iQ== 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y5-20020a17090322c500b0017a0e7aaf6bsi2431529plg.128.2023.01.03.02.21.59; Tue, 03 Jan 2023 02:22:06 -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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237128AbjACKIK (ORCPT + 61 others); Tue, 3 Jan 2023 05:08:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233233AbjACKIH (ORCPT ); Tue, 3 Jan 2023 05:08:07 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B39A134; Tue, 3 Jan 2023 02:08:05 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 78B4D1516; Tue, 3 Jan 2023 02:08:46 -0800 (PST) Received: from e120937-lin (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D97393F663; Tue, 3 Jan 2023 02:08:03 -0800 (PST) Date: Tue, 3 Jan 2023 10:08:01 +0000 From: Cristian Marussi To: Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sudeep.holla@arm.com, Rob Herring , devicetree@vger.kernel.org Subject: Re: [PATCH 4/5] dt-bindings: firmware: arm,scmi: Add support for syspower protocol Message-ID: References: <20221222183823.518856-1-cristian.marussi@arm.com> <20221222183823.518856-5-cristian.marussi@arm.com> <3d89e135-c8e4-ede4-950f-03900a660822@kernel.org> <23436455-098f-6e21-2330-d91158a591ad@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23436455-098f-6e21-2330-d91158a591ad@kernel.org> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham 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, Dec 23, 2022 at 12:22:34PM +0100, Krzysztof Kozlowski wrote: > On 23/12/2022 11:37, Cristian Marussi wrote: > > >>> > >>> + protocol@12: > >>> + type: object > >>> + properties: > >>> + reg: > >>> + const: 0x12 > >>> + > >> > >> Why? It did not got lost, it's already covered by pattern. If you refer > >> to particular warning, please paste it in commit msg. Otherwise it looks > >> incorrect. > >> > > > > Yes indeed, but as a matter of fact it seemed to me that we used to add an > > entry and an example for all the currently published standard SCMI protocols, > > even though already covered by the patternProp (which covers also any > > custom-vendor protocol in the wild) and not sporting any additional > > custom properties (see protocol@18), but maybe this is just a unneeded wrong > > habit adding only cruft to the bindings. > > > > If you think it does not add any value I can happily drop this, or > > limiting the addition just to the example (and/or drop equally the unneeded > > protocol@18 node too in this case). > > Duplicating the node (once in properties, second in patternProperties) > is not needed. I am also not sure what would be the point to add to the > example - example does not have to be complete DTS for all cases, but > illustrate the binding and allow is to test it. > Thanks, I'll drop this patch. Cristian