Home
last modified time | relevance | path

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

12345

/linux/Documentation/devicetree/bindings/soc/rockchip/
H A Dgrf.yaml4 $id: http://devicetree.org/schemas/soc/rockchip/grf.yaml#
7 title: Rockchip General Register Files (GRF)
18 - rockchip,rk3528-ioc-grf
19 - rockchip,rk3528-vo-grf
20 - rockchip,rk3528-vpu-grf
21 - rockchip,rk3562-ioc-grf
22 - rockchip,rk3562-peri-grf
23 - rockchip,rk3562-pipephy-grf
24 - rockchip,rk3562-pmu-grf
25 - rockchip,rk3562-sys-grf
[all …]
/linux/Documentation/devicetree/bindings/display/rockchip/
H A Drockchip-vop2.yaml85 rockchip,grf:
88 Phandle to GRF regs used for control the polarity of dclk/hsync/vsync of DPI,
91 rockchip,vo1-grf:
94 Phandle to VO GRF regs used for control the polarity of dclk/hsync/vsync of hdmi
97 rockchip,vop-grf:
100 Phandle to VOP GRF regs used for control data path between vopr and hdmi/edp.
105 Phandle to PMU GRF used for query vop memory bisr status on rk3588.
162 rockchip,vo1-grf: false
163 rockchip,vop-grf: false
167 - rockchip,grf
[all …]
H A Drockchip,rk3399-cdn-dp.yaml30 - description: GRF clock
37 - const: grf
96 rockchip,grf:
99 Phandle to GRF register to control HPD.
114 - rockchip,grf
136 clock-names = "core-clk", "pclk", "spdif", "grf";
142 rockchip,grf = <&grf>;
H A Drockchip,dw-hdmi.yaml51 - description: Power for GRF IO
62 - grf
66 - grf
115 rockchip,grf:
118 phandle to the GRF to mux vopl/vopb.
131 - rockchip,grf
151 rockchip,grf = <&grf>;
H A Drockchip,rk3588-dw-hdmi-qp.yaml106 rockchip,grf:
109 Some HDMI QP related data is accessed through SYS GRF regs.
111 rockchip,vo-grf:
114 Additional HDMI QP related data is accessed through VO GRF regs.
127 - rockchip,grf
128 - rockchip,vo-grf
164 rockchip,grf = <&sys_grf>;
165 rockchip,vo-grf = <&vo1_grf>;
H A Drockchip,analogix-dp.yaml29 - const: grf
44 rockchip,grf:
47 This SoC makes use of GRF regs.
58 - rockchip,grf
93 rockchip,grf = <&grf>;
H A Drockchip,dw-mipi-dsi.yaml39 - const: grf
42 rockchip,grf:
45 This SoC uses GRF regs to switch between vopl/vopb.
65 - rockchip,grf
135 rockchip,grf = <&grf>;
/linux/Documentation/devicetree/bindings/phy/
H A Dphy-rockchip-naneng-combphy.yaml69 rockchip,pipe-grf:
72 Some additional phy settings are accessed through GRF regs.
74 rockchip,pipe-phy-grf:
77 Some additional pipe settings are accessed through GRF regs.
88 - rockchip,pipe-grf
89 - rockchip,pipe-phy-grf
125 compatible = "rockchip,rk3568-pipe-grf", "syscon";
130 compatible = "rockchip,rk3568-pipe-phy-grf", "syscon";
144 rockchip,pipe-grf = <&pipegrf>;
145 rockchip,pipe-phy-grf = <&pipe_phy_grf0>;
H A Dphy-rockchip-usbdp.yaml70 rockchip,u2phy-grf:
75 rockchip,usb-grf:
80 rockchip,usbdpphy-grf:
85 rockchip,vo-grf:
148 rockchip,u2phy-grf = <&usb2phy0_grf>;
149 rockchip,usb-grf = <&usb_grf>;
150 rockchip,usbdpphy-grf = <&usbdpphy0_grf>;
151 rockchip,vo-grf = <&vo0_grf>;
H A Drockchip-inno-csi-dphy.yaml49 rockchip,grf:
52 Some additional phy settings are access through GRF regs.
63 - rockchip,grf
79 rockchip,grf = <&grf>;
H A Drockchip-mipi-dphy-rx0.yaml31 - const: grf
54 * should be a child of the GRF.
56 * grf: syscon@ff770000 {
57 * compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
70 clock-names = "dphy-ref", "dphy-cfg", "grf";
/linux/drivers/phy/rockchip/
H A Dphy-rockchip-usb.c55 int (*init_usb_uart)(struct regmap *grf,
323 static int __init rockchip_init_usb_uart_common(struct regmap *grf, in rockchip_init_usb_uart_common() argument
341 ret = regmap_write(grf, regoffs + UOC_CON0, val); in rockchip_init_usb_uart_common()
347 ret = regmap_write(grf, regoffs + UOC_CON2, val); in rockchip_init_usb_uart_common()
358 ret = regmap_write(grf, UOC_CON3, val); in rockchip_init_usb_uart_common()
373 static int __init rk3188_init_usb_uart(struct regmap *grf, in rk3188_init_usb_uart() argument
379 ret = rockchip_init_usb_uart_common(grf, pdata); in rk3188_init_usb_uart()
387 ret = regmap_write(grf, RK3188_UOC0_CON0, val); in rk3188_init_usb_uart()
423 static int __init rk3288_init_usb_uart(struct regmap *grf, in rk3288_init_usb_uart() argument
429 ret = rockchip_init_usb_uart_common(grf, pdata); in rk3288_init_usb_uart()
[all …]
H A 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()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c90 struct regmap *grf; member
133 regmap_write(bsp_priv->grf, reg, val); in rk_set_reg_speed()
176 regmap_write(priv->grf, RK_GRF_MACPHY_CON0, RK_MACPHY_CFG_CLK_50M); in rk_gmac_integrated_ephy_powerup()
177 regmap_write(priv->grf, RK_GRF_MACPHY_CON0, RK_GMAC2PHY_RMII_MODE); in rk_gmac_integrated_ephy_powerup()
179 regmap_write(priv->grf, RK_GRF_MACPHY_CON2, RK_GRF_CON2_MACPHY_ID); in rk_gmac_integrated_ephy_powerup()
180 regmap_write(priv->grf, RK_GRF_MACPHY_CON3, RK_GRF_CON3_MACPHY_ID); in rk_gmac_integrated_ephy_powerup()
184 regmap_write(priv->grf, RK_GRF_MACPHY_CON0, RK_MACPHY_DISABLE); in rk_gmac_integrated_ephy_powerup()
191 regmap_write(priv->grf, RK_GRF_MACPHY_CON0, RK_MACPHY_ENABLE); in rk_gmac_integrated_ephy_powerup()
198 regmap_write(priv->grf, RK_GRF_MACPHY_CON0, RK_MACPHY_DISABLE); in rk_gmac_integrated_ephy_powerdown()
215 regmap_write(priv->grf, reg, in rk_gmac_integrated_fephy_powerup()
[all …]
/linux/drivers/gpu/drm/rockchip/
H A Danalogix_dp-rockchip.c53 * struct rockchip_dp_chip_data - splite the grf setting of kind of chips
54 * @lcdc_sel: grf register field of lcdc_sel
55 * @edp_mode: grf register field of edp_mode
74 struct regmap *grf; member
96 static int rockchip_grf_write(struct regmap *grf, u32 reg, u32 mask, u32 val) in rockchip_grf_write() argument
98 return regmap_write(grf, reg, (mask << 16) | (val & mask)); in rockchip_grf_write()
101 static int rockchip_grf_field_write(struct regmap *grf, in rockchip_grf_field_write() argument
113 return rockchip_grf_write(grf, field->reg, mask, val); in rockchip_grf_field_write()
147 ret = rockchip_grf_field_write(dp->grf, &dp->data->edp_mode, 1); in rockchip_dp_poweron()
159 ret = rockchip_grf_field_write(dp->grf, &dp->data->edp_mode, 0); in rockchip_dp_powerdown()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Drockchip,rk3036-codec.yaml30 rockchip,grf:
33 The phandle of the syscon node for the GRF register.
43 - rockchip,grf
54 rockchip,grf = <&grf>;
H A Drockchip,rk3328-codec.yaml32 rockchip,grf:
35 The phandle of the syscon node for the GRF register.
56 - rockchip,grf
70 rockchip,grf = <&grf>;
H A Drockchip,rk3308-codec.yaml34 rockchip,grf:
37 Phandle to the General Register Files (GRF)
78 - rockchip,grf
92 rockchip,grf = <&grf>;
/linux/drivers/net/ethernet/arc/
H A 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()
/linux/Documentation/devicetree/bindings/clock/
H A 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>;
/linux/Documentation/devicetree/bindings/net/
H A Drockchip-dwmac.yaml96 rockchip,grf:
100 rockchip,php-grf:
126 - rockchip,grf
140 - rockchip,php-grf
143 rockchip,php-grf: false
180 rockchip,grf = <&grf>;
H A Drockchip,emac.yaml39 rockchip,grf:
42 Phandle to the syscon GRF used to control speed and mode for the EMAC.
58 - rockchip,grf
100 rockchip,grf = <&grf>;
/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-rk3x.yaml72 rockchip,grf:
76 the general register file (GRF)
78 (bit offset in the GRF) is also required.
128 - rockchip,grf
143 rockchip,grf = <&grf>;
/linux/arch/arm/boot/dts/rockchip/
H A Drk3xxx.dtsi204 rockchip,grf = <&grf>;
273 grf: grf@20008000 { label
310 rockchip,grf = <&grf>;
325 rockchip,grf = <&grf>;
380 rockchip,grf = <&grf>;
395 rockchip,grf = <&grf>;
410 rockchip,grf = <&grf>;
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3588-extra.dtsi71 compatible = "rockchip,rk3588-pcie3-phy-grf", "syscon";
76 compatible = "rockchip,rk3588-pipe-phy-grf", "syscon";
81 compatible = "rockchip,rk3588-usbdpphy-grf", "syscon";
86 compatible = "rockchip,rk3588-usb2phy-grf", "syscon", "simple-mfd";
111 compatible = "rockchip,rk3588-hdptxphy-grf", "syscon";
236 rockchip,grf = <&sys_grf>;
237 rockchip,vo-grf = <&vo1_grf>;
266 rockchip,grf = <&vo1_grf>;
309 rockchip,grf = <&sys_grf>;
310 rockchip,vo1-grf = <&vo1_grf>;
[all …]

12345