Home
last modified time | relevance | path

Searched full:grf (Results 1 – 25 of 195) sorted by relevance

12345678

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/rockchip/
Dgrf.yaml4 $id: http://devicetree.org/schemas/soc/rockchip/grf.yaml#
7 title: Rockchip General Register Files (GRF)
18 - rockchip,rk3566-pipe-grf
19 - rockchip,rk3568-pcie3-phy-grf
20 - rockchip,rk3568-pipe-grf
21 - rockchip,rk3568-pipe-phy-grf
22 - rockchip,rk3568-usb2phy-grf
23 - rockchip,rk3588-bigcore0-grf
24 - rockchip,rk3588-bigcore1-grf
26 - rockchip,rk3588-php-grf
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/rockchip/
Dgrf.txt1 * Rockchip General Register Files (GRF)
6 From RK3368 SoCs, the GRF is divided into two sections,
7 - GRF, used for general non-secure system,
11 On RK3328 SoCs, the GRF adds a section for USB2PHYGRF,
13 ON RK3308 SoC, the GRF is divided into four sections:
14 - GRF, used for general non-secure system,
21 - compatible: GRF should be one of the following:
22 - "rockchip,px30-grf", "syscon": for px30
23 - "rockchip,rk3036-grf", "syscon": for rk3036
24 - "rockchip,rk3066-grf", "syscon": for rk3066
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c65 struct regmap *grf; member
90 if (IS_ERR(bsp_priv->grf)) { in px30_set_to_rmii()
91 dev_err(dev, "%s: Missing rockchip,grf property\n", __func__); in px30_set_to_rmii()
95 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_to_rmii()
110 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_rmii_speed()
118 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_rmii_speed()
169 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_to_rgmii()
170 dev_err(dev, "Missing rockchip,grf property\n"); in rk3128_set_to_rgmii()
174 regmap_write(bsp_priv->grf, RK3128_GRF_MAC_CON1, in rk3128_set_to_rgmii()
177 regmap_write(bsp_priv->grf, RK3128_GRF_MAC_CON0, in rk3128_set_to_rgmii()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c82 struct regmap *grf; member
108 if (IS_ERR(bsp_priv->grf)) { in px30_set_to_rmii()
109 dev_err(dev, "%s: Missing rockchip,grf property\n", __func__); in px30_set_to_rmii()
113 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_to_rmii()
129 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_rmii_speed()
137 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_rmii_speed()
188 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_to_rgmii()
189 dev_err(dev, "Missing rockchip,grf property\n"); in rk3128_set_to_rgmii()
193 regmap_write(bsp_priv->grf, RK3128_GRF_MAC_CON1, in rk3128_set_to_rgmii()
196 regmap_write(bsp_priv->grf, RK3128_GRF_MAC_CON0, in rk3128_set_to_rgmii()
[all …]
/kernel/linux/linux-6.6/drivers/soc/rockchip/
Dgrf.c138 .compatible = "rockchip,rk3036-grf",
141 .compatible = "rockchip,rk3128-grf",
144 .compatible = "rockchip,rk3228-grf",
147 .compatible = "rockchip,rk3288-grf",
150 .compatible = "rockchip,rk3328-grf",
153 .compatible = "rockchip,rk3368-grf",
156 .compatible = "rockchip,rk3399-grf",
159 .compatible = "rockchip,rk3566-pipe-grf",
162 .compatible = "rockchip,rk3588-sys-grf",
173 struct regmap *grf; in rockchip_grf_init() local
[all …]
/kernel/linux/linux-5.10/drivers/soc/rockchip/
Dgrf.c113 .compatible = "rockchip,rk3036-grf",
116 .compatible = "rockchip,rk3128-grf",
119 .compatible = "rockchip,rk3228-grf",
122 .compatible = "rockchip,rk3288-grf",
125 .compatible = "rockchip,rk3328-grf",
128 .compatible = "rockchip,rk3368-grf",
131 .compatible = "rockchip,rk3399-grf",
142 struct regmap *grf; in rockchip_grf_init() local
150 pr_err("%s: missing grf data\n", __func__); in rockchip_grf_init()
157 grf = syscon_node_to_regmap(np); in rockchip_grf_init()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Drockchip,rk3328-grf-gpio.txt1 Rockchip RK3328 GRF (General Register Files) GPIO controller.
5 GRF_SOC_CON10 register in GRF. Aside from the GPIO_MUTE pin, the HDMI pins can
12 - compatible: Should contain "rockchip,rk3328-grf-gpio".
21 grf: syscon@ff100000 {
22 compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
24 grf_gpio: grf-gpio {
25 compatible = "rockchip,rk3328-grf-gpio";
31 Note: The grf_gpio node should be declared as the child of the GRF (General
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/
Dphy-rockchip-naneng-combphy.yaml64 rockchip,pipe-grf:
67 Some additional phy settings are accessed through GRF regs.
69 rockchip,pipe-phy-grf:
72 Some additional pipe settings are accessed through GRF regs.
83 - rockchip,pipe-grf
84 - rockchip,pipe-phy-grf
120 compatible = "rockchip,rk3568-pipe-grf", "syscon";
125 compatible = "rockchip,rk3568-pipe-phy-grf", "syscon";
139 rockchip,pipe-grf = <&pipegrf>;
140 rockchip,pipe-phy-grf = <&pipe_phy_grf0>;
/kernel/linux/linux-5.10/drivers/phy/rockchip/
Dphy-rockchip-usb.c56 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 …]
Dphy-rockchip-dp.c28 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()
116 dev_err(dp->dev, "Could not config GRF edp ref clk: %d\n", ret); in rockchip_dp_phy_probe()
/kernel/linux/linux-6.6/drivers/phy/rockchip/
Dphy-rockchip-usb.c56 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 …]
Dphy-rockchip-dp.c28 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()
116 dev_err(dp->dev, "Could not config GRF edp ref clk: %d\n", ret); in rockchip_dp_phy_probe()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/rockchip/
Dcdn-dp-rockchip.txt12 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>;
Ddw_hdmi-rockchip.txt27 - rockchip,grf: Shall reference the GRF to mux vopl/vopb.
37 - clock-names: May contain "grf", power for grf io.
56 rockchip,grf = <&grf>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/rockchip/
Dcdn-dp-rockchip.txt12 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>;
Drockchip,dw-hdmi.yaml50 - description: Power for GRF IO
61 - grf
65 - grf
116 rockchip,grf:
119 phandle to the GRF to mux vopl/vopb.
129 - rockchip,grf
144 rockchip,grf = <&grf>;
Drockchip,analogix-dp.yaml28 - const: grf
39 rockchip,grf:
42 This SoC makes use of GRF regs.
50 - rockchip,grf
72 rockchip,grf = <&grf>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Drockchip,rk3328-grf-gpio.yaml4 $id: http://devicetree.org/schemas/gpio/rockchip,rk3328-grf-gpio.yaml#
10 The Rockchip RK3328 General Register File (GRF) outputs only the
14 The GPIO node should be declared as the child of the GRF node.
30 const: rockchip,rk3328-grf-gpio
47 compatible = "rockchip,rk3328-grf-gpio";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Drockchip-usb-phy.txt12 - rockchip,grf : phandle to the syscon managing the "general
13 register files" - phy should be a child of the GRF instead
21 - reg: PHY configure reg address offset in GRF
37 grf: syscon@ff770000 {
38 compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd";
/kernel/linux/linux-6.6/drivers/net/ethernet/arc/
Demac_rockchip.c29 struct regmap *grf; member
55 err = regmap_write(emac->grf, emac->soc_data->grf_offset, data); in emac_rockchip_set_mac_speed()
57 pr_err("unable to apply speed %u to grf (%d)\n", speed, err); in emac_rockchip_set_mac_speed()
127 priv->grf = syscon_regmap_lookup_by_phandle(dev->of_node, in emac_rockchip_probe()
128 "rockchip,grf"); 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()
189 dev_err(dev, "unable to apply initial settings to grf (%d)\n", in emac_rockchip_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/arc/
Demac_rockchip.c29 struct regmap *grf; member
55 err = regmap_write(emac->grf, emac->soc_data->grf_offset, data); in emac_rockchip_set_mac_speed()
57 pr_err("unable to apply speed %u to grf (%d)\n", speed, err); in emac_rockchip_set_mac_speed()
127 priv->grf = syscon_regmap_lookup_by_phandle(dev->of_node, in emac_rockchip_probe()
128 "rockchip,grf"); 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()
189 dev_err(dev, "unable to apply initial settings to grf (%d)\n", in emac_rockchip_probe()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Drockchip,rk3328-codec.yaml29 rockchip,grf:
32 The phandle of the syscon node for the GRF register.
53 - rockchip,grf
67 rockchip,grf = <&grf>;
Dinno-rk3036.txt10 - rockchip,grf : The phandle of grf device node.
17 rockchip,grf = <&grf>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/
Drockchip,px30-cru.yaml57 rockchip,grf:
60 Phandle to the syscon managing the "general register files" (GRF),
106 rockchip,grf = <&grf>;
116 rockchip,grf = <&grf>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dinno-rk3036.txt10 - rockchip,grf : The phandle of grf device node.
17 rockchip,grf = <&grf>;

12345678