From patchwork Thu Feb 2 15:32:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13126410 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 76358C05027 for ; Thu, 2 Feb 2023 15:36: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: 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=uBfSFN2pd61eccOOu9T6LGvwY/pwLnPWa2B8nQ11aSA=; b=kw9feih3maV7Hh aP13/0ioY5rGtEKglE9xHMF6oYByo7DprNOgpRtavnLLE2bzfDu1lmO93gyjhBAL38yT7fEv+UHT1 TqgKUj6Q8WX//1Cvo8PsNbSJEHCx3PLI25zJa4syXcGjTGrXnxF4kZv2v9EuzDMIoMP/e7I9rO1bp 0051v1yw95yBMiK7xRor9P/518BQcLIsJ/pzO1VeHIn64B8XivBLcH/dd/hqvsp6tQ7Q27/vilaha kdYs+EVor/d5OoUY++bbkC+u6WTz4V+gxeW+Sq5jS+3pNtzapTe6Q+5tyxuJUNeKILzk26ncz+zQy uiVrX+VfuDKYYOGDyehQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNbcx-00GRKr-Ny; Thu, 02 Feb 2023 15:35:55 +0000 Received: from mout.perfora.net ([74.208.4.196]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNbaG-00GPqz-M9 for linux-arm-kernel@lists.infradead.org; Thu, 02 Feb 2023 15:33:14 +0000 Received: from toolbox.int.toradex.com ([213.55.225.17]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MLePl-1pMmEX4707-000sNo; Thu, 02 Feb 2023 16:32:55 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: Liu Ying , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-imx@nxp.com, Clark Wang , Frank Li , Marcel Ziswiler , Fabio Estevam , Ming Qian , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Zhou Peng Subject: [PATCH v6 04/10] firmware: imx: scu-pd: add missed lvds lpi2c and pwm power domains Date: Thu, 2 Feb 2023 16:32:14 +0100 Message-Id: <20230202153221.197308-5-marcel@ziswiler.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230202153221.197308-1-marcel@ziswiler.com> References: <20230202153221.197308-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:1CcnIaTwaybvRBD0M5isTZGbqmZi3GT97hDI0lh2cMExvulL/Ky lGZ5PW0zkH+XQJS+C2WD+SXp4OLpj+RezI2AtEjPfPL2w95Ktp1sEhJ6UmDBfBtfd9d1/sJ V68pQ6WCJrlX63Nfs5pGP9EGij8SrfcOWkg3HAyFXKYbHteEqbXuWXuHIRfMUmFcIN2/T1f ZYUUVPsFZSgPeAFrzscPw== UI-OutboundReport: notjunk:1;M01:P0:im/G66r0JOg=;g1erqgTWReHSh/vNsr4ZBuAyylv 0CrvmKlozmKYeJ8c1hQF+/1Dqyh+R5bVK6bOdHPNVSSBd8zUDf/a2TQ3lSC6jlLEaBNn+yK7u m3HejQGhsFE3r9/fT2cnajwZVYQwMvbs+nCyV25zPRlc6ZuNmTPNL0L/6vdtjGuCzZTTMK9Hv ntlGAE9eaYG8wdBlnGVUpjAOy8adYcOoUnnHVSgFstmycbnPNyasZ+efMndOiSdocEl/oLZTv /Dujd0ogpL7rKuVDXlheE7Dg0aLMOlQ754Ti1XviMOWQGELeGPxebdSSwgXRtTLyoXzsBLBGV izLwkmJnGTzNJt3uEy8NMV5dKGDpphJL+7apWGLTMZXLzQvvsKMzhdlkkBqe4Pdf/TIDtvY72 EWFVEy03e96q9TbJgwLrEWUD23IKDjsjYWLDOPxrBgmDXGO9N9DD1N1rTIRIeFeY8gKIKpx+j ZR9U1ODfW8BufBSv3+14mVjlvwfmtIM4H4xYpWCxGk6o9HVfhmZ1kv2pdZHx0l5KskscdLToU YDuTHgp1fYGe3Gu/nY7yYyfdXYzEKfm1koPa3Bph0o0HUXsPRetPTIX2hJWn+hZKQIGTR376K jdJQ00TaNFhTyTuKe5AsQ5J7InSeDExH8MtZyWAc4r3PutcojK9jQPqH8QEzTwuFvBc9JKEfL VH90xREpEm45l14wCdDWt+FRG0oDhX3BlV0UqtPUDw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230202_073308_918340_365A11A6 X-CRM114-Status: UNSURE ( 8.90 ) 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 From: Clark Wang LVDS' lpi2c and pwm power domains definitions are missed. Add them here. Signed-off-by: Clark Wang Reviewed-by: Frank Li Signed-off-by: Marcel Ziswiler --- (no changes since v4) Changes in v4: - New patch inspired by the following downstream patch: commit 0c36c5b63c1e ("LF-3569-1 firmware: imx: scu-pd: add missed lvds lpi2c and pwm power domains") Avoiding the following being reported upon boot: [ 1.309776] lvds0_pwm0_clk: failed to attached the power domain -2 [ 1.334097] lvds1_pwm0_clk: failed to attached the power domain -2 ... [ 15.281767] platform 57244000.pwm: deferred probe pending ... [ 15.292630] platform backlight: deferred probe pending drivers/firmware/imx/scu-pd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c index 2a4f07423365..84b673427073 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -180,7 +180,11 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = { /* LVDS SS */ { "lvds0", IMX_SC_R_LVDS_0, 1, false, 0 }, + { "lvds0-pwm", IMX_SC_R_LVDS_0_PWM_0, 1, false, 0 }, + { "lvds0-lpi2c", IMX_SC_R_LVDS_0_I2C_0, 2, true, 0 }, { "lvds1", IMX_SC_R_LVDS_1, 1, false, 0 }, + { "lvds1-pwm", IMX_SC_R_LVDS_1_PWM_0, 1, false, 0 }, + { "lvds1-lpi2c", IMX_SC_R_LVDS_1_I2C_0, 2, true, 0 }, /* DC SS */ { "dc0", IMX_SC_R_DC_0, 1, false, 0 },