From patchwork Wed Feb 8 06:56:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13132502 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 EB79AC636CC for ; Wed, 8 Feb 2023 06:58:52 +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=rZ5mW+zbpHXNFH 7u/xBKUGURepuJXvKTDxS4SdgAfXFXd5Hoc7NnxKxpQsv+pCxpDi6/8eUsWhDpwlCwP645CEe8gix Nw+NB/J+U1vpuBcQzfs7xbwsaYZQQlf68zSFyryJXdZJ/qGbYZ1NSLejjYKIrhJOH5CyNA/A9YXfu 5s+1EBI0yTuhXXmwt6GfeGykZZmsVDtQnR7ittBwExCoVB5fa7I4jpwxFQGF8CEHOSRMXgI35o+rA Qd+vg6xYbODcV2NSfsnI6kzZfXtmJ/bXrWFKBBcflkTP/CUglQsTf3RbyfYTtIMd00T2/hV2bdg3v EMblojDi9Jr/zaLstKvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pPeOr-00ELak-79; Wed, 08 Feb 2023 06:57:49 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pPeON-00ELS0-Lv for linux-arm-kernel@lists.infradead.org; Wed, 08 Feb 2023 06:57:20 +0000 Received: from toolbox.int.toradex.com ([213.55.227.109]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LhPuw-1omF2x2xaS-00mXvd; Wed, 08 Feb 2023 07:57:08 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Liu Ying , linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Clark Wang , Frank Li , Marcel Ziswiler , Fabio Estevam , Ming Qian , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Shijie Qin Subject: [PATCH v7 04/10] firmware: imx: scu-pd: add missed lvds lpi2c and pwm power domains Date: Wed, 8 Feb 2023 07:56:35 +0100 Message-Id: <20230208065641.23544-5-marcel@ziswiler.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230208065641.23544-1-marcel@ziswiler.com> References: <20230208065641.23544-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:8z/dM6R4fOkz3siVjLs2DNqPqf9ERzK24v6zMkgYrSf9p6CMkUt /5Tmd0flfqaNkSx/gM2sqjeFmzXmgQ+qoU/IrOJuVkGsKiNgv6ByjCj7oeSPkQDmm5kaPRc sd9XurSU9Xg4Ee/Ev2AljUOhrA/pZkolTDEwHfI5bU6taZM6rW0vAAwN9cGz0jMpGciDxt4 ucLZJ5TzmQwBSzTlqK8Uw== UI-OutboundReport: notjunk:1;M01:P0:jPh6HV837kc=;YPd23tpIRcktikbBEAHIuLeDpQ6 G6YuvW50MSXBPsPKq14YEWAUKK/XdEE0bfk4hRMbpM+8Z4duiXYLkVsS3Af8FsKIJahknAyZj hwFGm0JcnzE5eTcJnSSaAW4h7UAL4nuZLQoBWxB6vPGp1A0IgZD5n3Mp+QIQzJ7oJtKUlJMvj kIT7P+vOyRjQNpy1faikyCWNnv2NqTHGDVgxzOODCRrbcEpmLo3qgWHsDFfkosrSuVmeU0cLW 8cuez14nFcFHedOfA6BUc9qsRfMMQN98bd887Lu5HGcaNPhCo9Tk8uza3Sp7oK2d9wyVi3OEM mAHbb6EAZ2WLasQQxg+Rma2BdRV1KVTlv0zzGnDN+GtaZx8UyIGBcCDCsGAl3r0NF5VGtGDFf IPeK8OKzhjmuwdYvJRNn9sdNbA3KEdMa+qFLrWYtEr/Q4BVsVfVVlFEWOXVYgzlCV+5P+DsYr 8997fTnOygMgk0DCYy4nj5M9FbEDhTafwIFvdtJgQ7tAZD8+3VxSaQv3IiTTn5Ff6nxA3MwgZ baCPQe0Gsc9ipF69RAZRQoiDPeVF4e73kNHOqfnTIR/mzA6PVj4FfKzRGokJhdjbKfroxYlZB ZLiqeUhMYaB9iblR5wBZnHehrQmz9J03/zDnjUeAlLEPhFLF/G+dmkNRLimJ/gFRngPrKE4Pt hqZBmbqWPYdwXpJq0ez8ncgUu0LgpiwL8DTx3/bLKg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230207_225719_812007_0CF6C5D3 X-CRM114-Status: UNSURE ( 9.42 ) 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 },