From patchwork Thu Jan 26 11:08:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13116933 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 E0659C05027 for ; Thu, 26 Jan 2023 11:10:49 +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=IGamt/BPC30+Sw Q7O9WJ3yzfX9wROyneeAbEVQrHYsiJJBS3zxZ95bsgTe2Eop/kjEKYzjWaPvD3Qg6el1goeCln7jc RTQkJYNEgjQU0ftJJNzuMwgupcYW6UXWuamIDAkMA6abSMysOMnjJxO6iw/qFOQBgWpYcUabycnYL byVvhD6GjOpWTqQX/jpVEtbxK1S6HNqgP7JmuRC0zpfutk9V7oqRGHz/Bi+B3BMErm0HlxYrUHK8K xUT3DIk3c2nUDBlGnxLENeD6RTNTeb7r++CRUZYJu78IlHNj6G5gORpN8UYUK5s9LLwLRhif4s7aR LIbGZ1lhMK8OLpu5Q9Aw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pL08S-00Ae1z-ME; Thu, 26 Jan 2023 11:09:40 +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 1pL082-00AdtX-8F for linux-arm-kernel@lists.infradead.org; Thu, 26 Jan 2023 11:09:15 +0000 Received: from toolbox.toradex.int ([31.10.206.125]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MWDHz-1pADPd1HHV-00XLGB; Thu, 26 Jan 2023 12:09:04 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-imx@nxp.com, Liu Ying , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Clark Wang , Frank Li , Marcel Ziswiler , Fabio Estevam , Ming Qian , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Shijie Qin , Zhou Peng Subject: [PATCH v5 04/10] firmware: imx: scu-pd: add missed lvds lpi2c and pwm power domains Date: Thu, 26 Jan 2023 12:08:27 +0100 Message-Id: <20230126110833.264439-5-marcel@ziswiler.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230126110833.264439-1-marcel@ziswiler.com> References: <20230126110833.264439-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:g9rJbsNAMkGKWFW/+p94zF4HAvZrYUgNKwgUsv7S3vBGfWkFJoJ 7LV5pqSAun0VNMfwnlxxUVFYMoR3cjve2PNVVDIDZk7dT8X+diA6iIkUuNggdNY86fPuo+Y Up0x9d23B/UIHniC7jLy6k9l3moSILlVwlkAWTIyD1x3z28U0Dsqj38ObjsRmiDtvQLZoD0 chi/ENxf3Hu8BPbG1qHkQ== UI-OutboundReport: notjunk:1;M01:P0:5b1N6F5WFLI=;+wO+ZSMpU03z/R3+DzT5Q17k/+q +L206R8q7lqj7xmhsG+P6nfPmIltEuQNC2IjPwDLzFxFcx+uCu7lJCPnnTKXljDeUw5aYiqBe QDt3ZQhkky+rgs/8P3x2E6D1z7qf/3tnlmn4RIVJiVbyS1awgBd/zNRxUR02rWa6JeuhT6ZFt UonhC5G9gyuEAHiv6lNYJadgEw5qDFzsQR1RO3GuTeB2qkMorsMXJvsTI7Sdz2LMLk3/BNsye s/eSuGdjd8lWB/p4AdVbnVGoBjRd2XPQntQq9Vjrir0D8KDkTEKH964rO/Qv3FeLa8E9BelUd 15rNfejcMLZXtjt1VR7RHYdCD64bcgu6daGK1gljQfnEXuMl4WpZCBKFq5qsAXOUHMKAaN081 k/7pZkTXwp//KFV5B5xIq7VSQCJpDKwibKfbuntkAXlR6lJqI/Sj6AivdrNZxlEvC9bYwyW6Q aQkC95aL0PKA7K+KAYPeo5Ws3cz1uIoT4j+uQjMb2qUJtRcGqrCV2Iy2t7knVaZbwWmUotSry Duhp/z6v07M7Rlx1gDx8aF8S3/hu84z49wg13f/Zm1emXXBdYtDco7R1jlGYO2gTU+ZpF2oRg kjlnZGBNFopDQn2hLOM70FMbc0Xfv1tqw1V4+CsPPF89IloideL55/jp7vkrg4iIF+I5Q+VqQ ie4OFrmusk1nltSf2niviNrisrqZ25yUc/Qaj1E/dw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230126_030914_381002_06C8F851 X-CRM114-Status: UNSURE ( 9.51 ) 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 },