From patchwork Tue Aug 31 02:59:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 12466375 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=-17.1 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 0C447C432BE for ; Tue, 31 Aug 2021 03:17:44 +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 C069D60E90 for ; Tue, 31 Aug 2021 03:17:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C069D60E90 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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=tXJBP8mUQvI//W/r1jh14QgwjIf/VmSxURFwcaaZek0=; b=aw8kpAI2SMwn4B W5LkI0KmcwdNjj7m69FVfex3TRwVNQvm9LgxMpDhBsGsDjUC7yEI5iLrc1NIuhXdsGysNVw188qeb F7ssKcCZOTuBkW0llA0k1NCqhfY9iWR1tzdb1uwUKxf/qiiZfYz6p408pkv5GlyureKOVNVAJhMqc FZ4q6Rw2mE3pd9IVgS9P6I7mrN+/bMy/S8x2Qi7MTZX4dC0T2KIVtoMSp3IPrFbTe9DyFnem97Hb7 sxt7rm87pZQxSf6bd3lYEO6P60hNRRA6Y0+WN7/lHR7kFE0Dh/HlEYgkopD6Pd1ztKh0CP7dfJUfi BAwaoinH8xX4s53gUpHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mKuE4-0017Na-8F; Tue, 31 Aug 2021 03:14:17 +0000 Received: from mail-eopbgr00067.outbound.protection.outlook.com ([40.107.0.67] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mKu1P-0012Im-W0 for linux-arm-kernel@lists.infradead.org; Tue, 31 Aug 2021 03:01:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=amaKKAfGRpWGfiX0o3TS3KSjkPs5rlcByAxChtaoztUgspVC1+dJyN/bjC+2Xc+w4hwAMF64ypJ8J/+2l8+IrGsqo8i0BQpTA+wejPzanH+g/Jgj4/aA0TZ8e5VczDXstwY/pP6wgBLtW+O6tJRVPjPOqWisbl7Yig1zivLGgPuEZUcqyIegx88RliwXmf9CmrKpu2LDTq1O90lRO6suhH+uWNCIqXSBBY460UK2APG4hCw0onbYWY7d2+jTWJEMDOGfgcrEqJ7WfLmYwlPZjfHZmcymPcLDnlpuE3TYIkyU2SJ1pe0gO9a2Ne+cOqbuzxcv1Yogc0czc8ppLeLf2Q== 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=CphCoXulIFGtU2AEB4KsSkyW/W7RFji+tc3255MclSo=; b=TOEIpQrSz1gxGKfZpQhcf1GH4SO3Gg4PCjmzMYRiXHHDyECRDRbWjbI75+X9fY14LOu7WalgGKJgdPN/sk+OiRMVReelD+/0G8OgH+45uJOqX5fI3aIC505s51jXOgTMWBwcFXgqtfjrnh+PgJ5+AeKImm6Dl52QIVgZO1QaXZ5uKTOprRbTd43/t5dtd7l+los28EFWaZEGQNdqu/uvB8MeJtcyFgzn9ZybdkI6Kw2Hq3RR44O06YQduxI3mI58m1HHP+396rxPtcmlOY5fN33gk2r0SWIpRSKcVdaIb6C52tloNWKe6kkMXQ9bUo+OtGaqDsL+tV0hfOwJGN4KvQ== 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=CphCoXulIFGtU2AEB4KsSkyW/W7RFji+tc3255MclSo=; b=UekceK3DebhwVFiOwEy0y4sOm8VFWlVgGxJzZQU87E0GTSEdURyLWy0pqV0A1BTtuDTK9aZbuIpmNCSuHZsd0d0PWtj5k/ykuXPMzIeusEWPs3ted9ACLFm9YJB8zjE8gELi2wBmtFCdHj5d5aV0J1YqLL2nLfBvlncMvQpj1XU= 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 AM6PR04MB4888.eurprd04.prod.outlook.com (2603:10a6:20b:12::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.23; Tue, 31 Aug 2021 03:00:52 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::998c:7f25:6d75:d5f4]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::998c:7f25:6d75:d5f4%7]) with mapi id 15.20.4457.024; Tue, 31 Aug 2021 03:00:52 +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 v7 13/14] firmware: imx: scu-pd: imx8q: add vpu mu resources Date: Tue, 31 Aug 2021 10:59:14 +0800 Message-Id: <168aa67b66d687c2fd9a19ecfcc0b7cb6edc2bb3.1630377507.git.ming.qian@nxp.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: 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.4457.19 via Frontend Transport; Tue, 31 Aug 2021 03:00:48 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91e438c2-25b9-491a-109b-08d96c2b8ae5 X-MS-TrafficTypeDiagnostic: AM6PR04MB4888: X-MS-Exchange-Transport-Forked: True 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: cR2+VLiddbWxf+QMWpLDdI0lgX4lB0PTVDasAqTmpgsigTA9XoEEsL0TCQWF9wV3+Hxnd6p13aDktAXIuo20rxy4ISLl0tQFVZLyeus0UnSYhWkHDtNJewNxcVR4zGsUtkRdclGUijzcJNFW9jEsuH2b/PAeQqPHzEzoZzXRc98aXeInk+PWzi/ZyKrQk7Ip/sNblG/3ucAy9cAZYaveGCXjtrZTOmLsxCs/JR1x6MeM5GUrNaSQyYD43btPpd4aewskvgMrXrDOCnW8NNOrzouV++BqWvWbA2h9jlL/vIATveCnEtdkp6NjFBnWZjsA/PZin+vGHI9Ck0SaaoSn2+Fr63LVruH8BSDG7UjzNOhS90Kwara2CDTVakeTOBfji+DLkRB2LMdF/cpBTvfA6su5F1E1Stsyp/winF3l7pb5rH/ychgxEUkICgvHa/hkfPNM6m7FI9Xo5VXlTXUEQSdyWTYZrXqUZikUK5kOF0SJkyGTRRGJKFwkAwJvxu51AvSGyU0oOrLVxVbTJFZNluTm71z6Fj14LCAV78Zt2/0YgYpGDClAObGV/JouFMMKgeGnE5B2HGI75eDLhSQqrHkdprWg1RKaD103EdsSUl/daPYOgTlSzVwYWEL4rSdk7v43Kah/klQZnIn/kj6UluR/mb2l70D3bF2XxlG9izZM9czu/RXv8Vs7J3BDZAPPJ3Xhi6OAMvhv+CKoT1Dvw1XZQcPpkKf1BXRwN9ejkE0= 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)(39860400002)(346002)(396003)(376002)(366004)(136003)(6486002)(36756003)(8676002)(2616005)(186003)(38350700002)(38100700002)(2906002)(5660300002)(8936002)(44832011)(6666004)(478600001)(956004)(26005)(7696005)(316002)(7416002)(66556008)(66476007)(66946007)(4744005)(52116002)(86362001)(4326008)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uX/NJ0/v2y7xozP+LVAbb5mlfLwIi9mb8NdEm3JNIsEaWTFQlsI/hvQdZ2POPdygUDgmKUrdUlyG6ShUb0VElIUWJ8K5dntG7q+ZSj0QKn+3U1HmW0ujUehmHhBpTbjR4uh4FAG5uG60O95E36UjxwNX76WEK+UH8XYqZ5x/PMXjPRRZEJdxWMo7SosHcW7vmxsglJMlZSpF86SfbhJ8d1zmIIFqtx0ek7M5AG0vdgsY/QIP+IgphU7SgAVGWzASauDmGuorbt85i8nhkFAM5QuYQ9TkVNNVSFPxImEaH3K55CzspZL4PbNTPPSvS+lEd7gQqR0HxdPye6bLh28eyaI8a7wnDrC7gRW+IqfoDxqkB8Kq9YgmJW39M7M97cTLPDIr7wGrqal0z+C3eIQ0LWwZ0hkGmkzidiDtYv8eofSqstSvI9o2XN8/zDcHxr9G+uv3e+mu9NyNPaMqQJ/MKqNdJOjDtkPtYSv2eBd69v9JRCRNgWje28VaD465TSFhsNOOxfoPLgJOUhYUXosvijSAVBH0fxOuBLIM1gs87HvG8w9/s+ZzPb1ACuSkIM+QtacuAEpB3DLOgj/ti3lvlGu5hUnvXAa3F67AJkOuTgne31qlVojqyEQFHuLwgfJ4yFPgIu64Ms1jdLsDs1co70ozd/f9oz+M5xnwnXpQfpKmu5miuXTzn/tb3cTtErTybrDHXfiRdQrZ4ReRhscNs8Pj8JPbitoXaHdIuEX8Pqgn3WCVZi/0Nr6cpaMkdJ9DUTGljoWOiAILm5ggdihbcfOh8Nc9KMiwWg3p9V92HFGH8JQ3AN25m5rWtfvBGUxT2T9c12Q21D/uqZV8V9X6XG4fdFzMVjWIHE95yN3S33r0awGWNWd30g1Q17lv/FZFjSg9ra8vJvXByssgbfvnZ8l4271YMHqvy7WriAIQ66E3kKOiDJ1or0LHth0va5mP7mVUearO8GtjTb4aBWiyBUC6S7CYPYzYfxnvQkt9fxEuqTBqWEXldWXm1R8MpaWGQhrugbWgy/yZcroAZeNNdS4peqBuxXsmV3gePhGttqBvccoHmzv3WJ0DjWnr9kwL4AeH8Zj1JW9JssYyFL95pC1na5OTsFDBGifI8EStLAVWm5CTEMaEwFvllIooINuYSv8tMuNsxWD+/laO3XmVKlsXEG/vV6+8Q0YH7VPkiP1FdA0ZNLBnh6hqAfAG8dUcALVXgDz3WhYX/RK5NYW7GK2wLgl57tf/c5f43LZpF8IGCw47KYYiktuPwbO7mC6Gpurq4/0QN8xliVlGkUaory0hIkuIgQU2/EvHq9Y8Zp2PWAiBcK6b40zCFmCHSIOH X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91e438c2-25b9-491a-109b-08d96c2b8ae5 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2021 03:00:52.2075 (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: 1zjJmuAE6RxHqd5rBuy9vVSuZvyNsH5QGENy68pXMBEeAHwJRQaKuD6Q2FsNQDgci/xVfeisTK1u8FcGWEuZbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4888 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210830_200112_066405_1197BDED X-CRM114-Status: GOOD ( 10.04 ) 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 },