[PATCH v7 04/10] firmware: imx: scu-pd: add missed lvds lpi2c and pwm power domains
Marcel Ziswiler
marcel at ziswiler.com
Tue Feb 7 22:56:35 PST 2023
From: Clark Wang <xiaoning.wang at nxp.com>
LVDS' lpi2c and pwm power domains definitions are missed.
Add them here.
Signed-off-by: Clark Wang <xiaoning.wang at nxp.com>
Reviewed-by: Frank Li <Frank.Li at nxp.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
---
(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 },
--
2.36.1
More information about the linux-arm-kernel
mailing list