| /OK3568_Linux_fs/kernel/drivers/phy/qualcomm/ |
| H A D | phy-qcom-usb-hs.c | 45 struct qcom_usb_hs_phy *uphy = phy_get_drvdata(phy); in qcom_usb_hs_phy_set_mode() local 49 if (!uphy->vbus_edev) { in qcom_usb_hs_phy_set_mode() 63 ret = ulpi_write(uphy->ulpi, ULPI_USB_INT_EN_RISE, val); in qcom_usb_hs_phy_set_mode() 66 ret = ulpi_write(uphy->ulpi, ULPI_USB_INT_EN_FALL, val); in qcom_usb_hs_phy_set_mode() 80 ret = ulpi_write(uphy->ulpi, ULPI_SET(ULPI_PWR_CLK_MNG_REG), in qcom_usb_hs_phy_set_mode() 84 ret = ulpi_write(uphy->ulpi, addr, ULPI_MISC_A_VBUSVLDEXTSEL); in qcom_usb_hs_phy_set_mode() 94 struct qcom_usb_hs_phy *uphy; in qcom_usb_hs_phy_vbus_notifier() local 97 uphy = container_of(nb, struct qcom_usb_hs_phy, vbus_notify); in qcom_usb_hs_phy_vbus_notifier() 104 return ulpi_write(uphy->ulpi, addr, ULPI_MISC_A_VBUSVLDEXT); in qcom_usb_hs_phy_vbus_notifier() 109 struct qcom_usb_hs_phy *uphy = phy_get_drvdata(phy); in qcom_usb_hs_phy_power_on() local [all …]
|
| H A D | phy-qcom-usb-hsic.c | 28 struct qcom_usb_hsic_phy *uphy = phy_get_drvdata(phy); in qcom_usb_hsic_phy_power_on() local 29 struct ulpi *ulpi = uphy->ulpi; in qcom_usb_hsic_phy_power_on() 33 ret = clk_prepare_enable(uphy->phy_clk); in qcom_usb_hsic_phy_power_on() 37 ret = clk_prepare_enable(uphy->cal_clk); in qcom_usb_hsic_phy_power_on() 41 ret = clk_prepare_enable(uphy->cal_sleep_clk); in qcom_usb_hsic_phy_power_on() 56 pins_default = pinctrl_lookup_state(uphy->pctl, PINCTRL_STATE_DEFAULT); in qcom_usb_hsic_phy_power_on() 62 ret = pinctrl_select_state(uphy->pctl, pins_default); in qcom_usb_hsic_phy_power_on() 79 clk_disable_unprepare(uphy->cal_sleep_clk); in qcom_usb_hsic_phy_power_on() 81 clk_disable_unprepare(uphy->cal_clk); in qcom_usb_hsic_phy_power_on() 83 clk_disable_unprepare(uphy->phy_clk); in qcom_usb_hsic_phy_power_on() [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/kernel/drivers/usb/dwc2/ |
| H A D | platform.c | 136 if (hsotg->uphy) { in __dwc2_lowlevel_phy_enable() 137 ret = usb_phy_init(hsotg->uphy); in __dwc2_lowlevel_phy_enable() 170 if (hsotg->uphy) { in __dwc2_lowlevel_phy_disable() 171 usb_phy_shutdown(hsotg->uphy); in __dwc2_lowlevel_phy_disable() 314 hsotg->uphy = devm_usb_get_phy(hsotg->dev, USB_PHY_TYPE_USB2); in dwc2_lowlevel_hw_init() 315 if (IS_ERR(hsotg->uphy)) { in dwc2_lowlevel_hw_init() 316 ret = PTR_ERR(hsotg->uphy); in dwc2_lowlevel_hw_init() 320 hsotg->uphy = NULL; in dwc2_lowlevel_hw_init()
|
| H A D | core_intr.c | 532 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_handle_usb_suspend_intr() 533 usb_phy_set_suspend(hsotg->uphy, true); in dwc2_handle_usb_suspend_intr()
|
| H A D | hcd.c | 4389 if (!IS_ERR_OR_NULL(hsotg->uphy)) { in _dwc2_hcd_suspend() 4391 usb_phy_set_suspend(hsotg->uphy, true); in _dwc2_hcd_suspend() 4428 if (!IS_ERR_OR_NULL(hsotg->uphy)) { in _dwc2_hcd_resume() 4430 usb_phy_set_suspend(hsotg->uphy, false); in _dwc2_hcd_resume() 5250 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hcd_init() 5251 otg_set_host(hsotg->uphy->otg, &hcd->self); in dwc2_hcd_init() 5315 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hcd_remove() 5316 otg_set_host(hsotg->uphy->otg, NULL); in dwc2_hcd_remove()
|
| H A D | gadget.c | 4575 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hsotg_udc_start() 4576 otg_set_peripheral(hsotg->uphy->otg, &hsotg->gadget); in dwc2_hsotg_udc_start() 4628 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hsotg_udc_stop() 4629 otg_set_peripheral(hsotg->uphy->otg, NULL); in dwc2_hsotg_udc_stop() 4757 if (IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hsotg_vbus_draw() 4759 return usb_phy_set_power(hsotg->uphy, mA); in dwc2_hsotg_vbus_draw()
|
| H A D | core.h | 1073 struct usb_phy *uphy; member
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | rk3399.dtsi | 1383 reset-names = "uphy", "uphy-pipe", "uphy-tcphy"; 1391 rockchip,uphy-dp-sel = <0x6268 19 19>; 1416 reset-names = "uphy", "uphy-pipe", "uphy-tcphy"; 1424 rockchip,uphy-dp-sel = <0x6268 3 19>;
|
| 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";
|