From patchwork Tue Dec 13 13:20:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13072066 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 DB71DC4332F for ; Tue, 13 Dec 2022 13:21:22 +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=+8Bc9n4i/bVmZOii4VlLFf25FrkbbDZpHYLnVcSMR9g=; b=XclB6Ft67VUiQN liWloQrBNElVToLlbYRBtecGMYknkizk7wxn8/J3BUxUoygPsSK9BNWhCBxkfWp19on2OgsGgug/s yDM/uTAeJ6cndtd1u0YYGY7azYhEayY7epOQqAAcwyy83jO+cPDx3oSpxFQfYM5VeBy4Wkg1WMZGC +RWA2awiGeR6Qm4f4Efu/V811b9TPOcYl/PXN2NOwC/l63i/nd7VPkzjkZE/CQCe3id4AukULFLOR ttR1ADtge/jL+BNUdbRL91SVLRlvTtYFhq5V01U6TGjTUHUVFQSaDxtLO2vXyCR2qeO91KwegpCbW Mmv0nvuoYCj6Fp2eZIvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p55Co-000Fdo-3l; Tue, 13 Dec 2022 13:20:22 +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 1p55Cj-000Fab-Ev for linux-arm-kernel@lists.infradead.org; Tue, 13 Dec 2022 13:20:18 +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 77E84830FA; Tue, 13 Dec 2022 14:20:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1670937615; bh=Na3UR+OCkTF7xCKnVTZCtpUk8C7PMPrwfu/gPFvMoN4=; h=From:To:Cc:Subject:Date:From; b=O2MkF7JGwmOnuG1kvposuhwQEsBSqM9LZRaRU+Y3zGDYgVpyBWOP9jWDZip9aC7B2 xlC8UeX8sGnoeMvEYoO7Iv04FK/wQG4CJK4FXEKEXH6kujI4RaTar3LRcMoWpnaRBg sJrt2RLL0mNUE2aTEtdg+pr+CUB1rnnlOKKR8Pm5gwIIignXOFpi68HvTOBSWCiuB6 IbIRGLV+2w3zTXZ7wj0HNX0lwzGNOUdvGcv5j81e58qm6+siqHaWegpgtZQrj2/fFY PQUuYpmtaufRjgZndXsKumPHMmq4jn5y7gGTVQdNxpuanAToIO8OoLYC03ty1lFFWv dTobmRHPxrFPQ== From: Marek Vasut To: devicetree@vger.kernel.org Cc: Marek Vasut , Fabio Estevam , Krzysztof Kozlowski , Liu Ying , Lucas Stach , NXP Linux Team , Rob Herring , Shawn Guo , linux-arm-kernel@lists.infradead.org Subject: [PATCH v5] dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property Date: Tue, 13 Dec 2022 14:20:06 +0100 Message-Id: <20221213132006.6446-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-20221213_052017_693182_F7FCE87A X-CRM114-Status: GOOD ( 10.48 ) 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. Signed-off-by: Marek Vasut Reviewed-by: Krzysztof Kozlowski 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 V4: - Drop ack from Krzysztof - Rebase on next 20221213 instead of previous 20221208, which now contains power-domains: part of this patch V5: - Drop power-domains from MX8MP/MX6SX entry --- .../devicetree/bindings/display/fsl,lcdif.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index f449cfc767899..75b4efd70ba85 100644 --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml @@ -99,7 +99,6 @@ allOf: maxItems: 3 required: - clock-names - - power-domains - if: not: properties: @@ -114,6 +113,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: - | @@ -128,6 +140,7 @@ examples: <&clks IMX6SX_CLK_LCDIF_APB>, <&clks IMX6SX_CLK_DISPLAY_AXI>; clock-names = "pix", "axi", "disp_axi"; + power-domains = <&pd_disp>; port { endpoint {