/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/drivers/phy/rockchip/ |
H A 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> 16 #include <linux/phy/phy.h> 55 int (*init_usb_uart)(struct regmap *grf, 73 struct phy *phy; member 79 static int rockchip_usb_phy_power(struct rockchip_usb_phy *phy, in rockchip_usb_phy_power() argument 84 return regmap_write(phy->base->reg_base, phy->reg_offset, val); in rockchip_usb_phy_power() 95 struct rockchip_usb_phy *phy = container_of(hw, in rockchip_usb_phy480m_disable() local [all …]
|
H A 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 …]
|
H A 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> 21 #include <linux/phy/phy.h> 50 * enum usb_chg_state - Different states involved in USB charger detection. 89 * struct rockchip_chg_det_reg - usb charger detect registers 115 * struct rockchip_usb2phy_port_cfg - usb-phy port configuration. 116 * @phy_sus: phy suspend register. 169 * struct rockchip_usb2phy_cfg - usb-phy configuration. [all …]
|
H A 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> 15 #include <linux/phy/phy.h> 22 * The higher 16-bit of this register is used for write protection 67 struct phy *phy; member 80 phys[inst->index]); in to_pcie_phy() 83 static struct phy *rockchip_pcie_phy_of_xlate(struct device *dev, in rockchip_pcie_phy_of_xlate() 88 if (args->args_count == 0) in rockchip_pcie_phy_of_xlate() 89 return rk_phy->phys[0].phy; in rockchip_pcie_phy_of_xlate() [all …]
|
H A 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 …]
|
H A 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> 24 #include <linux/phy/phy.h> 25 #include <linux/phy/phy-mipi-dphy.h> 64 "dphy-ref", 65 "dphy-cfg", 66 "grf", 110 { .offset = _offset, .mask = BIT(_width) - 1, .shift = _shift, } [all …]
|
/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,rk3562-naneng-combphy 16 - rockchip,rk3568-naneng-combphy 17 - rockchip,rk3576-naneng-combphy 18 - rockchip,rk3588-naneng-combphy [all …]
|
H A D | phy-rockchip-usbdp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-rockchip-usbdp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip USBDP Combo PHY with Samsung IP block 10 - Frank Wang <frank.wang@rock-chips.com> 11 - Zhang Yubing <yubing.zhang@rock-chips.com> 16 - rockchip,rk3576-usbdp-phy 17 - rockchip,rk3588-usbdp-phy 22 "#phy-cells": [all …]
|
H A 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 which 19 - rockchip,px30-csi-dphy 20 - rockchip,rk1808-csi-dphy 21 - rockchip,rk3326-csi-dphy [all …]
|
H A 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 …]
|
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 …]
|
H A D | rockchip,rk3399-typec-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/rockchip,rk3399-typec-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip Type-C PHY 10 - Heiko Stuebner <heiko@sntech.de> 14 const: rockchip,rk3399-typec-phy 22 clock-names: 24 - const: tcpdcore 25 - const: tcpdphy-ref [all …]
|
/linux/Documentation/devicetree/bindings/display/rockchip/ |
H A D | rockchip,rk3399-cdn-dp.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,rk3399-cdn-dp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Yan <andy.yan@rock-chip.com> 11 - Heiko Stuebner <heiko@sntech.de> 12 - Sandy Huang <hjc@rock-chips.com> 15 - $ref: /schemas/sound/dai-common.yaml# 20 - const: rockchip,rk3399-cdn-dp 27 - description: DP core work clock [all …]
|
H A 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# 18 - $ref: /schemas/sound/dai-common.yaml# 23 - rockchip,rk3228-dw-hdmi 24 - rockchip,rk3288-dw-hdmi [all …]
|
H A D | rockchip,dw-mipi-dsi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,dw-mipi-dsi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sandy Huang <hjc@rock-chips.com> 11 - Heiko Stuebner <heiko@sntech.de> 16 - enum: 17 - rockchip,px30-mipi-dsi 18 - rockchip,rk3128-mipi-dsi 19 - rockchip,rk3288-mipi-dsi [all …]
|
H A D | rockchip,rk3588-mipi-dsi2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,rk3588-mipi-dsi2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,rk3588-mipi-dsi2 26 clock-names: 28 - const: pclk 29 - const: sys 31 rockchip,grf: [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588-extra.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "rk3588-base.dtsi" 7 #include "rk3588-extra-pinctrl.dtsi" 10 hdmi1_sound: hdmi1-sound { 11 compatible = "simple-audio-card"; 12 simple-audio-card,format = "i2s"; 13 simple-audio-card,mclk-fs = <128>; 14 simple-audio-card,name = "hdmi1"; 17 simple-audio-card,codec { 18 sound-dai = <&hdmi1>; [all …]
|
H A D | rk3568.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "rk356x-base.dtsi" 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>; 18 clock-latency-ns = <40000>; 21 opp-600000000 { [all …]
|
H A D | rk356x-base.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 …]
|
H A D | rk3576.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rockchip,rk3576-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/rockchip,rk3576-power.h> 12 #include <dt-bindings/reset/rockchip,rk3576-cru.h> 13 #include <dt-bindings/soc/rockchip,boot-mode.h> 18 interrupt-parent = <&gic>; [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A 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 …]
|
H A 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/drivers/net/ethernet/stmicro/stmmac/ |
H A 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> 90 struct regmap *grf; member 103 val = rsd->rgmii_10; in rk_set_reg_speed() 105 val = rsd->rgmii_100; in rk_set_reg_speed() 107 val = rsd->rgmii_1000; in rk_set_reg_speed() 112 return -EINVAL; in rk_set_reg_speed() [all …]
|
/linux/arch/arm/boot/dts/rockchip/ |
H A 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>; 37 compatible = "fixed-clock"; 38 clock-frequency = <24000000>; 39 #clock-cells = <0>; [all …]
|