From patchwork Thu Jun 1 02:38:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 688530 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 F0650C77B7A for ; Thu, 1 Jun 2023 02:38:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230479AbjFACip (ORCPT ); Wed, 31 May 2023 22:38:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230414AbjFACio (ORCPT ); Wed, 31 May 2023 22:38:44 -0400 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2043.outbound.protection.outlook.com [40.107.14.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7723FE7; Wed, 31 May 2023 19:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fH7/vtoDnc4K0wPaaFXm69EF0E1y70frKWOea5kxrsRXnjV+lUzGjBmTGj3vwZCtO9/51iO95JyRkldtbtC94vlWUrzunk76qqETpcqHl2uUNyCRra6QD/TiYal4A7pR7uamox0dHbP6gwDgp3oMW6HD9kxC1uS2NhgkPHhw6kqwdsHmFDfFrQCfQtqKVkJUcxbbOWF0BZ9c7O9KnLZFJ5MFCRDH/cQxQ0etBeCLbMqnRCWN4jZpVxDH8KM1jv9r8uiGNk/j6TOL3jxE+AAJHtJADibCviXJ1vce4Puh+BFnd6J63KNsVky9HVqrKJIw+t2rJW1XqL6TB0ok6TRvBw== 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=EpX2jmpsAClGZOBq97RRTwBlGh3Zkd4P4noFXxygiY+XQ2SdRShnoxJkX2QShAndlqaIDCpi0ZfO9HsJX19b4woV5NaCH8LyNxmqFYp/TplYHoXXgRk+teHDeSRZpY02D+NqBOnWK4ik+YqqsetkeSbEHcqpqc5tcJkUd9r0OEVnxmW34/cFFZf4+hDUuO8s8aD8cFEekbCHtmu6haKEc+OwHec2sAdW+8zaiAn8XfN8mO/B9QqOqW0GGKjJJ3s3dIHZ/6h+K0AWjUTkSKbMjQxrq+D0wnWvVu5Euec2kupEyOAY/JgMZmetaYuEbnR88waz225lyugJg7Zk3BeC4A== 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=TK4IbMcsLtqKu1puxCPhvcUaVW5Uqi1OKtB+zAooygTVornZ99JNsLKdFGafw/XT8RoFn0iyvR3MFPWvrN9Bi8G5np3BcqGmy15SFAvrnZFvUREh1I/hsbTzPr06OHtobVu96WX/Db84R/4p++P92TvIHT6xOqgyeP0AhBWLLuQ= 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 AM8PR04MB7409.eurprd04.prod.outlook.com (2603:10a6:20b:1c5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.22; Thu, 1 Jun 2023 02:38:39 +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.024; Thu, 1 Jun 2023 02:38:39 +0000 From: Ming Qian To: shawnguo@kernel.org, mirela.rabulea@oss.nxp.com Cc: robh+dt@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: imx8-ss-img: Assign slot for imx jpeg encoder/decoder Date: Thu, 1 Jun 2023 10:38:01 +0800 Message-Id: <20230601023801.25229-1-ming.qian@nxp.com> X-Mailer: git-send-email 2.38.1 X-ClientProxiedBy: SI1PR02CA0023.apcprd02.prod.outlook.com (2603:1096:4:1f4::19) To AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB6341:EE_|AM8PR04MB7409:EE_ X-MS-Office365-Filtering-Correlation-Id: 40a8fb68-e6f1-428e-abd2-08db62494e81 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8b4/N8AbNzPgJ90e67HDhWfn//Np4r34bIn91f+SzjTzktMOtWYrpVIb2xFB1k+6xwypIznBVHi9MPHxwZBBZhg8nDOENrXrQsfws6ZOHP1ix0XD5OKGZQbJnqYgq2UyPuUsxbPuBLhCqKwmF4CR7Q4HA95sTtsyDPACBClt91hl//5QqGzMLKGMwDhafJHYa0lzVY8UgmU6Bt+GEq3V1AFyYdgB9tpMvUpdB0y5FvEoRUJapssbf4zm5KlF/T5XmaArmMatSp9AJLfrHESMnNWXbrfmthvGYBlbqKzO3ZkyTtDxl9sL1HEmHY/6pDFfiUhJha5nU0F2fXJ/69EorjtL32gz2pzbVn4FNH2ITS0M6UI+sVIXdfLF7qrZwffaGxQnwE3c+A/rfl3988s2c8QcSX+6J+TJt3MRe/eQ1MHb1+V800b9zzqXDFMkQprDtS0E/75DeLaA5DRZqhpjyRFp6neTop0DIC/faKC+VdhkU2bK+g19nsDnTMw/jE84jiR4RR/CZeAePBu6ixQw6EpKZkJ5Nje+IoMJbyakqz0W5BsogrJxCkyJI6po+6k7lcIncFVTwJegkdc4ukeO25qQ08cLn6HA2Dm8GZgXsCL0tnn/o7g8tDDCkorvNMST 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)(396003)(136003)(376002)(39860400002)(366004)(346002)(451199021)(478600001)(6666004)(83380400001)(44832011)(66556008)(66946007)(4326008)(66476007)(316002)(2616005)(1076003)(26005)(6506007)(6512007)(8936002)(8676002)(5660300002)(2906002)(41300700001)(186003)(38350700002)(38100700002)(36756003)(86362001)(6486002)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ARVedSWJK7WTQlmJmaGR16m0qvyv6OlpnlOF0X53b0/BqKZxvpg1DzFaGDJrlTGqsZ2DOaRMY2cVZ/9PQe5vuiOCXOWalPTwkmIMSRKPySIbSjYZvJwRW1kCJeWTSBFleh3810f8lEgL5CWFkg8il1Kr8avnRW2JaMqesRpRwjuKM450iJXEKCffAxtM0tmflsf29PHc9uWqFfMIoz8+mVaybT3sucXf1x82s6UMGvXtaD9hi1yJH31pcq2IquT0l53QsePXZkxt0HzA22TG+9APxJeX8E0W86IBe7HTDAwO9QhSl71tOzlfXEvb0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L8dR1lR+tyWE+m+IeF+CR4Vh2FNMTlR3t0Y3r3ik8RUq7KZKEvdT4BkilFy69XsZxhPG/5BfVHEKhXDjovzW1D3D+7vFK4c0jw1RNwASvTpWebXYWxi8KutBqXPj+b3gP6tTHwiFQ3UvsPrQF3WBKMojCwv9d6A8abIJL1aCWTcV6zPsXOXXUQk+T4XFLqqxDxv X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40a8fb68-e6f1-428e-abd2-08db62494e81 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2023 02:38:39.3688 (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: 2VgSVPYowqxllljrsR+6aBCmiGkqUy/w9bmIXU5RsW4K70Hp/wC98r2WTqcmV4xiKP9Qs7jC427f8Qm3vkvmdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7409 Precedence: bulk List-ID: X-Mailing-List: devicetree@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 {