From patchwork Thu Apr 29 07:33:28 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: 12230569 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 4781CC43460 for ; Thu, 29 Apr 2021 07:17:52 +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 ABBBC6115B for ; Thu, 29 Apr 2021 07:17:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ABBBC6115B 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=GdoAULKKc9D68/K1ej/+z/iHv fr5Qfhk7lRJMmSXOtEJEog0CMuIZOkCuJpQ+3CYyh1OeW1YwEVBG2RxCysNlEYK1p6bIHQNqpVCBM 22FD7SMFCkV9QV5CEwzNPWQ08UTrNqMbgFDbJ7tBSNLsB3Tey2S9O7vgwNzzAVwairhpHtY2zuPJr VOr05m8KzK0W1FIptdaS9dSPL+d3q9RSNOE6cyinYDHeaZt8ZpPOYsbg4iuGEuhnRvxmYt4Wl6C8I R+7L/o0qIj2gqX+/cQGZvoeY99Mha5KgyOQ9BsFzvKzrCn113EWw1nMS3J7fSbxasc/WPdqfttVLO KU6aXHzyA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lc0tk-005Am1-BU; Thu, 29 Apr 2021 07:15:45 +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 1lc0g7-0057wK-5V for linux-arm-kernel@desiato.infradead.org; Thu, 29 Apr 2021 07:01:39 +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=jtRP5gMCQ5ebFo+IYR7zkspLB0 khksBMuBu/gvt6dOne/4Cngt5muKZ8ZRPuUxodw0Qpm9bfDeuF7Q1OhLB00pgWz7XxyRM2RN9TGq8 8VjnknPPVD12+UJNG836p/+ieCHqzEGt8WHkEUDlxhRUvFPLmaBkgvynuemNOv5bpf93kW8XLVjCA jMSznUhH/pYJ45OY1eLLhsvKiybkWUFkbli8wRSj1BLZj2bsw1QRkJnsbxiZ2H9yizs5PGe/ux1OI Qd6KQsWnNX+6FA/I/Be6+kOdSQ7od+QcNA8SI562I7hSrtYDUN79ftjykzSEuOS1uJ9GwRgYjb10/ fU2wO2zw==; Received: from mail-eopbgr130085.outbound.protection.outlook.com ([40.107.13.85] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lc0g4-000QVo-Fa for linux-arm-kernel@lists.infradead.org; Thu, 29 Apr 2021 07:01:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gTt+S9AtCMEGKGBtKr6uQ56i22aQMw6+73SSK0DA95IEE12+M0Feg3Ray2NvzNiLa42nwQnFkTYEuyTjxIU7mOetYCuRkmtOg3aYraLliYsjr8VPYxbRRjH9tg75cBPj8KvnqTBaje1009Fdamo8ix9dYeVX4q4tbMtRY+wzwRAYrjQBMgdeU5oj7m91SZ+x9EwHNl2hj/cZZQ9WuwUtaQJ+rqGWyoTuP9PPnKLMXdUuYdrZr4kEUAYDLRoQ7k3AhHyqU3wRouXk/uGTxXqeaQC9/hXCPdxNVvXQ6P+Szq2ssuq5nK8tWMcQwIpFDblEBg/Sr+K5eTo7QdCJPXv7tA== 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=mqz9v3nkVVZwylIt9nwfEQP/baH1epKowLcFFVNtxHLHall4TxHXFKx7NlHIOqqvk+j/yPEdHvws9Pbm7Sa96JfkiyfLWeS8nESlY+FQaNORLqFGZyOho5MPCr5XJJPRmQS+KO6fXiILDFWXd7GsO5KbHCAI5CZBBeA0ODCQRExJ46glrm3s0Nyci0tUjM1HClpw06Tl6lU18MRLedfIIpeJtSXq0MmuSv6FskbnmInn4dDr/e6qA7wkuclmexU/msG0vOdWkVgq6mgPmQDs914O1nMYnCna9lACINfjYQjE2yQmurgxmlFFiB3x2+XGchPAOR/iha+8BKd6oHMzlg== 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=l0KkSon1O8yUFgRzn8M9+qUzDcLVFHqCVdFT1ORQqit12tKTT5q0KcoaQPU3s0MqQQtGNiiEqY91QSOacEWyTt22DtAahUIIi9XU2VV5d63nIpU4P9yXXhYsDUFUs7BZfH22JMQQwyGsyEzTjf6t6LpEFp9Qa1IEyd/pwkwIJMA= 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 DBBPR04MB7930.eurprd04.prod.outlook.com (2603:10a6:10:1ea::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20; Thu, 29 Apr 2021 07:01:33 +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; Thu, 29 Apr 2021 07:01:33 +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 1/4] dt-bindings: power: Add defines for i.MX8MM BLK-CTL power domains Date: Thu, 29 Apr 2021 15:33:28 +0800 Message-Id: <20210429073331.21204-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210429073331.21204-1-peng.fan@oss.nxp.com> References: <20210429073331.21204-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR06CA0016.apcprd06.prod.outlook.com (2603:1096:202:2e::28) 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 HK2PR06CA0016.apcprd06.prod.outlook.com (2603:1096:202:2e::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.28 via Frontend Transport; Thu, 29 Apr 2021 07:01:28 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3ae0a02e-669e-4a57-4106-08d90adc9f72 X-MS-TrafficTypeDiagnostic: DBBPR04MB7930: 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: VJtkQ5iJYvfn5GS9iBPn1Vmj1PUqqfcmgcYGEwB+jYFwN0Jwj+dJKMadB/+baYzCK3bfSuXkevPogY8/a4rdQSV1PmUZWxtCZBpNPV+XbB7GvB/0tklzcn6N0qJQXNFlCetE3IiUEDTEUl3mlV+oEDs+a0K0OypwAAAi1mDTaK2XhtsUyPzNWGJmv5fcmt5om2b0x2b1VNc1KBnyzb+8GDWUm8xpPBIb3k+O0LJmWkw41Kn0wRnjGld885HBJc+ptwgF6IuZ5Sm9gbrFHhCw7D4kBc14Q1/HRFvRhZrFlvmSQ61XvMuMK045OYW1H/FlhDH3WtwcVnay4A6D62iycTHPPkw6FekijxOrJyoHygyEEcewO7LJsBex4Kd7A8Q1Y4CYQOAU+2CJaMiI01Tli0iP3dYSvPTG5ilCSCdSi7klp2DyD0UEYddiW1TH3Y1k03J+HJAM6tcnagqn16ZuMeRGf1EcFRawalFWj2bYQHvRGZXdZaWwDH7lT21CawrqL5Ycz4db3N2kx/S3+k4s48yzYJMWxJgzG2h86WAPyRvMT1zlGs+dWIR3iWeTB1u5jceiHehIMZdmLCLZMMmN3E5bE/Zu3UQybSM9v7GcGOPiWvzJ9U3xEehsYJ4fVU8SAvuw9n7xGRhnjJq1GPYZDQ== 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)(346002)(136003)(396003)(366004)(39860400002)(376002)(2906002)(7416002)(26005)(52116002)(5660300002)(8676002)(66556008)(478600001)(66476007)(16526019)(186003)(316002)(6486002)(38350700002)(6506007)(2616005)(38100700002)(1076003)(86362001)(4326008)(4744005)(956004)(66946007)(6512007)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: s3obxb+pt79m35ZlMCMKVtD0TqJXbF3lGM8DFu1kpoky5V7KbUxF1fKCrShjfaN9MBFYkExnDX294cCC4abmY4G2X2ldvT6s7rO9dVKz4P/WI6CuPaZmMgtDnLx8LGhkwqteeOaVPyl38QAqQTx5YYEB8gb+dNUpLhJo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YXwMqYyWihOhMUZZWCGJzXfLX8C937dbkUt2XFrl0fCwQ1R6Hf9g0DtV0bfgRpyuGrhGdO/vIXN63dfSLJusIp3QpIY X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ae0a02e-669e-4a57-4106-08d90adc9f72 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2021 07:01:33.8171 (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: IL5hMkzLvZwuep3GeInkJA28ZB3tEzZDwnQVu9Uozp5sYudtoAno3D/WID/YjgYq+njqYJ2XLtuozJJYpyJjVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7930 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210429_000136_542832_3C237375 X-CRM114-Status: UNSURE ( 7.68 ) 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