| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/rockchip/ |
| D | grf.txt | 1 * Rockchip General Register Files (GRF) 6 From RK3368 SoCs, the GRF is divided into two sections, 7 - GRF, used for general non-secure system, 8 - SGRF, used for general secure system, 9 - PMUGRF, used for always on 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, 15 - SGRF, used for general secure system, 16 - DETECTGRF, used for audio codec system, [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/ |
| 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 Device Tree Bindings 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-pcie-phy.txt | 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" 14 - #phy-cells: must be 0 16 Required properties for per-lane PHY mode (preferred): 17 - #phy-cells: must be 1 [all …]
|
| D | rockchip-emmc-phy.txt | 2 ----------------------- 5 - compatible: rockchip,rk3399-emmc-phy 6 - #phy-cells: must be 0 7 - reg: PHY register address offset and length in "general 11 - clock-names: Should contain "emmcclk". Although this is listed as optional 14 See ../clock/clock-bindings.txt for details. 15 - clocks: Should have a phandle to the card clock exported by the SDHCI driver. 16 - drive-impedance-ohm: Specifies the drive impedance in Ohm. 23 grf: syscon@ff770000 { 24 compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd"; [all …]
|
| D | phy-rockchip-inno-usb2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-rockchip-inno-usb2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,px30-usb2phy 16 - rockchip,rk3228-usb2phy 17 - rockchip,rk3328-usb2phy 18 - rockchip,rk3366-usb2phy 19 - rockchip,rk3399-usb2phy [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | rockchip,rk3399-cru.txt | 1 * Rockchip RK3399 Clock and Reset Unit 3 The RK3399 clock controller generates and supplies clock to various 9 - compatible: PMU for CRU should be "rockchip,rk3399-pmucru" 10 - compatible: CRU should be "rockchip,rk3399-cru" 11 - reg: physical base address of the controller and length of memory mapped 13 - #clock-cells: should be 1. 14 - #reset-cells: should be 1. 18 - rockchip,grf: phandle to the syscon managing the "general register files". 19 It is used for GRF muxes, if missing any muxes present in the GRF will not 24 preprocessor macros in the dt-bindings/clock/rk3399-cru.h headers and can be [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/rockchip/ |
| D | cdn-dp-rockchip.txt | 1 Rockchip RK3399 specific extensions to the cdn Display Port 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> [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 - reg: Represent the physical address range of the controller. 12 - interrupts: Represent the controller's interrupt to the CPU(s). 13 - clocks, clock-names: Phandles to the controller's pll reference 15 For RK3399, a phy config clock (phy_cfg) and a grf clock(grf) [all …]
|
| D | dw_hdmi-rockchip.txt | 9 following device-specific properties. 14 - compatible: should be one of the following: 15 "rockchip,rk3228-dw-hdmi" 16 "rockchip,rk3288-dw-hdmi" 17 "rockchip,rk3328-dw-hdmi" 18 "rockchip,rk3399-dw-hdmi" 19 - reg: See dw_hdmi.txt. 20 - reg-io-width: See dw_hdmi.txt. Shall be 4. 21 - interrupts: HDMI interrupt number 22 - clocks: See dw_hdmi.txt. [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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-rk3x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-rk3x.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - $ref: /schemas/i2c/i2c-controller.yaml# 17 - Heiko Stuebner <heiko@sntech.de> 23 - const: rockchip,rv1108-i2c 24 - const: rockchip,rk3066-i2c 25 - const: rockchip,rk3188-i2c 26 - const: rockchip,rk3228-i2c [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/ |
| D | rockchip-io-domain.txt | 2 ------------------------------------- 9 - If the regulator hooked up to a pin like SDMMC0_VDD is 3.3V then 14 general register file (GRF) in sync with the actual value of a voltage 18 - any logic for deciding what voltage we should set regulators to 19 - any logic for deciding whether regulators (or internal SoC blocks) 33 - compatible: should be one of: 34 - "rockchip,px30-io-voltage-domain" for px30 35 - "rockchip,px30-pmu-io-voltage-domain" for px30 pmu-domains 36 - "rockchip,rk3188-io-voltage-domain" for rk3188 37 - "rockchip,rk3228-io-voltage-domain" for rk3228 [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| D | rk3399.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 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"; 17 interrupt-parent = <&gic>; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | rockchip-dwmac.txt | 6 - compatible: should be "rockchip,<name>-gamc" 7 "rockchip,px30-gmac": found on PX30 SoCs 8 "rockchip,rk3128-gmac": found on RK312x SoCs 9 "rockchip,rk3228-gmac": found on RK322x SoCs 10 "rockchip,rk3288-gmac": found on RK3288 SoCs 11 "rockchip,rk3328-gmac": found on RK3328 SoCs 12 "rockchip,rk3366-gmac": found on RK3366 SoCs 13 "rockchip,rk3368-gmac": found on RK3368 SoCs 14 "rockchip,rk3399-gmac": found on RK3399 SoCs 15 "rockchip,rv1108-gmac": found on RV1108 SoCs [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | rockchip,pinctrl.txt | 8 Please refer to pinctrl-bindings.txt in this directory for details of the 16 settings such as pull-up, etc. 19 defined as gpio sub-nodes of the pinmux controller. 22 - compatible: should be 23 "rockchip,px30-pinctrl": for Rockchip PX30 24 "rockchip,rv1108-pinctrl": for Rockchip RV1108 25 "rockchip,rk2928-pinctrl": for Rockchip RK2928 26 "rockchip,rk3066a-pinctrl": for Rockchip RK3066a 27 "rockchip,rk3066b-pinctrl": for Rockchip RK3066b 28 "rockchip,rk3128-pinctrl": for Rockchip RK3128 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| D | rockchip,dwc3.txt | 4 - compatible: should contain "rockchip,rk3399-dwc3" for rk3399 SoC 5 - clocks: A list of phandle + clock-specifier pairs for the 6 clocks listed in clock-names 7 - clock-names: Should contain the following: 12 "grf_clk" Controller grf clk 19 Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml - USB2.0 PHY 20 Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt - Type-C PHY 25 compatible = "rockchip,rk3399-dwc3"; 28 clock-names = "ref_clk", "suspend_clk", 30 #address-cells = <2>; [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/rockchip/ |
| D | grf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 * clock-framework and the mmc controllers making them unreliable. 113 .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 [all …]
|
| D | io-domain.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 * - If the voltage on a rail is above the "1.8" voltage (1.98V) we'll tell the 28 * - If the voltage on a rail is above the "3.3" voltage (3.6V) we'll consider 74 struct regmap *grf; member 82 struct rockchip_iodomain *iod = supply->iod; in rockchip_iodomain_write() 88 val <<= supply->idx; in rockchip_iodomain_write() 90 /* apply hiword-mask */ in rockchip_iodomain_write() 91 val |= (BIT(supply->idx) << 16); in rockchip_iodomain_write() 93 ret = regmap_write(iod->grf, iod->soc_data->grf_offset, val); in rockchip_iodomain_write() 95 dev_err(iod->dev, "Couldn't write to GRF\n"); in rockchip_iodomain_write() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | rockchip-spdif.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip-spdif.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Heiko Stuebner <heiko@sntech.de> 20 - const: rockchip,rk3066-spdif 21 - const: rockchip,rk3228-spdif 22 - const: rockchip,rk3328-spdif 23 - const: rockchip,rk3366-spdif 24 - const: rockchip,rk3368-spdif [all …]
|
| D | rockchip-i2s.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip-i2s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The I2S bus (Inter-IC sound bus) is a serial link for digital 14 - Heiko Stuebner <heiko@sntech.de> 19 - const: rockchip,rk3066-i2s 20 - items: 21 - enum: 22 - rockchip,px30-i2s [all …]
|
| /kernel/linux/linux-5.10/drivers/phy/rockchip/ |
| 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> 26 #include <linux/phy/phy-mipi-dphy.h> 65 "dphy-ref", 66 "dphy-cfg", 67 "grf", 99 /* below is for rk3399 only */ 111 { .offset = _offset, .mask = BIT(_width) - 1, .shift = _shift, } [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/ |
| D | rockchip-thermal.txt | 4 - compatible : should be "rockchip,<name>-tsadc" 5 "rockchip,px30-tsadc": found on PX30 SoCs 6 "rockchip,rv1108-tsadc": found on RV1108 SoCs 7 "rockchip,rk3228-tsadc": found on RK3228 SoCs 8 "rockchip,rk3288-tsadc": found on RK3288 SoCs 9 "rockchip,rk3328-tsadc": found on RK3328 SoCs 10 "rockchip,rk3368-tsadc": found on RK3368 SoCs 11 "rockchip,rk3399-tsadc": found on RK3399 SoCs 12 - reg : physical base address of the controller and length of memory mapped 14 - interrupts : The interrupt number to the cpu. The interrupt specifier format [all …]
|
| /kernel/linux/linux-5.10/sound/soc/rockchip/ |
| D | rockchip_spdif.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * ALSA SoC Audio Layer - Rockchip I2S Controller driver 7 * Author: Jianqun <jay.xu@rock-chips.com> 45 { .compatible = "rockchip,rk3066-spdif", 47 { .compatible = "rockchip,rk3188-spdif", 49 { .compatible = "rockchip,rk3228-spdif", 51 { .compatible = "rockchip,rk3288-spdif", 53 { .compatible = "rockchip,rk3328-spdif", 55 { .compatible = "rockchip,rk3366-spdif", 57 { .compatible = "rockchip,rk3368-spdif", [all …]
|
| /kernel/linux/linux-5.10/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> 65 struct regmap *grf; member 88 struct device *dev = &bsp_priv->pdev->dev; in px30_set_to_rmii() 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() 101 struct device *dev = &bsp_priv->pdev->dev; in px30_set_rmii_speed() [all …]
|