From patchwork Wed Jan 18 07:26:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13105748 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 81423C004D4 for ; Wed, 18 Jan 2023 07:29:09 +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=DeBNfsbHcpAza/Zdwtx4hVvrMUWm/YIZiAzyWs3F7h0=; b=EE5mfFaR/hnf88 7FS3bLqjO1T4E+fhNO/mk70CxtilgflwRkSYP4tCugfDvIhFgRBwcHTlz2Xy+LkNNj9eqG8ETkFbx jINTj8uq5xwK3EEYS50stOyFXr/inMO4QxsmHx3LjvpoIZb1PAxGNcTo5OoSuMgZxIz0BtlyM6xl+ Of2N2SMVXuzxAQRHbVt5R5d3pEivJD9JGr3KA9qVllXKmkJU+0kYsnPUm3cU4ijpynIjJ7ipI35/t GT62/jCajhlWfGz/qWNPavy7DMs7FX/rzFkvNu3/1P8CTe69MSVB0RXzJ9I5OeXK6iCXqiqwpM/Ri vpUvytRD0iR+Jt77bhxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pI2rb-00HCIY-41; Wed, 18 Jan 2023 07:28:03 +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 1pI2rA-00HCBW-5r for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2023 07:27:37 +0000 Received: from toolbox.int.toradex.com ([213.55.225.137]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0M1lwy-1oSoqg1fg2-00toWx; Wed, 18 Jan 2023 08:27:29 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, Clark Wang , Frank Li , Marcel Ziswiler , Fabio Estevam , Ming Qian , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Shijie Qin , Zhou Peng Subject: [PATCH v4 04/17] firmware: imx: scu-pd: add missed lvds lpi2c and pwm power domains Date: Wed, 18 Jan 2023 08:26:42 +0100 Message-Id: <20230118072656.18845-5-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230118072656.18845-1-marcel@ziswiler.com> References: <20230118072656.18845-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:dCnhbYnZyKaso4/FN13s8VwCP5IQKAEKOdlIBFR9MwXN9ozp1Sj dksMR1ylutde+vWukfuPSNZK+W3M4Lv1FbYXnPMti/dvvPq+yrkAQgb/kTld2dxq1Cb0hIw 6CoUpMgHPhsGpedgvAy9FyqBlkmQSjnA9hYCb/bgVJHGhERem9LYsVxzTLzbPhMuLfL4D3Q dxFw9roguhDIwLlIBILrw== UI-OutboundReport: notjunk:1;M01:P0:X0a/GcqDZIM=;0qd0s/JIUMZxIl/+J0wG6H1eQco l/I1qY+HUgTv+zbdoANANWmwKwjCEgyAp+oLbRsHwP6WWfv/bDzxK63cXuVwHdg/ejXHFgOTt 7nOPQkW5L/aJA+RdfPn3L+e1mHhMwywAhQTYwAMTfSGKmBf1Ndzw9SG1sMtxiPDikg8EYJH+y HtdXZkQMk5oc7kkChNNDI+2H4/i6smmg3bQxBz/Wc2/Yad5504SPUSIxQ0CWkh/AkT9ookxK5 l/a2HIuOmhawLXZQjRIh01wZ0bd8H/xH3EPPZbrejHyRoE6IUkwN14jBDQgFHPrsOmDOELAm+ V/nROKhIumxp+OOGTfbQYysWcTrCZpaRg135kpCLNi71FzqlVU9SwJB7S22MBuezvyMGW8z6K TJvOu6NBxBHGZ71ghGwdP9hIRTfsHH6RnyjJrqsEShu6o/DRHUo0VpOFlmWPbC2C7fTvYQfle usCUvAxyrkfGNzomzDaNiWm8JJzeSlA7D7CyvFpV8KanHfNoXhGVbHk0Xw8YI3g1hzNyMJCb9 NUuTQANh85WiZxmNpuwQWMEy+pXeT3yK2a7B9fY6y7vFcTCI/OKIcbfwtBcidB/+duhfPaJ8W KVMXX63rCHhFwu31BaGIVhl+Zl/5tgxObuTvWjiE8iTG1GipgAPKvGXmjH2PyWsQUWcu/SfAR iC6zWSgkLNgNRtSYw1oIqbeScdIeT13NJQg+HGZ71Q== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230117_232736_308812_2D80C4BF X-CRM114-Status: UNSURE ( 9.60 ) 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 --- 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 },