Searched refs:tcphy (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/phy/rockchip/ |
| H A D | phy-rockchip-typec.c | 646 static int tcphy_dp_set_power_state(struct rockchip_typec_phy *tcphy, in tcphy_dp_set_power_state() argument 656 reg = readl(tcphy->base + PMA_CMN_CTRL1); in tcphy_dp_set_power_state() 658 dev_err(tcphy->dev, "cmn_ready in the inactive state\n"); in tcphy_dp_set_power_state() 662 reg = readl(tcphy->base + PHY_DP_MODE_CTL); in tcphy_dp_set_power_state() 665 writel(reg, tcphy->base + PHY_DP_MODE_CTL); in tcphy_dp_set_power_state() 667 ret = readl_poll_timeout(tcphy->base + PHY_DP_MODE_CTL, in tcphy_dp_set_power_state() 672 dev_err(tcphy->dev, "failed to enter power state %d\n", state); in tcphy_dp_set_power_state() 716 static void tcphy_set_lane_mapping(struct rockchip_typec_phy *tcphy, u8 mode) in tcphy_set_lane_mapping() argument 735 tcphy->base + PHY_PMA_LANE_CFG); in tcphy_set_lane_mapping() 744 tcphy->base + PHY_PMA_LANE_CFG); in tcphy_set_lane_mapping() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/phy/ |
| H A D | phy-rockchip-typec.c | 117 static void tcphy_cfg_24m(struct rockchip_typec_phy *tcphy) in tcphy_cfg_24m() argument 125 writel(0x830, tcphy->base + PMA_CMN_CTRL1); in tcphy_cfg_24m() 131 writel(0x90, tcphy->base + XCVR_DIAG_LANE_FCM_EN_MGN(i)); in tcphy_cfg_24m() 132 writel(0x960, tcphy->base + TX_RCVDET_EN_TMR(i)); in tcphy_cfg_24m() 133 writel(0x30, tcphy->base + TX_RCVDET_ST_TMR(i)); in tcphy_cfg_24m() 136 rdata = readl(tcphy->base + CMN_DIAG_HSCLK_SEL); in tcphy_cfg_24m() 139 writel(rdata, tcphy->base + CMN_DIAG_HSCLK_SEL); in tcphy_cfg_24m() 142 static void tcphy_cfg_usb3_pll(struct rockchip_typec_phy *tcphy) in tcphy_cfg_usb3_pll() argument 149 tcphy->base + usb3_pll_cfg[i].addr); in tcphy_cfg_usb3_pll() 152 static void tcphy_tx_usb3_cfg_lane(struct rockchip_typec_phy *tcphy, u32 lane) in tcphy_tx_usb3_cfg_lane() argument [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A D | phy-rockchip-typec.txt | 16 "uphy", "uphy-pipe", "uphy-tcphy" 56 reset-names = "uphy", "uphy-pipe", "uphy-tcphy"; 95 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | rk3399.dtsi | 1383 reset-names = "uphy", "uphy-pipe", "uphy-tcphy"; 1416 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
|
| H A D | .rk3399-evb.dtb.dts.tmp | |
| H A D | .rk3399-puma-ddr1600.dtb.dts.tmp | |
| H A D | .rk3399-firefly.dtb.dts.tmp | |
| H A D | .rk3399-puma-ddr1866.dtb.dts.tmp | |
| H A D | .rk3399-puma-ddr1333.dtb.dts.tmp | |
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399.dtsi | 1700 reset-names = "uphy", "uphy-pipe", "uphy-tcphy"; 1725 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
|