| /linux/Documentation/devicetree/bindings/phy/ |
| H A 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,rk3528-naneng-combphy 16 - rockchip,rk3562-naneng-combphy 17 - rockchip,rk3568-naneng-combphy 18 - rockchip,rk3576-naneng-combphy [all …]
|
| H A D | rockchip,rk3399-pcie-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/rockchip,rk3399-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip RK3399 PCIE PHY 10 - Heiko Stuebner <heiko@sntech.de> 14 const: rockchip,rk3399-pcie-phy 16 '#phy-cells': 18 - const: 0 20 - const: 1 [all …]
|
| H A 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 16 - rockchip,rk3588-pcie3-phy 25 clock-names: 29 data-lanes: [all …]
|
| /linux/drivers/phy/rockchip/ |
| H A 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 …]
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | rockchip,rk3399-pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/rockchip,rk3399-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip AXI PCIe Endpoint 10 - Shawn Lin <shawn.lin@rock-chips.com> 13 - $ref: /schemas/pci/pci-ep.yaml# 14 - $ref: rockchip,rk3399-pcie-common.yaml# 18 const: rockchip,rk3399-pcie-ep 22 reg-names: [all …]
|
| H A 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 Root Complex 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 Root Complex controller is based on the Synopsys DesignWare 16 PCIe IP and thus inherits all the common properties defined in [all …]
|
| H A D | rockchip-dw-pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DesignWare based PCIe Endpoint controller on Rockchip SoCs 10 - Niklas Cassel <cassel@kernel.org> 13 RK3588 SoC PCIe Endpoint controller is based on the Synopsys DesignWare 14 PCIe IP and thus inherits all the common properties defined in 15 snps,dw-pcie-ep.yaml. 18 - $ref: /schemas/pci/snps,dw-pcie-ep.yaml# [all …]
|
| H A D | rockchip,rk3399-pcie-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/rockchip,rk3399-pcie-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip AXI PCIe Bridge Common Properties 10 - Shawn Lin <shawn.lin@rock-chips.com> 19 clock-names: 21 - const: aclk 22 - const: aclk-perf 23 - const: hclk [all …]
|
| H A D | rockchip-dw-pcie-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DesignWare based PCIe RC/EP 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 Generic properties for the DesignWare based PCIe RC/EP controller on Rockchip 22 - description: AHB clock for PCIe master [all …]
|
| /linux/drivers/pci/controller/dwc/ |
| H A 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> 21 #include <linux/phy/phy.h> 27 #include "pcie-designware.h" 34 #define to_rockchip_pcie(x) dev_get_drvdata((x)->dev) 80 struct phy *phy; member 95 static int rockchip_pcie_readl_apb(struct rockchip_pcie *rockchip, u32 reg) in rockchip_pcie_readl_apb() argument [all …]
|
| /linux/Documentation/devicetree/bindings/soc/rockchip/ |
| H A 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,rk3528-ioc-grf [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3568.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 6 #include "rk356x-base.dtsi" 9 compatible = "rockchip,rk3568"; 11 cpu0_opp_table: opp-table-0 { 12 compatible = "operating-points-v2"; 13 opp-shared; 15 opp-408000000 { 16 opp-hz = /bits/ 64 <408000000>; 17 opp-microvolt = <850000 850000 1150000>; [all …]
|
| H A D | rk3399-base.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 …]
|
| H A D | rk3588-coolpi-cm5-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2023 Rockchip Electronics Co., Ltd. 7 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/soc/rockchip,vop2.h> 11 #include "rk3588-coolpi-cm5.dtsi" 15 compatible = "coolpi,pi-cm5-evb", "coolpi,pi-cm5", "rockchip,rk3588"; 18 compatible = "pwm-backlight"; 19 enable-gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>; 20 pinctrl-names = "default"; [all …]
|
| H A 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"; 22 stdout-path = "serial2:1500000n8"; 25 hdmi-con { 26 compatible = "hdmi-connector"; [all …]
|
| H A D | rk3568-photonicat.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> 12 compatible = "ariaboard,photonicat", "rockchip,rk3568"; 23 compatible = "simple-battery"; 24 device-chemistry = "lithium-ion"; 25 charge-full-design-microamp-hours = <6800000>; 26 energy-full-design-microwatt-hours = <25000000>; [all …]
|
| H A 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"; 21 stdout-path = "serial2:1500000n8"; 24 clkin_gmac: external-gmac-clock { 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; 27 clock-output-names = "clkin_gmac"; [all …]
|
| H A D | rk3568-odroid-m1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 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 = "Hardkernel ODROID-M1"; 16 compatible = "hardkernel,odroid-m1", "rockchip,rk3568"; 29 stdout-path = "serial2:1500000n8"; 32 dc_12v: regulator-dc-12v { [all …]
|
| H A D | rk3566-rock-3c.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,rock-3c", "rockchip,rk3566"; 22 stdout-path = "serial2:1500000n8"; 25 gmac1_clkin: external-gmac1-clock { 26 compatible = "fixed-clock"; [all …]
|
| H A D | rk3568-radxa-e25.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 4 #include "rk3568-radxa-cm3i.dtsi" 8 compatible = "radxa,e25", "radxa,cm3i", "rockchip,rk3568"; 14 pwm-leds { 15 compatible = "pwm-leds-multicolor"; 17 multi-led { 20 max-brightness = <255>; 22 led-red { 27 led-green { [all …]
|
| H A 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> 12 compatible = "pine64,quartz64-a", "rockchip,rk3566"; 21 stdout-path = "serial2:1500000n8"; 24 gmac1_clkin: external-gmac1-clock { 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; [all …]
|
| H A D | rk3568-rock-3b.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/soc/rockchip,vop2.h> 13 compatible = "radxa,rock-3b", "rockchip,rk3568"; 24 stdout-path = "serial2:1500000n8"; 27 hdmi-con { 28 compatible = "hdmi-connector"; [all …]
|
| H A 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> 12 compatible = "pine64,quartz64-b", "rockchip,rk3566"; 22 stdout-path = "serial2:1500000n8"; 25 gmac1_clkin: external-gmac1-clock { 26 compatible = "fixed-clock"; 27 clock-frequency = <125000000>; [all …]
|
| H A D | rk3566-odroid-m1s.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/soc/rockchip,vop2.h> 12 model = "Hardkernel ODROID-M1S"; 13 compatible = "hardkernel,odroid-m1s", "rockchip,rk3566"; 22 stdout-path = "serial2:1500000n8"; 25 hdmi-con { [all …]
|
| /linux/drivers/pci/controller/ |
| H A 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> 25 #include <linux/phy/phy.h> 29 #include "pcie-rockchip.h" 31 static void rockchip_pcie_enable_bw_int(struct rockchip_pcie *rockchip) in rockchip_pcie_enable_bw_int() argument 35 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_CR + PCI_EXP_LNKCTL); in rockchip_pcie_enable_bw_int() 37 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_CR + PCI_EXP_LNKCTL); in rockchip_pcie_enable_bw_int() [all …]
|