From patchwork Wed Jan 26 03:09:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 12724566 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75FBCC28CF5 for ; Wed, 26 Jan 2022 03:28:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=w1MNZ5Oowx0Isws+5062n6NDG0q4VqtrDG95u3r5Iqg=; b=y+g+Muf6cM02Vq eQ2HPrKz1pmQ7zTOx9ROrBzUfjgn8IAVfIUnJ98IjOmPuIUu3urayxNWgc7yt6maUl13pbLvfvKcc 7fnUovtpJvBE8i8Am0M6fxLOI0kV1zIyxnJ39P0LuLmJCORdwVwV/zs+tPNwmS8lELSQvNr+vmqR7 pvzoJWIv4fToa/lOaENdvPrT9HbtGPQYiun2ncMwTnk0ysC517mAg/CRwbL8zzdMWseDqUGXyvZ3x +70YJQenLd8FOOidIBNCepRZ/o/ePIimKpINn1mT6tUrHMe2IXpTAKrXRnoKn5PWPIv/285mpiSyN kNVouj54gleDIMe829YQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCYwt-00A1cv-Dc; Wed, 26 Jan 2022 03:26:20 +0000 Received: from mail-db8eur05on2051.outbound.protection.outlook.com ([40.107.20.51] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCYwi-00A1ba-ER for linux-arm-kernel@lists.infradead.org; Wed, 26 Jan 2022 03:26:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mtSpZQTxeHfiUzCJ9BS5mv8vNMPoZHpCQ35jVQd4OUIl9VqU+tvVD3GhCb/Wmwh4FK1E5ekAenZIKYigFoJ6JqvMpZ/pBGgeCdWwA+Mhh2vgeRIYqZUVGFGEFilhmC8G34Vrd/bRkq7qc9UBG6KRDYzoelmwF6IyAGD2pogsUfAGyK8osyOwzWpdTXiPzEUKuc8lKmQkvz1jGYXMoggRbs19EU6y2r9mKEOeudTGP44G5TLYqjFbluBEYnEoVC1JAPEgYtn1Z0PSAI+QOFkEbySjarBLMlGC9J5bYBUSD7JIVP1JH+RSTp2E9Yy9OP7hYm7exu189AVtlVjS9mRC5A== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lHWDSG3+IlihVMRDW1j90pRI3F/slKG4Im7hct5HmzA=; b=deoqKJ9PlnCsWO+NeawyqYQ+8IRFr0kEl10ZN02WUjzqV3dKxXwOpEGAynPA3HZp012nPdtNuO8TUOf7nf9gJqR0TNVuETM4nU+6kUg+PdveMs0p5h0EDBI4Q3oW+t1ICVfugcQp9ol9JnMtddrL3jePa4kAD4JZej+lxwRufcgVj70MBYLVfno467T7cvdtMaSDPPxfUtcun7WqUiMnsMwYgtpTAXYrBPb1g3PkjPS3ISQiheKH15BZx7m+SSTqJKE8vtfkPW18tKuJ3qD9W5uHUFAXgJIgT4640+RdBx3nuQSqDgT/2bj4YGe43uOWGxKCC7FEL4nwJyu8hl7Ggw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=lHWDSG3+IlihVMRDW1j90pRI3F/slKG4Im7hct5HmzA=; b=RZHnkbLQWs86O+sYYHTXu5MGws9uVUUZe894admf8x2OV6wlIIYj7sc3/BOfmhAWLQfDI247pUdnKJhESc+cYZCtwFBLu/dg+rte2PLHYTGUsGpSNC+IpXsMqxwgyJQ6BQCD9o5NkKg9++jYPlt0+pN6z+imVl+5PCVXnZ6EqgA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) by VI1PR04MB5248.eurprd04.prod.outlook.com (2603:10a6:803:62::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.15; Wed, 26 Jan 2022 03:10:56 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::3d7e:6627:fdd0:9d13]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::3d7e:6627:fdd0:9d13%4]) with mapi id 15.20.4930.015; Wed, 26 Jan 2022 03:10:55 +0000 From: Ming Qian To: mchehab@kernel.org, shawnguo@kernel.org, robh+dt@kernel.org, s.hauer@pengutronix.de Cc: hverkuil-cisco@xs4all.nl, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, aisheng.dong@nxp.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v15.1 12/13] firmware: imx: scu-pd: imx8q: add vpu mu resources Date: Wed, 26 Jan 2022 11:09:31 +0800 Message-Id: X-Mailer: git-send-email 2.33.0 In-Reply-To: References: X-ClientProxiedBy: SG2PR01CA0091.apcprd01.prod.exchangelabs.com (2603:1096:3:15::17) To AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9503e504-77fd-4ee9-531b-08d9e07977be X-MS-TrafficTypeDiagnostic: VI1PR04MB5248:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1201; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MDz80kqD82LJov7CbJaQe8tzwMuJbxZZ0VHsrClbN9XGjbd+R1l/mxcLJS1cGm2zQ/I+odi2P5pLv6V51Dw9byD5oWF2Q8fuD1ltBIQxF9tIi42mB7rwOTl08Hdp7QJ9dlhICe9Yah5p0c168mBUrbOIRuV+L22NTwX6Vu7OWNEC+sQaWQ2lKxg+YVFkXmrpzE5VP53PTaWHK8jksrTV3VnxOSiZUt6rkltJCxiOB1PcCg2RJJaWo+ZGGEVWXYMVjkLoPjDJtks1ndver+/FdHW7+wem6/ykxVzjNCjE0qvsCcLr43R1VSs18EoQWP5jv38WWoq6nO7m2R6Bl6ao5rl3Idzgfgp9vsM/S6Xv1YgozDWuWC+l47dEMJx73+QdaQOptaBAiTS5DQIUfGmsiypnzeAkSWl8lwEses7lIfy8dCkaDdXlDkgPf6XfJGGSLJwBiIt57r5BFxX0DICI2J/AbOWpN2Xjvp7yXEGsfEV1wd13bJdHwFXncio1HnSsJ02CW2buX58JJqm6cbZXvawBIxBZjla5ckEZz/IExCln4THAtVDoFux7RTqNt3SZm9CYxYNxJ3U+NwronL2iWWAL/LPV/zcDayH6mGBN8Y5FbkCrAYSCr8UtYYB3A9Ugy4zBBY1WVeUdMcycs6NXD5vHU+O7pq+FztGtT54707ZHYFz+e8aHAX8sr+3CN8R5im2CWm2M2YZBTVj12iOWSXdIMUSAWEt1ZB1OvCtv5YA= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB6341.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(38350700002)(2616005)(186003)(26005)(38100700002)(66946007)(8676002)(66476007)(7416002)(4744005)(2906002)(8936002)(66556008)(5660300002)(44832011)(36756003)(4326008)(86362001)(52116002)(6506007)(6512007)(6666004)(316002)(508600001)(6486002)(32563001)(20210929001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DmzrLsyf95Zr9i8ECkQULcg/T8mkvuHWE03fcI5JLv7hIkV9k7JNVF3KA/CnmvgblGQBe2g97HTW45lv5U1N1qBZN4eh394p4crsk1sYNOfJlqBL9iZmioNUj80jEHsPUCgQ/ASD3cDQuIukkc/pwisCXqwXuKSaNtwvCeKqQmIwu3B0zxkNjS8jHHmVehP7bviKN9Y0qAOd/VwVCiQImN1CEeJKNvEs22tm0hSH39SpjCsa0rV3UokULx5wZI5Ym0O9As0AWEdJl9plrUDnzFIqHEqKnrXj33oXh6C2O2mtz7IV0vHxKCfzObnEuFKEGbs1cWvsxnlcQDE8gr3qknRQCZ8AIzvXsnF7NIJRgoCIwGuPzDQWWk3g0dPB4WEX0OwbE8n0ASD8uzUkD/1nh8XOqwuFNsZv7mmtWHlpFltVuSbuUXv7nvuVoyszUegFULGmPolJf7TGLzkY4vFz8pw9E9cM9dMPPtrgWbPZMOkeN+Wam+ZbWnWfkuJ+ig2VrJ3C/8jV6BHTG5XEivslvqnjMDFnvD/89dz8Yfr8Rso/pxInfbgO+8sgXpGRiXTsgooSOtZSpsfeCzrUYwCMpN9Bw233FhQqHWco3tyb9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-Network-Message-Id: 9503e504-77fd-4ee9-531b-08d9e07977be X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2022 03:10:55.7074 (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: L1JPESm40REl7wRRjcKQu13uBTafy9THHo0B8jtyWlI0Ooi6BQv4Cy5Xv/3QXFgHLUdKTfJltdwRAIzxCfQtKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5248 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220125_192608_507357_0A435D4F X-CRM114-Status: UNSURE ( 9.41 ) 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 the vpu core depends on the mu resources. if they're missed, the vpu can't work. Signed-off-by: Ming Qian Signed-off-by: Shijie Qin Signed-off-by: Zhou Peng --- 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 ff6569c4a53b..af3d057e6421 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -155,6 +155,10 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = { { "vpu-pid", IMX_SC_R_VPU_PID0, 8, true, 0 }, { "vpu-dec0", IMX_SC_R_VPU_DEC_0, 1, false, 0 }, { "vpu-enc0", IMX_SC_R_VPU_ENC_0, 1, false, 0 }, + { "vpu-enc1", IMX_SC_R_VPU_ENC_1, 1, false, 0 }, + { "vpu-mu0", IMX_SC_R_VPU_MU_0, 1, false, 0 }, + { "vpu-mu1", IMX_SC_R_VPU_MU_1, 1, false, 0 }, + { "vpu-mu2", IMX_SC_R_VPU_MU_2, 1, false, 0 }, /* GPU SS */ { "gpu0-pid", IMX_SC_R_GPU_0_PID0, 4, true, 0 },