Commit graph

4 commits

Author SHA1 Message Date
Badhri Jagan Sridharan
09719be64b gs101: usb: Report USB port overheat event
Read duration stats expoted by google,usbc_port_cooling_dev and
push suez atom when the uevent is received. The plugged temperature
is queried every time when the USB port is connected. Maximum
temperature during overheat is queried when the uevent is received.

Bug: 193615568
Change-Id: Ib02e14dbdbe1390476e864d351158c1523a5c311
2021-07-22 20:31:12 +00:00
Albert Wang
a902992f64 Correct the file permission for usb data on/off
Bug: 180711938
Test: access nodes normally
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I12e3357e675a77f3beb5f9fd6d3ada4378e10693
2021-06-04 08:36:17 +00:00
Manish Varma
3fd056fb40 Modify file path for i2c devices
Bug: 188078957
Test: Verified using temporary log messages to confirm
file paths are formed correctly as otherwise to test queryMoistureDetectionStatus()
requires some mock circuits.

Signed-off-by: Manish Varma <varmam@google.com>
Change-Id: If5402d5999c77bf5a3431c70d800e50570b87c88
2021-05-14 05:05:26 +00:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00