From patchwork Tue Nov 30 09:48:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 12694136 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 CCBBAC433F5 for ; Tue, 30 Nov 2021 10:02:28 +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=14B8BHJ1HUOXxZ QOqqG4/fTPhJGdxPcVdaCJEzJ6B9Zmke+/nRRVLLoiajmVsYg8mqxzIxiPr3OZRj7q20YR6dLH2Bi BS2X0fIfjo59S9f223xSoeS6Uf9ckCM4p8BQWuLLEUxYf1V+EB0eKYxZ6V5FWANhE7mLDYQXh1On4 6aF0dmS6b98h/Xe/zp9N/vWWMA+Xof6W9e6h+qAf3pQF2tGxPu0zWg2CEntEWwErD260vMcJknMfD eFQkC2o90yQVtyVPuR9UCb7hkabm79ye4WMmepj6j9P3++aYViiiSlU8GWi6KsY/2/zo9X1Hw7gK1 SoS1WBMzFVSkd5aYJ3QQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrzvU-004Syu-F0; Tue, 30 Nov 2021 09:59:54 +0000 Received: from mail-eopbgr130079.outbound.protection.outlook.com ([40.107.13.79] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrzlb-004PQX-Vk for linux-arm-kernel@lists.infradead.org; Tue, 30 Nov 2021 09:49:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jL24wvqL8T2iLh3dQLnlH+l64nuiE7HTg+V3BCxuv2KpqkMtPith6P4BCMQND6AILrwKvVe4eN+JmS38EZJQwyX0zuw85DmW4CwygcbTOIJOHz+zDP1ipfa/PCnZuH973U4x6W5JtEQiCVMPmO9NHvVjqxgwxZX3U01r775xmzqXD5U0Sgg2YA8RO3NyJDJqyHP3690UrUTtRSWLq5DmO96NZzktE+lPIrCEMyE5pqcTco4+tw8hs62ccwutjmjlq1afrO2/KPZ9+KnwK3HD6HalrHmpBskhOOJn6MTCL+/2ZXsdUEh2eN7Z5OTbN82z/5s2zx4I1XKJBzOz6DmN3g== 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=Q0xURYkEgE/be3vFX1U3JKm9sa4HyblfTyan2Lj25uDJusJRl57qHQHhlVIoPLPv+mJDmkc2gvCHuGEP2VotuCveq84Lu82iSAr/prZh3UjYdlUY+D3qvGB+UJJvzbw4xu64ywoTm6/glWB/05OghsjDbi3aL7z5hvmOP4S3e/6j1Ev81C4JYTtcgVhBlhLyL/JxOuej+HxxAoT348sowP2Dbe5IR+n0yvZNPIWKTyiFzt5Ifg3TGjJsfTsduwHAEMSTQdphzDA6IUP0Ha6NeGbHPKXLJH4HfnFOEZbOX7BsuwRcdviVkeA/dg+bw1/AC6xFP5660V6XxY5Jn6xrGg== 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=niqFew1rpKrDgUeSCqmJXIhGtQmMumetSd4Akh3R8nJsqyz3GGXkh/P3DMzhqPYVqEYGJBS8nQbPYCCxsJmlxT/w1JdMOXxmXisDwqy7xrqWPYJl0iVIQxXzDhhC772AhUzH7r1v7kt7BxblpvvGCI+T/cgtswxxxTIRyMaAKCg= 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 AM5PR0402MB2884.eurprd04.prod.outlook.com (2603:10a6:203:94::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23; Tue, 30 Nov 2021 09:49:28 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::fc3a:8aea:2c92:3886]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::fc3a:8aea:2c92:3886%5]) with mapi id 15.20.4734.024; Tue, 30 Nov 2021 09:49:28 +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 v13 12/13] firmware: imx: scu-pd: imx8q: add vpu mu resources Date: Tue, 30 Nov 2021 17:48:13 +0800 Message-Id: <92ff12d58d0ae8aa1d09c30dcb5e163a0592f7be.1638263914.git.ming.qian@nxp.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: References: X-ClientProxiedBy: SI2P153CA0025.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::12) To AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) MIME-Version: 1.0 Received: from lsv11149.swis.cn-sha01.nxp.com (119.31.174.70) by SI2P153CA0025.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::12) with Microsoft SMTP Server (version=TLS1_2, cipher=) via Frontend Transport; Tue, 30 Nov 2021 09:49:24 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 35d8c8e3-c570-4970-e110-08d9b3e6b319 X-MS-TrafficTypeDiagnostic: AM5PR0402MB2884: 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: mpZamsi88KQjmRdI1SqE25VttDbdd1auINfvD9MLeBYGCdY1cL7xiInOXNDqOWiuMWn2+lfxKzIJG2a52fd/RD+n/MjLvSAR4qetjM7G40sfOVxQgKPG3sDG2DWJ7umigJvq4UJr4vVDyPTVASQpGhOwDkHR6GSz0d2YtbqaaZzQvO+C21dSWmsMXT8kBEvEIdJNqjjWUMLyritTZ4B4PQguVgjLP6r8TjVmdtiP/z8dymOCHI/1OsNrTJLuqYg8JlF1LzSxHzE8QzCkaIlqf/JsZzomqef8pykjpnSaVtSdrvMX5IQUV18+oqnah4hn6YbU3JP5s4tYpZd33PrxaQk5Au4idsKcfOKDbeO6FcOJbhZwP1YL2deUeb89yKCVP5lwXtK/8NaqZ0oibh5cky0+GimSblR1GB055Dz2B64mR0oxZ/PwuEanb+wMZZWRV+BLjzdfR0jGIgNMbBwqQf9Sib6X4XBuEGuXtPrfG7MPyaLbYhO12jDuilC1C+dpm1dG8sf6tqjgMbyoiRYoA8ZuBKHKRpGwRBVfVHxdPezjSd2eHfR+VXwdlW+D9CD9KDoyp+ph6CWqikpxTC/yKsYKQXvkZc5bQHzZPAyrowZDeoPbMAiOhcYMWmAcUqOIfuwBtfYCBZ9rLbUcE+TD9PJVyU078AR/un87DR/G10uujoMeprBbDEn/UJIO9ODdnWDEUTsK41670OPbvkP1NPHc3OdzUySgbtKkDpllKrM= 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)(366004)(2616005)(36756003)(86362001)(52116002)(66556008)(186003)(4326008)(2906002)(7416002)(6486002)(316002)(8936002)(8676002)(38100700002)(7696005)(6666004)(38350700002)(956004)(44832011)(26005)(5660300002)(4744005)(508600001)(66476007)(66946007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jdoy6wPxTj8/JpdR4bvwhTckFXoDBrPA5rdG8mNQQ1hL3uYJcnuuc9Ue1TRSNshgTuVcXQ8U9ESb5pLdohzu5DjeJcA2sk7UKfKciN5wFDKlKInVzX+x1WG8PyXt/oUQYmjodIqcMC3Z31ap7SzmCiUWdBsbEybLHyvg4/Y9S96zvBrSZ6ILZsxwlj9/Oqrjfe6KI4qq5LiHHc1TgMS21Z7w+8hYn+MVGn6aTcImaIsMAbgcro23kcy1lGEiztEZ0Rr5V0JOzOmt07eytVrbE2VSJc+pAF7ugWkqyEgfnmnm8gkDC7sLyDC1GhHHFr3pZGa/3d5HFaa+uHF+zeOD78bpURcSRIGHCQW7gTAqb84Hy9MjdpJasa0ELmqc2DUzdwGuisqBozlskqBX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gPRgsvcrpdtR8G3zEQNLk8ZKjLrKS7EFnlH+8MletHcgWLZ4QdG+bUmOSuUWZ4wWPcToHxLPje5K7+SG8S5bOiaQu2YccMC46pzH8IyTsQLkKYJJcj77X1QF+njoZlFr1kjGSnS5JE0LIeofUjRwMi/pVI2xm8= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 35d8c8e3-c570-4970-e110-08d9b3e6b319 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2021 09:49:28.1431 (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: 2ObQI5ZptTmZPdLOXq2E7Xev9DippLDQB2Nvyf8GB2G/IBCwQZX/GO/Etod51IAdQnC7ICEoXZArfligJ1KqQA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0402MB2884 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211130_014940_069273_1A67DA85 X-CRM114-Status: UNSURE ( 9.57 ) 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 },