Home
last modified time | relevance | path

Searched full:grf_clk (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi-rockchip.c260 struct clk *grf_clk; member
802 * register. And for RK3288 or other soc, this grf_clk must be NULL, in dw_mipi_dsi_encoder_enable()
805 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_encoder_enable()
807 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_encoder_enable()
815 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_encoder_enable()
967 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_rockchip_bind()
969 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_rockchip_bind()
977 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_rockchip_bind()
1155 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_dphy_init()
1162 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_dphy_init()
[all …]
Ddw_hdmi-rockchip.c78 struct clk *grf_clk; member
222 hdmi->grf_clk = devm_clk_get(hdmi->dev, "grf"); in rockchip_hdmi_parse_dt()
223 if (PTR_ERR(hdmi->grf_clk) == -ENOENT) { in rockchip_hdmi_parse_dt()
224 hdmi->grf_clk = NULL; in rockchip_hdmi_parse_dt()
225 } else if (PTR_ERR(hdmi->grf_clk) == -EPROBE_DEFER) { in rockchip_hdmi_parse_dt()
227 } else if (IS_ERR(hdmi->grf_clk)) { in rockchip_hdmi_parse_dt()
229 return PTR_ERR(hdmi->grf_clk); in rockchip_hdmi_parse_dt()
299 ret = clk_prepare_enable(hdmi->grf_clk); in dw_hdmi_rockchip_encoder_enable()
309 clk_disable_unprepare(hdmi->grf_clk); in dw_hdmi_rockchip_encoder_enable()
Dcdn-dp-core.c74 ret = clk_prepare_enable(dp->grf_clk); in cdn_dp_grf_write()
83 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
87 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
750 dp->grf_clk = devm_clk_get(dev, "grf"); in cdn_dp_parse_dt()
751 if (IS_ERR(dp->grf_clk)) { in cdn_dp_parse_dt()
753 return PTR_ERR(dp->grf_clk); in cdn_dp_parse_dt()
Dcdn-dp-core.h89 struct clk *grf_clk; member
/Linux-v6.1/Documentation/devicetree/bindings/usb/
Drockchip,dwc3.yaml71 - const: grf_clk
107 "bus_clk", "grf_clk";
/Linux-v6.1/arch/arm64/boot/dts/rockchip/
Drk3399.dtsi443 "aclk_usb3", "grf_clk";
479 "aclk_usb3", "grf_clk";