/linux-5.19.10/Documentation/devicetree/bindings/soc/rockchip/ |
D | grf.yaml | 4 $id: http://devicetree.org/schemas/soc/rockchip/grf.yaml# 18 - rockchip,rk3566-pipe-grf 19 - rockchip,rk3568-pipe-grf 20 - rockchip,rk3568-pipe-phy-grf 21 - rockchip,rk3568-usb2phy-grf 26 - rockchip,px30-grf 28 - rockchip,px30-usb2phy-grf 29 - rockchip,rk3036-grf 30 - rockchip,rk3066-grf 31 - rockchip,rk3188-grf [all …]
|
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-rk.c | 68 struct regmap *grf; member 93 if (IS_ERR(bsp_priv->grf)) { in px30_set_to_rmii() 98 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_to_rmii() 113 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_rmii_speed() 121 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_rmii_speed() 172 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_to_rgmii() 177 regmap_write(bsp_priv->grf, RK3128_GRF_MAC_CON1, in rk3128_set_to_rgmii() 180 regmap_write(bsp_priv->grf, RK3128_GRF_MAC_CON0, in rk3128_set_to_rgmii() 190 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_to_rmii() 195 regmap_write(bsp_priv->grf, RK3128_GRF_MAC_CON1, in rk3128_set_to_rmii() [all …]
|
/linux-5.19.10/drivers/phy/rockchip/ |
D | phy-rockchip-usb.c | 56 int (*init_usb_uart)(struct regmap *grf, 324 static int __init rockchip_init_usb_uart_common(struct regmap *grf, in rockchip_init_usb_uart_common() argument 342 ret = regmap_write(grf, regoffs + UOC_CON0, val); in rockchip_init_usb_uart_common() 348 ret = regmap_write(grf, regoffs + UOC_CON2, val); in rockchip_init_usb_uart_common() 359 ret = regmap_write(grf, UOC_CON3, val); in rockchip_init_usb_uart_common() 374 static int __init rk3188_init_usb_uart(struct regmap *grf, in rk3188_init_usb_uart() argument 380 ret = rockchip_init_usb_uart_common(grf, pdata); in rk3188_init_usb_uart() 388 ret = regmap_write(grf, RK3188_UOC0_CON0, val); in rk3188_init_usb_uart() 424 static int __init rk3288_init_usb_uart(struct regmap *grf, in rk3288_init_usb_uart() argument 430 ret = rockchip_init_usb_uart_common(grf, pdata); in rk3288_init_usb_uart() [all …]
|
D | phy-rockchip-dp.c | 28 struct regmap *grf; member 38 ret = regmap_write(dp->grf, GRF_SOC_CON12, in rockchip_set_phy_state() 50 ret = regmap_write(dp->grf, GRF_SOC_CON12, in rockchip_set_phy_state() 107 dp->grf = syscon_node_to_regmap(dev->parent->of_node); in rockchip_dp_phy_probe() 108 if (IS_ERR(dp->grf)) { in rockchip_dp_phy_probe() 110 return PTR_ERR(dp->grf); in rockchip_dp_phy_probe() 113 ret = regmap_write(dp->grf, GRF_SOC_CON12, GRF_EDP_REF_CLK_SEL_INTER | in rockchip_dp_phy_probe()
|
D | phy-rockchip-inno-usb2.c | 223 struct regmap *grf; member 239 return rphy->usbgrf == NULL ? rphy->grf : rphy->usbgrf; in get_reg_base() 420 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 426 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 433 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 439 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 453 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 458 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 553 vbus_attach = property_enabled(rphy->grf, in rockchip_usb2phy_otg_sm_work() 727 is_dcd = property_enabled(rphy->grf, in rockchip_chg_detect_work() [all …]
|
/linux-5.19.10/drivers/soc/rockchip/ |
D | io-domain.c | 76 struct regmap *grf; member 98 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val0); in rk3568_iodomain_write() 99 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val1); in rk3568_iodomain_write() 113 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL0, val0); in rk3568_iodomain_write() 114 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL1, val1); in rk3568_iodomain_write() 137 ret = regmap_write(iod->grf, iod->soc_data->grf_offset, val); in rockchip_iodomain_write() 208 ret = regmap_write(iod->grf, PX30_IO_VSEL, val); in px30_iodomain_init() 227 ret = regmap_write(iod->grf, RK3288_SOC_CON2, val); in rk3288_iodomain_init() 246 ret = regmap_write(iod->grf, RK3328_SOC_CON4, val); in rk3328_iodomain_init() 265 ret = regmap_write(iod->grf, RK3368_SOC_CON15, val); in rk3368_iodomain_init() [all …]
|
D | grf.c | 159 struct regmap *grf; in rockchip_grf_init() local 174 grf = syscon_node_to_regmap(np); in rockchip_grf_init() 176 if (IS_ERR(grf)) { in rockchip_grf_init() 178 return PTR_ERR(grf); in rockchip_grf_init() 186 ret = regmap_write(grf, val->reg, val->val); in rockchip_grf_init()
|
/linux-5.19.10/Documentation/devicetree/bindings/sound/ |
D | inno-rk3036.txt | 10 - rockchip,grf : The phandle of grf device node. 17 rockchip,grf = <&grf>;
|
D | rockchip,rk3328-codec.yaml | 29 rockchip,grf: 53 - rockchip,grf 67 rockchip,grf = <&grf>;
|
/linux-5.19.10/Documentation/devicetree/bindings/phy/ |
D | phy-rockchip-naneng-combphy.yaml | 57 rockchip,pipe-grf: 62 rockchip,pipe-phy-grf: 76 - rockchip,pipe-grf 77 - rockchip,pipe-phy-grf 87 compatible = "rockchip,rk3568-pipe-grf", "syscon"; 92 compatible = "rockchip,rk3568-pipe-phy-grf", "syscon"; 106 rockchip,pipe-grf = <&pipegrf>; 107 rockchip,pipe-phy-grf = <&pipe_phy_grf0>;
|
D | rockchip-inno-csi-dphy.yaml | 48 rockchip,grf: 62 - rockchip,grf 78 rockchip,grf = <&grf>;
|
D | rockchip-mipi-dphy-rx0.yaml | 31 - const: grf 56 * grf: syscon@ff770000 { 57 * compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd"; 70 clock-names = "dphy-ref", "dphy-cfg", "grf";
|
D | phy-rockchip-typec.txt | 7 - rockchip,grf : phandle to the syscon managing the "general 41 rockchip,grf = <&grf>; 65 rockchip,grf = <&grf>;
|
/linux-5.19.10/Documentation/devicetree/bindings/display/rockchip/ |
D | cdn-dp-rockchip.txt | 12 Required elements: "core-clk" "pclk" "spdif" "grf" 22 - rockchip,grf: this soc should set GRF regs, so need get grf here. 43 clock-names = "core-clk", "pclk", "spdif", "grf"; 51 rockchip,grf = <&grf>;
|
D | analogix_dp-rockchip.txt | 24 - rockchip,grf: this soc should set GRF regs, so need get grf here. 35 Required elements: "grf" 55 rockchip,grf = <&grf>;
|
D | dw_mipi_dsi_rockchip.txt | 15 For RK3399, a phy config clock (phy_cfg) and a grf clock(grf) 17 - rockchip,grf: this soc should set GRF regs to mux vopl/vopb. 46 rockchip,grf = <&grf>;
|
D | rockchip,dw-hdmi.yaml | 61 - grf 65 - grf 116 rockchip,grf: 129 - rockchip,grf 144 rockchip,grf = <&grf>;
|
D | rockchip,rk3066-hdmi.yaml | 32 rockchip,grf: 65 - rockchip,grf 85 rockchip,grf = <&grf>;
|
/linux-5.19.10/drivers/net/ethernet/arc/ |
D | emac_rockchip.c | 29 struct regmap *grf; member 55 err = regmap_write(emac->grf, emac->soc_data->grf_offset, data); in emac_rockchip_set_mac_speed() 127 priv->grf = syscon_regmap_lookup_by_phandle(dev->of_node, in emac_rockchip_probe() 129 if (IS_ERR(priv->grf)) { in emac_rockchip_probe() 131 PTR_ERR(priv->grf)); in emac_rockchip_probe() 132 err = PTR_ERR(priv->grf); in emac_rockchip_probe() 187 err = regmap_write(priv->grf, priv->soc_data->grf_offset, data); in emac_rockchip_probe()
|
/linux-5.19.10/arch/arm64/boot/dts/rockchip/ |
D | rk3568.dtsi | 26 compatible = "rockchip,rk3568-pipe-phy-grf", "syscon"; 61 rockchip,grf = <&grf>; 102 rockchip,pipe-grf = <&pipegrf>; 103 rockchip,pipe-phy-grf = <&pipe_phy_grf0>; 117 compatible = "rockchip,rk3568-pipe-grf", "syscon";
|
/linux-5.19.10/arch/arm/boot/dts/ |
D | rk3xxx.dtsi | 192 rockchip,grf = <&grf>; 267 grf: grf@20008000 { label 304 rockchip,grf = <&grf>; 319 rockchip,grf = <&grf>; 374 rockchip,grf = <&grf>; 389 rockchip,grf = <&grf>; 404 rockchip,grf = <&grf>;
|
/linux-5.19.10/drivers/thermal/ |
D | rockchip_thermal.c | 110 void (*initialize)(struct regmap *grf, 164 struct regmap *grf; member 661 static void rk_tsadcv2_initialize(struct regmap *grf, void __iomem *regs, in rk_tsadcv2_initialize() argument 700 static void rk_tsadcv3_initialize(struct regmap *grf, void __iomem *regs, in rk_tsadcv3_initialize() argument 704 if (IS_ERR(grf)) { in rk_tsadcv3_initialize() 720 regmap_write(grf, GRF_TSADC_TESTBIT_L, GRF_TSADC_VCM_EN_L); in rk_tsadcv3_initialize() 721 regmap_write(grf, GRF_TSADC_TESTBIT_H, GRF_TSADC_VCM_EN_H); in rk_tsadcv3_initialize() 724 regmap_write(grf, GRF_SARADC_TESTBIT, GRF_SARADC_TESTBIT_ON); in rk_tsadcv3_initialize() 725 regmap_write(grf, GRF_TSADC_TESTBIT_H, GRF_TSADC_TESTBIT_H_ON); in rk_tsadcv3_initialize() 746 static void rk_tsadcv4_initialize(struct regmap *grf, void __iomem *regs, in rk_tsadcv4_initialize() argument [all …]
|
/linux-5.19.10/drivers/gpu/drm/rockchip/ |
D | rockchip_lvds.c | 52 struct regmap *grf; member 233 ret = regmap_write(lvds->grf, RK3288_LVDS_GRF_SOC_CON7, val); in rk3288_lvds_poweroff() 266 ret = regmap_write(lvds->grf, RK3288_LVDS_GRF_SOC_CON7, val); in rk3288_lvds_grf_config() 287 ret = regmap_write(lvds->grf, RK3288_LVDS_GRF_SOC_CON6, val); in rk3288_lvds_set_vop_source() 346 return regmap_update_bits(lvds->grf, PX30_LVDS_GRF_PD_VO_CON1, in px30_lvds_poweron() 353 regmap_update_bits(lvds->grf, PX30_LVDS_GRF_PD_VO_CON1, in px30_lvds_poweroff() 372 return regmap_update_bits(lvds->grf, PX30_LVDS_GRF_PD_VO_CON1, in px30_lvds_grf_config() 386 return regmap_update_bits(lvds->grf, PX30_LVDS_GRF_PD_VO_CON1, in px30_lvds_set_vop_source() 496 ret = regmap_update_bits(lvds->grf, PX30_LVDS_GRF_PD_VO_CON1, in px30_lvds_probe() 714 lvds->grf = syscon_regmap_lookup_by_phandle(dev->of_node, in rockchip_lvds_probe() [all …]
|
/linux-5.19.10/Documentation/devicetree/bindings/clock/ |
D | rockchip,px30-cru.yaml | 57 rockchip,grf: 106 rockchip,grf = <&grf>; 116 rockchip,grf = <&grf>;
|
/linux-5.19.10/Documentation/devicetree/bindings/net/ |
D | emac_rockchip.txt | 10 - rockchip,grf: phandle to the syscon grf used to control speed and mode 41 rockchip,grf = <&grf>;
|