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 }, From patchwork Wed Nov 18 07:31:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 11914007 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 8DADEC56202 for ; Wed, 18 Nov 2020 07:39:05 +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 07F562463F for ; Wed, 18 Nov 2020 07:39:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="v5ntjyEi"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="C65QvHU/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 07F562463F 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=tZW1QsWk6ed7mzmRP/gzBvg4raRk2Qn6mMHhbjiycdE=; b=v5ntjyEircbMSGKlHYFK+ZrQb oqIO3NIkGLN21OFLz0+RKHdzSp3qXUMYCc+cAxObOLK4a9AQMyZEsZo4UCGPnRFDa6PSH/gQ5gKi9 irrHrux6zhv9g0IKq5xEQYaqjz/xBT+gz78mK3Ppd62gTQ3qMRN6xqKezPN9w0xtwbQVM5CKGxVyN G0oQUTWQk6qa3pdM762vFojSXOi/b5EIM50Smszb4YoatDFIHJEchGR3Vhqrpzj8j7ZTsjffzPdqv wdjPEyTiJeqtmUdwTFmef6UCmQ/O8riNgwgTV3/fOpnzGH3mQUQglcgGar6dPHB9yAQgO41+bjtXh mp8LJ5jmQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfI37-0008DZ-OE; Wed, 18 Nov 2020 07:38:41 +0000 Received: from mail-vi1eur05on2087.outbound.protection.outlook.com ([40.107.21.87] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfI30-0008Bs-Sa for linux-arm-kernel@lists.infradead.org; Wed, 18 Nov 2020 07:38:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KxVHb8yKzTIuozLC3IouSmujur1i5DCCvt1o0qx6P7vidcW3pd4MGsIJSjcZxUaIJNs1d1JRv+zPezK2NrdspaQjp4XhufEilqhKev10iyWKcgeBDMwjoUcKHiNpbtufHE1MACvm3+ZYi2PLOhRS+Ehp9UOlAj3/F8EzrjPxw8TgOWKNtW1Su8aYOrve5Bw+rHD4jIx+m9vAoH2J5L792jo4IMVzlB3SOw6Ov61pU261N4WJJ3zneuKdri5QngvYjo/AFAG+Dj5rKF9trtuic/8Inj58hVkC3xiVycGA/LGvHdghGL5z2WeMgKk6cKPJTN+L+7lwGKEeEYXySb+Gww== 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=7LRCaYzQKHZPh27WVvwA5aEyxYOxhG9q9iG/UqKCkpE=; b=Ajan9eBqrQXmeUCjZ6jE6auzPC+wbDWb/mD60ii0n5jTKR9bEWrzFnvOlAr3VQBCHAY9d95jk01tVTHLIyDnNXed2uITz+P6moSrLVCLQGy75MgCNJiTcyliWYgzcSyq8dIE3WProytL5B4c4P67APrmq2+zQO0nyV439AXYoPwz/XSxfTiLaAvemBP0a9EaLx7plaLBGWEar1/zL8oPbr7qyZqJus1hAO8vQhEV1Oe0ZFiU9gl64rU9uJEhCKDi4zbqAEmP76VRls5CaqViQDtU8ZZ1GG3cmjITGkl9mdfQfFwONMlN0b9vYzA+CO2PtuBkx5e7dUMyhcirrVCiUA== 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=7LRCaYzQKHZPh27WVvwA5aEyxYOxhG9q9iG/UqKCkpE=; b=C65QvHU/b9OTveWYNv3BAF5YjBnfJ8AwOyB7k02j6ItB2enr9tX5BIWAykH6+ZIzrCZ23sXbvzaDOF7G1u3z/pvexdAlhukDhUllzRPlR8Nj0uWCmDwFdD4Y9Cm3ZRI0y/LwjLVCFzuXqgaXHkBIPm4xPIZ2RwHF3Wy21OT+2w4= 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:31 +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:31 +0000 From: Liu Ying To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] firmware: imx: scu-pd: Add main power domain support for i.MX8qxp LVDS1 subsystem Date: Wed, 18 Nov 2020 15:31:22 +0800 Message-Id: <1605684683-7631-3-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:28 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: aa51e5d2-2eed-4fc5-6988-08d88b94f254 X-MS-TrafficTypeDiagnostic: VI1PR0402MB3421: 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: fOf7HNpvVaA77HAgTgwa/DxCPrO4wDiAptNVTnjSzXM3y8QbVUo5wGR0NygOwYm3CJMsBuKWr/uRQr+CZ58kG8WvtA1cf5lxbzum6A3M1AKIzd9abZ+Wa+0VExrI1r8k2puhKIryR88n1SBVM7jZXIO5dUbcntbmdoCOVB64ACrQtKxPuk5gYfdtJ4DMfS9U/mdmdK47oPp/yZW2kwgSlly4ZFig77a+MfiwDu3QhbCU+Lnk9dv8lnhIGQrUW9+wMt4CJvOOFhqSV67spRGV0oEBIg8mOLjxUJJsD25uFRj0ag1Xvfv3D2W9TlLEAqzTy1VS7XRDCV4ViV6CUzWdzAj0FWyUf+NjAb6XTd0e9WHL+IvImQ4PZWNoulpAhuEZ 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: F8AbvP5EwzyhWE6Mb7U35CwI45DMDAlMqGJWf3PCCKcSa0d8isYSpRAEwhaXuEBoFgU+8EMqRAUmaHNLWym/Rz8qlBhiJhL3SRksH1CgNu4pt7y+9B72ykWqAnCwZpu1REZckIDiHISP8EXO/yAfDvSb4APAj5SDbjMwy4romF4rmZ8KVPmbOW738+P+ds4OKLv90j1jBKTHp4xy9SifYifimGNWh00cJgkdps1jzInOgVFf+Mi4ubRoDMQuchTwyPzdb5mP4vZsnXoUtw95nTiPrj7yXzVeehQ4hVn8aWGX8NzkrAT1sSc0K1rcm6krqU6/nxSFO52aw5ueb6LKyb8+IQd6VCq1r9Lta4ByyqfmMsaSpi5K4Gp6bPNeKcXBv7sgnXcB2iMLPa+gb8W8oAaeDn/anXxABzLsZTHTpPZ22D3av1T/qxtH0RxikhsgtMd+7F2WYHXen/M/VQUGYC3VCwTx7O8D9b+DV3YJ6qFPb/EWusc0BG2WgjQZI2Tx+7SpJ1o8Y8//umYMQ65ghgYqkGeI2NGYZnx86bpAD2xzeO5FWZc2fSWylAQ4oMHMVfdHg9cj49NiJeg4pd+tOvw/2QduaVE6esyekDIBSPZ57uecFTMA+8GWo9zWcOhCyy9mTirg4LJABnbmqoXSkA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa51e5d2-2eed-4fc5-6988-08d88b94f254 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:31.4661 (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: zkh3nPvkHwsvSW9wF2Tv1YpeApN5OySpfFbjfgduntS31QYZK31Oe884GHRv9ijSElvDeOkuFxAJA04bqaTkzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3421 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201118_023834_986948_8BE4800C X-CRM114-Status: GOOD ( 16.25 ) 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 the main power domain support for i.MX8qxp LVDS1 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 bb25180..5f9c421 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -162,6 +162,7 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = { /* LVDS SS */ { "lvds0", IMX_SC_R_LVDS_0, 1, false, 0 }, + { "lvds1", IMX_SC_R_LVDS_1, 1, false, 0 }, /* DC SS */ { "dc0", IMX_SC_R_DC_0, 1, false, 0 }, From patchwork Wed Nov 18 07:31:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 11914009 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 4F1EAC56202 for ; Wed, 18 Nov 2020 07:39:47 +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 BCFD52463F for ; Wed, 18 Nov 2020 07:39:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FU2NR0xS"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="G4xBJI9s" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BCFD52463F 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=tEuVdL+Za7VQljfaWb8bcaqEn4RMfVkugSui0oe5yFk=; b=FU2NR0xSCtAmC8UNnpBqZgGiV eVh3EJmGmjq4w2SpuDx8cs6AjszpEljx/XjvgtRwt2XOJPVFrYSqHVbG7ZypHJP1KnWRdJQ4VylC2 3bFGRqpPRdtnR6tAZPOr5Lw9OAOPdyxZMGQn4cs0Bl6Z1VuTDm4JZ8+pfrLt15+R29WiUcig/EhJD Uz1QZbHU5vwFwKuhOP0g5AmyyJz00AylwDJEI8uDdKDx1jszw+HoSEOsFbcsI4P05ezBISA8ajrWS rnSmOYACps6hmK1WJ9biY+ivxFceV1td+uZgZEERLalpgoK9yAXReIENAS6Vjyzh9NDv0YUkcgUpb PoY1VRRbA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfI3A-0008E8-Cs; Wed, 18 Nov 2020 07:38:44 +0000 Received: from mail-vi1eur05on2073.outbound.protection.outlook.com ([40.107.21.73] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfI33-0008Cd-Oy for linux-arm-kernel@lists.infradead.org; Wed, 18 Nov 2020 07:38:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jkxb/ccMxbSuhpT3XNTNdJyRLP6yoipxwmqWkq//KbQ6nyDt1NhH2m0oi8t69VcQ0YN5IYWsAwAgub5Gut1CTpfP5nbDeb8WsaVJOp+6DCjYTv3/2ywZfVGoYVB6Qn/qX4v1CFiAD04n8lfhA8El7DdJkW0a2hMTxrTIc91RYsAypKMK3jbugpIp5CNGNdwUnOJp4HeiBzlV3jKulgJJDSeHKsyREfc1hzICnTFNAjGZFOLe5jtMFVkj1FhqUWLiJuna4FyPO+uCY0T7W2d+Jc20xtkmDClGBIxO+Z+r4GKBhO3v++e8xzA2mFbspFekY2c+pbn5SXV8WGjGR+PDoA== 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=4QqR9Mkl57A4Q25o56W4f3HpnC2DDuAEI8kz4Q82l2c=; b=ZNc2kQYOFCJ1/iWkXuX4Qd1E97yEAzDtrzb2kV2us4bM/NpugdBrFjoWPgq3YFX5ffgA2NlGWCox5ih4GJF3r1ZG7o7vaIw7yip4wpTQzowVvMFKJPIFPuhdCbtAi1ziiWMaxh/GSsd1GuGMXiE+7YENrSi+d4AqPiKYsUdAcuHaRRay+kFVXPbh1OZAHCB3mrJxgSkCu/ZqGIMNs5rc9Ed/3j/06RCYMKoei5MGXHJ6OP/Bjkizl/+Wzfrd3RYD+WdtDrZa+vaGRwRT2/iZzJfgx9fHHPrO2RQF57iYmEgLnBVSNSqI6lXCSUj+Gud6PuIIeyX+vXSfon2n3GnX2g== 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=4QqR9Mkl57A4Q25o56W4f3HpnC2DDuAEI8kz4Q82l2c=; b=G4xBJI9sjUjxSqMz2EwA/8SceLv4N0HfTH4gqctCvbgXVULLdtO1Asi6M9bxqjfIT0W3M0JqyxR1qpmJr44jeoYtvm7wY9x6tTFQHljQjEkTffedMijLaCsDMpf3W+g8Fhl6p4ZwOJIqHL4vP7n62BfNRIjVz2wRKpSrhPIe6rY= 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:34 +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:34 +0000 From: Liu Ying To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] firmware: imx: scu-pd: Add some power domains support for i.MX8qxp MIPI1 subsystem Date: Wed, 18 Nov 2020 15:31:23 +0800 Message-Id: <1605684683-7631-4-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:31 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 3fd79c3f-eccf-4536-bae3-08d88b94f40f X-MS-TrafficTypeDiagnostic: VI1PR0402MB3421: 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: q5A55QJjLicokXk8ctFzvhf4RNkWtQYc/oldx7bu2PxkRtc32MF0xpoB3l3wAHmwNBJsXBxwT6oiOQZyL8aVvOlm8Se32T5Qmh2t+YVgWS7nwOvcVGYkJuHvhh8OcU/DF21CA1jx4Kt9BTmq8pfLm3RcvFA4pz9mAnfIegLXu4wF4LBGOLHLm2fE1NdBedHeHTq0oLHxnR3YPbjYJ1jVpcNJLh7lQQBkeaUdSTA9v9lYkcOBryAu3QcRPGDStmpKSd/PwjggSO4Qn3Y/bd6XhkpTxL3FnQZzRp1pY15BjKTE4zAyM8+mJAIo1PROj793yv4ElTo3NdLe2lyTrPstBIywUmQeAgGh+nszFHf2IqLrLlkP1yKwtvbb8lXG6dfR 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)(86362001)(52116002)(66556008)(69590400008)(6506007)(956004)(66946007)(2616005)(186003)(8936002)(478600001)(2906002)(8676002)(6512007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Y6F/J0x/dFkktxB60JfbDJoROuKLuiigj/c+gv3iVuOnse21MFPzZ+xsKiEguUgqNiSHszgFV4JPVliN0KOgpcuT1Di9lj/MCvUu/XMrEH8MNMVfcLJ4YOfgfhKrRQpmK5l6ksZFH/9tZAvcnqaaJ1USOFlqyvoWjr0flL+UgcA84DeP8HGgntihw0msNjP1e/FlChwmU6QBy/XfyXREjrG8HWdSFRTrAXEy29o+hSX+iOJDC6PJa/WcwkGe4nJA8JOTHQakd/wxLm583Bqghpq6hNFQ2b3V+3f5zBB1h815xTxiKvFUD1d9l2+eoi3MEE20he7EFW97C5n4xXVMK2egLCXnkpEd61GpT/jSzJlw6LzxlcLqpVyuSTmLmCPiPEdi/R+M0u9h70j0fM2oqL6o67jQrSYMH6crXPqkxRP3zw7K0c5KMSHWdYbIiMunBm4JP7Q6MPGxJ6wjsqsJOEZgviXXG9qfIOZ5xkCF67h6PMpfA05sxHodzoi5XvhGRwSJhz9GCRikJ5qhOttWNjkQ6hUMheeHQL3trWE8YjjJlbMhj6a4N4Z2eCVdyLLT/scHJ7vHfwmAC21YjZRuQOsow+codwLlhoCJp3Sto8eiAji45K4yZmz8tGfKfxFCudUszg2Mxxv1/Yrxs0n9rA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3fd79c3f-eccf-4536-bae3-08d88b94f40f 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:34.2615 (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: PAf6mZ3n5R4iN8xISIy4E+suaUscPrYmS6308DiNgajG5PcxvlQ9qZLHmBlRTcS9uLj0DQMrkOQnwNVH2MjMMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3421 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201118_023837_857621_3B3032BE X-CRM114-Status: GOOD ( 14.95 ) 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 the main power domain, pwm0 power domain and i2c0/1 power domains support for i.MX8qxp MIPI1 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c index 5f9c421..08533ee 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -160,6 +160,10 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = { { "mipi0-pwm0", IMX_SC_R_MIPI_0_PWM_0, 1, false, 0 }, { "mipi0-i2c", IMX_SC_R_MIPI_0_I2C_0, 2, true, 0 }, + { "mipi1", IMX_SC_R_MIPI_1, 1, false, 0 }, + { "mipi1-pwm0", IMX_SC_R_MIPI_1_PWM_0, 1, false, 0 }, + { "mipi1-i2c", IMX_SC_R_MIPI_1_I2C_0, 2, true, 0 }, + /* LVDS SS */ { "lvds0", IMX_SC_R_LVDS_0, 1, false, 0 }, { "lvds1", IMX_SC_R_LVDS_1, 1, false, 0 },