util/superiotool/ite: Add extra dumps for IT8613E EC
commitdd5676e6e5a5e8e835cebcfb4e771451462be1da
authorMichał Żygowski <michal.zygowski@3mdeb.com>
Tue, 6 Feb 2024 23:11:58 +0000 (7 00:11 +0100)
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>
Mon, 30 Sep 2024 10:53:50 +0000 (30 10:53 +0000)
treefe10390331404c2de2908d35b7bc40c2e380266b
parent9a9191cf2fd05a91258d9a62e7b68494d1565fb0
util/superiotool/ite: Add extra dumps for IT8613E EC

IT8613E EC space is divided into 3 banks selectable by EC index 0x06
bits 6:5. Bank0 mostly contains the ITE EC registers known by
coreboot's ITE EC driver. Bank1 contains SB_TSI and PECI temperature
reading registers. Bank2, however, contains additional registers used
to select the temperature source reported in TMPIN reading registers,
PECI bridge registers as well as FAN2-5 controls and extra vectors.

Dump the additional banks using extra-selectors.

Based on non-public IT8613E Preliminary Specification V0.3.

TEST=Perform the IT8613E dump on Hardkernel ODROID H4+.

Change-Id: Ic8fdc56d1b0fbe811e13bc6b800512af654c1cb6
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80318
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Reviewed-by: Maxim <max.senia.poliak@gmail.com>
Reviewed-by: Alicja Michalska <ahplka19@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Marvin Drees <marvin.drees@9elements.com>
util/superiotool/ite.c