Lines Matching +full:vo +full:- +full:grf
1 // SPDX-License-Identifier: GPL-2.0
5 * Author: Joseph Chen <chenjh@rock-chips.com>
8 #include <linux/clk-provider.h>
17 #include <dt-bindings/clock/rockchip,rk3528-cru.h>
733 /* vo */
1093 struct device *dev = &pdev->dev; in clk_rk3528_probe()
1094 struct device_node *np = dev->of_node; in clk_rk3528_probe()
1106 vo_grf = syscon_regmap_lookup_by_compatible("rockchip,rk3528-vo-grf"); in clk_rk3528_probe()
1111 } else if (PTR_ERR(vo_grf) != -ENODEV) { in clk_rk3528_probe()
1113 "failed to look up VO GRF\n"); in clk_rk3528_probe()
1116 vpu_grf = syscon_regmap_lookup_by_compatible("rockchip,rk3528-vpu-grf"); in clk_rk3528_probe()
1121 } else if (PTR_ERR(vpu_grf) != -ENODEV) { in clk_rk3528_probe()
1123 "failed to look up VPU GRF\n"); in clk_rk3528_probe()
1143 return -ENOMEM; in clk_rk3528_probe()
1145 vo_grf_e->grf = vo_grf; in clk_rk3528_probe()
1146 vo_grf_e->type = grf_type_vo; in clk_rk3528_probe()
1147 hash_add(ctx->aux_grf_table, &vo_grf_e->node, grf_type_vo); in clk_rk3528_probe()
1156 return -ENOMEM; in clk_rk3528_probe()
1158 vpu_grf_e->grf = vpu_grf; in clk_rk3528_probe()
1159 vpu_grf_e->type = grf_type_vpu; in clk_rk3528_probe()
1160 hash_add(ctx->aux_grf_table, &vpu_grf_e->node, grf_type_vpu); in clk_rk3528_probe()
1176 { .compatible = "rockchip,rk3528-cru" },
1182 .name = "clk-rk3528",