From patchwork Thu Feb 24 03:10:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 12757831 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 5531CC433EF for ; Thu, 24 Feb 2022 03:36:42 +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=zn31IKsnTLPD6C iZ8jzeCuvw7l/mbK8w9OK9a4gTVFk6wpWYqNzQ/YhOO8QtDjWf6upyPPKqNTZl0qr3BJCZOgTBb7P 3GvqbVXudaGOi4EkAijRKwC0OMMo1tZnTNJs/asD33/cBKFdLRY4dq/u8c4kQ/LZUm2Eg8hP1geUY SLZ9Li3uWg2q05Aj8HXhfqfKHLzAPyVrySYne/PO7p5hV2TPSibm84DfpVHYE7ujec7GNui0Xr3tb 9ZoCM06Clt3ULNA8JuYAQJgOulOsb+fmHhxYVTqqxWvgNoyrSkg9RflrFHx6WMpbZ6Sde9ejwXC8Y dKllQko4peti+aCbsyPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nN4tz-00Ge0N-CY; Thu, 24 Feb 2022 03:34:49 +0000 Received: from mail-vi1eur05on2061b.outbound.protection.outlook.com ([2a01:111:f400:7d00::61b] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nN4mk-00Gbel-PT for linux-arm-kernel@lists.infradead.org; Thu, 24 Feb 2022 03:27:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BnKZ1r8GVccAmAcoJhjjG47AJ+9hqifbDsgjtHFImMGyWsV+NDsrmifp36zY8zCEMqXwKykoYSi4zx0PLRfbXetjXROAnpkUS2W+mnzC8bQVybjbFHihL84P7CK/L522T002Qk17QjhZ4jRhHelnZBBYKZzsviHaQRWh3B8KedqpJnJU+NrneeLl6Q8++oy8bn5nr8PjdlD7Ah8Mt+FETyVi8B2rVL7pDOIk2BKHEAvAo1BjxUI6DdGZTiznHtRRcXrcXWajJO8JXpxtqmzDvHmBA3htXvX1wGbSgUW7awutFZkE7wu6elY3DyPwZXILAKxZNgd+L9w1SoEQcIrFdQ== 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=UGBo5ID7p30+R40QL45pS9R1MkVvwQlfgkSekzEttigQQCFU/tKUktiXGpf5qF7rrIX2U/ICJQsfcqGUAUwb+Te1tauEXIzDJtczL6M62VFVNJ4ZUGRo+PG7fQeMjXshnngbAyjurZoBVxpZrzP9+THyMKTEiWEx3n4ivtubBkD4cStM1DBo0lXXps3nyZIfXggdD8eAlqCRzGvMtnRzaa5V5v9ZSmS88Kyq+m+nAeNECrGo3i1UZL33fZ4XmHTd9PQLh74b4QKxFELQXAnCs2lm2bkBcP2hfo6RF6rrVEVr/d12pUHvfTqiJE1IWYwCXjQ1iTmNRnJJlaHOr36pYg== 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=lHWDSG3+IlihVMRDW1j90pRI3F/slKG4Im7hct5HmzA=; b=PXQuyAVtQStELyTH/7E5ML5b3KKrdnnEebpaaauuY63aU7I0MiUDlzwqLw2f0jAZy8hx3maE1Xjbpc8fzPuwgiw/EYtuPczAWf9pdjRE4tvQNZvUOr1BkRtwQOMJ/aog4ZFc0W3Ufy1gGh7P5RDuIelAtD1YVZQ7xk/AXbgGJhI= 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 PA4PR04MB8013.eurprd04.prod.outlook.com (2603:10a6:102:c4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.24; Thu, 24 Feb 2022 03:11:50 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::c39:69cf:c4ea:967]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::c39:69cf:c4ea:967%5]) with mapi id 15.20.5017.024; Thu, 24 Feb 2022 03:11:50 +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 v18 12/15] firmware: imx: scu-pd: imx8q: add vpu mu resources Date: Thu, 24 Feb 2022 11:10:10 +0800 Message-Id: X-Mailer: git-send-email 2.33.0 In-Reply-To: References: X-ClientProxiedBy: SG2P153CA0029.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::16) 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: 73ee7c5f-6eea-4b0c-900e-08d9f7436667 X-MS-TrafficTypeDiagnostic: PA4PR04MB8013:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9Eqwvu8TycNUMmABtCNOlsgptriZ1MTYjc8R6rGe/fTcYLSg7E57NhSTOmIqVfWDOWYkvbUrnIffmL5AKeJ3x7INTuttJQe3YpoZ3LvqwHLJ0DEKTqgbuyzUAdhvN4AeSOr6fiSSF9foD16oln079EMzkNt+5mhuu0Hqy+pWojt29uOgw1ktWEPekG2rb4ul1n8tGngpv5gYrnh6lhf+CiKHn+ET0UshbV3FA3XFfseIXhy/Dzqk1ggr/86aQfdJDx3/XIkCrrtDhvOmEdbYBwCg/X2o9KC81IQeuAZ28SdLdFMbBNGjvUq8T7eRZrjOMLXqaoueGE/gOoZ19zbK/SSQuqC407M468UmF+JyACjKPKBhT4FuP0LF/Ti9756ix9FbNS6elEt/fVQqPEhsgCiwIToBpHDPHSmd0VnIO3qOgkKdJAvxJdQEhdUEMG7vtFSSYV0wjhQcSn5LObfahKZqvZC94gcZUXOlBn19m7eo1K7s2Hn9u+9/EkSyuy9Oxp9aObix9CuMpDCTfubKN9iBW4QGKYHm6kBEd6MQs6yfZ+eY5XLFBmHQnNt/qsclFIGT2sfU8wOR+hYCkLAUW7LAyJk9kAXbSEA4Z/gCVPaWMgT8xpkI0cgKaMfpIMTb3G+NjCn9lKhEQqZZuONBZF1TcZ2E19jCekhJLsZwfjVaooCaTDPTzfscIA5vgHBB5prtwIAH0pJDK3AgRlxOFqNkKtuyra87mR6hX+j0eAc= 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)(316002)(2616005)(44832011)(6512007)(38100700002)(38350700002)(186003)(26005)(5660300002)(508600001)(6486002)(52116002)(6506007)(4744005)(86362001)(6666004)(7416002)(66946007)(8936002)(2906002)(8676002)(4326008)(66476007)(66556008)(36756003)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Znado8OjaRP59+f1FnMxUF/gDNXtx4icm+m7QkCVMDigCb97MNdAHgDbBCdyxZavLZUDQG5FJ+v1wR8bF2IgLBZd/UQpHe13GIjX8NdTQPHJvjIxmhBoB2rK3QI7bqzVxXuB1ax/TJX3er9Bdsu33806gYfVheVUSxg8r05nNeEB1fj+EQe6TVDt+rgE9qvX9GY/CN9OLURmHgTW+64MFRfxMMbXOhuP6IK1kiFpDUbtzfTNfmCi2xYvscdwCxooXGP0g+3x5AGwGAkRNwezSOt7bTduK1llYE4zB52MPVSyMElNCu6FigMbx2PUr3bSA6q/vSad6kj2hwFY2ysqfaiDQ6d7MrvZZ6Go7dT9BbeT1JFELQmxW3+Wu4RHiY16skVBER8mzKfDhGlZuBMwq+LSKPhH7SPZOB9Q7eFTRWRFMJQHXwoR5zcPgWP0mFrkkgI7DGRa6ar1lytOaJDtUAN8k1iIyJ0yYLyxBCyGHw4HliQy3jZAmPdHrigbwTnTp9SgewvRr1vxoUzbK99R0BfjC4Q9fF16Lm3r+W7U8Ga+fYRx19WjGqEUkN6oZ9HhHf6M87FNXXWlifzZm7zVJYT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ee7c5f-6eea-4b0c-900e-08d9f7436667 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2022 03:11:50.5380 (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: UUIDMy70Uo3rt8zIwh4gVEkKveeU6reXtgpFaAC0cNin+etCy0uqRZrugOiEjusUBaiKxxqwZPeeoDFVR1LclA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB8013 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220223_192718_872569_3F9BC8BA X-CRM114-Status: UNSURE ( 8.89 ) 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 },