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: 1714807 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=x3zSgRkx; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4NVrNs5TF1z23yh for ; Mon, 12 Dec 2022 16:51:57 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230427AbiLLFvy (ORCPT ); Mon, 12 Dec 2022 00:51:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbiLLFvx (ORCPT ); Mon, 12 Dec 2022 00:51:53 -0500 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BCA626C7 for ; Sun, 11 Dec 2022 21:51:51 -0800 (PST) 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-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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 {