Messages in this thread | | | Date | Thu, 27 Jan 2022 17:34:24 +0530 | Subject | Re: [PATCH V4 3/6] soc: qcom: eud: Add driver support for Embedded USB Debugger(EUD) | From | Souradeep Chowdhury <> |
| |
On 1/26/2022 3:00 PM, Greg KH wrote: > On Fri, Jan 21, 2022 at 07:23:48PM +0530, Souradeep Chowdhury wrote: >> Add support for control peripheral of EUD (Embedded USB Debugger) to >> listen to events such as USB attach/detach, pet EUD to indicate software >> is functional.Reusing the platform device kobj, sysfs entry 'enable' is >> created to enable or disable EUD. >> >> To enable the eud the following needs to be done >> echo 1 > /sys/bus/platform/.../enable >> >> To disable eud, following is the command >> echo 0 > /sys/bus/platform/.../enable >> >> Signed-off-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com> >> --- >> Documentation/ABI/testing/sysfs-driver-eud | 9 ++ >> drivers/soc/qcom/Kconfig | 10 ++ >> drivers/soc/qcom/Makefile | 1 + >> drivers/soc/qcom/qcom_eud.c | 250 +++++++++++++++++++++++++++++ > This should go under drivers/usb/ as it's creating a USB generic > user/kernel api that all future devices of this type must follow. Ack. Will move this to drivers/usb. > > thanks, > > greg k-h
| |