Commit graph

11 commits

Author SHA1 Message Date
Ray Chi
a872edb528 tune usb irq (dwc3) based on usb function
This among other things greatly increases tethering performance.

Bug: 202103325
Test: tput improved
(synced from commit f9e02b98b8243d2db566df16d4e763250ac9efaf)

Change-Id: I19b22d748352eb04bc27d85c0f69fa2571b63d53
2022-01-25 03:28:35 +00:00
Ray Chi
8792d6d7a2 usb: create new functions for uwb
uwb needs ACM port, create this function combination.

Bug: 209568585
Test: ACM port can be enabled.
Change-Id: I06107cc6ee42fc6b622a1aff25cbdd54b479ea0f
2021-12-08 06:16:46 +00:00
Ray Chi
bdd4728a17 usb: modify the permission of USB gadget hal
Currently, USB gadgdet hal couldn't access configfs nodes during
device booting. The permission of configfs nodes are root as default,
and they are modified to system by init process. Therefore, USB
gadget HAL can't access them before permission changes completely.

The patch will modify permission of USB gadget hal so that it can
access configfs nodes without permission change.

Bug: 204378488
Test: check connection time
Change-Id: I97f5446a51183225227744043e4a6e0088fecf0b
2021-11-18 17:06:56 +08:00
Albert Wang
3773ce8687 usb: support both rndis and ncm, but not rndis + ncm
A cherry pick from 49a13bf for gs101

Bug: 199252036
Test: Boot to home and usb hal bring up normally
Change-Id: Ia4e344aa9cf7762b71cbfe35ff9cbcccb4474b11
2021-09-24 03:44:56 +00:00
Albert Wang
9b1babb956 Correct i2c path for contaminant protection detection and status
Bug: 189703449
Test: read contaminant status normally
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iff31b2846cec2e960e5c5db83371ca3e983a4a3b
2021-06-03 15:29:29 +08:00
Albert Wang
afefe3a71e Correct the new udc path
Bug: 189703449
Test: access attributes correctly
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I2223666cf05ea69ea531991bedcf1de62686f2e7
2021-05-31 11:20:27 +08:00
Ray Chi
ef2cbbe6c3 Revert "gs201: usb: add state of usb extcon to monitorffs"
This reverts commit 72ef08cafa11ab10bc31105c70836cef92e1f7b4.

Reason for revert: using alternate method for original behavior change
Bug: 187261232
Test: build pass

Change-Id: I5643a4109f6e4a64d167ed9ee1ce0bc3492cea42
2021-05-24 20:29:07 +08:00
Hyunki Koo
f398577b5c change name 11110000.usb to 11210000.usb
Bug: 188672439
Signed-off-by: Pat Tjin <pattjin@google.com>
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Change-Id: I61c874ab37c7a1f9288843dbbba2781dee7ecf1e
2021-05-21 14:58:56 -07:00
Pat Tjin
89841bf57a s/gs101/gs201
do a global substitution

Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ic79e8983d04615be7da70ebb2b5092aae5178495
2021-05-20 17:54:35 +08:00
Aaron Ding
c4227335c9 init gs201 builds
Bug: 183183095
Change-Id: Ida78d0352dbd79acb8f2122b51fdb47a2e217bf0
2021-05-19 17:38:25 +08:00
Aaron Ding
bb4beafe47 Create gs201 device folder baseline
clone from gs101 sha 9d1c97c2

Bug: 183183095
Change-Id: Ie7112bdf0aceb33c9e1956aa52e961b670582733
2021-05-19 13:35:26 +08:00