From patchwork Thu Sep 21 06:36:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 725741 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA123E71096 for ; Thu, 21 Sep 2023 17:06:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbjIURGN (ORCPT ); Thu, 21 Sep 2023 13:06:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231132AbjIURFT (ORCPT ); Thu, 21 Sep 2023 13:05:19 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2081.outbound.protection.outlook.com [40.107.22.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCA222132; Thu, 21 Sep 2023 10:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bz+kJ1McC4G0UGlIZYL5TdzDNEXtCA/b/TEkIKeAffXKIuHu441XpkHMGW0GOCKrZ60wn2plnne8kspxp6EobzaxGrBbE2pnp8oazH2ZpjHivzLUeu4GIs+Fv97uqAHQDn94e5Ftnq9WAR6epAIkNI/2LY/iEDMNzDYu+2r9ETrjxbMx5ghtTqebdo/yplwMQjHDirOQRUkJqYLjITTC7pk6s3n79isfuRZI+yD24Zi6XJ+UGj7rWfh0KvKNL6soF0xIqE2vyYCL71f+j7AN+ZuBqubv0B3wzQEFN2AMdDBCvkayHfdIEUR4HzsPJhOZk8gRUChZxJpxPRAo8lB9tg== 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=8bEuT3Akp62ZfYHy6luVNNKX9T0bttqvL2nGd1nvaRw=; b=e3owzuXksOowFq5g+ccWGLCmudEhC33KLdpTGzQpGR9IfNwMZ98Y/Ghcz43hInQkc4WJxxkE1ZIaApygoa+rOGkRbDAamfe09ogrzXGT1aa9aHFFVYmJ8eBvqAc5Lsq73gJTcXLaRys3nh2Em+lmc1T+yaYChou1yWe2IKPWDfaKaci1DxKaEIQQFgLUf/XHjIkqfdjzmTlygMOUGy2RBWuj1xJP/0NHASEgFW0Z+ydcaNJ+Teyx3ynBY7eswjmv8ayJbspINZcM+/fXDAW9r7VRoy5vUlYBwSfY/TLoB+h9purQ3owNGc6ciJg2t05EhHEqsg+chbjhQhqIFRuu4A== 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=8bEuT3Akp62ZfYHy6luVNNKX9T0bttqvL2nGd1nvaRw=; b=hn6lIcjYP4+lEc3MPfgEnK0HXOH1FpeC33iGwtIECqsT9428Sm7ELRgKtLnSCFhvoK2vwuL14N7B4jUj2dEWhEK7zmF+K6jaEQ2Iw5AgCv1O2ap6l/KM1nUvzn7X6Q+ffkhPTf77xou9UR6ui3webTO0zYb+OQRIB6+vKBLCgoU= 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 AM9PR04MB8414.eurprd04.prod.outlook.com (2603:10a6:20b:3ef::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.27; Thu, 21 Sep 2023 06:36:47 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::71e6:21de:ecb2:560f]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::71e6:21de:ecb2:560f%4]) with mapi id 15.20.6813.017; Thu, 21 Sep 2023 06:36:47 +0000 From: Ming Qian To: mirela.rabulea@oss.nxp.com, robh+dt@kernel.org, shawnguo@kernel.org Cc: mchehab@kernel.org, hverkuil-cisco@xs4all.nl, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, xiahong.bao@nxp.com, eagle.zhou@nxp.com, tao.jiang_2@nxp.com, linux-imx@nxp.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/2] arm64: dts: imx8-ss-img: Assign slot for imx jpeg encoder/decoder Date: Thu, 21 Sep 2023 14:36:19 +0800 Message-Id: <20230921063620.22962-1-ming.qian@nxp.com> X-Mailer: git-send-email 2.38.1 X-ClientProxiedBy: SI2PR01CA0027.apcprd01.prod.exchangelabs.com (2603:1096:4:192::7) To AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB6341:EE_|AM9PR04MB8414:EE_ X-MS-Office365-Filtering-Correlation-Id: ecfa275b-f6f9-43a6-e321-08dbba6d2113 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7fzrwvFw3yr/6+zPPHcol9simBdkVInK/zjrffqmXjweb7yvFnL6/+v0i5B3Pky6MMAEKQ8b+jAv0m5X9yTVA8p/IjQ82CgN/j37lzNWSO4S7P0hrR/ZW/DTVhlIXpvxdIgud1Ph4QtB8C/Yf4ruV8SbajV4Ta0/ZQ0rSXkaIpw+HakaPwnKj5/4Dt0tynJCQCyaHaD3ZOCxHo9SUELkA7QrGE4emn+m/mcBhjR2K8AmT9RX/4m74+pbS7jyu0IW1DtSPvhlPZqy6EykRya1MKlCC9HLwS39E7xrvw5DYDl6z2zdD2sj/JZPkWIVAq3Ythj0Ex1aAjouVYtjPYMb8B58J7V5s+jAoLK0qx/1M5UcbkZBMmnFUOvg9n6AkXQh85MPNuLmw4EwHQzQ9g8ow1VYfCBnP2BH/DCrRSJKwr4IAYfYlLjO7M7E6mDdjTv/jizQpRwtStbyxwDMJQUTMeGKBe4M8WMvkwlmQfmU2rtxCTXrXmmwR+Ri40lVdoLyzjHIPwM+qIvn4z9pRmfxkeTovDfd7UWUqobiS2ZwwYyZJRfF0q62gMsiOMqrscs+LCqV3Bzw9nV8TjaZOISNDjlIBPExhVPF1wC4pb6+IUK2w76MR/pr3zVdcz8XSrx8 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:(13230031)(376002)(366004)(39860400002)(396003)(136003)(346002)(1800799009)(451199024)(186009)(26005)(316002)(8936002)(8676002)(1076003)(41300700001)(2616005)(52116002)(6486002)(36756003)(6666004)(6512007)(86362001)(83380400001)(38350700002)(38100700002)(4326008)(66476007)(66946007)(66556008)(6506007)(478600001)(2906002)(7416002)(44832011)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OyXi91qpXcBEYjesbYzAn5rcuuO0nwrYBN9TjlGnJhCDWsZ7J8vUZ82gZEnPR3IwZojucBhHdglhwAcTUg2+b0h6Wlf7paPzBd8OvAFkHUTR2z8T7CMHsrd1+DdEKSQ6OOumh1k8jiSuFUQOJm5t7eVAtROkU3yeDpFvNpZbvarv9kZz/QdyheZJy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ZOWgXnPci80nl3rqBlSE3kPhZLYEGzh3gMdGu7rTLbacVUxEmmzfvN9Q13KRj5phf09RF0BQSkn+a1B7JFpTAgYOD87EOsm7TNupBq6YFb9FoWNUGG0MKZlnPjV9rcAY7wmUmq51jlLEFBxXEg4WbMhmfIcQ3uULRFKCKkM5bhj+rLQE9d29BovMd4LzOol6159ljvgIDFAEsgcsN/FveUQLd8n2DAhvcbo6tNStjo3F69tyRHF7FcUbDhTrW0hnemMc+hr10JWyEavl9ymP3a7UrRUmHG9Q22o6aetT5lJQtWUzfug3C6ckM0MX62wmAZ8NNqhRK X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ecfa275b-f6f9-43a6-e321-08dbba6d2113 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2023 06:36:47.4895 (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: Moi6k7N6czf4uvTchL7IjdFX96yK8W9nzBd5h8uFLvCSqQJixjJI6Wl2uWF3DQv9JMTOUgru5maplT3gqYVptA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8414 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org assign a single slot, configure interrupt and power domain only for 1 slot, not for the all 4 slots. Signed-off-by: Ming Qian --- .../arm64/boot/dts/freescale/imx8-ss-img.dtsi | 22 +++++-------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi index a90654155a88..176dcce24b64 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi @@ -18,10 +18,7 @@ img_ipg_clk: clock-img-ipg { jpegdec: jpegdec@58400000 { reg = <0x58400000 0x00050000>; - interrupts = , - , - , - ; + interrupts = ; clocks = <&img_jpeg_dec_lpcg IMX_LPCG_CLK_0>, <&img_jpeg_dec_lpcg IMX_LPCG_CLK_4>; clock-names = "per", "ipg"; @@ -29,18 +26,13 @@ jpegdec: jpegdec@58400000 { <&img_jpeg_dec_lpcg IMX_LPCG_CLK_4>; assigned-clock-rates = <200000000>, <200000000>; power-domains = <&pd IMX_SC_R_MJPEG_DEC_MP>, - <&pd IMX_SC_R_MJPEG_DEC_S0>, - <&pd IMX_SC_R_MJPEG_DEC_S1>, - <&pd IMX_SC_R_MJPEG_DEC_S2>, - <&pd IMX_SC_R_MJPEG_DEC_S3>; + <&pd IMX_SC_R_MJPEG_DEC_S0>; + slot = <0>; }; jpegenc: jpegenc@58450000 { reg = <0x58450000 0x00050000>; - interrupts = , - , - , - ; + interrupts = ; clocks = <&img_jpeg_enc_lpcg IMX_LPCG_CLK_0>, <&img_jpeg_enc_lpcg IMX_LPCG_CLK_4>; clock-names = "per", "ipg"; @@ -48,10 +40,8 @@ jpegenc: jpegenc@58450000 { <&img_jpeg_enc_lpcg IMX_LPCG_CLK_4>; assigned-clock-rates = <200000000>, <200000000>; power-domains = <&pd IMX_SC_R_MJPEG_ENC_MP>, - <&pd IMX_SC_R_MJPEG_ENC_S0>, - <&pd IMX_SC_R_MJPEG_ENC_S1>, - <&pd IMX_SC_R_MJPEG_ENC_S2>, - <&pd IMX_SC_R_MJPEG_ENC_S3>; + <&pd IMX_SC_R_MJPEG_ENC_S0>; + slot = <0>; }; img_jpeg_dec_lpcg: clock-controller@585d0000 { From patchwork Thu Sep 21 06:36:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 725740 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E09CE7D0A3 for ; Thu, 21 Sep 2023 17:10:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230089AbjIURK5 (ORCPT ); Thu, 21 Sep 2023 13:10:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230201AbjIURE7 (ORCPT ); Thu, 21 Sep 2023 13:04:59 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20620.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::620]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A22681BC9; Thu, 21 Sep 2023 10:02:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dIlcu6YP7TuqWQKdmqg8j1+RYeUCSjh1tN6NbY8Z4AolYBLsJfc9ETitiDGxJuGHWCsmMQYY9C32RRXPn7F7j6/FwGTGbAjf1OoXH5mRgbSx4djwoVAz+8f/r7FywRDeJOTrsJbdhYFSj7aC7UwvKn6/cgPYnru2nWPMSapGgnONPjImylNSMLedMS9cumBYuow/RLKDHt02e3heW5ARCio0spzyQ947wZz7BAk06g8Ktn+vleN0gsD9maez9QKU50o2b3OzuEkonjJBYytWyEZy6Snv59JgShENql55mB5/Sw3H8p9KNQBk5SvhT5qpEdHqq3vlsIvzhekJ7cCsSg== 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=ar48PPT+QBOh5OZCMdyv/m2L8UjG49SAuoYB1SeSTtM=; b=leAfu+wmz4uEA6zkbqQTb7lPezfTQOUpwG+uXUMCBmj25BABt0JEtMtDy2vrU42jv1UavSRr5YIJgI7zRJdBRRV2jJ1SvsmPTwvITwk+0I9JJU0Ic2vj/qTdXtDZA486XWhMexYm7AJIRDZnt5r/Fv1+MuQTqXQLjiHfEKXCRPAytcXzgVdwWd/RSLWG/Ni1Z9WxUyHWimPJFABBgd6rhy/6y+LDNCLWtn4TRJZ/ZPTwoEMs8wEgY8gqxrlcMfl4o56AHo+xfM/UNF+OaauZ2vsIzPdwy1jbf+x/7MtBFOOmHGhEcc9h3PEFb7v/m90DdydGz51NcJQol4BJ85XMxw== 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=ar48PPT+QBOh5OZCMdyv/m2L8UjG49SAuoYB1SeSTtM=; b=iRCfQrzxbmahvmmO8MnsrxiTGaE8hSgoFffNGZ2gTnNLhu3ulFX/eR3wHUb9g5xmB2PM3BPrs6QRlc6bQqF7MBZK2SyLrnh0rO69PBa4miwfsP8C6cnxz2vyqQCrCAzeVfdRKADSUqWDUm2/if2zRoVTBSFX8sagp2PGpqs3yFE= 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 AM9PR04MB8414.eurprd04.prod.outlook.com (2603:10a6:20b:3ef::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.27; Thu, 21 Sep 2023 06:36:52 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::71e6:21de:ecb2:560f]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::71e6:21de:ecb2:560f%4]) with mapi id 15.20.6813.017; Thu, 21 Sep 2023 06:36:52 +0000 From: Ming Qian To: mirela.rabulea@oss.nxp.com, robh+dt@kernel.org, shawnguo@kernel.org Cc: mchehab@kernel.org, hverkuil-cisco@xs4all.nl, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, xiahong.bao@nxp.com, eagle.zhou@nxp.com, tao.jiang_2@nxp.com, linux-imx@nxp.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/2] dt-bindings: media: imx-jpeg: Assign slot for imx jpeg encoder/decoder Date: Thu, 21 Sep 2023 14:36:20 +0800 Message-Id: <20230921063620.22962-2-ming.qian@nxp.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230921063620.22962-1-ming.qian@nxp.com> References: <20230921063620.22962-1-ming.qian@nxp.com> X-ClientProxiedBy: SI2PR01CA0027.apcprd01.prod.exchangelabs.com (2603:1096:4:192::7) To AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB6341:EE_|AM9PR04MB8414:EE_ X-MS-Office365-Filtering-Correlation-Id: bb3c394e-15a6-4b94-e0d8-08dbba6d23c4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FAc4A/tKpBKrOIbTEPgsLC6MU0GLuMvNjCwqMWtfOQhz4rh2bILbdYdJS6vioATpR9tULyXPPz9yddAQuKISlvMb4IoPxyGuZImYfZFxhVCQnD7ac2j05xxHMdcYNsswnudD7nSp149gpBQVMM05oz+tIHWtjWdwOq072RwQwoMDPJ4D+t1pG8JzS1POpQizhn0KbdZKpMhYCelvL7S8rL7EGdwd1PHR2F7kIhZnb+66pGK6c3BHlYq97XsEF3fCiSRO4CV4AvC0QlBfdnSxh4yl9IfyNayNYN4Fdz3wt4DtWq9ebTSOGfl5TR/SPfQkDa12F71+k3t2nA+Cq2QOtCJeELBgmUKTd0XdQjvnj3gj0ioNSmQZcjZTznj94D9JxuJs1Zu3ugpzHNxneylXo2UClW3uBSCrALG/SQNy3MS8iS46Q2r1CblWBp95oufoWLeWLgXL0ft+6dYyFfel3LSc5HVaIJIDNyiYCK1cy3I3HDFoERIPacXnZICNUVNZOt0TcyUdb6TLb9Jw5UAMxrE7bryEB1VLomWMroFn9efZRfQ66Jl9NtjO5seUUffAtzPBeIr4MaYbpcKf6fnosBI3Nwmr5dq3kaP2B9EUS9Rc6FUfTvuttq8pbgdSTuME 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:(13230031)(376002)(366004)(39860400002)(396003)(136003)(346002)(1800799009)(451199024)(186009)(26005)(316002)(8936002)(8676002)(1076003)(41300700001)(2616005)(52116002)(6486002)(36756003)(6666004)(6512007)(86362001)(83380400001)(38350700002)(38100700002)(4326008)(66476007)(66946007)(66556008)(6506007)(478600001)(2906002)(7416002)(44832011)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: R4MDnDadelXGKmWNNLFiKTySay5l8y0taWL2FBo96o1cZgMZo3Unxr8MaR+Y5XME7jIogkCVxOCyHNISbF0HgJ2AHyVaDZTArzZpt3rpuE6l7uaD3ut/Hofn81XVLKCP4jShLOfpD0b0wdFjxp10TR6tQkhtScw8h14bCHfHSow5yu5rD/wl05d6WV150RoOwWyyXrc8+X2S32z6dvCgVcT9KLxtKrLS2T7qsemeph5et/TsQwRRjFk1tp5cyin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Wa/eJ5rkT6euyBz3DsGYWHEPuUG3G8xw97bvATh5JHik8hBqCAw6PmrA9jCqKvtkuWJqg2q05JagPZI7tDETmvAqUR8lVDcmfuSGn3U7akspyGkbAgwX1vK8Q0EWG3PzwArpviYvsazRUIVy81ly19VD4qoJ1NrWkm8iz6ffKmq0tbZ43g8CEaw/NTW9R+SKh8ZXOafFN0TdUtZ3uWZ+O7IH93CrL6IkOqOYp5D2NMqtvk3V0EgLazLq6zXQ0SaBoswNlfqt9KCIg4CCidvB X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bb3c394e-15a6-4b94-e0d8-08dbba6d23c4 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2023 06:36:51.9506 (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: ewjRI7fFyETt3sOaxucIcDEmkir40Z8fpV3z2laUUhCX9RqkMnqOKKx6drMaQd/jzR9yXek0RCOgC20ezhAg/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8414 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org There are total 4 slots available in the IP, and we only need to use one slot in one os, assign a single slot, configure interrupt and power domain only for 1 slot, not for the all 4 slots. Signed-off-by: Ming Qian --- .../bindings/media/nxp,imx8-jpeg.yaml | 40 ++++++++----------- 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml index 3d9d1db37040..5f0e2fc1ea9c 100644 --- a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml +++ b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml @@ -32,25 +32,27 @@ properties: maxItems: 1 interrupts: - description: | - There are 4 slots available in the IP, which the driver may use - If a certain slot is used, it should have an associated interrupt - The interrupt with index i is assumed to be for slot i - minItems: 1 # At least one slot is needed by the driver - maxItems: 4 # The IP has 4 slots available for use + description: + Interrupt number for slot + maxItems: 1 power-domains: description: List of phandle and PM domain specifier as documented in Documentation/devicetree/bindings/power/power_domain.txt - minItems: 2 # Wrapper and 1 slot - maxItems: 5 # Wrapper and 4 slots + minItems: 1 # VPUMIX + maxItems: 2 # Wrapper and 1 slot + + slot: + description: + Integer number of slot index used. the value range is from 0 to 3 required: - compatible - reg - interrupts - power-domains + - slot additionalProperties: false @@ -62,28 +64,18 @@ examples: jpegdec: jpegdec@58400000 { compatible = "nxp,imx8qxp-jpgdec"; reg = <0x58400000 0x00050000 >; - interrupts = , - , - , - ; + interrupts = ; power-domains = <&pd IMX_SC_R_MJPEG_DEC_MP>, - <&pd IMX_SC_R_MJPEG_DEC_S0>, - <&pd IMX_SC_R_MJPEG_DEC_S1>, - <&pd IMX_SC_R_MJPEG_DEC_S2>, - <&pd IMX_SC_R_MJPEG_DEC_S3>; + <&pd IMX_SC_R_MJPEG_DEC_S0>; + slot = <0>; }; jpegenc: jpegenc@58450000 { compatible = "nxp,imx8qm-jpgenc", "nxp,imx8qxp-jpgenc"; reg = <0x58450000 0x00050000 >; - interrupts = , - , - , - ; + interrupts = ; power-domains = <&pd IMX_SC_R_MJPEG_ENC_MP>, - <&pd IMX_SC_R_MJPEG_ENC_S0>, - <&pd IMX_SC_R_MJPEG_ENC_S1>, - <&pd IMX_SC_R_MJPEG_ENC_S2>, - <&pd IMX_SC_R_MJPEG_ENC_S3>; + <&pd IMX_SC_R_MJPEG_ENC_S0>; + slot = <0>; }; ...