Home
last modified time | relevance | path

Searched refs:usbphy (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/openbmc/linux/drivers/phy/sunplus/
H A Dphy-sunplus-usb2.c78 static int update_disc_vol(struct sp_usbphy *usbphy) in update_disc_vol() argument
86 cell = nvmem_cell_get(usbphy->dev, disc_name); in update_disc_vol()
98 set = (set >> usbphy->disc_vol_addr_off) & J_DISC; in update_disc_vol()
104 val = readl(usbphy->phy_regs + CONFIG7); in update_disc_vol()
106 writel(val, usbphy->phy_regs + CONFIG7); in update_disc_vol()
113 struct sp_usbphy *usbphy = phy_get_drvdata(phy); in sp_uphy_init() local
117 ret = clk_prepare_enable(usbphy->phy_clk); in sp_uphy_init()
121 ret = reset_control_deassert(usbphy->rstc); in sp_uphy_init()
126 writel(HIGH_MASK_BITS | 0x4002, usbphy->moon4_regs + UPHY_CONTROL0); in sp_uphy_init()
127 writel(HIGH_MASK_BITS | 0x8747, usbphy->moon4_regs + UPHY_CONTROL1); in sp_uphy_init()
[all …]
/openbmc/qemu/hw/usb/
H A Dimx-usb-phy.c24 VMSTATE_UINT32_ARRAY(usbphy, IMXUSBPHYState, USBPHY_MAX),
31 s->usbphy[USBPHY_PWD] = 0x001e1c00; in imx_usbphy_softreset()
32 s->usbphy[USBPHY_TX] = 0x10060607; in imx_usbphy_softreset()
33 s->usbphy[USBPHY_RX] = 0x00000000; in imx_usbphy_softreset()
34 s->usbphy[USBPHY_CTRL] = 0xc0200000; in imx_usbphy_softreset()
41 s->usbphy[USBPHY_STATUS] = 0x00000000; in imx_usbphy_reset()
42 s->usbphy[USBPHY_DEBUG] = 0x7f180000; in imx_usbphy_reset()
43 s->usbphy[USBPHY_DEBUG0_STATUS] = 0x00000000; in imx_usbphy_reset()
44 s->usbphy[USBPHY_DEBUG1] = 0x00001000; in imx_usbphy_reset()
45 s->usbphy[USBPHY_VERSION] = 0x04020000; in imx_usbphy_reset()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dralink-usb-phy.txt4 - compatible: "ralink,rt3352-usbphy"
5 "mediatek,mt7620-usbphy"
6 "mediatek,mt7628-usbphy"
7 - reg: required for "mediatek,mt7628-usbphy", unused otherwise
15 usbphy: phy {
16 compatible = "mediatek,mt7628-usbphy";
H A Dkeystone-usb-phy.txt4 - compatible: should be "ti,keystone-usbphy".
15 compatible = "ti,keystone-usbphy";
H A Dphy-hi6220-usb.txt11 usb_phy: usbphy {
H A Dphy-pxa-usb.txt10 usb-phy: usbphy@d4207000 {
H A Dpxa1928-usb-phy.txt12 usbphy: phy@7000 {
/openbmc/u-boot/arch/arm/mach-imx/mx7ulp/
H A Dscg.c709 struct usbphy_regs *usbphy = in scg_enable_usb_pll() local
723 if (!(readl(&usbphy->usb1_pll_480_ctrl) & PLL_USB_LOCK_MASK)) { in scg_enable_usb_pll()
724 writel(0x1c00000, &usbphy->usb1_pll_480_ctrl_clr); in scg_enable_usb_pll()
728 writel(0xc00000, &usbphy->usb1_pll_480_ctrl_set); in scg_enable_usb_pll()
732 writel(0x800000, &usbphy->usb1_pll_480_ctrl_set); in scg_enable_usb_pll()
736 writel(0x1400000, &usbphy->usb1_pll_480_ctrl_set); in scg_enable_usb_pll()
740 writel(0xc00000, &usbphy->usb1_pll_480_ctrl_set); in scg_enable_usb_pll()
746 &usbphy->usb1_pll_480_ctrl_set); in scg_enable_usb_pll()
752 writel(PLL_USB_PWR_MASK, &usbphy->usb1_pll_480_ctrl_set); in scg_enable_usb_pll()
756 if (readl(&usbphy->usb1_pll_480_ctrl) & in scg_enable_usb_pll()
[all …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8dxl-ss-conn.dtsi41 fsl,usbphy = <&usbphy2>;
69 usbphy2: usbphy@5b110000 {
70 compatible = "fsl,imx8dxl-usbphy", "fsl,imx7ulp-usbphy";
/openbmc/u-boot/arch/arc/dts/
H A Diot_devkit.dts37 phys = <&usbphy>;
41 usbphy: phy { label
/openbmc/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h616.dtsi515 phys = <&usbphy 0>;
517 extcon = <&usbphy 0>;
521 usbphy: phy@5100400 { label
565 phys = <&usbphy 0>;
578 phys = <&usbphy 0>;
593 phys = <&usbphy 1>;
606 phys = <&usbphy 1>;
621 phys = <&usbphy 2>;
634 phys = <&usbphy 2>;
649 phys = <&usbphy 3>;
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx27-pdk.dts17 usbphy {
22 usbphy0: usbphy@0 {
113 fsl,usbphy = <&usbphy0>;
H A Dimx27-phytec-phycore-rdk.dts51 usbphy {
52 usbphy2: usbphy@2 {
297 fsl,usbphy = <&usbphy2>;
H A Dimx27-phytec-phycore-som.dtsi32 usbphy {
37 usbphy0: usbphy@0 {
308 fsl,usbphy = <&usbphy0>;
H A Dimx6sl.dtsi637 usbphy1: usbphy@20c9000 {
638 compatible = "fsl,imx6sl-usbphy", "fsl,imx23-usbphy";
645 usbphy2: usbphy@20ca000 {
646 compatible = "fsl,imx6sl-usbphy", "fsl,imx23-usbphy";
808 fsl,usbphy = <&usbphy1>;
821 fsl,usbphy = <&usbphy2>;
834 fsl,usbphy = <&usbphynop1>;
H A Dimx6sll.dtsi540 compatible = "fsl,imx6sll-usbphy", "fsl,imx6ul-usbphy",
541 "fsl,imx23-usbphy";
550 compatible = "fsl,imx6sll-usbphy", "fsl,imx6ul-usbphy",
551 "fsl,imx23-usbphy";
684 fsl,usbphy = <&usbphy1>;
699 fsl,usbphy = <&usbphy2>;
/openbmc/linux/drivers/usb/host/
H A Dxhci-tegra.c297 struct usb_phy **usbphy; member
1407 return (tegra->usbphy[index] != NULL); in is_usb2_otg_phy()
1451 struct usb_phy *usbphy) in tegra_xusb_get_usb2_port() argument
1456 if (tegra->usbphy[i] && usbphy == tegra->usbphy[i]) in tegra_xusb_get_usb2_port()
1468 struct usb_phy *usbphy = (struct usb_phy *)data; in tegra_xhci_id_notify() local
1470 dev_dbg(tegra->dev, "%s(): action is %d", __func__, usbphy->last_event); in tegra_xhci_id_notify()
1472 if ((tegra->host_mode && usbphy->last_event == USB_EVENT_ID) || in tegra_xhci_id_notify()
1473 (!tegra->host_mode && usbphy->last_event != USB_EVENT_ID)) { in tegra_xhci_id_notify()
1479 tegra->otg_usb2_port = tegra_xusb_get_usb2_port(tegra, usbphy); in tegra_xhci_id_notify()
1481 tegra->host_mode = (usbphy->last_event == USB_EVENT_ID) ? true : false; in tegra_xhci_id_notify()
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dimx6sll.dtsi534 usbphy1: usbphy@020c9000 {
535 compatible = "fsl,imx6sll-usbphy", "fsl,imx6ul-usbphy",
536 "fsl,imx23-usbphy";
544 usbphy2: usbphy@020ca000 {
545 compatible = "fsl,imx6sll-usbphy", "fsl,imx6ul-usbphy",
546 "fsl,imx23-usbphy";
698 fsl,usbphy = <&usbphy1>;
713 fsl,usbphy = <&usbphy2>;
H A Dsunxi-h3-h5.dtsi249 phys = <&usbphy 0>;
251 extcon = <&usbphy 0>;
255 usbphy: phy@1c19400 { label
312 phys = <&usbphy 1>;
324 phys = <&usbphy 1>;
335 phys = <&usbphy 2>;
347 phys = <&usbphy 2>;
358 phys = <&usbphy 3>;
370 phys = <&usbphy 3>;
H A Dsun50i-a64-pinebook.dts80 phys = <&usbphy 0>;
127 phys = <&usbphy 0>;
290 &usbphy {
H A Dimx6sl.dtsi623 usbphy1: usbphy@020c9000 {
624 compatible = "fsl,imx6sl-usbphy", "fsl,imx23-usbphy";
631 usbphy2: usbphy@020ca000 {
632 compatible = "fsl,imx6sl-usbphy", "fsl,imx23-usbphy";
766 fsl,usbphy = <&usbphy1>;
779 fsl,usbphy = <&usbphy2>;
/openbmc/linux/arch/arm/boot/dts/allwinner/
H A Dsunxi-h3-h5.dtsi260 phys = <&usbphy 0>;
262 extcon = <&usbphy 0>;
267 usbphy: phy@1c19400 { label
305 phys = <&usbphy 0>;
317 phys = <&usbphy 0>;
328 phys = <&usbphy 1>;
340 phys = <&usbphy 1>;
351 phys = <&usbphy 2>;
363 phys = <&usbphy 2>;
374 phys = <&usbphy 3>;
[all …]
/openbmc/linux/drivers/usb/gadget/udc/
H A Dtegra-xudc.c516 struct usb_phy **usbphy; member
785 struct usb_phy *usbphy) in tegra_xudc_get_phy_index() argument
790 if (xudc->usbphy[i] && usbphy == xudc->usbphy[i]) in tegra_xudc_get_phy_index()
799 struct usb_phy *usbphy) in tegra_xudc_update_data_role() argument
803 if ((xudc->device_mode && usbphy->last_event == USB_EVENT_VBUS) || in tegra_xudc_update_data_role()
804 (!xudc->device_mode && usbphy->last_event != USB_EVENT_VBUS)) { in tegra_xudc_update_data_role()
810 xudc->device_mode = (usbphy->last_event == USB_EVENT_VBUS) ? true : in tegra_xudc_update_data_role()
813 phy_index = tegra_xudc_get_phy_index(xudc, usbphy); in tegra_xudc_update_data_role()
820 xudc->curr_usbphy = usbphy; in tegra_xudc_update_data_role()
830 struct usb_phy *usbphy = (struct usb_phy *)data; in tegra_xudc_vbus_notify() local
[all …]
/openbmc/qemu/include/hw/usb/
H A Dimx-usb-phy.h51 uint32_t usbphy[USBPHY_MAX]; member
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm21664-garnet.dts45 &usbphy {

12345678910>>...18