/Linux-v6.1/Documentation/devicetree/bindings/soc/rockchip/ |
D | grf.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/soc/rockchip/grf.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip General Register Files (GRF) 10 - Heiko Stuebner <heiko@sntech.de> 15 - items: 16 - enum: 17 - rockchip,rk3288-sgrf 18 - rockchip,rk3566-pipe-grf [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/phy/ |
D | phy-rockchip-naneng-combphy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-rockchip-naneng-combphy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip SoC Naneng Combo Phy 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,rk3568-naneng-combphy 22 - description: reference clock 23 - description: apb clock 24 - description: pipe clock [all …]
|
D | rockchip-inno-csi-dphy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/rockchip-inno-csi-dphy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip SoC MIPI RX0 D-PHY 10 - Heiko Stuebner <heiko@sntech.de> 13 The Rockchip SoC has a MIPI CSI D-PHY based on an Innosilicon IP wich 19 - rockchip,px30-csi-dphy 20 - rockchip,rk1808-csi-dphy 21 - rockchip,rk3326-csi-dphy [all …]
|
D | rockchip-mipi-dphy-rx0.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 --- 4 $id: http://devicetree.org/schemas/phy/rockchip-mipi-dphy-rx0.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip SoC MIPI RX0 D-PHY 10 - Helen Koike <helen.koike@collabora.com> 11 - Ezequiel Garcia <ezequiel@collabora.com> 14 The Rockchip SoC has a MIPI D-PHY bus with an RX0 entry which connects to 19 const: rockchip,rk3399-mipi-dphy-rx0 23 - description: MIPI D-PHY ref clock [all …]
|
D | phy-rockchip-typec.txt | 1 * ROCKCHIP type-c PHY 2 --------------------- 5 - compatible : must be "rockchip,rk3399-typec-phy" 6 - reg: Address and length of the usb phy control register set 7 - rockchip,grf : phandle to the syscon managing the "general 9 - clocks : phandle + clock specifier for the phy clocks 10 - clock-names : string, clock name, must be "tcpdcore", "tcpdphy-ref"; 11 - assigned-clocks: main clock, should be <&cru SCLK_UPHY0_TCPDCORE> or 13 - assigned-clock-rates : the phy core clk frequency, shall be: 50000000 14 - resets : a list of phandle + reset specifier pairs [all …]
|
D | rockchip,pcie3-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/rockchip,pcie3-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip PCIe v3 phy 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,rk3568-pcie3-phy 24 clock-names: 26 - const: refclk_m 27 - const: refclk_n [all …]
|
D | rockchip-pcie-phy.txt | 1 Rockchip PCIE PHY 2 ----------------------- 5 - compatible: rockchip,rk3399-pcie-phy 6 - clocks: Must contain an entry in clock-names. 7 See ../clocks/clock-bindings.txt for details. 8 - clock-names: Must be "refclk" 9 - resets: Must contain an entry in reset-names. 11 - reset-names: Must be "phy" 13 Required properties for legacy PHY mode (deprecated): 14 - #phy-cells: must be 0 [all …]
|
/Linux-v6.1/drivers/phy/rockchip/ |
D | phy-rockchip-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip usb PHY driver 5 * Copyright (C) 2014 Yunzhi Li <lyz@rock-chips.com> 10 #include <linux/clk-provider.h> 18 #include <linux/phy/phy.h> 56 int (*init_usb_uart)(struct regmap *grf, 74 struct phy *phy; member 80 static int rockchip_usb_phy_power(struct rockchip_usb_phy *phy, in rockchip_usb_phy_power() argument 85 return regmap_write(phy->base->reg_base, phy->reg_offset, val); in rockchip_usb_phy_power() 96 struct rockchip_usb_phy *phy = container_of(hw, in rockchip_usb_phy480m_disable() local [all …]
|
D | phy-rockchip-dp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip DP PHY driver 6 * Author: Yakir Yang <ykk@@rock-chips.com> 13 #include <linux/phy/phy.h> 28 struct regmap *grf; member 32 static int rockchip_set_phy_state(struct phy *phy, bool enable) in rockchip_set_phy_state() argument 34 struct rockchip_dp_phy *dp = phy_get_drvdata(phy); in rockchip_set_phy_state() 38 ret = regmap_write(dp->grf, GRF_SOC_CON12, in rockchip_set_phy_state() 42 dev_err(dp->dev, "Can't enable PHY power %d\n", ret); in rockchip_set_phy_state() 46 ret = clk_prepare_enable(dp->phy_24m); in rockchip_set_phy_state() [all …]
|
D | phy-rockchip-inno-usb2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Rockchip USB2.0 PHY with Innosilicon IP block driver 9 #include <linux/clk-provider.h> 11 #include <linux/extcon-provider.h> 23 #include <linux/phy/phy.h> 49 * enum usb_chg_state - Different states involved in USB charger detection. 88 * struct rockchip_chg_det_reg - usb charger detect registers 114 * struct rockchip_usb2phy_port_cfg - usb-phy port configuration. 115 * @phy_sus: phy suspend register. 150 * struct rockchip_usb2phy_cfg - usb-phy configuration. [all …]
|
D | phy-rockchip-inno-csidphy.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/phy/phy.h> 17 #include <linux/phy/phy-mipi-dphy.h> 23 /* GRF */ 33 /* PHY */ 60 /* Configure the count time of the THS-SETTLE by protocol. */ 71 * The higher 16-bit of this register is used for write protection 93 { .offset = _offset, .mask = BIT(_width) - 1, .shift = _shift, } 135 struct regmap *grf; member 145 const struct dphy_drv_data *drv_data = priv->drv_data; in write_grf_reg() [all …]
|
D | phy-rockchip-pcie.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip PCIe PHY driver 5 * Copyright (C) 2016 Shawn Lin <shawn.lin@rock-chips.com> 17 #include <linux/phy/phy.h> 23 * The higher 16-bit of this register is used for write protection 69 struct phy *phy; member 82 phys[inst->index]); in to_pcie_phy() 85 static struct phy *rockchip_pcie_phy_of_xlate(struct device *dev, in rockchip_pcie_phy_of_xlate() 90 if (args->args_count == 0) in rockchip_pcie_phy_of_xlate() 91 return rk_phy->phys[0].phy; in rockchip_pcie_phy_of_xlate() [all …]
|
D | phy-rockchip-emmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip emmc PHY driver 5 * Copyright (C) 2016 Shawn Lin <shawn.lin@rock-chips.com> 15 #include <linux/phy/phy.h> 20 * The higher 16-bit of this register is used for write protection 93 static int rockchip_emmc_phy_power(struct phy *phy, bool on_off) in rockchip_emmc_phy_power() argument 95 struct rockchip_emmc_phy *rk_phy = phy_get_drvdata(phy); in rockchip_emmc_phy_power() 106 regmap_write(rk_phy->reg_base, in rockchip_emmc_phy_power() 107 rk_phy->reg_offset + GRF_EMMCPHY_CON6, in rockchip_emmc_phy_power() 111 regmap_write(rk_phy->reg_base, in rockchip_emmc_phy_power() [all …]
|
D | phy-rockchip-dphy-rx0.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 * chromeos-4.4 branch. 14 * Jacob Chen <jacob2.chen@rock-chips.com> 15 * Shunqian Zheng <zhengsq@rock-chips.com> 25 #include <linux/phy/phy.h> 26 #include <linux/phy/phy-mipi-dphy.h> 65 "dphy-ref", 66 "dphy-cfg", 67 "grf", 111 { .offset = _offset, .mask = BIT(_width) - 1, .shift = _shift, } [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | rockchip,emac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,rk3036-emac 16 - rockchip,rk3066-emac 17 - rockchip,rk3188-emac 28 - description: host clock 29 - description: reference clock 30 - description: mac TX/RX clock [all …]
|
D | rockchip-dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: "http://devicetree.org/schemas/net/rockchip-dwmac.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - David Wu <david.wu@rock-chips.com> 18 - rockchip,px30-gmac 19 - rockchip,rk3128-gmac 20 - rockchip,rk3228-gmac 21 - rockchip,rk3288-gmac 22 - rockchip,rk3308-gmac [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/rockchip/ |
D | rockchip,dw-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,dw-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Yao <markyao0591@gmail.com> 14 with a companion PHY IP. 17 - $ref: ../bridge/synopsys,dw-hdmi.yaml# 22 - rockchip,rk3228-dw-hdmi 23 - rockchip,rk3288-dw-hdmi 24 - rockchip,rk3328-dw-hdmi [all …]
|
D | dw_mipi_dsi_rockchip.txt | 5 - #address-cells: Should be <1>. 6 - #size-cells: Should be <0>. 7 - compatible: one of 8 "rockchip,px30-mipi-dsi", "snps,dw-mipi-dsi" 9 "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi" 10 "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi" 11 "rockchip,rk3568-mipi-dsi", "snps,dw-mipi-dsi" 12 - reg: Represent the physical address range of the controller. 13 - interrupts: Represent the controller's interrupt to the CPU(s). 14 - clocks, clock-names: Phandles to the controller's pll reference [all …]
|
D | cdn-dp-rockchip.txt | 5 - compatible: must be "rockchip,rk3399-cdn-dp" 7 - reg: physical base address of the controller and length 9 - clocks: from common clock binding: handle to dp clock. 11 - clock-names: from common clock binding: 12 Required elements: "core-clk" "pclk" "spdif" "grf" 14 - resets : a list of phandle + reset specifier pairs 15 - reset-names : string of reset names 17 - power-domains : power-domain property defined with a phandle 19 - assigned-clocks: main clock, should be <&cru SCLK_DP_CORE> 20 - assigned-clock-rates : the DP core clk frequency, shall be: 100000000 [all …]
|
D | analogix_dp-rockchip.txt | 5 - compatible: "rockchip,rk3288-dp", 6 "rockchip,rk3399-edp"; 8 - reg: physical base address of the controller and length 10 - clocks: from common clock binding: handle to dp clock. 13 - clock-names: from common clock binding: 16 - resets: Must contain an entry for each entry in reset-names. 19 - pinctrl-names: Names corresponding to the chip hotplug pinctrl states. 20 - pinctrl-0: pin-control mode. should be <&edp_hpd> 22 - reset-names: Must include the name "dp" 24 - rockchip,grf: this soc should set GRF regs, so need get grf here. [all …]
|
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-rk.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DOC: dwmac-rk.c - Rockchip RK3288 DWMAC specific glue layer 5 * Copyright (C) 2014 Chen-Zhi (Roger Chen) 7 * Chen-Zhi (Roger Chen) <roger.chen@rock-chips.com> 13 #include <linux/phy.h> 70 struct regmap *grf; member 94 struct device *dev = &bsp_priv->pdev->dev; in px30_set_to_rmii() 96 if (IS_ERR(bsp_priv->grf)) { in px30_set_to_rmii() 97 dev_err(dev, "%s: Missing rockchip,grf property\n", __func__); in px30_set_to_rmii() 101 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_to_rmii() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rk3568.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 compatible = "rockchip,rk3568-dwc-ahci", "snps,dwc-ahci"; 16 clock-names = "sata", "pmalive", "rxoob"; 19 phy-names = "sata-phy"; 20 ports-implemented = <0x1>; 21 power-domains = <&power RK3568_PD_PIPE>; 26 compatible = "rockchip,rk3568-pipe-phy-grf", "syscon"; 31 compatible = "rockchip,rk3568-qos", "syscon"; 36 compatible = "rockchip,rk3568-qos", "syscon"; 41 compatible = "rockchip,rk3568-qos", "syscon"; [all …]
|
D | rk356x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3568-cru.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3568-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; [all …]
|
/Linux-v6.1/drivers/net/ethernet/arc/ |
D | emac_rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * emac-rockchip.c - Rockchip EMAC specific glue layer 29 struct regmap *grf; member 39 u32 speed_offset = emac->soc_data->grf_speed_offset; in emac_rockchip_set_mac_speed() 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() 77 .compatible = "rockchip,rk3036-emac", 81 .compatible = "rockchip,rk3066-emac", 85 .compatible = "rockchip,rk3188-emac", 95 struct device *dev = &pdev->dev; in emac_rockchip_probe() [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | rk3xxx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/soc/rockchip,boot-mode.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 15 interrupt-parent = <&gic>; 33 compatible = "fixed-clock"; 34 clock-frequency = <24000000>; 35 #clock-cells = <0>; [all …]
|