Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/rockchip/
H A Ddw-mipi-dsi-rockchip.c261 struct clk *grf_clk; member
792 * register. And for RK3288 or other soc, this grf_clk must be NULL, in dw_mipi_dsi_encoder_enable()
795 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_encoder_enable()
797 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_encoder_enable()
805 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_encoder_enable()
957 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_rockchip_bind()
959 DRM_DEV_ERROR(dsi->dev, "Failed to enable grf_clk: %d\n", ret); in dw_mipi_dsi_rockchip_bind()
967 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_rockchip_bind()
1145 ret = clk_prepare_enable(dsi->grf_clk); in dw_mipi_dsi_dphy_init()
1152 clk_disable_unprepare(dsi->grf_clk); in dw_mipi_dsi_dphy_init()
[all …]
H A Ddw_hdmi-rockchip.c78 struct clk *grf_clk; member
230 hdmi->grf_clk = devm_clk_get(hdmi->dev, "grf"); in rockchip_hdmi_parse_dt()
231 if (PTR_ERR(hdmi->grf_clk) == -ENOENT) { in rockchip_hdmi_parse_dt()
232 hdmi->grf_clk = NULL; in rockchip_hdmi_parse_dt()
233 } else if (PTR_ERR(hdmi->grf_clk) == -EPROBE_DEFER) { in rockchip_hdmi_parse_dt()
235 } else if (IS_ERR(hdmi->grf_clk)) { in rockchip_hdmi_parse_dt()
237 return PTR_ERR(hdmi->grf_clk); in rockchip_hdmi_parse_dt()
323 ret = clk_prepare_enable(hdmi->grf_clk); in dw_hdmi_rockchip_encoder_enable()
333 clk_disable_unprepare(hdmi->grf_clk); in dw_hdmi_rockchip_encoder_enable()
H A Dcdn-dp-core.c73 ret = clk_prepare_enable(dp->grf_clk); in cdn_dp_grf_write()
82 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
86 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
748 dp->grf_clk = devm_clk_get(dev, "grf"); in cdn_dp_parse_dt()
749 if (IS_ERR(dp->grf_clk)) { in cdn_dp_parse_dt()
751 return PTR_ERR(dp->grf_clk); in cdn_dp_parse_dt()
H A Dcdn-dp-core.h89 struct clk *grf_clk; member
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Drockchip,dwc3.yaml69 - const: grf_clk
105 "bus_clk", "grf_clk";
H A Drockchip,rk3399-dwc3.yaml47 - const: grf_clk
91 "aclk_usb3", "grf_clk";
/openbmc/u-boot/arch/arm/dts/
H A Drk3399.dtsi362 "aclk_usb3", "grf_clk";
395 "aclk_usb3", "grf_clk";
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399.dtsi470 "aclk_usb3", "grf_clk";
506 "aclk_usb3", "grf_clk";