From patchwork Wed Nov 18 07:31:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 11914005 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=-16.7 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 D5494C5519F for ; Wed, 18 Nov 2020 07:39:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 600492463F for ; Wed, 18 Nov 2020 07:38:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="topOQfY4"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="H9HzaiC1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 600492463F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=p3t65sCW56RSaYfodCt/BSiXcBI6J520dWiYj+DXjh4=; b=topOQfY4A1ftWC0gj0ScI2hnV 4FBcivVi6sYixYogKLCS+hN2kgWRTUyPvCJKZ/Ow1vkhcIVMNkOUwsA6sW+uYUJ9cIESS7Btsx9al xsdhJEDhG+AlnkqirU5mrYyKTkOSbjetHxjo6atXTp99MzFAn7SV/iVEKAjRtzUymrvCT7s6Eu2gV AUD18XR7iWQZxRBTIf6+Pybp9VLGfIUJOQN/DTeu/+5Gxaj45guiKCCJ897iOKZUKjW0CX26vTGpx iB1jVM92aB79mvydRlY0c8sNh9bobl+ni9EFbWYOav1E8n0utnZUtjuhxkDV1asWPiHfAQq3S6qot CTBeZnxUQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfI31-0008C1-6W; Wed, 18 Nov 2020 07:38:35 +0000 Received: from mail-vi1eur05on2047.outbound.protection.outlook.com ([40.107.21.47] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfI2x-0008Av-V5 for linux-arm-kernel@lists.infradead.org; Wed, 18 Nov 2020 07:38:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LHsdtiU9NvJVVj6N4WBuG1O5zMtBGoawnntHt5QmolgcZXh9C4OIOfBSTgk2C3BXSX+BKJU6jcssxkx2PpN7GaW7rJUuz4J9DuScBU8B45cQKCxxHoaYm1zFZU+RIwwvYY7+Tf2lvpImJ44CfRvrBdf97djCcLwP+t2xHnbr/XgoYax/T7wKQU82iwnkMpPogG+BjFyzY8mWeDk/hrP7BN9CAQ6eC0aq8zQIINRq7WXpEXDd0dHc44N+FaCD81OvzLsf/N9yNCV51QkR+0EuCn0zd+Ln+b36c0IrwK9xbNrMsj3+VxXDzCBNDV73CxAHf7rP8/UOijZP4caNBWmOzg== 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=APm5FhviAzd+I86KqVQj2hx8R6NpN5Vo3FG1g2dQiIE=; b=dMEHHc3M3oVLwPTgymnjF8JjSkxILb8yBZ7WwGEdsRhUQleHGGAywyaGQUhrifWyyvVoiW9tinrHtIGty06HtfsUgNad/rZCL8Qya1jaSVnyW/XHxUfuRqTU6tQcFcWtLBO/Ph8h3m9qJa9AKL0yq5qveO+1oaQVyDotLh3XofegpCNsdX0ndSJj4vgEVte9Cox7+cXECxUy6dLCgdCsD+EgvM2YseUnoo5Sfm9PFFb6kHGF4LQV/IHUWFpFbF9UoshWDye3AdHtfFWrqztfXGhGFSd7Nia56FnlgqC/+WM6K/BkG0yx7hUYIk52Fg43nxVg+LIaDlfy0ZpgGyHWTQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=APm5FhviAzd+I86KqVQj2hx8R6NpN5Vo3FG1g2dQiIE=; b=H9HzaiC1gJu7/FA8z4LuGuEy+ZuHWrqqeZidvo+5qnPwPXOA/IvO37XFXA2fxBoBJ6hPXc1nRP1x1oZ3M+xPVLljHM1bemG6EZxJAzrCHUnAUUoQSV8BJHpvy+147cyn0EKR3d7wd4d/QlR7+8rwnCFPLSsJi05r1j7Yepiriak= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) by VI1PR0402MB3421.eurprd04.prod.outlook.com (2603:10a6:803:5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.24; Wed, 18 Nov 2020 07:38:28 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685%7]) with mapi id 15.20.3589.021; Wed, 18 Nov 2020 07:38:28 +0000 From: Liu Ying To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] firmware: imx: scu-pd: Add video0/1 power domains support for i.MX8qxp DC0 subsystem Date: Wed, 18 Nov 2020 15:31:21 +0800 Message-Id: <1605684683-7631-2-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1605684683-7631-1-git-send-email-victor.liu@nxp.com> References: <1605684683-7631-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096::24) To VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3611.4 via Frontend Transport; Wed, 18 Nov 2020 07:38:26 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 95ff65c8-3939-4f7f-e089-08d88b94f08e X-MS-TrafficTypeDiagnostic: VI1PR0402MB3421: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:843; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LBv8vMS35CbLshfqE/dfCmNbshUG2KYhLVl+Ndhsja6wnXnIeEDlZSj+fit369sZLtSWTGygaxdy2wqZrwzK2D/YpipfruxGmIWzhSeXeKssSVygH1Xv+MetDTsbASUb7s/KdkCOZqlSwlhyPUO5i5xHGFVcEuMd33zdde6RLBaJ/FHbYMbBSPJ954r9rvif8o8CcR4T6S0ih6KeXnyTSDt58MtAv1shSZy7gQ5VUH0u//h4c4rae/HvXkMi2442ET4QG4BnWPHXXfc7MuOy+C+KtvIrrogFC4z50oog8og6trbX4BgHjO9pRlWKvSUbwVxUqKFulNZczgK9qhan6dKzukF485e0gjtH8K9rm/MlOcDGQ6Y1gdMcCD36000G X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3983.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(366004)(376002)(346002)(39860400002)(4326008)(26005)(6666004)(36756003)(6486002)(66476007)(6916009)(5660300002)(316002)(16526019)(4744005)(86362001)(52116002)(66556008)(69590400008)(6506007)(956004)(66946007)(2616005)(186003)(8936002)(478600001)(2906002)(8676002)(6512007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: QGS1kxnzt9m+XgVSMNUl5CXJIAsjH+RVatFYvlNNeCApTMw0lun9uk5KXgRtiDwJSRR9Tj09enW/WROs6CRzK3uJ0BwzJTvCNJyooPUTvwA9Kr2m9fAi9ai07OBV2a43XYhJJVDxZpgTihUB1UgIgDMxSTuyUugLTby4sDrqjt+tWd7kmjOyZA8nv4Ja6+QyVmtoOkfsiaQXwgq1MJg4kFU4FRQqTIgtU8k7JrZhHof81Z5STYirpgDIKsUS7EfYws4daaRGf/VUwtE+xMu7xJCLuHjYRIqrkhpx16Xr2otDeUqgh2cT/Y2VWtC7QbhbTG5r3SOPgpy0/1LWEfub2eMYfAjbk4vT0FBYJyYGdyl+TXN4gbdCxOf1t7GYjVIZNxSaEGequC+HSuYCA5oJDX/lqXdydrb9UckL1tD1QrrwE7T0H5hfosffYZLdvpTzZuxmSMuz2sSOOlVMmFA0+RGJZR8unQHSN4ZBE87ngd6eVpbXfMUc+8vqOn8ox4zDWFa5aVWramPaIJp47FcCExGX/9OBqi11ttOV8fTMovy62BBqNlvVU95nnQdmSeVbXLNCuQu2JD83c9xINfci5hyXebm6jjiZ/HQ3gFXXXOyHbuicslWRfoM8GtO+1js5Dsgvieg79lLxbOpP9WmImg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95ff65c8-3939-4f7f-e089-08d88b94f08e X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2020 07:38:28.3979 (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: KlSmVRBUkz2mVI2BMhs61eFB2Bgzp/uwGM/j9T3dq2OtGGBHzDNV+74O+3fTDT9L0Cv0UUnOzX/y6LJ6ksm+Ew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3421 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201118_023832_045160_FB9031DF X-CRM114-Status: GOOD ( 15.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: festevam@gmail.com, s.hauer@pengutronix.de, shawnguo@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch adds video0/1 power domains support for i.MX8qxp DC0 subsystem. Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Signed-off-by: Liu Ying --- drivers/firmware/imx/scu-pd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c index a614d8d..bb25180 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -166,6 +166,7 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = { /* DC SS */ { "dc0", IMX_SC_R_DC_0, 1, false, 0 }, { "dc0-pll", IMX_SC_R_DC_0_PLL_0, 2, true, 0 }, + { "dc0-video", IMX_SC_R_DC_0_VIDEO0, 2, true, 0 }, /* CM40 SS */ { "cm40-i2c", IMX_SC_R_M4_0_I2C, 1, false, 0 },