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 6B9D4C02193 for ; Mon, 3 Feb 2025 22:22:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4owTwwRTiUJNe/UwXGTFceMfkYxJWBm3DVKrkEKXJHw=; b=hOexOFr7Wes+eRmEqEFnSS4M3N fYuaCqseBfPzRYWjTelRqEXZIV2NVuk2hoJlvE+B5jrZsFslyQ2fxnRM0tjkID41JbDnQg24RKGE9 y2MvtP1sW3l/EQgoLqrlI3jkBnJVYRQOO9faNFqnmsC/L3jfCOsO4EEOk3m1V/o7j9Bm08m8jLfGk X1epqKzW2dlQzWJbLqQhsFTkbu/lOxkb88nMQabfgdZnIkQJFsQURUANOxQTsGOT7J2Nf2btKlKI4 xKf0bbU/b5swA9IHmvHiaZN6aVntZvpNURVi+JdNt62ritFIErJxsZ2FgfbSrka2Lj5SKLD6imQl2 nYy5RuPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tf4pl-0000000GmDq-3Iae; Mon, 03 Feb 2025 22:22:25 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tf4np-0000000Gm0o-01yc; Mon, 03 Feb 2025 22:20:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=4owTwwRTiUJNe/UwXGTFceMfkYxJWBm3DVKrkEKXJHw=; b=Gz47kXrfxXNzMiT/jCkm/CZdGa kXzKEYJ1GE9OASJwHNyCjmtSl2a2QaCYfU5Px8nEBHQlJBUwjdZfKpvWGLla3LaFFCyOZ+Sx+/Vl9 +K0HeCZqq7nSMYQ4iypUSA7wolx899o9HiWwHCxsF6tMfC3nbxkKYZd7FFd1JJYFNktXyNdio5SLI 9hS9hAKOGt7ExshOEbhN+zIjgGAY3lIIhaW0bwNsnUTNEbX3waxNrTrN2FIQB9BUHzXyk4oTRV7hi XTteVKx87Yn9BOxvCeCFBEPc8btcj1oqJ6PE/VK47UNsDZU5rBvoUsJJIBn9fPuj6n4MZKOF12kos b9SrBtZw==; Received: from dfw.source.kernel.org ([139.178.84.217]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tf4nl-0000000GCXg-3MCa; Mon, 03 Feb 2025 22:20:23 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 53CE65C111B; Mon, 3 Feb 2025 22:19:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 976C1C4CED2; Mon, 3 Feb 2025 22:20:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1738621219; bh=YHnhH8TGTVwn5M7n1rEBKbWfWUvHH1qfDMRyCsjzgVE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QnWSwFKLxV/bQd8Pu43Oh88t0R1YK305mRti99NklxLCDM0Lm6X4CobKomvMce48o CJATxa7dNjXBRUU1KZFnCV8ixqVdgVzC87ccgl7Sq1Bi0+Q/H1rHXLx2RjeP4Wj4qu OWalL9BWbFK1TyGzAK1hwJI6yXhG7v/m/Hworcp/EhC+IH+Hvt9a3ELy9rzH7cn9D1 vSJbfqK9y80/BMpPk/HjMOsbrg2dc5Ep+DtlZ33gqlvI06JOy3id8tMXJgKbzZhVsz t8i3JCc/m7Me1D4zc4VSNpUOLsMiYzgwesxFK482/eyNHr4d5FORsSPtW+OJ2ety47 nTXAg33bTK6FA== Date: Mon, 3 Feb 2025 16:20:18 -0600 From: Rob Herring To: Frank Li Cc: Vinod Koul , Kishon Vijay Abraham I , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Philipp Zabel , Laurent Pinchart , Mauro Carvalho Chehab , Rui Miguel Silva , Martin Kepplinger , Purism Kernel Team , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, "Guoniu.zhou" , Robby Cai , Robert Chiras , Mirela Rabulea , Laurentiu Palcu Subject: Re: [PATCH 08/14] media: dt-bindings: nxp,imx8mq-mipi-csi2: Add i.MX8QM compatible strings Message-ID: <20250203222018.GA226659-robh@kernel.org> References: <20250131-8qxp_camera-v1-0-319402ab606a@nxp.com> <20250131-8qxp_camera-v1-8-319402ab606a@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250131-8qxp_camera-v1-8-319402ab606a@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250203_222022_225767_C9E73B59 X-CRM114-Status: GOOD ( 14.71 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jan 31, 2025 at 04:33:53PM -0500, Frank Li wrote: > From: Robert Chiras > > Add compatible strings for i.MX8QM platform. Remove fsl,mipi-phy-gpr from > required properties and add 'phys', since i.MX8QM use standard phy > interface. > > Keep the same restriction for other compatible strings. > > Signed-off-by: Robert Chiras > Reviewed-by: Robby Cai > Reviewed-by: Mirela Rabulea > Reviewed-by: Laurentiu Palcu > Signed-off-by: Frank Li > --- > .../bindings/media/nxp,imx8mq-mipi-csi2.yaml | 30 ++++++++++++++++++++-- > 1 file changed, 28 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml b/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml > index 2a14e3b0e0040..91c4d8fbb1f8c 100644 > --- a/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml > +++ b/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml > @@ -18,6 +18,8 @@ properties: > compatible: > enum: > - fsl,imx8mq-mipi-csi2 > + - fsl,imx8qm-mipi-csi2 > + - fsl,imx8ulp-mipi-csi2 > > reg: > maxItems: 1 > @@ -39,13 +41,18 @@ properties: > - const: ui > > power-domains: > - maxItems: 1 > + minItems: 1 > + maxItems: 2 > > resets: > items: > - description: CORE_RESET reset register bit definition > - description: PHY_REF_RESET reset register bit definition > - description: ESC_RESET reset register bit definition > + minItems: 1 > + > + phys: > + maxItems: 1 > > fsl,mipi-phy-gpr: > description: | > @@ -113,9 +120,28 @@ required: > - clock-names > - power-domains > - resets > - - fsl,mipi-phy-gpr > - ports > > +allOf: > + - if: > + properties: > + compatible: > + contains: > + enum: > + - fsl,imx8qm-mipi-csi2 > + - fsl,imx8ulp-mipi-csi2 > + then: > + required: > + - phys > + else: > + properties: > + reg: > + maxItems: 1 The max is already 1. > + resets: > + minItems: 3 1, 2, or 3 resets is valid for imx8qm and imx8ulp? 2 power-domains are also now valid? > + required: > + - fsl,mipi-phy-gpr > + > additionalProperties: false > > examples: > > -- > 2.34.1 >