Lines Matching +full:pipe +full:- +full:grf
1 // SPDX-License-Identifier: GPL-2.0-only
33 * clock-framework and the mmc controllers making them unreliable.
162 .compatible = "rockchip,rk3036-grf",
165 .compatible = "rockchip,rk3128-grf",
168 .compatible = "rockchip,rk3228-grf",
171 .compatible = "rockchip,rk3288-grf",
174 .compatible = "rockchip,rk3328-grf",
177 .compatible = "rockchip,rk3368-grf",
180 .compatible = "rockchip,rk3399-grf",
183 .compatible = "rockchip,rk3566-pipe-grf",
186 .compatible = "rockchip,rk3576-sys-grf",
189 .compatible = "rockchip,rk3576-ioc-grf",
192 .compatible = "rockchip,rk3588-sys-grf",
203 struct regmap *grf; in rockchip_grf_init() local
209 return -ENODEV; in rockchip_grf_init()
210 if (!match || !match->data) { in rockchip_grf_init()
211 pr_err("%s: missing grf data\n", __func__); in rockchip_grf_init()
213 return -EINVAL; in rockchip_grf_init()
216 grf_info = match->data; in rockchip_grf_init()
218 grf = syscon_node_to_regmap(np); in rockchip_grf_init()
220 if (IS_ERR(grf)) { in rockchip_grf_init()
221 pr_err("%s: could not get grf syscon\n", __func__); in rockchip_grf_init()
222 return PTR_ERR(grf); in rockchip_grf_init()
225 for (i = 0; i < grf_info->num_values; i++) { in rockchip_grf_init()
226 const struct rockchip_grf_value *val = &grf_info->values[i]; in rockchip_grf_init()
229 val->desc, val->reg, val->val); in rockchip_grf_init()
230 ret = regmap_write(grf, val->reg, val->val); in rockchip_grf_init()
233 __func__, val->reg, ret); in rockchip_grf_init()