From patchwork Mon Dec 12 05:51:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13070748 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 2F050C4332F for ; Mon, 12 Dec 2022 05:53:27 +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=7JgW89hW6m8M1qvB3jT1uc06yVPnEkT08LhbYg3nb+w=; b=qJacMwuqfcaIqA 98G2ULR+/xzcW2tmcAf3FCW9JXzgxrvDZdg+mJJotGuVw+WCw8w6jZZ8tR4Db1/wtugcjLQpyM/Sn u/T+XFZDL+jaMRXDw8GcIh5Blpg3/ea4nijruKZfnvxFmqeHscxKKzV0UkIeHBs0F8ikzVRzUfQt5 LXFHcHbj9dYTOZq7aSVHDpsdJDeNzBiglMNLH4lpzCcHmK/pfDw4DUXaTXO8QlnEdCwediHvFD5Jh OyoVY9rwKOdMZKkDldluQNOf/9SMCzbw32UJATIHAVjknvLM2gkjk9mKTvIIihWZ0ebwbWCm9g4sw wj/Kiur9x8VWvZKsjsJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p4bjO-008U90-7O; Mon, 12 Dec 2022 05:52:02 +0000 Received: from phobos.denx.de ([85.214.62.61]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p4bjE-008U61-Vk for linux-arm-kernel@lists.infradead.org; Mon, 12 Dec 2022 05:52:00 +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 C2BDB852C4; Mon, 12 Dec 2022 06:51:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1670824309; bh=ZndLeltJuiFs8Zg4ydab+sBTWMIECwKCK9FzMcCrjLA=; h=From:To:Cc:Subject:Date:From; b=x3zSgRkxyEYjI5Y5sfi/Pntd28byV61Q9UZ6ikfIp9zA4eTQpZGP+xwsy0Ob0ZKww zr48YFD2jzeDpoNlMV/tMrDL9MS/8p+JnaVSVBbByl60oQVqY+RfsGXcJGnaYLu2lK e+VfqeniKVe3txfC914fFSfk1zSbKqmDmJ8e0aX6mUHlyzHoSv+RJQCFqLNuqHjce4 x9W0rq/TEagotEc1omnslmImRa+ODefhYKueTujEaVUksRbINZHS2TaWzJ/VfPHUKr TnXPqIaTUPmSQLnlA1+u8llmUvRoVS60iBdkFWMGvrBEJRKbXMCvvT4SnDrIPAGA7o +BLumOBQ2oG0w== From: Marek Vasut To: devicetree@vger.kernel.org Cc: Marek Vasut , Krzysztof Kozlowski , Fabio Estevam , Krzysztof Kozlowski , Liu Ying , Lucas Stach , NXP Linux Team , Rob Herring , Shawn Guo , linux-arm-kernel@lists.infradead.org Subject: [PATCH v3] dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property Date: Mon, 12 Dec 2022 06:51:37 +0100 Message-Id: <20221212055137.270638-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-20221211_215158_635001_E544197B X-CRM114-Status: UNSURE ( 8.37 ) X-CRM114-Notice: Please train this message. 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 Mini, Nano, Plus and i.MX6SX, i.MX6SL. Document the property and mark it as required on the aforementioned variants of the IP, present in those SoCs. Acked-by: Krzysztof Kozlowski Signed-off-by: Marek Vasut Reviewed-by: Liu Ying --- Cc: Fabio Estevam Cc: Krzysztof Kozlowski Cc: Liu Ying Cc: Lucas Stach Cc: NXP Linux Team Cc: Rob Herring Cc: Shawn Guo Cc: linux-arm-kernel@lists.infradead.org To: devicetree@vger.kernel.org --- V2: - Add AB from Krzysztof - Add mx6sx power domain into the list V3: - Update commit message - Add i.MX6SL - Update example --- .../devicetree/bindings/display/fsl,lcdif.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index 876015a44a1e6..1f17be501749b 100644 --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml @@ -52,6 +52,9 @@ properties: interrupts: maxItems: 1 + power-domains: + maxItems: 1 + port: $ref: /schemas/graph.yaml#/properties/port description: The LCDIF output port @@ -87,6 +90,19 @@ allOf: maxItems: 1 clock-names: maxItems: 1 + - if: + properties: + compatible: + contains: + enum: + - fsl,imx6sl-lcdif + - fsl,imx6sx-lcdif + - fsl,imx8mm-lcdif + - fsl,imx8mn-lcdif + - fsl,imx8mp-lcdif + then: + required: + - power-domains examples: - | @@ -101,6 +117,7 @@ examples: <&clks IMX6SX_CLK_LCDIF_APB>, <&clks IMX6SX_CLK_DISPLAY_AXI>; clock-names = "pix", "axi", "disp_axi"; + power-domains = <&pd_disp>; port { endpoint {