From patchwork Wed Aug 11 08:43:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 12430553 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.4 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,URIBL_BLOCKED,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 6F56BC4338F for ; Wed, 11 Aug 2021 09:06:54 +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 330C160C3E for ; Wed, 11 Aug 2021 09:06:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 330C160C3E 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=mWHWAoTioC3thl SkDXXtWArW4BeoVm0mNXcN1fj/goRnI6n/ltKRA4y3Kyf02EyFSK7A7sDXe7Gx2p76HMuyi93OH+/ XhkV/rto2DHkO5xwrUhnI1CpxLAveUbqZgTKKMtFzTd3SnF9rOSOppNcUJQ6bexKDs5PpcJlaLebA UiZ4Rrzaft4EuXm5ywqSJ7W4xWTUXuYT5R7qY8sOG6hIBcnO/0Vm3ba3Xgq+sHJSVuw4lREoA7Xnz L9Q/mEU5sC6ehYKWNgTpGR9itpBopixqip/1ScCgCYmADv21k/VebDfbKflrtN+KUixYWLgfNH3Yy rYLx8/p78MW+1a4YHqjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDk8c-006B3e-Qr; Wed, 11 Aug 2021 09:03:05 +0000 Received: from mail-eopbgr80073.outbound.protection.outlook.com ([40.107.8.73] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDjrJ-0065BS-0u for linux-arm-kernel@lists.infradead.org; Wed, 11 Aug 2021 08:45:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IFEn7k+7HwlCsMUMfZLSvhiheHxS1Bz2LDZNHcfFASJOtLZAiUb2KqCgtN+Xry9/Kms53Ja2Ibnz+h3qJ2LBM0zpTwRCibe1tdmYWVEQfYF8XRg23p2Vl5FYQj6CoH3oD3tY56C1hrctBrYp+i0Cf3cETtKkflUO1buF1jJ2V6mZViWnN6UU5TacZXEkkxij4kbqC+VNz8ctClpPApGZQ/gLIvvYyCdBsex1M+cugBlJoVDFn84QBT5MwgKma0ucIuL3er4FoqjtAVgZzF9WFqq27GuHdKN/ueXjISuiKlPjwkYR//5bzHPlm0BZNoSEmJytEPt/vRIW1ulNSG1tLw== 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=On/2nhhRCOD5CTEi98hjVF9sBw2lKoyk953fNdn6fmNCy8kafzVJrV2L/lpwKHXP7fh6x72lwRiDYHMRaoHCpio/YumyP5Lgp/CvdZObu3gSNlB1hzSmv4Hf2PWvHL4T+7O7H/vWs5AjhcsVzlrCNzhEepocuURLpW1EbIqxuWBWSFr1JCICxExLmP6OWmwwCQrnBqdBvSzyPHmzJh80uHyiugM9nTqLhzwn5Mk0AqAdI8OXqbBr+F1JwQVIP7mKtpKV8mFnqyHZTV7xWvu9ymOpE/Y4851s7BQoLUT+58IeTGBtAhTWreU9oFiSllMQAS4yyzEM5J1WFC9FLu7+gg== 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=K+lpAe1y84Z6lfhUhT+bvQwObkrNu8xuy8sFiERfumk6ABUObuPXRAw82UFahglRr2mfZbrGVQrAEAxTOs+4fkCTb2ePLmB4h9s6x7/XNFYHorcR4UnuZljiZQ9u0oc8t000fS4cyZkVAp6MLe8H4nbUpK6+aas7jzf+PKZLtWI= 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.4394.17; Wed, 11 Aug 2021 08:44:50 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::9cb5:bd97:8500:2384]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::9cb5:bd97:8500:2384%6]) with mapi id 15.20.4394.023; Wed, 11 Aug 2021 08:44: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 v6 13/14] firmware: imx: scu-pd: imx8q: add vpu mu resources Date: Wed, 11 Aug 2021 16:43:09 +0800 Message-Id: <6d0d2b8677ba40b8007aa46a02b676838f9b27d3.1628671163.git.ming.qian@nxp.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: X-ClientProxiedBy: SG2P153CA0022.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::9) 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 SG2P153CA0022.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.4 via Frontend Transport; Wed, 11 Aug 2021 08:44:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0a877644-22ca-47d0-6f04-08d95ca447ec 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: 1BYIFyNOSExEEMFCYMngG3MKJ7H9CgDiHIYnPs81mKDuCtjZVFj7U5Yq8LqyIsIRzBzL8wHs3pZksD02knT6jzWn47ApI4V70y5FV0I9m9soTS26IEABXL/NCjEypEbUY6Ytv3+YzcuRGPC16ns/8f+X70Mu5GkZTBiOiSpQTICraiaM0GEEJbpIOn/uzyGcHKvgleOPP1TY6yU2dIqq2MxGKF4IQBg5x2k3Z9edT+GAY086r2p+LClRfngtnoNeGeVV3gqw20XEpS+0yu8sKCGsrFGwfHzTA0yMj1r12iuLghmBf2nULLTLSXd78dXLLMnNofe0qalgc9ws7EUPkm/7rY3Ka9oEQ78YP2SAJoiWSeMEIl09azk+NeAjPiRqD6qB1nbcZ8gLdD0X8ARMCkjIQGW4H2rCEQ7rGzq0ZdbFpMs9i9O9teCp0OTIMo5Ag+Dl8DNDBOFzVfslYmzw0+m4TJilbC7jgVBrsJwmyyeOldqiac0icWxSLQ0jvVdeSSctJPzEQYmSwm3cPCC5vnsHTbo+C3eV33jd4EKVJnS4zbecnI7tu5bwauNUg8cc9ErVF3nekcWgXsyR5cjbsTbs9VeDhOC3lbQzrhkY4vg0SeC9CKpHSmVsv+MnB8FdUyXWetMBh65Grzl3bJo7Bje80GkmGn5uBzu86QHPY5tuLXokCHjzrbqHuAPe050s0WzHcdw6HZA5cLXrwXRss5FugliWL6IptR0NHRk6F4g= 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)(346002)(376002)(366004)(396003)(136003)(39860400002)(7416002)(86362001)(8676002)(6486002)(36756003)(44832011)(2616005)(956004)(4326008)(7696005)(2906002)(38100700002)(4744005)(66476007)(478600001)(26005)(52116002)(66556008)(66946007)(38350700002)(186003)(8936002)(316002)(6666004)(5660300002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Jl6FqAJkuOnFpHYXl5sQ9fmbirOjj9dVhjyBnjC5k1FLP6M1chBhWRusZ9Lm97UsoQOXrcl2ZNYSjl56vLuvAXgWBfu3H2Uy6bataonsNUyvhokyXg1YgtIrhZglUyblJFrppZHaAqf9moG1fYTaP5OtDukBDQW1rs17HS6+jhQYotPinZm049GGfLEg6eSkBvlnCGGyx8As4YoNzHq0eyhpFw1uuZdDIGpuVKxcOKTMbaIDAJi/BFpkUULRslElcv7vqcgWFfri5l+/im5rWUIZSFufynZPnZ3Z6sUMqEcWe8WGxfO9hA0CeYGsufufoi3kTAmiEZ9k9HSH8SpcFuqsA2Rek3srTWYLCjNXBb2dmzuEaj96MOBOkfp6APTja5p2Emxxu5x1v2tsS+ijHbWX/v3lbOSVH//mCxqfowOb/MTSz0B2MFr7DofSFhRHYb2MvyEf/MfzDELr40Aar9jUmQV1DmJ+EcpxrCQHVt8KdCIUFQUj8PKABpmCJ2gimi1uEr8vER3z4lptqcyiaTcLJMxWIpyj8eXvLl3a4UXvgbdMD5T2Mv2LoyuLTIdCh6id15Kdew+Bv23iiZ4Bo1Wa8j2v8rvhoXufUZYDSkmNQTEiFlU2Q39PVNFV6f28s4QuJ74762WJsZ2X45gkyjjPPJCLTLHeaETGbBDAWrVR1/XCEwTmPRZ+TNXqnzLHBFIIFvY/HSsdQEnBdWowwM6wFQRsSQ9bw0G1fETyTY9bAUfs8+0zY+5ZE2oxsMTqfWPjAcln3O37EHW/Ix/6RwgQSKSkWGbXyiDquv5j0XXr9IeeqYD0HLlSO9RQJ6BZPJYVhKdl7hggK3C6WIDPogzfVAYEifUUzksbbFvdv5BwK88TsUpKT8xiVO0OeGDSonmvm8Uc9M+un6vr+hv2UiL4c/IAaBVYhIQ1JRrbF9/45xkS+uMDw40yAXIGkis6HB6VgNGOtb/861Ytq6HmALCTh2EYI7hc4baefGlCuyhI1xYd2P9EbEgJuinacKw3YixHB45+WdIC1eL9SA8Y0ONJW6cUxF+MLBs1Iomd7WJDGfXtE98313BfoJhU5+wJlXKgRhGL0TC8w5CkOHG07FreyCoaf67X80qQbfnwVIaZAyzb/bEdBbRQF6q+4KMevod06uLyhaYGrEBrswyJvydEjpEFgkDJVgj26yNY+CHy2Ty5EbnILgR4P3mwfaBCPFftSlfTFW7k+dP/fJLbWDpMvn6YBJOGcEACE6Di+3OS8G+fJzNRgIp5fxhFjtQLUeZe4P2eXZNZPwRQgKcm69NZQmF8M3SpDo+ah380MNWHq/DdMB/jkF6B0P0AaGME X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a877644-22ca-47d0-6f04-08d95ca447ec X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2021 08:44:50.3653 (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: UEewjses7CDv6mIcHsjRGU4J74W1htvhbu7vShyjvsxs+kReHZkluq5ch/AEj+789IFDJT6kH66jyRetAeZ4mw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4888 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210811_014509_095373_04B73EAA X-CRM114-Status: UNSURE ( 9.81 ) 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 },