Lines Matching +full:exynos5250 +full:- +full:pmu
1 // SPDX-License-Identifier: GPL-2.0-only
18 #include <linux/soc/samsung/exynos-regs-pmu.h>
33 /* Disable power isolation on DP-PHY */ in exynos_dp_video_phy_power_on()
34 return regmap_update_bits(state->regs, state->drvdata->phy_ctrl_offset, in exynos_dp_video_phy_power_on()
42 /* Enable power isolation on DP-PHY */ in exynos_dp_video_phy_power_off()
43 return regmap_update_bits(state->regs, state->drvdata->phy_ctrl_offset, in exynos_dp_video_phy_power_off()
63 .compatible = "samsung,exynos5250-dp-video-phy",
66 .compatible = "samsung,exynos5420-dp-video-phy",
76 struct device *dev = &pdev->dev; in exynos_dp_video_phy_probe()
82 return -ENOMEM; in exynos_dp_video_phy_probe()
84 state->regs = syscon_node_to_regmap(dev->parent->of_node); in exynos_dp_video_phy_probe()
85 if (IS_ERR(state->regs)) in exynos_dp_video_phy_probe()
87 state->regs = syscon_regmap_lookup_by_phandle(dev->of_node, in exynos_dp_video_phy_probe()
88 "samsung,pmu-syscon"); in exynos_dp_video_phy_probe()
89 if (IS_ERR(state->regs)) { in exynos_dp_video_phy_probe()
90 dev_err(dev, "Failed to lookup PMU regmap\n"); in exynos_dp_video_phy_probe()
91 return PTR_ERR(state->regs); in exynos_dp_video_phy_probe()
94 state->drvdata = of_device_get_match_data(dev); in exynos_dp_video_phy_probe()
111 .name = "exynos-dp-video-phy",