/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-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 …]
|
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 …]
|
/Linux-v6.1/drivers/phy/rockchip/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Phy drivers for Rockchip platforms 6 tristate "Rockchip Display Port PHY Driver" 10 Enable this to support the Rockchip Display Port PHY. 13 tristate "Rockchip MIPI Synopsys DPHY RX0 driver" 18 Enable this to support the Rockchip MIPI Synopsys DPHY RX0 19 associated to the Rockchip ISP module present in RK3399 SoCs. 22 will be called phy-rockchip-dphy-rx0. 25 tristate "Rockchip EMMC PHY Driver" 29 Enable this to support the Rockchip EMMC PHY. [all …]
|
D | phy-rockchip-snps-pcie3.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Rockchip PCIE3.0 phy driver 5 * Copyright (C) 2022 Rockchip Electronics Co., Ltd. 16 #include <linux/phy/pcie.h> 17 #include <linux/phy/phy.h> 55 struct phy *phy; member 66 static int rockchip_p3phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) in rockchip_p3phy_set_mode() argument 68 struct rockchip_p3phy_priv *priv = phy_get_drvdata(phy); in rockchip_p3phy_set_mode() 73 priv->mode = PHY_MODE_PCIE_RC; in rockchip_p3phy_set_mode() 76 priv->mode = PHY_MODE_PCIE_EP; in rockchip_p3phy_set_mode() [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_PHY_ROCKCHIP_DP) += phy-rockchip-dp.o 3 obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0) += phy-rockchip-dphy-rx0.o 4 obj-$(CONFIG_PHY_ROCKCHIP_EMMC) += phy-rockchip-emmc.o 5 obj-$(CONFIG_PHY_ROCKCHIP_INNO_CSIDPHY) += phy-rockchip-inno-csidphy.o 6 obj-$(CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY) += phy-rockchip-inno-dsidphy.o 7 obj-$(CONFIG_PHY_ROCKCHIP_INNO_HDMI) += phy-rockchip-inno-hdmi.o 8 obj-$(CONFIG_PHY_ROCKCHIP_INNO_USB2) += phy-rockchip-inno-usb2.o 9 obj-$(CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY) += phy-rockchip-naneng-combphy.o 10 obj-$(CONFIG_PHY_ROCKCHIP_PCIE) += phy-rockchip-pcie.o [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> 6 * Copyright (C) 2016 ROCKCHIP, Inc. 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() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/pci/ |
D | rockchip-pcie-ep.txt | 1 * Rockchip AXI PCIe Endpoint Controller DT description 4 - compatible: Should contain "rockchip,rk3399-pcie-ep" 5 - reg: Two register ranges as listed in the reg-names property 6 - reg-names: Must include the following names 7 - "apb-base" 8 - "mem-base" 9 - clocks: Must contain an entry for each entry in clock-names. 10 See ../clocks/clock-bindings.txt for details. 11 - clock-names: Must include the following entries: 12 - "aclk" [all …]
|
D | rockchip-dw-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DesignWare based PCIe controller on Rockchip SoCs 10 - Shawn Lin <shawn.lin@rock-chips.com> 11 - Simon Xue <xxm@rock-chips.com> 12 - Heiko Stuebner <heiko@sntech.de> 15 RK3568 SoC PCIe host controller is based on the Synopsys DesignWare 16 PCIe IP and thus inherits all the common properties defined in [all …]
|
D | rockchip-pcie-host.txt | 1 * Rockchip AXI PCIe Root Port Bridge DT description 4 - #address-cells: Address representation for root ports, set to <3> 5 - #size-cells: Size representation for root ports, set to <2> 6 - #interrupt-cells: specifies the number of cells needed to encode an 8 - compatible: Should contain "rockchip,rk3399-pcie" 9 - reg: Two register ranges as listed in the reg-names property 10 - reg-names: Must include the following names 11 - "axi-base" 12 - "apb-base" 13 - clocks: Must contain an entry for each entry in clock-names. [all …]
|
/Linux-v6.1/drivers/pci/controller/dwc/ |
D | pcie-dw-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCIe host controller driver for Rockchip SoCs. 5 * Copyright (C) 2021 Rockchip Electronics Co., Ltd. 6 * http://www.rock-chips.com 8 * Author: Simon Xue <xxm@rock-chips.com> 19 #include <linux/phy/phy.h> 24 #include "pcie-designware.h" 34 #define to_rockchip_pcie(x) dev_get_drvdata((x)->dev) 54 struct phy *phy; member 63 static int rockchip_pcie_readl_apb(struct rockchip_pcie *rockchip, in rockchip_pcie_readl_apb() argument [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rk3568.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 9 compatible = "rockchip,rk3568"; 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"; [all …]
|
D | rk3399-ficus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd. 9 /dts-v1/; 10 #include "rk3399-rock960.dtsi" 14 compatible = "vamrs,ficus", "rockchip,rk3399"; 17 stdout-path = "serial2:1500000n8"; 20 clkin_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 clock-frequency = <125000000>; 23 clock-output-names = "clkin_gmac"; [all …]
|
D | rk3568-rock-3a.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 12 compatible = "radxa,rock3a", "rockchip,rk3568"; 21 stdout-path = "serial2:1500000n8"; 24 hdmi-con { 25 compatible = "hdmi-connector"; [all …]
|
D | rk3399.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd 6 #include <dt-bindings/clock/rk3399-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3399-power.h> 12 #include <dt-bindings/thermal/thermal.h> 15 compatible = "rockchip,rk3399"; [all …]
|
D | rk3566-quartz64-a.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 11 model = "Pine64 RK3566 Quartz64-A Board"; 12 compatible = "pine64,quartz64-a", "rockchip,rk3566"; 21 stdout-path = "serial2:1500000n8"; 24 gmac1_clkin: external-gmac1-clock { 25 compatible = "fixed-clock"; [all …]
|
D | rk3399pro-vmarc-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/pwm/pwm.h> 13 compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; 20 vcc3v3_pcie: vcc-pcie-regulator { 21 compatible = "regulator-fixed"; 22 enable-active-high; 24 pinctrl-names = "default"; [all …]
|
D | rk3566-quartz64-b.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 11 model = "Pine64 RK3566 Quartz64-B Board"; 12 compatible = "pine64,quartz64-b", "rockchip,rk3566"; 22 stdout-path = "serial2:1500000n8"; 25 gmac1_clkin: external-gmac1-clock { 26 compatible = "fixed-clock"; [all …]
|
D | rk3568-bpi-r2-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Author: Frank Wunderlich <frank-w@public-files.de> 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/soc/rockchip,vop2.h> 15 model = "Bananapi-R2 Pro (RK3568) DDR4 Board"; 16 compatible = "rockchip,rk3568-bpi-r2pro", "rockchip,rk3568"; 26 stdout-path = "serial2:1500000n8"; [all …]
|
D | rk3399-kobol-helios64.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 13 /dts-v1/; 15 #include "rk3399-opp.dtsi" 19 compatible = "kobol,helios64", "rockchip,rk3399"; 29 avdd_0v9_s0: avdd-0v9-s0 { 30 compatible = "regulator-fixed"; 31 regulator-name = "avdd_0v9_s0"; 32 regulator-always-on; 33 regulator-boot-on; 34 regulator-min-microvolt = <900000>; [all …]
|
D | rk3399-firefly.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/usb/pd.h> 12 #include "rk3399-opp.dtsi" 15 model = "Firefly-RK3399 Board"; 16 compatible = "firefly,firefly-rk3399", "rockchip,rk3399"; [all …]
|
D | rk3399-rock-pi-4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/linux-event-codes.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pwm/pwm.h> 12 #include "rk3399-opp.dtsi" 21 stdout-path = "serial2:1500000n8"; 24 clkin_gmac: external-gmac-clock { 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; [all …]
|
/Linux-v6.1/drivers/pci/controller/ |
D | pcie-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Rockchip AXI PCIe host controller driver 5 * Copyright (c) 2016 Rockchip, Inc. 7 * Author: Shawn Lin <shawn.lin@rock-chips.com> 8 * Wenrui Li <wenrui.li@rock-chips.com> 18 #include <linux/phy/phy.h> 23 #include "pcie-rockchip.h" 25 int rockchip_pcie_parse_dt(struct rockchip_pcie *rockchip) in rockchip_pcie_parse_dt() argument 27 struct device *dev = rockchip->dev; in rockchip_pcie_parse_dt() 29 struct device_node *node = dev->of_node; in rockchip_pcie_parse_dt() [all …]
|
D | pcie-rockchip-host.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Rockchip AXI PCIe host controller driver 5 * Copyright (c) 2016 Rockchip, Inc. 7 * Author: Shawn Lin <shawn.lin@rock-chips.com> 8 * Wenrui Li <wenrui.li@rock-chips.com> 34 #include <linux/phy/phy.h> 40 #include "pcie-rockchip.h" 42 static void rockchip_pcie_enable_bw_int(struct rockchip_pcie *rockchip) in rockchip_pcie_enable_bw_int() argument 46 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS); in rockchip_pcie_enable_bw_int() 48 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS); in rockchip_pcie_enable_bw_int() [all …]
|
/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 …]
|