From patchwork Wed Nov 2 19:19:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13028914 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 2F683C4332F for ; Wed, 2 Nov 2022 19:20:13 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HJfASWMVgvTs+j03RCcc64nL+7NENqhcAN4hel70IkI=; b=KmHF7ZgTamliTW OdA9xuvh/T8hyjEjFzr/JF6YbANJF6wTfeNDs/v8DClFxsATjvBmuPHwCEFbAh0woj39IiCiIKvO+ 0ynla1fbdR87NsZ3pbcDUZPuUvVy06uHO8DPaLhfRn8cagDQFqRJzyE7yu8hfMGEB6bVYAsJhIsgt Nl6Z5vclIXULtcXzyf2uqza493w9ks7qhqE7eykBi4n5Bc8FvhVP6JefMaThA9odsGhDk5gxT+hK4 bi3gukGiqUYUOIx7hPK6yEV2uLgigKoPgiGg+4tP3+YztzBIV0f4annhjYAJ4NEzaaHdQcez7EiPN Z4cZLbk4EZQbRyQdV5Ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqJGg-00DeeD-Kf; Wed, 02 Nov 2022 19:19:18 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqJGd-00DebJ-1w for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2022 19:19:16 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 46D2084F39; Wed, 2 Nov 2022 20:19:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1667416753; bh=hLC0lF5CIOAdbxqc8RE/zt0zR1rosOmUSMtnFA3xDnE=; h=From:To:Cc:Subject:Date:From; b=DmaYX0oQ+ZAgAH5KRKzldChJt6NZu2EtVtlUrvHR/0/qXH+g4+5KqkOLtFZZFrf5z ODqFyzFNxSJOjZuvr4/xy762DePJrvnGP2lewvvpihR+TzWeHtrG29iHDUvpAafcI1 B8S3oGgL82EJxtUIFxAHViUCgI2BRH20e6lJ2fEM6PMXdKUEuug7ubEvDiVyLmCtDF 1lA3LgGwsyUIKnfPdDZwkH+9k++yzIPuTX4c2/d/1+gg6G0XIPZQyqjfhdqRN04dPW gC1lgEiHkFY3hJ7FhqppXzHvT4vDeIjaI7z3twgWZnG4TePCmnUrJPa9hn8fdKwhp1 b7pbkD5HDDs8A== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Fabio Estevam , Hans Verkuil , Laurent Pinchart , Lucas Stach , Martin Kepplinger , Mauro Carvalho Chehab , Rob Herring , Shawn Guo , NXP Linux Team Subject: [PATCH] dt-bindings: media: imx7-csi: Document i.MX8M power-domains property Date: Wed, 2 Nov 2022 20:19:10 +0100 Message-Id: <20221102191910.120802-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221102_121915_267116_E4849756 X-CRM114-Status: GOOD ( 10.28 ) 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 The power-domains property is mandatory on i.MX8M Quad and Mini. Document the property and mark it as required on the aforementioned variants of the IP, present in those SoCs. Signed-off-by: Marek Vasut Acked-by: Acked-by: Krzysztof Kozlowski --- Cc: Fabio Estevam Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Lucas Stach Cc: Martin Kepplinger Cc: Mauro Carvalho Chehab Cc: Rob Herring Cc: Shawn Guo Cc: linux-arm-kernel@lists.infradead.org Cc: NXP Linux Team To: devicetree@vger.kernel.org --- .../devicetree/bindings/media/nxp,imx7-csi.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml b/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml index 4f7b782653361..358019e85d907 100644 --- a/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml +++ b/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml @@ -37,6 +37,9 @@ properties: items: - const: mclk + power-domains: + maxItems: 1 + port: $ref: /schemas/graph.yaml#/properties/port @@ -50,6 +53,18 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,imx8mq-csi + - fsl,imx8mm-csi + then: + required: + - power-domains + examples: - | #include