Commit graph

5 commits

Author SHA1 Message Date
Amit Sunil Dhamne
7f688ffd28 UsbGadget: Update SDP enum timeout when gadget is pulled up
Indicate to the kernel that the usb gadget is pulled up
by writing to `update_sdp_enum_timeout` sysfs node. Write
to this node will inform the kernel that it can lower the SDP
timeout alarm value which is used to detect an SDP port
vs a DCP.

Bug:356685367
Test: Check `update_sdp_enum_timeout` is written into after usb
      gadget is pulled up. Verify that the alarm timeout lowers.
Flag: EXEMPT bugfix
Change-Id: Id3ae7e7a20b236cec6604414a7f81860e868bdd0
(ported from commit d8e2a02998fc1db9be00dab69a213378fb3caede)
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2024-08-20 18:36:29 -07:00
Roy Luo
9236e194c0 Use absolute path for udc device
Avoid search in /sys/class/udc directory

Bug: 339241080
Test: tested on zumapro
Flag: EXEMPT bugfix
Change-Id: Iad74cae0d6ad6887d79d705dc8478f1b44532503
2024-06-27 00:08:41 +00:00
Chien Kun Niu
57d671706b usb: change CPU to big core 7
Change the big core number from 8 to 7 for change platform.

Bug: 316995755

Change-Id: Iec0fe10621296d557ae66da76318a6339ea16d44
Signed-off-by: Chien Kun Niu <rickyniu@google.com>
2024-03-27 08:25:24 +00:00
RD Babiera
f1140a12b1 usb: Runtime search the i2c path
The paths of sysfs nodes are different across kernel versions
and i2c bus assignement. Runtime search the correct ones.

Test: Manual test on device. Confirm that file reads related to
      file path error do not trigger error.
Bug: 318820040
Change-Id: I1217fcea012865cebe12c935917f12903003fd5b
(ported from commit 0b768c8fbe1e59a4b9efa7b5f7b6a017a81d46fb)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2024-01-30 17:56:51 +00:00
Robin Peng
dec234f475 init zumapro from zuma sha 4daedb8feb4d4
Bug: 272725898
Change-Id: I1e1ab5d15e7f4b2b59e28f2e52e07cd7e12f25b3
2023-03-31 15:10:16 +00:00