diff options
author | Wai-Hong Tam <waihong@google.com> | 2019-05-31 16:50:23 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-01 05:15:01 +0000 |
commit | 3e00d5d078d35601dd1ff7d3968b95cb8cc12461 (patch) | |
tree | 0b187aa501f00a63e04100f2d1c4053a074d28ff /Makefile.rules | |
parent | c9f7f374aef372bbc4cabb7af0ea643581b3ee6d (diff) | |
download | chrome-ec-3e00d5d078d35601dd1ff7d3968b95cb8cc12461.tar.gz |
Revert "servo_v4: Enable VBUS voltage and current measurement"
This reverts commit 2fa7472da15a402ba8649344016ab5351cb768e7.
Reason for revert: Use servo I2C driver to access the INA's instead. Don't need the INA driver and the console command in servo v4 firmware.
Original change's description:
> servo_v4: Enable VBUS voltage and current measurement
>
> Enable the INA functions on the VBUS of the DUT port (PP_DUT) and the
> VBUS of the CHG port (PP_CHG).
>
> BUG=b:132807223
> BRANCH=servo
> TEST=Typed the console command "ina 0" and returned:
> > ina 0
> Configuration: 4127
> Shunt voltage: 10d9 => 10782 uV
> Bus voltage : 3d3a => 19592 mV
> Power : 069b => 42275 mW
> Current : 086d => 2157 mA
> Calibration : 0400
> Mask/Enable : 0008
> Alert limit : 0000
>
> Used a multimeter to measure the VBUS on the DUT port. The measured
> voltage and current are close to the above values.
>
> Did the same thing on the CHG port.
>
> Change-Id: I1d49540b4685f299437821251cd6422b1c0ac0b8
> Signed-off-by: Wai-Hong Tam <waihong@google.com>
> Reviewed-on: https://chromium-review.googlesource.com/1613805
> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
> Reviewed-by: Scott Collyer <scollyer@chromium.org>
Bug: b:132807223
Change-Id: If8517ceb5255e38bb2824e6cb9fe1848142950c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1638718
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Tested-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'Makefile.rules')
0 files changed, 0 insertions, 0 deletions