From mboxrd@z Thu Jan 1 00:00:00 1970 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 00859CCF9E3 for ; Mon, 10 Nov 2025 08:22:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Date:Cc:To:From :Subject:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OxTYCu6RPB9p/Wk4BXZhXkRvVuWvgUVw9tNaOk3NdA0=; b=YmhHQQkUlMkJw+uVZFg1ECSNjf sKfOTYE8MVUW47Y6Hvq9e98K+JTrVLwhlSoBhotWGaJoRtHJX2twnsIIiP1PvQBMyHk84m+coMOss i2DwGpNvNvd5WbTnMJAsJnt7dIHHzGNBkNCxUODtBW8/h6LAWz76Z58WdrtgkO2ib2iBamaWXW3g0 EbAiLnbxt7mX17Ni5Sylzp5ttKTv0k/eBNawMnRFM/XDM1FaNWOnbrvSjQKKJ+LnbAT4cDRwtTh29 dPTrrOUxAeapMqrkIMmrn0Z//Js+LtQ5C3H1dgU7YulOFrpBi66oh/i1IKK2vXMLlcBbu86OKV8Ag cMIrNt0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vINAg-00000004yaL-2gfF; Mon, 10 Nov 2025 08:22:42 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vINAe-00000004yZk-02rw for linux-arm-kernel@lists.infradead.org; Mon, 10 Nov 2025 08:22:41 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vINAV-0005gU-8i; Mon, 10 Nov 2025 09:22:31 +0100 Received: from lupine.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::4e] helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vINAU-007zQ8-2n; Mon, 10 Nov 2025 09:22:30 +0100 Received: from pza by lupine with local (Exim 4.98.2) (envelope-from ) id 1vINAU-0000000042S-3C6F; Mon, 10 Nov 2025 09:22:30 +0100 Message-ID: <0af422ff5881ec875ad7eea272e229ce3426956a.camel@pengutronix.de> Subject: Re: [PATCH 3/6] media: staging: media: imx6-mipi-csi2: use devm_clk_bulk_get_all() to fetch clocks From: Philipp Zabel To: Frank Li , Steve Longerbeam , Mauro Carvalho Chehab , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: imx@lists.linux.dev, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Mon, 10 Nov 2025 09:22:30 +0100 In-Reply-To: <20251107-stage-csi2-cleanup-v1-3-5d42535243ac@nxp.com> References: <20251107-stage-csi2-cleanup-v1-0-5d42535243ac@nxp.com> <20251107-stage-csi2-cleanup-v1-3-5d42535243ac@nxp.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.1-1+deb13u1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251110_002240_050468_1B9201E9 X-CRM114-Status: UNSURE ( 6.50 ) X-CRM114-Notice: Please train this message. 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 On Fr, 2025-11-07 at 15:44 -0500, Frank Li wrote: > Use devm_clk_bulk_get_all_enabled() helper to simplify clock handling. >=20 > Defer all clock prepare and enable to csi2_start(), which previous only > enable pix clock here. >=20 > Do that safely because there are not register access before csi2_start(). What about log_status()? regards Philipp