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: 142870 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp5101896vqi; Thu, 21 Sep 2023 12:59:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHGEZv57/Wp+3vXGc3AbRX8Tn7hIpvSfteTF7Mt7VgoBOBJTqY6lV2DQqkBXY8LjxMjC/ON X-Received: by 2002:a9d:638d:0:b0:6b9:b600:536 with SMTP id w13-20020a9d638d000000b006b9b6000536mr6957436otk.27.1695326354720; Thu, 21 Sep 2023 12:59:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695326354; cv=pass; d=google.com; s=arc-20160816; b=MruuiWveD2vG9+8SMGZ0PdVX5l4CGOibWC+KzoVXnpdlW7fv9w614VrmsWUTfiLIlL nBnro19CR15VvIcJ24tY36dw7lRkX2TrpvJFQM0wNlwnyIuqXoC2muZLWv6dZCT7XNNF SL9vTiencpPp1xr4nbrjtkhYryr8XWAeic4ahN2oT3/TwvxVRt/TDfs825hFZaZf0oT0 weGqcpFK1KURZ9Ldkkkd+6Lw9dIC1dRb5XdYUfXUF5nRbDTc5HPPoTBUVzKvN7yKPPX8 xokKPNmuiU9QboyZVZfoMiPVI7GVvgd7BDU0GGdVzcsuJWDV5DnzFZ7J2Z1WkWknj30R 77LA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=8bEuT3Akp62ZfYHy6luVNNKX9T0bttqvL2nGd1nvaRw=; fh=IXphUfglptVyp3GOsAjj9movxmmGNsr/PRFirsfvxSo=; b=jZuo4PWqhOLLvbTUvivf2PYY8un++y8qtTr5fnNtoxuSrSDNdUPLP8JXAGMaJJyfck nMElVxPCsjnSIWLimKP5ZsCgTiCy76isiduI7J8sRtjgsLMdKxUhBJuqUqWxSIkgyMUf JhoDnghHeScJ/aUiJR6KZC63kmagz8uuuIBjPYO0qKojzCl0cRp5CZFTryYkjSJRRVE3 TqC/EbhHoHjhrZUbBhiLI3lnoqw4MozSX/6iEJLwqbCBPG9dHfEuCYC+q4AglxqqvuP9 KQfRgdaBhSLcowRREfg1RTVnT8pzHJbCFBH++OgTLZ0BpW/dxZRmb1gYTruNxUoSpypV y4zg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=hn6lIcjY; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h8-20020a636c08000000b005740d553e73si2126982pgc.114.2023.09.21.12.59.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 12:59:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=hn6lIcjY; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0BA35825E519; Thu, 21 Sep 2023 10:06:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229682AbjIURGO (ORCPT + 29 others); Thu, 21 Sep 2023 13:06:14 -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/QdyheZJyVm3wWXD6F4qYJ4QHCR4SOIx5qhX+ktvpSMcbn9/u+VOVBSFlrQuvUQjdT39xUMmP4EP4crYN1xS7lAlcnEu7EkK6nfRfJf5TYXSvQcGwmBnUWHHX6NnZttlo/1g4p69uGDodEUkPBRcAB6sv6jJ6Uz5DLQ6iokKPU0PCAgd2lpxz683iuD8cqw3mf+kh1bO+b73dhe5h6U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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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 21 Sep 2023 10:06:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777678527682499340 X-GMAIL-MSGID: 1777678527682499340 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 {