diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2021-03-09 09:05:39 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-26 00:27:57 +0000 |
commit | f7e2b7ec38b416ce5965521ac2984b97ab38ecc1 (patch) | |
tree | cac85cba31f0d1a4eb2899a1e1d581135449c6b1 /chip | |
parent | 71f8dd80c9380a839365dc82ac5ed4ce87e116b4 (diff) | |
download | chrome-ec-release-R90-13816.B-main.tar.gz |
ctn730: Print firmware versionstabilize-quickfix-13816.67.B-mainstabilize-LTS-13816.60.B-mainstabilize-13816.82.B-mainstabilize-13816.80.B-mainstabilize-13816.64.B-mainstabilize-13816.63.B-mainstabilize-13816.55.B-mainstabilize-13816.53.B-mainstabilize-13816.51.B-mainstabilize-13816.40.B-mainrelease-R90-13816.B-main
This patch makes ctn730 driver print the firmware version.
EC_CMD_PCHG is updated to version 1 and returns firmware version
of a charger chip. Version 0 of EC_CMD_PCHG is deprecated.
BUG=b:182600604, b:173235954, b:183151376
BRANCH=Trogdor
TEST=Verify firmware version is printed on EC console.
TEST=ectool pchg 0 (for version 1)
TEST=cat /sys/class/power_supply/PCHG0/* (for version 0)
"ERR kernel: [ 33.394847] cros-ec-pchg cros-ec-pchg.13.auto:
Unable to get port.0 status (err:-524)"
Cq-Depend: chromium:2786072
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Change-Id: Ib7bb9a7225fe914bc6c8d600d0f4766dbf75ace8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2757098
(cherry picked from commit 774ff171f1ff84e7f3daa2f367b9563e00656488)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2787469
Diffstat (limited to 'chip')
0 files changed, 0 insertions, 0 deletions