Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: cadence: cdns-dphy-rx: Add runtime PM support

Enable runtime power management for the device. The PHY framework
handles calling pm_runtime_(get|put)_sync when powering on/off this
device.

Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
Link: https://lore.kernel.org/r/20250224-cdns_phy_pm-v1-1-0fe2c544cc87@ideasonboard.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Jai Luthra and committed by
Vinod Koul
497e78c7 2674eb71

+2 -1
+2 -1
drivers/phy/cadence/cdns-dphy-rx.c
··· 12 12 #include <linux/phy/phy.h> 13 13 #include <linux/phy/phy-mipi-dphy.h> 14 14 #include <linux/platform_device.h> 15 + #include <linux/pm_runtime.h> 15 16 #include <linux/sys_soc.h> 16 17 17 18 #define DPHY_PMA_CMN(reg) (reg) ··· 266 265 return PTR_ERR(provider); 267 266 } 268 267 269 - return 0; 268 + return devm_pm_runtime_enable(dev); 270 269 } 271 270 272 271 static const struct of_device_id cdns_dphy_rx_of_match[] = {