From patchwork Fri Apr 30 05:27:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 12232273 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F7BFC433B4 for ; Fri, 30 Apr 2021 04:57:55 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 06DB061452 for ; Fri, 30 Apr 2021 04:57:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06DB061452 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oss.nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=5AEWFCAOTqp/mptfOhY2Aqfty8YvjfCwns4NR8LfGOY=; b=FEEI47Nqj1+F7F821NSrBGAPA Emznyi8culBbgyxrWh15ZBt0NOJbGdF/lZnIqV9Ur9AT0Rxs4lDqlDeIk/BHBAgI6dMVG2lJeWho4 9tm7GPzu579OKG9M/M4Gp4vS/W/pg4rcRkM8Piv58HI07rqDAUEviHNZTWC9UFHlQWP4Y2oXU4CPj z/8wNCgTHfH7DJsp5kRwo9KUmTHXoVLMtd/Nmd9TojasqX7GoK3lX10Y9dMl+Dp9egxQsCKda/vJO bYtpSyWfiP/e12IX5zllfcZ+/N2kUmX6ajnf1rhB84DeLBfMKq3HJJY09LSGs4GIvNOVBnql25HZ1 kFNOM0h0Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lcLC5-007Bg4-8J; Fri, 30 Apr 2021 04:56:01 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lcLBt-007BfK-JB for linux-arm-kernel@desiato.infradead.org; Fri, 30 Apr 2021 04:55:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=A+F9ydPzZQL7+HYXXydKkW6iHvplYGD6tVCXh+5X5vM=; b=ST5QZFxWhDk6gqrbveNGJqX1bk VjNqsGWJcRsX9ijKauI9DQRStdsau3Gr+UNZFlUFqnkWud1xJk/6Q/FhiMjlB0FmyVh0SLXX8mprf t7nzHhe6z8meMY9VF8OBe25ewOhcv3IIgsI4PKYDllrMgl5h+tZlzcr3tLUwmtNK+Bk7K/FZdXqfj 6smfE8maGncVAd27IhfBjMGFbdnc29gmxj6BltiInVQW0ATGZe9rQpqMlfMwTqteXjWd+1dB0qWYa pYgnH+LAxykYk96jQ2MBOIWu2sRzaTIVADqbEBo2i0Sy5SryZSN1xhbDxsxLfjwsHYNs0cF+zgIcq i2zHrOIA==; Received: from mail-eopbgr30043.outbound.protection.outlook.com ([40.107.3.43] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lcLBr-0017M9-6B for linux-arm-kernel@lists.infradead.org; Fri, 30 Apr 2021 04:55:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZF8ILkW9r30pdYt4aF9k3SACUwLrfp61Df/10hUWHxvKLnDdL+tydsCl0UXbjCiJw/uGH1efAtdLQ8puV1+JQHzIN+PXHhjwhj3Ml4EwRE0437WPEu2A+qnqY0LTWH5XDZNoz3t55Nyn4HuIWyHnFAN5U4zW9gCDH3n3/ENAWbsOrTAqKEj8Jr6bHHdZL6AL04IItw366eLdQETdVvgJGFoWVVkEinD05lMGP6+feLM+8i1qB0X6VJ0X9DRyquyJf8WkCdl81VTip7wCvBeSP5I38llaS9IBLHqLaUiCjJGKEqJsZyDrjQV701tEvqo+3bqQpexpdvRrXo3yR8LJtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A+F9ydPzZQL7+HYXXydKkW6iHvplYGD6tVCXh+5X5vM=; b=dHHiZdsq6FSKNNb6zKxkyMci+7xO91jiMs0Mr7/wunsAcjoyNYywRolMdCy5Jf8yX0zsti9a02ueXkPABCOr/D7dlD2kn1XPnXUgfash4268v4UZR6LRgb4X+LGLBfw0KfvasASI/KBIMDNar1lPebZsiWP4XBeGaBdhzZgwpnhu0Vu+g1nhJGOMkrbba7Qel5DBQ924GmMHkH0Dgvmd/NC4SkyXjZctYzMksQtVF+4w4ENm9AMJWstWMAiMOAkRN/roK63o3/ciyrO0L5TxqmeT/YWvRjDPeDTX6Mbih/Z7yZDgKPXV3Cbd/GtVembQQNhx+K2QJR/uC7bXdgfYbg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A+F9ydPzZQL7+HYXXydKkW6iHvplYGD6tVCXh+5X5vM=; b=QxFmj1llZa1nPMLTjm1J1xXyYS5TcBdnvmgdrZDUkdEzTw4wfDTaMadxR24t5ShxWko9Knr98ThvcbOPFcvGjXp2Wd19rDlf/+SVnyPGRqKl469zMYwPYIzAL4zqpOMM04trHTFjcB0q5IUYkbFLw1A+I4kYxoAnob5attFOVyY= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Fri, 30 Apr 2021 04:55:44 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::45b9:c993:87ec:9a64]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::45b9:c993:87ec:9a64%8]) with mapi id 15.20.4065.023; Fri, 30 Apr 2021 04:55:44 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, p.zabel@pengutronix.de, l.stach@pengutronix.de, krzk@kernel.org, agx@sigxcpu.org, marex@denx.de, andrew.smirnov@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ping.bai@nxp.com, frieder.schrempf@kontron.de, aford173@gmail.com, abel.vesa@nxp.com, Peng Fan Subject: [PATCH V2 1/4] dt-bindings: power: Add defines for i.MX8MM BLK-CTL power domains Date: Fri, 30 Apr 2021 13:27:43 +0800 Message-Id: <20210430052746.10815-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210430052746.10815-1-peng.fan@oss.nxp.com> References: <20210430052746.10815-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HKAPR04CA0006.apcprd04.prod.outlook.com (2603:1096:203:d0::16) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by HKAPR04CA0006.apcprd04.prod.outlook.com (2603:1096:203:d0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.25 via Frontend Transport; Fri, 30 Apr 2021 04:55:38 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 716c3e32-9262-4fa5-b577-08d90b9435bb X-MS-TrafficTypeDiagnostic: DB3PR0402MB3916: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1850; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jCbqgNr5hhRD62lEUKL3WLN0AhUXg9gzkGufs3OKgfXxUvpPrmf/Cv5KkoBswZUtOFU8//0qfTNY0pzhmxZ8SMfgXe+1XKDBIVOdMm7CAd7r0vr/zPT7Obo3uRj/7VRT9gkAEZENqCV2rUg/01HnrU29j47fs4tHoz1SHxQN1NEhWDXLXiI3m2KAnedXAGxl2K9mphTKEHlH0JPygDVOydRcPI6sSRJKVY/YRglge6tws6xw8ztEvdASdOvttUPP2rEAstWt0tiL80kvo/jzZacuAEM5JdZWiwOdWGWBcak9JjRHugAloyZlds5cZ96zeHyeEzGhewgO5hI5mtGLWf9S7KMFYe1dmdFBq5u8labZPSOFvixD/Sqh40ZpDxDdsNzy7k5VtTHpFNtALcZpnWWGzxalSO25XcMvvafIqmuP8gGsSN8VXbj0O9qV3s8uH945gXM2pc2itufZC4zuV3NzNTQV40iph2ZReaf+4LY0UhB7GKfsY22a4A9HqxJSPpJnkgu5fchre5d2Q0EDuElcpMWXPTGl4SFZOUZ2fnQLxk2yqZf+xMLjripqkJu6BaFmUuEN+RTszRD68t+Hua0bzKyJdlx6Nd8XIrOhy8Gum1HVVgCozB7yfD7wopZ5/5iPa1GJkW5YV19JKY6AFw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39850400004)(346002)(376002)(366004)(396003)(316002)(8936002)(5660300002)(66476007)(66946007)(7416002)(66556008)(4326008)(6512007)(6486002)(6666004)(16526019)(956004)(186003)(86362001)(2616005)(6506007)(1076003)(2906002)(38100700002)(38350700002)(8676002)(4744005)(478600001)(52116002)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: wRHH4qy3FNb2oGEn5a+Ysq6x/KJgLzOeU7WkkGE24YjPImzniXUMu5ItsE5DFWVsdcZLjfjnJRfXzSjtQYwkWpftuVOLsh0kTpnHLAVEufT/hbJAPw966NLwKoIICeeC1pugNOIOZaldrF+LBYbNbNS8I98zGwbQSG+ZAIbdeG85B0uFxPNUoZkLca4imG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rgPXU+ACGFQfDrH/rWW8j9YzZ1FfcB0vIMWyFrvOwNfzTXBSYsWPXobd1JYcYbkKPjw X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 716c3e32-9262-4fa5-b577-08d90b9435bb X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2021 04:55:43.8823 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: g7zu4bQ+R1eidLKiFxFyCpNQV0bD8+EWEznoPgmDSWvj3Ty0JXxxQq0CSLEr6mF6d4jCAxYPJYBw0dnUbgrdNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3916 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210429_215547_253267_318C7B8C X-CRM114-Status: UNSURE ( 7.67 ) 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 From: Peng Fan Adding the defines for i.MX8MM BLK-CTL power domains. Signed-off-by: Peng Fan --- include/dt-bindings/power/imx8mm-power.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/dt-bindings/power/imx8mm-power.h b/include/dt-bindings/power/imx8mm-power.h index fc9c2e16aadc..510e383d1953 100644 --- a/include/dt-bindings/power/imx8mm-power.h +++ b/include/dt-bindings/power/imx8mm-power.h @@ -19,4 +19,15 @@ #define IMX8MM_POWER_DOMAIN_DISPMIX 10 #define IMX8MM_POWER_DOMAIN_MIPI 11 +#define IMX8MM_BLK_CTL_G2_PD 0 +#define IMX8MM_BLK_CTL_G1_PD 1 +#define IMX8MM_BLK_CTL_H1_PD 2 +#define IMX8MM_BLK_CTL_MAX_PD 3 + +#define IMX8MM_BLK_CTL_DISPMIX_CSI_BRIDGE 0 +#define IMX8MM_BLK_CTL_DISPMIX_LCDIF 1 +#define IMX8MM_BLK_CTL_DISPMIX_MIPI_DSI 2 +#define IMX8MM_BLK_CTL_DISPMIX_MIPI_CSI 3 +#define IMX8MM_BLK_CTL_DISPMIX_MAX_PD 4 + #endif