Skip to content

Commit 5437d14

Browse files
bchihiBLdlezcano
authored andcommitted
thermal/drivers/mediatek/lvts_thermal: Update calibration data documentation
Update LVTS calibration data documentation for mt8192 and mt8195. Signed-off-by: Balsam CHIHI <[email protected]> Reviewed-by: Nícolas F. R. A. Prado <[email protected]> [[email protected]: Fix issues pointed out by Nícolas F. R. A. Prado <[email protected]>] Signed-off-by: Bernhard Rosenkränzer <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Alexandre Mergnat <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 2887322 commit 5437d14

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

drivers/thermal/mediatek/lvts_thermal.c

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,34 @@ static int lvts_sensor_init(struct device *dev, struct lvts_ctrl *lvts_ctrl,
616616
* The efuse blob values follows the sensor enumeration per thermal
617617
* controller. The decoding of the stream is as follow:
618618
*
619-
* stream index map for MCU Domain :
619+
* MT8192 :
620+
* Stream index map for MCU Domain mt8192 :
621+
*
622+
* <-----mcu-tc#0-----> <-----sensor#0-----> <-----sensor#1----->
623+
* 0x01 | 0x02 | 0x03 | 0x04 | 0x05 | 0x06 | 0x07 | 0x08 | 0x09 | 0x0A | 0x0B
624+
*
625+
* <-----sensor#2-----> <-----sensor#3----->
626+
* 0x0C | 0x0D | 0x0E | 0x0F | 0x10 | 0x11 | 0x12 | 0x13
627+
*
628+
* <-----sensor#4-----> <-----sensor#5-----> <-----sensor#6-----> <-----sensor#7----->
629+
* 0x14 | 0x15 | 0x16 | 0x17 | 0x18 | 0x19 | 0x1A | 0x1B | 0x1C | 0x1D | 0x1E | 0x1F | 0x20 | 0x21 | 0x22 | 0x23
630+
*
631+
* Stream index map for AP Domain mt8192 :
632+
*
633+
* <-----sensor#0-----> <-----sensor#1----->
634+
* 0x24 | 0x25 | 0x26 | 0x27 | 0x28 | 0x29 | 0x2A | 0x2B
635+
*
636+
* <-----sensor#2-----> <-----sensor#3----->
637+
* 0x2C | 0x2D | 0x2E | 0x2F | 0x30 | 0x31 | 0x32 | 0x33
638+
*
639+
* <-----sensor#4-----> <-----sensor#5----->
640+
* 0x34 | 0x35 | 0x36 | 0x37 | 0x38 | 0x39 | 0x3A | 0x3B
641+
*
642+
* <-----sensor#6-----> <-----sensor#7-----> <-----sensor#8----->
643+
* 0x3C | 0x3D | 0x3E | 0x3F | 0x40 | 0x41 | 0x42 | 0x43 | 0x44 | 0x45 | 0x46 | 0x47
644+
*
645+
* MT8195 :
646+
* Stream index map for MCU Domain mt8195 :
620647
*
621648
* <-----mcu-tc#0-----> <-----sensor#0-----> <-----sensor#1----->
622649
* 0x01 | 0x02 | 0x03 | 0x04 | 0x05 | 0x06 | 0x07 | 0x08 | 0x09
@@ -627,7 +654,7 @@ static int lvts_sensor_init(struct device *dev, struct lvts_ctrl *lvts_ctrl,
627654
* <-----mcu-tc#2-----> <-----sensor#4-----> <-----sensor#5-----> <-----sensor#6-----> <-----sensor#7----->
628655
* 0x13 | 0x14 | 0x15 | 0x16 | 0x17 | 0x18 | 0x19 | 0x1A | 0x1B | 0x1C | 0x1D | 0x1E | 0x1F | 0x20 | 0x21
629656
*
630-
* stream index map for AP Domain :
657+
* Stream index map for AP Domain mt8195 :
631658
*
632659
* <-----ap--tc#0-----> <-----sensor#0-----> <-----sensor#1----->
633660
* 0x22 | 0x23 | 0x24 | 0x25 | 0x26 | 0x27 | 0x28 | 0x29 | 0x2A

0 commit comments

Comments
 (0)