Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp615451rdb; Tue, 19 Sep 2023 05:39:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG98h51UTsrK+FlkxZM7wI7DEWAPBIlSX/CkS9Z7+phyI7UEKaTi6xmb9pjTcRfHybrfk/n X-Received: by 2002:a05:6a21:4849:b0:14e:43b0:5f99 with SMTP id au9-20020a056a21484900b0014e43b05f99mr9921077pzc.52.1695127186031; Tue, 19 Sep 2023 05:39:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695127186; cv=none; d=google.com; s=arc-20160816; b=VN5IIidaBigNYaIwCJ4Y6SdNAiALHs7FKYm2Dki3ArzDceCsEupPdJ57XFVPTRgeum wxPE/D1X85cbD8u2jDe1C4//T/0A6fnfvYQfkViI927A3MqIEGWzB4R7uYzmesnoSpq9 Au0OnvOgW6ZlYaCNndLV/ImG1VhdIPoQmQqad74eta+ujbBGTvd3gCeWQfW/TtsK6iXj vjnYiuUjkbE1Hl3U93DyTKpOkX00OT1g7p8C0Q29UpCpZJ4yp10V6fRg2occg7ytbXg5 gjNn2LP4HQDu6yBKY24APmF8c7GvoUP/sdpDkGYWjcsWTvs/so/3l8qbEOx4BiOz2xyb o07Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=JwiCcK97/aHmPGOrAqVt95ClzvC1/angoeA9aXKiByU=; fh=koJH7yfF1NLUMooEn/Pp3EG2occ74eyBxsFyJgRdDMo=; b=fnKbI9z2MVCIuTZPoPZKiNx+SojJde5IhMN9nHCkIToC3+W190PVf/HNqnWJxwzlSQ HpEXAM0HnUnbzLBGFhxjyE9JYDSBTaKVFxWIo9kcSuJeKoQ4JmFn0x+XLcmhxduGwC3w curdF8RG9t5Cpg5kkVpsnJsPtaqLcFuhraMDOp8dXVYe+mjkUqQ5ntJ07rON7O429Kdt 6wEJpPVdJjhzLvP1g7km/3l6MsbCyQEOksufjkxM94VKeDVEwTXerA/3N3SEr6fK8jtU oLdbBSkzToAWYuk8ZCkpc0BPW32V024JY0fzdpDn8veLUtu9JzLQ3wYHIGNdYrtLLwM2 03rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qyft4lyh; 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=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l21-20020a635715000000b00565d4ffe843si9432201pgb.418.2023.09.19.05.39.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 05:39:46 -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=@kernel.org header.s=k20201202 header.b=Qyft4lyh; 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=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3D79081D4741; Tue, 19 Sep 2023 05:26:18 -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 S232016AbjISM0R (ORCPT + 99 others); Tue, 19 Sep 2023 08:26:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231903AbjISM0Q (ORCPT ); Tue, 19 Sep 2023 08:26:16 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2989119; Tue, 19 Sep 2023 05:26:09 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF915C433C9; Tue, 19 Sep 2023 12:26:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695126369; bh=OnEUCFS4cHitzCR7uggS8zW5KMJ/VY7vW2pRNgs+7/I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Qyft4lyhCZ4WkH52m3Qm5Bkbe4FtSGuSCsac20JrU7kx8jLTyzoVUIrVOuVkJdIDa cbUr+xEIFMSFuVr1MbvdHNi6JKyPPYy8bNDGhD5meCRgpdDhRVEg5d22dxg99TGT3j shllbp1BKquJ+s+ckpk6Z7y60fNu2gu3w1qiKNq5t/H5NGsvsw7yuxzVL6t4WL3tff BLGfQQgj3wc1xyHFh52T834bXfCjx2Yw4NUXonQO8h3rFSlgDWY2iDJDHWkyheYIB3 Ixbgc46ehRzQDoK5v5nFq7UiT70JeQsCOYn+oLZokSBUg+ppyRLAFEVYGDWvliRyOK cjiV3w0xJ2B5A== Date: Tue, 19 Sep 2023 14:26:03 +0200 From: Shawn Guo To: Ming Qian Cc: mirela.rabulea@oss.nxp.com, 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: Re: [PATCH] arm64: dts: imx8-ss-img: Assign slot for imx jpeg encoder/decoder Message-ID: <20230919122602.GC11740@T480> References: <20230601023801.25229-1-ming.qian@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230601023801.25229-1-ming.qian@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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]); Tue, 19 Sep 2023 05:26:18 -0700 (PDT) On Thu, Jun 01, 2023 at 10:38:01AM +0800, Ming Qian wrote: > 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>; I do not find this 'slot' property in bindings doc. Shawn > }; > > 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 { > -- > 2.38.1 >