From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E3181B80F; Mon, 15 Apr 2024 22:56:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713221800; cv=none; b=ErWl9Wgffp9oNG4t/6qA25uTvj/yqkQZEuNWvN2Nbu4CQb8uvluCZsjFKzWJV8OBLKn7cmZz29yI9hjeVYuYsWpLJK7HG3MmUV/FehFRMLGEThZLTA1HXLRYUPPzUWzu01WQQfKWCP2BYkIBE4Mwi5g0ZJzHDuHve1TpaSRVEcQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713221800; c=relaxed/simple; bh=8MzTTUx65njv3TFYp00CMmUN6yXR6c3L1wS1VBzTK+Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Cf+CoryLnBTo7Muf2mGRk2ZS4BdYi9hsWAGVtC3RwINyqdfyc9FQi3wRebZVB8Gp0zjsJH9iBWlhy9yBXJLhTVblTJ1d8u8sJLTHIl+wdKTaDy9+K4tFomlCFUbw98xi88taihCIOlqiUqVUhI3fB9gaoRfjROOSaRn+bMS4POU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JrXB+Wij; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JrXB+Wij" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F348FC113CC; Mon, 15 Apr 2024 22:56:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713221800; bh=8MzTTUx65njv3TFYp00CMmUN6yXR6c3L1wS1VBzTK+Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JrXB+Wijs9KfbMzQPONxzKL2CY+wGjvgU4UIiPwAqxxpcNoBwWzCwkcLuYZcNttOt RONckGdSQfRDH5Zhq7lKszHPgiKekKgB63QQQHjdib6AY36maQg2owL/RivVFk20D5 OGOgyfpIxEPRDQuzmE/y3K3U3SWwJa19WK+piRsCtO4OHyzY/Tws54AsqwfFdoSPgK lVfMTBhvQzi6btk5VFDtEWcToRmh4Pi9lhFEsv6U3SKExTaTreaxPNslmARKlPS2gQ Ul0x4fEdbiJLLJ9RkA+DLEadI5f5CdNFGdy5oxItYDwxJlJkV87ZE4UP3F3HB1fdq7 UMftr6iw+GddQ== Date: Mon, 15 Apr 2024 17:56:37 -0500 From: Rob Herring To: "Peng Fan (OSS)" Cc: Linus Walleij , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Peng Fan , Sudeep Holla , Cristian Marussi , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH 2/3] dt-bindings: firmware: arm,scmi: support i.MX95 SCMI Pinctrl Message-ID: <20240415225637.GA234203-robh@kernel.org> References: <20240412-pinctrl-scmi-oem-v1-v1-0-704f242544c1@nxp.com> <20240412-pinctrl-scmi-oem-v1-v1-2-704f242544c1@nxp.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240412-pinctrl-scmi-oem-v1-v1-2-704f242544c1@nxp.com> On Fri, Apr 12, 2024 at 08:29:26AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > i.MX95 SCMI Pinctrl uses OEM specific units, so add '$ref' to > '/schemas/pinctrl/nxp,imx95-pinctrl.yaml' and an example. > > Signed-off-by: Peng Fan > --- > Documentation/devicetree/bindings/firmware/arm,scmi.yaml | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > index e9d3f043c4ed..ebc6c083b538 100644 > --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > @@ -249,9 +249,11 @@ properties: > > protocol@19: > type: object > - allOf: > - - $ref: '#/$defs/protocol-node' > - - $ref: /schemas/pinctrl/pinctrl.yaml I don't think anything from here was actually used... > + anyOf: > + - $ref: /schemas/pinctrl/nxp,imx95-pinctrl.yaml > + - allOf: > + - $ref: '#/$defs/protocol-node' This must always apply and should not be under the anyOf. > + - $ref: /schemas/pinctrl/pinctrl.yaml > > unevaluatedProperties: false > > > -- > 2.37.1 > 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 EC7ABC00A94 for ; Mon, 15 Apr 2024 22:56:56 +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=2Q8aGQDuN4/h216BluLU98Dkvfalx4U2cYORjS73hE0=; b=Hu+xxupf8Y8fII dkpRaBwRsJyz3pyzF/lGqGUrX/ny5pz66nK9hWlIjibSLUBOx59S4jEG9z1Bd6Vhkh55BgdeJdCJI fISEjrzuyjCDrju/8CMZRiNImQo7x2otPGiyrqDdbUZIxwQ4ZvOpA4sZZ+JlS9N52jOpNX5vrMjKJ oWsqChgulD5l9o4K0TIkD7EGbpwcxN10Sp/SuGJwPRvkgXy5JWTWrlCKwLGSOwqq4VbamXyFMnH9X 7S377fPlbfsLp3ngPkXZEPMa6THOxX8tgRkozsKCh5yTj6TRgWIU+dFOp6hUb7aRLWl+sRZJNTQvd yGPDNo7g5quCpPW/yuIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwVFj-0000000A7BL-3Kvi; Mon, 15 Apr 2024 22:56:43 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwVFh-0000000A7Ao-2Hjd for linux-arm-kernel@lists.infradead.org; Mon, 15 Apr 2024 22:56:43 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 8B7CA60BC3; Mon, 15 Apr 2024 22:56:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F348FC113CC; Mon, 15 Apr 2024 22:56:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713221800; bh=8MzTTUx65njv3TFYp00CMmUN6yXR6c3L1wS1VBzTK+Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JrXB+Wijs9KfbMzQPONxzKL2CY+wGjvgU4UIiPwAqxxpcNoBwWzCwkcLuYZcNttOt RONckGdSQfRDH5Zhq7lKszHPgiKekKgB63QQQHjdib6AY36maQg2owL/RivVFk20D5 OGOgyfpIxEPRDQuzmE/y3K3U3SWwJa19WK+piRsCtO4OHyzY/Tws54AsqwfFdoSPgK lVfMTBhvQzi6btk5VFDtEWcToRmh4Pi9lhFEsv6U3SKExTaTreaxPNslmARKlPS2gQ Ul0x4fEdbiJLLJ9RkA+DLEadI5f5CdNFGdy5oxItYDwxJlJkV87ZE4UP3F3HB1fdq7 UMftr6iw+GddQ== Date: Mon, 15 Apr 2024 17:56:37 -0500 From: Rob Herring To: "Peng Fan (OSS)" Cc: Linus Walleij , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Peng Fan , Sudeep Holla , Cristian Marussi , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH 2/3] dt-bindings: firmware: arm,scmi: support i.MX95 SCMI Pinctrl Message-ID: <20240415225637.GA234203-robh@kernel.org> References: <20240412-pinctrl-scmi-oem-v1-v1-0-704f242544c1@nxp.com> <20240412-pinctrl-scmi-oem-v1-v1-2-704f242544c1@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240412-pinctrl-scmi-oem-v1-v1-2-704f242544c1@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240415_155641_662594_8A57F318 X-CRM114-Status: GOOD ( 15.23 ) 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 Fri, Apr 12, 2024 at 08:29:26AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > i.MX95 SCMI Pinctrl uses OEM specific units, so add '$ref' to > '/schemas/pinctrl/nxp,imx95-pinctrl.yaml' and an example. > > Signed-off-by: Peng Fan > --- > Documentation/devicetree/bindings/firmware/arm,scmi.yaml | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > index e9d3f043c4ed..ebc6c083b538 100644 > --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > @@ -249,9 +249,11 @@ properties: > > protocol@19: > type: object > - allOf: > - - $ref: '#/$defs/protocol-node' > - - $ref: /schemas/pinctrl/pinctrl.yaml I don't think anything from here was actually used... > + anyOf: > + - $ref: /schemas/pinctrl/nxp,imx95-pinctrl.yaml > + - allOf: > + - $ref: '#/$defs/protocol-node' This must always apply and should not be under the anyOf. > + - $ref: /schemas/pinctrl/pinctrl.yaml > > unevaluatedProperties: false > > > -- > 2.37.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel