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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C6CCAC27C76 for ; Wed, 25 Jan 2023 15:41:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=M01c7wUkQBydXdG8q/859PkgC881OWS2g8tJAH9s+I0=; b=Ik3EUwuo2G+9m1 skgi0m/hn8I0k9OZ2GWoGPut/GFoJkSbK2+Ama1OBtGu2QvuBpExnYByFrHmYE5vs8k0GKwtYHysV Z48I6CyP9OY5Z6ety4P7rclWEyVZYhXgHn6TKmdczQSHQj1GSjUlL/CIwHIQDiKUGCj1tXAz7dtMP LeEY6lppeI6nv2djNRGfAw3QIPbusTvoj+zq6XIBwqNOkgSX58iaCGTAr2at6WOyTfefIBeg9nsO1 ZM3OZGclE1PHWTzRt5lJmAl4UJmqh7fwb1KH8ZdiRfnj2Gj6EEcVBtmRNRnvCq78vlNRD0oOpSU2z 3MgS2fvXwZY9381XdArw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKhtD-007qSC-Ix; Wed, 25 Jan 2023 15:40:43 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKhtB-007qRW-0M for linux-arm-kernel@lists.infradead.org; Wed, 25 Jan 2023 15:40:42 +0000 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 A53C64B3; Wed, 25 Jan 2023 07:41:17 -0800 (PST) Received: from e120937-lin (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 396E43F64C; Wed, 25 Jan 2023 07:40:34 -0800 (PST) Date: Wed, 25 Jan 2023 15:40:27 +0000 From: Cristian Marussi To: Sudeep Holla Cc: Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: firmware: arm,scmi: Restrict protocol child node properties Message-ID: References: <20230124222023.316089-1-robh@kernel.org> <20230125141113.kkbowopusikuogx6@bogus> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230125141113.kkbowopusikuogx6@bogus> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230125_074041_136257_21A6E6F5 X-CRM114-Status: GOOD ( 20.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jan 25, 2023 at 02:11:13PM +0000, Sudeep Holla wrote: > On Wed, Jan 25, 2023 at 01:43:48PM +0000, Cristian Marussi wrote: > > so now that the catch-all protocol@ patternProperty is gone in favour > > of the 'protocol-node' definition and $refs, does that mean that any > > current and future SCMI officially published protocol has to be > > added to the above explicit protocol list, even though it does not > > have any special additional required property beside reg ? > > (like protocol@18 above...) > > > > If there are no consumers, should we just not add and deal with it > entirely within the kernel. I know we rely today on presence of node > before we initialise, but hey we have exception for system power protocol > for other reasons, why not add this one too. > > In short we shouldn't have to add a node if there are no consumers. It > was one of the topic of discussion initially when SCMI binding was added > and they exist only for the consumers otherwise we don't need it as > everything is discoverable from the interface. > I'm fine with that, just wanted to understand/clarify the rule here. Thanks, Cristian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel