/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb-drd.yaml | 18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be 32 hnp-disable: 34 Tells OTG controllers we want to disable OTG HNP. Normally HNP is the
|
H A D | dwc2.yaml | 136 hnp-disable: true
|
/openbmc/linux/Documentation/ABI/stable/ |
H A D | sysfs-class-udc | 6 Indicates if an OTG A-Host supports HNP at an alternate port. 14 Indicates if an OTG A-Host supports HNP at this port. 22 Indicates if an OTG A-Host enabled HNP support. 39 but HNP was used to switch roles.
|
/openbmc/linux/Documentation/usb/ |
H A D | chipidea.rst | 5 1. How to test OTG FSM(HNP and SRP) 8 To show how to demo OTG HNP and SRP functions via sys input files 57 or, by introducing HNP polling, B-Host can know when A-peripheral wishes to
|
/openbmc/linux/Documentation/driver-api/usb/ |
H A D | gadget.rst | 157 new OTG protocols (HNP and SRP). Roles switch (host to peripheral, or 158 vice versa) using HNP during USB suspend processing, and SRP can be 272 configuration may also involve reporting HNP capabilities through a 298 only the HNP-related differences are particularly visible to driver 300 request, and the option to invoke HNP during some suspend callbacks. 473 exposed in new gadget attributes such as ``b_hnp_enable`` flag. HNP 479 - On the host side, USB device drivers need to be taught to trigger HNP 510 and respond appropriately to HNP or SRP protocols.
|
/openbmc/linux/include/linux/usb/ |
H A D | otg.h | 40 /* start or continue HNP role switch */ 49 * @hnp_support: Indicates if the device supports HNP.
|
H A D | gadget.h | 364 * is in the Mini-AB jack, and HNP has been used to switch roles 367 * supports HNP at this port. 369 * only supports HNP on a different root port. 371 * enabled HNP support. 373 * in peripheral mode can support HNP polling.
|
/openbmc/linux/drivers/usb/common/ |
H A D | usb-otg-fsm.c | 135 "no usb dev connected, can't start HNP polling\n"); in otg_hnp_polling_work() 157 /* Continue HNP polling */ in otg_hnp_polling_work() 191 * controller driver, otherwise, hnp polling is not started. in otg_start_hnp_polling() 283 * When HNP is triggered while a_bus_req = 0, a_host will in otg_set_state()
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_core.c | 334 * Handles OTG hnp timeouts, such as b_ase0_brst 344 dev_dbg(musb->controller, "HNP: b_wait_acon timeout; back to b_peripheral\n"); in musb_otg_timer_func() 351 dev_dbg(musb->controller, "HNP: %s timeout\n", in musb_otg_timer_func() 357 dev_dbg(musb->controller, "HNP: Unhandled mode %s\n", in musb_otg_timer_func() 365 * Stops the HNP transition. Caller must take care of locking. 373 dev_dbg(musb->controller, "HNP: stop from %s\n", otg_state_string(musb->xceiv->state)); in musb_hnp_stop() 378 dev_dbg(musb->controller, "HNP: back to %s\n", in musb_hnp_stop() 382 dev_dbg(musb->controller, "HNP: Disabling HR\n"); in musb_hnp_stop() 392 dev_dbg(musb->controller, "HNP: Stopping in unknown state %s\n", in musb_hnp_stop() 397 * When returning to A state after HNP, avoid hub_port_rebounce(), in musb_hnp_stop() [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx7ulp-com.dts | 34 hnp-disable;
|
H A D | imx7d-mba7.dts | 109 hnp-disable;
|
H A D | imx7ulp-evk.dts | 73 hnp-disable;
|
H A D | imx6ulz-bsh-smm-m2.dts | 60 hnp-disable;
|
H A D | imx6q-var-dt6customboard.dts | 227 hnp-disable;
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | core_intr.c | 106 * If not B_HOST and Device HNP still set, HNP did in dwc2_handle_otg_intr() 147 * Print statements during the HNP interrupt handling in dwc2_handle_otg_intr() 189 dev_dbg(hsotg->dev, "HNP Failed\n"); in dwc2_handle_otg_intr() 494 * For HNP the USB Suspend interrupt signals the change from "a_peripheral"
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | imx6ul-phycore-segin.dts | 47 hnp-disable;
|
/openbmc/linux/drivers/usb/musb/ |
H A D | musb_core.c | 594 * Handles OTG hnp timeouts, such as b_ase0_brst 605 "HNP: b_wait_acon timeout; back to b_peripheral"); in musb_otg_timer_func() 612 musb_dbg(musb, "HNP: %s timeout", in musb_otg_timer_func() 618 musb_dbg(musb, "HNP: Unhandled mode %s", in musb_otg_timer_func() 625 * Stops the HNP transition. Caller must take care of locking. 633 musb_dbg(musb, "HNP: stop from %s", musb_otg_state_string(musb)); in musb_hnp_stop() 638 musb_dbg(musb, "HNP: back to %s", musb_otg_state_string(musb)); in musb_hnp_stop() 641 musb_dbg(musb, "HNP: Disabling HR"); in musb_hnp_stop() 652 musb_dbg(musb, "HNP: Stopping in unknown state %s", in musb_hnp_stop() 657 * When returning to A state after HNP, avoid hub_port_rebounce(), in musb_hnp_stop() [all …]
|
H A D | musb_virthub.c | 128 musb_dbg(musb, "HNP: Returning from HNP; no hub reset from b_idle"); in musb_port_reset()
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8dxl-evk.dts | 320 hnp-disable; 337 hnp-disable;
|
H A D | imx8mp-venice-gw71xx.dtsi | 129 hnp-disable;
|
H A D | imx8mn-var-som-symphony.dts | 167 hnp-disable;
|
H A D | imx8mm-var-som-symphony.dts | 169 hnp-disable;
|
/openbmc/linux/drivers/usb/core/ |
H A D | otg_productlist.h | 45 /* HNP test device is _never_ targeted (see OTG spec 6.6.6) */ in is_targeted()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | dwc2.c | 48 * The hnp/srp capability must be disabled if the platform 49 * does't support hnp/srp. Otherwise the force mode can't work. 274 /* Clear Host Set HNP Enable in the OTG Control Register */ in dwc_otg_core_host_init() 370 * Also do this on HNP Dev/Host mode switches (done in dev_init in dwc_otg_core_init() 1315 priv->hnp_srp_disable = dev_read_bool(dev, "hnp-srp-disable"); in dwc2_usb_ofdata_to_platdata()
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | Kconfig | 66 bool "HNP Test Device" 72 the "B-Peripheral" role, that device will use HNP to let this
|