From patchwork Sat Jun 12 13:31:31 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: 459156 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp1795148jae; Sat, 12 Jun 2021 05:59:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBuKY1hpxeuuKZkdbJi21SBa2AO4SLFVyY9YpxQ/T7nh1FhokalAJC4vvwLjZxj8ydDsvt X-Received: by 2002:a17:906:d1d1:: with SMTP id bs17mr7849612ejb.492.1623502768378; Sat, 12 Jun 2021 05:59:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623502768; cv=pass; d=google.com; s=arc-20160816; b=waOZLEawLO7amB/+YwkYNRZVMh3S6g7RKIgOYgdlUC+h0uRFNPIfLtMIji3XoWb+bW ijy7AK+lzt9BlggI6zz4F4sLovzyn7YYZiP8X0tewUO9jqwyphoLc32P0fzG2/+BWisT Xx8x/JP2wqPqa5Cs0I8eOI12atVmvaJZpYFVHE3mjh224zF3DEwnMC+xg7ljczfYZgCN ZYyDH8RPpqCT5ICKiuxe9Kj9TFNGdZLV7Ct5K6s8FQgGq2eRZXQ8BPTSwtIf4MHhjGwN brD6Gmrin6XugdgcPFrhFXLgKo1yhFIGctaZZKJiv/qw4uafMssYjh18BKrgoXwjYIh4 34LA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/woyMMdDjmoLpw+OB3GH/kDvCzq6VvqWMWVeZD4Bi+A=; b=rbExXZCQs/G9dxMBYqomBT4Fr2ljb+bpKpKOzAGUE4Cdb1gfsCxFwkSKKaU2sYHZHU e8oJWemPU6oSSWU5Vwzw4aX5lGzCgM+h3va2lWey4L5t2bw4yLK6VPSLTvCiux/JCjI+ bpVi8/Xp9+3kJW8GvGpOtxoVhTnKg2/SiAd1rlpx1pLhBQTckPKloBUPyw2O5RyFsQsJ 0Fvpi5MoL2dkNucEyjyOXzEmowlgVcZJa3rnLqDj0fovYzBoaTHrG/5cqZKGknDwQNom v+r+Ei+yjIHmv5tjDTFiLTQMbmne6a0/meQOnJfrwpXjg9ANPnOKJFAZP9AtUCCri/DF kHzQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=LnFyifj5; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b11si7565559ejl.253.2021.06.12.05.59.28; Sat, 12 Jun 2021 05:59:28 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=LnFyifj5; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231327AbhFLNAl (ORCPT + 7 others); Sat, 12 Jun 2021 09:00:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231310AbhFLNAl (ORCPT ); Sat, 12 Jun 2021 09:00:41 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0615.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::615]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 821CEC061574; Sat, 12 Jun 2021 05:58:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Efo3/enhUv+yANpdNGGiDAsQwsGyIeMHqYSt2AJUx92wN5dqnfZ224KxG5n42tAVJPnFr4hmJuTySJWRAMDUOQDRX6vK/lsGf3+qPT64tW75yGSxwUx6uNiAnXuUVcVgyISEIaAg/Pax18N6gSe95X/SKP9X5tRyZBP+IaDz9e/xebJC7hGQFj5XFnmuc3m/+jr3LdLmqAywtwA81uxq2X09FUlfgNWnKn3Dxi8CSRYT/Kt7tEaUiII2nueSd39zRO2ExbpCp/YlpFI7o2h01etOraRsHecopU2i4iweRQZx6/mvNJ/yGewBoDMvMb8n3l1MEbFUmZWzIiFLiZfSeA== 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=/woyMMdDjmoLpw+OB3GH/kDvCzq6VvqWMWVeZD4Bi+A=; b=Xqe3WmHRR9dOq7ioilOY4v/CVvZpDxQF5l/chHNwtK1PrZujeMYdeDSOU34H9Ewy2vYo9FteafAchKyhFUkwoUy3hL/FofjEYHstC4PryxFNEG7zac8E7+LOjvBU0Xn7eCgY0asPwxp9yElRdwPzIfTU/9ODIWtmksC+QDmPy6cYeiA1xUm/aCKMbdaq3y+16FRNRAjr3MKW3W3XYPo1AEwgAtALITBmcyWxQxwbMbCaWODEMA4K4WrycdsxJGT0x9y7k+le65mTh6RsluyjmIV0+vmISANTSX1V6LAEp/vc/1e4zbsj6R4bKDoguBygLIsEb2P54YmLiJAovmefpQ== 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=/woyMMdDjmoLpw+OB3GH/kDvCzq6VvqWMWVeZD4Bi+A=; b=LnFyifj5rdidrzeSm8/F4QqS/y1nKQBoy8W0ngtYaZtAlrEtoCM/n9CLDSKY52hPoB2zRWd3ClLsqYWgZqsVJuaEHBKpVppwcaT77kkHuPkcgGG0PPiEqiMvFicEWffyqtAm+uPNbvyBDzuHaiT0aeJ4r6v6KuSlfsxZMiUmduQ= 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 DBAPR04MB7285.eurprd04.prod.outlook.com (2603:10a6:10:1ac::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.24; Sat, 12 Jun 2021 12:58:38 +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.4219.022; Sat, 12 Jun 2021 12:58:38 +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 , Rob Herring Subject: [PATCH V7 1/4] dt-bindings: power: Add defines for i.MX8MM BLK-CTL power domains Date: Sat, 12 Jun 2021 21:31:31 +0800 Message-Id: <20210612133134.2738-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210612133134.2738-1-peng.fan@oss.nxp.com> References: <20210612133134.2738-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR06CA0174.apcprd06.prod.outlook.com (2603:1096:1:1e::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 SG2PR06CA0174.apcprd06.prod.outlook.com (2603:1096:1:1e::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.21 via Frontend Transport; Sat, 12 Jun 2021 12:58:32 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: da71948f-21da-4c5a-1c31-08d92da1cb82 X-MS-TrafficTypeDiagnostic: DBAPR04MB7285: 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: 7FQre84eeUINz8MhWS2EreZ2fUHcmRf96iP9oD3RI2+aqk7YWJZsLEKn4AuG6b+eNbJKmI7VA6YdE8yuIWrcRwSFy5pOOs6QRGBv7/iIquLFQROmQvbzJAtkmTe7g+dMuXyvViOsAmpvhkH1DlRtZa4zAjZ47EuYpjNumOwJsVVws9KBN0DTm9Y0JTz9ACHOrhsglCnTos9LTlXpxAwgJD+UtAz+ernKilEtktjVWacZk9+MPztkbJO8yP9YDbILqQia1KkLeWcuDKN9YVHaIFodj5A9MCNuFW/f7BaB+rSMsguqmKHfSdWxgnvmNdyCBGp8AQzWw8mq7FBpToqAJ8Rt/E764e+TdJCCS5rCHqjS1w1M7Ih6+ET1ZXN4gPI/AY0YV4E3lW57KpyN55rkJgZ82upfJd/dmO3FKmo1DX90FtSEF7t1NBdmDIiFR4KvYj4xH+hLyfhC2sHN8O3lB8YIwHc5l4jmO+ercwYamgP78vnqtOX25d90K4X8TYBRUY4pRayycTHsxG2UUEnlKGKSc4vTEDG/r3GUNNB9lUj+YwNfz9G8Ig5RFm8iEZLgUcg25CdOclgS0Z0L+AP/bSxIYsZG6SJ9hAP+9iHi8eb3vm7KOxQqgNqhS51nZS0PJQXYxTB50MhIlUCZb84itQ== 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)(376002)(346002)(136003)(366004)(396003)(39840400004)(6486002)(8676002)(52116002)(2906002)(186003)(1076003)(16526019)(8936002)(26005)(4326008)(6506007)(66556008)(66476007)(66946007)(6512007)(54906003)(316002)(38350700002)(38100700002)(478600001)(2616005)(956004)(7416002)(5660300002)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: t01pM5HdGR4bPemuTBRb8/4JIHDRYyiZMmdgw7/w6jBef1fsk3XEcWM4RASZ/e64lVKSklFG7O9PMNI1sfp42G9q7bGai9GOLP1NS0snnXwAnNo9Wtwm9Itwt1zP9IyGBME7Nf/DYVMdjit6nZf2H5iRn46T30SJbaQPS8CJ6xCZYx9dlSkV2NooEWV+2vBVUGL2p4ytRR9gOHJ9oRMHFvAk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G6CmlZ+Ioejc9BEvD/Be9pAo2DRr X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: da71948f-21da-4c5a-1c31-08d92da1cb82 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2021 12:58:38.0970 (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: QXDrdOzfjdghayIKr3/1aruTjLrw/b34kNheLH+uVJe+x/MnZvX2B87ia5R1QKtyjqkOl6eGjfDyhbkhjW8ryg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7285 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Adding the defines for i.MX8MM BLK-CTL power domains. Signed-off-by: Peng Fan Reviewed-by: Frieder Schrempf Acked-by: Rob Herring --- include/dt-bindings/power/imx8mm-power.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.30.0 diff --git a/include/dt-bindings/power/imx8mm-power.h b/include/dt-bindings/power/imx8mm-power.h index fc9c2e16aadc..982ca2939cdc 100644 --- a/include/dt-bindings/power/imx8mm-power.h +++ b/include/dt-bindings/power/imx8mm-power.h @@ -19,4 +19,17 @@ #define IMX8MM_POWER_DOMAIN_DISPMIX 10 #define IMX8MM_POWER_DOMAIN_MIPI 11 +#define IMX8MM_BLK_CTL_PD_VPU_G2 0 +#define IMX8MM_BLK_CTL_PD_VPU_G1 1 +#define IMX8MM_BLK_CTL_PD_VPU_H1 2 +#define IMX8MM_BLK_CTL_PD_VPU_BUS 3 +#define IMX8MM_BLK_CTL_PD_VPU_MAX 4 + +#define IMX8MM_BLK_CTL_PD_DISPMIX_CSI_BRIDGE 0 +#define IMX8MM_BLK_CTL_PD_DISPMIX_LCDIF 1 +#define IMX8MM_BLK_CTL_PD_DISPMIX_MIPI_DSI 2 +#define IMX8MM_BLK_CTL_PD_DISPMIX_MIPI_CSI 3 +#define IMX8MM_BLK_CTL_PD_DISPMIX_BUS 4 +#define IMX8MM_BLK_CTL_PD_DISPMIX_MAX 5 + #endif