From patchwork Mon Jun 7 08:42:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 12302985 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.9 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,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 2CA3BC47082 for ; Mon, 7 Jun 2021 09:13:01 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E7AC6611AB for ; Mon, 7 Jun 2021 09:13:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E7AC6611AB 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=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=wEusC4yFvS9zxdnPBmRvzCSYl+n3EjMPaZAJOIqb6/8=; b=kOYxWZO06zRYzq tYcU0rzlKk0WRVQt7mkD3LaxVs7fzPGJWMFJdx7O3iIEzldwbhqvGF+heHMltA++D9eLQojZT6iBM wHPFgRko1hxbysgkrjsZnb9FxYtXJBQTkYfUbkU91GPQX2yO9jQAKsqaVKPnhcY5PmsM9paZasjtx FGn/l3USOY6cBcx9HUDltPjW0thUexuzpWL9QL3YFnpuXF6D4qiNAwBIhzYSOwzOFVV8FMVsrrS+r xfL3pwkEbIgChZCw1fhowbm/mGhqOa66vV6vKxEIVDt7LbDaoTjlCGUp7FE9nwl64UGt1gwzqrcup dZLquoz8D6vb95KlNldQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqBGf-002Ulq-Aq; Mon, 07 Jun 2021 09:09:57 +0000 Received: from mail-db8eur05on2058.outbound.protection.outlook.com ([40.107.20.58] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqArv-002O3A-Dt for linux-arm-kernel@lists.infradead.org; Mon, 07 Jun 2021 08:44:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KkApUQtsRe13V+VJQmmNf/nlids+eph9RqE5vHiVvJoLWOVc6CBKTaU1oADp6PnmtHXt1GbTQ0ACLxryb94dYZQnGvfU+5QJ2DGbG5T0oUU1HKBjhNSd98iMK+UDwr8bnmTEtgd2qHLIGc9VcBfwI4UuJtfqccuHwBk6XruinwqKNmPFICm+CL0p+Rgd1LZN0nG24cnZ6JZxjcAtaGZSMzivyHX+U6+GdmMbN1bcKCRevNkQQxwB8oj1+UnnaJD4MGHI6nvroXUucNBLG5oAjSnFLPlzsvqxTQmlV+GnFC0I1QXcwrsGMkwuly683RD29slyrza2y0XlxehRmD4vWA== 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=9HtJU9ThdFQ2vesv7NRfjzO45qk6p/6vA0zf5wrflbc=; b=OMled6ZTgTb+bqDFTbaqwBfXbgZQlc0bQORMd8DUjDZIANYVNoU+EUqqgdpdwHBM5ONp2cWONBr8kQGX1nBPdStxHqUepkea+oq+CZTVS/PnJTTD40p1y+PENSE9T8F0k50LjtbO+epCPYZzh5KQwbCpTp3i+hkse54LICrHZwWesR46SVt58Wl/POWZLFCZuY9Le4pwvM380FmGIQy8RcrhjCZhaTUwAiCcBffi4eCYfHL0soVAoSzLpuTDAh7h6BG6bqSzst1I85IR3J7n4rapXMsfiwRudiiI1oX+If786JZXmDk8Fwnd0VHL+NqVeuupTiHoB88rQYDJiCfl8Q== 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=9HtJU9ThdFQ2vesv7NRfjzO45qk6p/6vA0zf5wrflbc=; b=cqUr255Mzty+eRQUtrqV8JQ8OOnYKSDl/90bPl28DpHapaNevEND+Nob+wgTRQkuNZQwgLYjUqV//zkik+o9bKtzPSz4u55X6U/Ihj3r23y5uYJXmATWT+SPGhWFJ5GRZRqkgYwhM8jgYhTrAiSRUKqxKHm9KjFFrvsQwf9+VN8= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) by AM6PR04MB6696.eurprd04.prod.outlook.com (2603:10a6:20b:fa::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.29; Mon, 7 Jun 2021 08:44:20 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::c5c1:3625:26e4:4276]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::c5c1:3625:26e4:4276%5]) with mapi id 15.20.4195.030; Mon, 7 Jun 2021 08:44:20 +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 v2 12/13] firmware: imx: scu-pd: imx8q: add vpu mu resources Date: Mon, 7 Jun 2021 16:42:59 +0800 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: X-Originating-IP: [119.31.174.70] X-ClientProxiedBy: SG2PR06CA0203.apcprd06.prod.outlook.com (2603:1096:4:1::35) To AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from lsv11149.swis.cn-sha01.nxp.com (119.31.174.70) by SG2PR06CA0203.apcprd06.prod.outlook.com (2603:1096:4:1::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.22 via Frontend Transport; Mon, 7 Jun 2021 08:44:15 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a5cc0cc6-e022-433f-542f-08d92990710c X-MS-TrafficTypeDiagnostic: AM6PR04MB6696: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1201; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cYVzYR5nYpdb8j+FjZ6yWvyivEBSMde4jjbjP90XLge8/I865J6n6KywkMAhLroCRvJw2wlcNMzJABbajeWPSqrNs3495vINOcaIde4b2h45JPL1GxYrhbh6vgxUf93CQtaGaVe4pEM7HRFy3sRoT6ZXU7224cP24tOoavhGLcb3vGpg2TCmbvQuRyE+3TMvAFgugtRXZWerAtj0HFiNx1sSy/wW+DjujSIPI+Y623C+374h6bbNkRk9DSKcNiqIVla5C2kwGnItpfrrOIKuzHMHaMEYcaH3L6HPATHqJ0ktmeY1OkGEw/XLyj9am4JzVIQb7haLHNZ68SryUn7buhzaKXT8K+8hp+cn0zYmfKFxQX3AV8POUWqgTNFsRMC5QSkKFWGXH/QBHjgK70iVgSH+2hKYwqbXoa8nsE/3OZRuKCN+7N7z9hwfzdysvtp6pQzHal9t2MosZBvdeqWVyqQnDsLv3y6pxC34lpHWEuWeEMdriVCJZ9FFJnArCb5vzSL6NP3oGvf7PBNn1FOwv3ySIZ/51INFXbxkSDHemR17DpmZRGG/Urc0H11Szb4cJzInKXViY2kmrUTNB1h+eIFlLt2fuXjW+oiWBAYNaeROEQ3ZNt6BV6DS+XcWbW7DIvx5IcBsXs172QE36KSzvOlNkFBWdTDda3yV9TCMAiE= 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:(4636009)(396003)(39860400002)(376002)(366004)(346002)(136003)(36756003)(6486002)(7416002)(4744005)(4326008)(16526019)(956004)(6666004)(186003)(5660300002)(2906002)(38350700002)(38100700002)(44832011)(26005)(2616005)(478600001)(8676002)(8936002)(66476007)(66946007)(7696005)(66556008)(52116002)(316002)(86362001)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: drUSXjUqlF/2wgnuSpA6/BdYBk50MIX1geNh6+tmKYgqkZ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ws+4esrebsd5GKHvLmotpCIdDPZ4KAA2+MfqIXDvPzWa0Cqb3dkEoNlfh/eTpTmdGUXyDieG2IRZh2v+0lXZoAXCEFOlkyR0uTyLgnNtZ+Cro7kh37k/9ijDXH/7vu86eZRZ7AZcbrXWj7MpMDIraghEoxNTrUKiZuTy3meIchaNdDygCCIgewgfIvYkLQQLlSyIY2/0fMjfpJ8C8loOPlQJqx5 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5cc0cc6-e022-433f-542f-08d92990710c X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2021 08:44:20.1187 (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: cSDGuYnfpzO3V2vwMojCObvVVhzRg0X3HEYehPmBHvxp8t54vCJpe8C75CkKRjo47ceHj9ZpQIbrIfhMmGQwfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6696 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210607_014423_529451_73BCB6C5 X-CRM114-Status: UNSURE ( 9.58 ) 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 af3d6d9ead28..48bcc9355a7c 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -145,6 +145,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 },