From patchwork Wed Feb 23 11:40:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 12756859 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 1719AC433F5 for ; Wed, 23 Feb 2022 12:19:47 +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=BM61l0bJkd8T1m 4vH1RasLjLGnN5z/nXoUl3i6ud3/672UIm+aupzKgbd/OnM/34hjUuc2x9DE2H6/dCnkOQgOTAPPG UPybL5uOu52uI7/SZ+FzkEeCVCzXjnUPMB9dL2YE2ABPmnkO0lyDMHfLje1SYyHsEMGi4P3/Reoa9 ObgFW3/lj1oIf4sevPDMol0TLprd0pdnPR1Uc4EzE+ohiYAG9NQweao/Y5uv06sKfB1ThD7cdVXZb pB8/1nbOV7roQfVT7FRKHHJw/vBHkxWiajHVF6w3S4doYDyptVUhLdQ1yX/YX6p/v84CUQoTkUZkO t702nv1TwQQN12bCkQPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMqa0-00E7Fi-5K; Wed, 23 Feb 2022 12:17:13 +0000 Received: from mail-vi1eur04on0603.outbound.protection.outlook.com ([2a01:111:f400:fe0e::603] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMq1t-00Dw9H-OW for linux-arm-kernel@lists.infradead.org; Wed, 23 Feb 2022 11:41:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jenUxAQhwuADaDUfXdJUDGLWWtFzJqW07DKI6g9OdTW6wFOFlGP9ufDQc/JSxSp3B4Q1G2ahgidJW3BgfaRuyucCad8DkX6GErUzCQQCD9dPNXJS2byYiDk9t5ZmKr2JKOw/1yWGSU2CuPk+uN024F2WO3wGcyi+tZvg1AlqAAU7HReTzbPdNFkNSffsqoILC+oaFUMWF42Xu4EH+H+45XefxsC+4hu/6kedAVfzm91iWQ1kMz703s+jipwESylBB6TNGS+C1yRXdE3neSUkHN9qYfninEmb/Ypz4SfvkdH7nOp3vvxvi1ggqLNxaSRCixpm6CO4Y3RiMnKM87PRQA== 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=fuif9bCoQWXOa+iiJAAtshzvQgxkpnWMWya02OcYkPx2Czd4KKi3XAIIawHdzQv4Bi3DAnI3lFD9QyQHVlFHEeqJyi/JuejJ3Bddg44FK5P0T9scYVWDqF/qddAhHV8xk2MEyiVWR94gRH87eNziMPjMb/NbmOS74xb024izlvk68mggcJTTEmijbyf6Q2nBF8eDh7dfs6MQYWIDtWvXkEw5g9ExGYLWnzxh8EGyzWpqAnJo+Re3p6BoIlXvaMhJOSOGD29BwQhiSyn24iFeFtdqqAq+yuHdfWrZ2uhaLTP/6tWqJmBaApvZPKsbOcujAf8JOYF5aaolhb/zgsiv4Q== 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=J1X/wn8/PqjZOedZXzUiRV4G7pClO2sZHbtqouD0SrjgvzfgbJsV3UCQRD5dFSqDs7ZV6zw8Q+jfQFh3IWA2t4FKAkeekrljdZiCoqCqAKFQiYKkttYki023kN0XAGdJI6rY9ZdFGo2Mnevixl7ZiMm5BB15M6ymRM76ofa21Zk= 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 AM6PR0402MB3416.eurprd04.prod.outlook.com (2603:10a6:209:6::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.27; Wed, 23 Feb 2022 11:41:34 +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.4995.027; Wed, 23 Feb 2022 11:41:34 +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 v17 12/14] firmware: imx: scu-pd: imx8q: add vpu mu resources Date: Wed, 23 Feb 2022 19:40:05 +0800 Message-Id: X-Mailer: git-send-email 2.33.0 In-Reply-To: References: X-ClientProxiedBy: SG2PR0601CA0015.apcprd06.prod.outlook.com (2603:1096:3::25) 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: d88b845b-bbec-4257-3f87-08d9f6c1719e X-MS-TrafficTypeDiagnostic: AM6PR0402MB3416: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: 4gDMAFiibwaJFVY8GasVUOS03WjyYrMvGlyT1L0fdStUl7v3pG1Kg4OHyU0yCmP0H9CuhSKM+CyIYjhv3P4TKB/2BUg4Sq9DVpWsbNdWjROmlld6CzEEWt0pPnz38kgTG8kapVlk+CIbWaK4OLFWP0z6qv74dnp6qeOEBJQyr/361przmAipKXtHYh7tdd9BH/n++2f4TKCwT/IQwC2XD0LNjZwBoh6aL4dHvD51YyQ5Nq/GyDWQb1aEtmDDaugDbWwEiuw8xYOBsWycA6cuquAkNei5tMa6C0JxyZMzm9JILFXTJ71GbuRUArQpbkMo2Bev5GLOCHMUdKHwXDDsYgQg69cwFffRl3snFcv4zyZqS6/bgPUnsT30T+u5oRUlAoi8F7/6kyYBhhCuCcN3RljDAMW6M8yL1D+QJarUx5xOFhRfM6xEB0EuAWCCQbMQwJAhtShKtLqzjaZJJELrpUTFpAdeDtAZzJuiIpUKKgBFtZ+EDSlPP5N82S0uDfkRrLLMYrRFr6G71tL+f6iSfGUfYIJ36G+izTN6s7XRQGpPzYO4JROxf7Sd2xip589p75Y0z/SEwzeoMEU6LUWr+GDwbZKY3knjMMIOKlV6Mi4Dw5PCIu+O58PqvJwZktw8J1FHb1WkXyYupsMfSU2HFRismTCCa/6jE0/KP5chXT2a/ADxZMAbpUQT6cK6RQbk/Wb11A6YYX6xcWtRSufW36yiDJYVmevSJSSpaWLSiiI= 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)(36756003)(2616005)(6666004)(6506007)(6486002)(52116002)(508600001)(38350700002)(6512007)(2906002)(38100700002)(66476007)(4326008)(186003)(5660300002)(8676002)(8936002)(26005)(66556008)(316002)(44832011)(86362001)(4744005)(66946007)(7416002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CxMXkcYoGFaG83aYgVFdEMduI/Q4QTQl2Z9alf0chDL0VIf7FO+8voTLo5Mx4faREaYcZvA+7dCs6v55nRDz7PS+idCC2T3mmOyAhrSkSESMiQr6gAL7nB8jPJivi3nl0CPtR4Ko7JcbEp01qZTAL83Q7XvsqBDz+xrvpBMp0QC2zBV3SnlWS528BU70VYorRa615mQLFPKjYMoFpGxmjNO0XWjihZ8iUKNpSH0gZV/pYaEyrK6jRwU/yx/E0O6lTqjXU2inFUd7ACrxtYdHX/SIf3Nywio8aWU8JvmY+8WBu9wskA09g4hLCnHxND/+EYt6ODyYAAZdIVQIcZyC3g/tLPYba3fc9D+uv7Or/3lskTNq9lxtO5DQHFJxJ6CU8YQEsdQJ9Wz2+GU1WfpJ3W4OV/Vfswt9BgxOEfv5GhepdbkMV8vMeurJGfiztYDnDZBAfR5SZ3fmfpDjKOmGt1dJo7IZGyX48YZnwU3UjGCtiKJ7sJ+6JcUAx0FH0m5NF3+46K4watQeMwONEpxhbJIAWW+sz9cQU8PwmbWSCP5lzhlpKUAd02PJZ5xXQTRIXPZ9di/4Cir9y4VI1MJq0C3Bc34h64QdTC03/GLafpJBR1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d88b845b-bbec-4257-3f87-08d9f6c1719e X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2022 11:41:34.7765 (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: W9zMYsy1n2maPswqXOAXiTLeQI57DMJICkf1Ui/hXOfUSBNHITrycOoIuMmoX7+PL+CRmRQkMaE6DUAwDKnzzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3416 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220223_034157_831193_0EE1802E X-CRM114-Status: UNSURE ( 8.75 ) 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 },