Re: [PATCH V4 3/6] soc: qcom: eud: Add driver support for Embedded USB Debugger(EUD)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxx>
---
  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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux