From patchwork Tue May 30 07:16:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 13259269 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 CE7B1C7EE23 for ; Tue, 30 May 2023 07:18:08 +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=q+UXsuIz7oFTQADoCjobqpeyk1vwnLBge0aBIfvrvK8=; b=gdQFYut/BnoIoL MzvWceTm1ebBuU8lpPEhRsik3t/08xUL5O5+UQqeF3NBFCDwixM+GYYANnnpxMBwCzxzPK0L1qiK6 yLYTlrEDpr3HLoA0wQiCU55IZotWooTQ2RKtyJag8dDSH4+/F+gKY74FGNjEgKGjB6oPGKDilhv8Z 9w72JMy7QG0gyhhZJpCwjpSw4bLlt4YxRYhP3s+yjfqTer9ELbBOdesTnJMjBheEjQ9JtQPNOsaVN xhuwnnANKL1qWLKYhJB3/RydWYSLhZ+slX8N/OLGszAbQmmzsQV+2HaKxATnjYVyMojxjHBUa6AL9 vY9KVJDu7GFS/Bf+nfvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q3tc1-00ChBk-0O; Tue, 30 May 2023 07:17:45 +0000 Received: from mail-db8eur05on20621.outbound.protection.outlook.com ([2a01:111:f400:7e1a::621] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q3tbs-00Ch8r-2B for linux-arm-kernel@lists.infradead.org; Tue, 30 May 2023 07:17:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Uy19LsoI//d94LT0wjD5pF/CVo54yelbUEsZp/DSJedTLYNpmUXEI1FFqmAytTLOmJQ4BTli5SuwfmY3JR/Ms1jjgBHKGgApWjz1KmJvPhgrWjBWLOACbyV4jlcsEGuozd6I9ol5J3KkTGOKZGiUckNRktBvf8WUhVl65TQqxNqn5vwQZRwFR9HjCUgjPKupYRsxfuKzw1HLOtuQJXtBJbtVnocRK1uBsL8MGW1hjdhVl/K+UtwOE5u51JvyVqS7vJcceI1APGlu/7jBSBx/UngInNlHk5Xmq1gFEijSirK7f2nb7biidmogs6tI5GPeQCWhfY1wT7UmhbAb+C3Yaw== 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=Ls6sRgk9sNi5kFyp+D+KrXvZ1i1qzMw9N80aFqQDPCMJnTjS9vWVkeQN8ane5ULpSgKZDN3fDtdNfeXYAPazJ4N3Q/SmOlazrSShli3/irF2j6dF9Z5OBCDNKRTlpT5pNToukklCilJ4Gp9+nDFfHW8FPpEQwU82KniRwl4GqUcn1+ilsxqpKWOu8WBegx/ZJANfIjUYYyfvFczQz2R9qjMYlVq2gezP4fXV6qeFCFAC6M63WE2X2s00v1y/dofyF00PpOqRJEmYuLZum1urgg9isiEtxF/uo0B7dNPsckYyQT2iZjcTvQVm0U78Igl4h7ZTEY5peuaWFX9gWCly7g== 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=oDvIihwmAN4zBagv4Fr/v+hagi2AZ4hsasyFVoRnmnNsmpgg1Sb6my6gzKIxBKoKwzLa8uUu7cb2XKmol5oxKEQ01jgR3+yoXUYWlmy2RCPBUv9uKef51aK9rIIXdUbtQMttXnNYT94j6cswTa2AkY/huKtrT8YfILmEm9MNHE4= 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 DB9PR04MB8496.eurprd04.prod.outlook.com (2603:10a6:10:2c8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.23; Tue, 30 May 2023 07:17:27 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::79f2:2888:dbd7:ad6f]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::79f2:2888:dbd7:ad6f%7]) with mapi id 15.20.6433.022; Tue, 30 May 2023 07:17:27 +0000 From: Ming Qian To: mchehab@kernel.org, mirela.rabulea@oss.nxp.com, hverkuil-cisco@xs4all.nl Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, xiahong.bao@nxp.com, linux-imx@nxp.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] arm64: dts: imx8-ss-img: Assign slot for imx jpeg encoder/decoder Date: Tue, 30 May 2023 15:16:31 +0800 Message-Id: <982f26f268822a5f4e43847f15b1c40f6ff537d8.1685430841.git.ming.qian@nxp.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: References: X-ClientProxiedBy: SG2PR02CA0001.apcprd02.prod.outlook.com (2603:1096:3:17::13) To AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB6341:EE_|DB9PR04MB8496:EE_ X-MS-Office365-Filtering-Correlation-Id: 177cdc34-929a-4116-ffd9-08db60ddec61 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S1q2Xj5zvHbzHqUQw1LQvGSP6l2R3at2jYHCQzEN1foEowlGwIWyJWEZqlsKRZGxki+VNbBFmXGxoFAnCF4jrH05AAZRg4IdWLqR+wly/eJ3lcLkczqrfPNL0t2swkjNH77xGQ7eAVkX7lPxH39e3HmwCPxd02NEvYR3xCKsBFsrCqRKdq8NuGqvquLoPs1C/sLw8N6c5ExYCzIkOsYqR61vBj2qMt/stQQ24vcYTBLHYKFNqu4yqm+9AKNuqxgtFONeeJshouCTuTfF37FmVXzXY/uZ+hzQ0UR7w2duNaKNFqPuWyEyYRPwOn81sY+MEzbO94iDgCSxUgILlijD9xIIDML06IPCltDcdOq/hoW4PMa2GPuMlpOCcxPHHVF4kdc0/Khj86Zc0yAb9k4Qbzk7HWq9ynV1UTuTMUprTQuzLfazIeSGpY6FA8ddrZ+UuTuzvIOyfxvcXKyyYax8n8MhFvhY92Fr2aHS6HM8pf6FxdR/wM/r3vyP+yl7suKY/lroKI0U51lgDl2YEz8V5/csGlVz7xQ0vKTDJMm46/IXSMBjFEYd4aILgxeTNweZSZfEAeAHMePCs3RjJlI+k8+6DUEHpNjDmpz45kqtxqJUNTFt0zPeFru4OLJO6phN 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:(13230028)(4636009)(376002)(346002)(136003)(366004)(396003)(39860400002)(451199021)(4326008)(66946007)(66556008)(66476007)(86362001)(478600001)(5660300002)(41300700001)(6486002)(52116002)(8676002)(8936002)(7416002)(44832011)(6512007)(316002)(6666004)(26005)(6506007)(186003)(2616005)(83380400001)(2906002)(36756003)(38100700002)(38350700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oko9lWj6Q/UbcvTxjpCOpKUN3dHjB+6SgofRqFkh/nMSsNaSOq7Lb4p3rdbobDhF2BVytrAGmrg6iyUA5FQ4pfMyK1FDsyrdC2X1oebjuLIFIi/jS1mlauOA5YVzGjssjtqiYN1es/xsZl94xv3JTCDpTeXqhrjtvn7Z6YcP/I/QVtgxgwD3dULndxpM3TZgNlGVyBibSxCbRHEyTbxubeire1XhTmJE+dcFa+t1vsdYmIfc+Bjq87x0LHKsvAtFVs73lP3d1J9qTXJk+3eXIXRmaJhcxUtkra2HQ1Hp+Kpwg5vnFwHIlLonhvSYa+xrpnMGUPug3RBYcSpO/zh4Hi5k/GoRdbkaVIVUiCYv9G5OiPf9g17j3Qi1iLevJAVftpx0KWEPzC6NIGFzTGXDkJ5mS2D0hXFl4IgoGsI7Jtd0dtlBPMho5tX9eWiizzLcYcHYeHmJxA6yxEflgKfNAZN7ecKFAWEKcI4wpPJmw4hQCTaV/hjCNDiBLOrNIqANnHJSz+klZjI7qOK9ZK39IXNunxWfsJqECRqEOGHyYut6ySz9QOq3SXOh6G1psGmqxTACLCg2wDFtp+9sL/0YPRBIelGvA19XlS6fcRAm9GSqM98YY2nDwlAQCAnvsTGy5K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04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2023 07:17:27.4746 (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: Ptey3WVae1D5A7vvDYDvgU/3o+oYeinyTdgRKHVCYpBJEc2jQ7jngI4iuY/AYc9BgVvKDZYOttrLX+T+DFmnYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8496 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230530_001736_715476_A8D05D98 X-CRM114-Status: GOOD ( 10.28 ) 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 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 {