TPL: TM2: config: fix MAX77843 MUIC to recognize USB path for specific adc
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 23 Aug 2016 03:40:42 +0000 (12:40 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 11 Apr 2017 09:58:16 +0000 (18:58 +0900)
With some usb cable with the specific adc, TM2 target in download
mode is not recognized from host usb. So this patch fixes to set
detect register of MAX77843 MUIC to set proper path for the cable.

Change-Id: Ib9c5a2eef68c85dba92dd458807effec11382a09
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
include/configs/tm2.h

index 521b2b67cc4e664ad20889cf818df76c3e240b36..7829bedd17278cf7bac6e47eed44b95e98ebe2b7 100644 (file)
                                        "bootkernel=echo Booting kernel; run boarddetect; run loadkernel; bootm 0x30080000#$board\0" \
                                        "boarddetect=if itest.l *0x138000b4 == 0x0063f9ff; then setenv board tm2e; elif itest.l *0x138000b4 == 0x0059f9ff; then setenv board tm2; else setenv board unknown; fi; echo Detected $board board\0" \
                                        "loadkernel=part start mmc 0 9 kernel_sect; part size mmc 0 9 kernel_size; mmc read 0x30000000 $kernel_sect $kernel_size\0" \
-                                       "muicsetusb=i2c mw 25 c 1b; i2c mw 25 d 3b; i2c mw 25 e 05; i2c mw 25 16 f2\0" \
+                                       "muicsetusb=i2c mw 25 c 9; i2c mw 25 d 3b; i2c mw 25 e 05; i2c mw 25 16 10\0" \
                                        "displayimg=unzip 200d0000 67000000; mw.l 138000b4 0059f9ff; mw.l 138001a0 67e10000; mw.l 13800200 00001680; mw.l 13801410 1; mw.l 13802040 e0000018; sleep 1; mw.l 13802040 e0000008\0" \
                                        "download=echo Thor mode enabled; run muicsetusb; run displayimg; mw.l 0x105c080c 0; thor 0 mmc 0\0"
 #define CONFIG_MENUPROMPT              "Loading, please wait..."