servod: support ec_chip param per servo_type

Quoting one of the comments from the previous CL:1487322:
"I think this should be chip_for_ccd_cr50, so we can find
these based on servo type. It is possible devices like
servo_micro will have a unique chip flashing method."

BUG=b:125837387
BRANCH=hdctools
TEST=manuallry ran dut-control.
Added "chip_for_servo_micro=npcx_test" just for test purpose.

$ dut-control servo_type ec_chip
ec_chip:npcx_int_spi
servo_type:servo_v2

$ dut-control servo_type ec_chip
ec_chip:npcx_uut
servo_type:ccd_cr50

$ dut-control servo_type ec_chip
ec_chip:npcx_uut
servo_type:servo_v4_with_ccd_cr50

$ dut-control servo_type ec_chip
ec_chip:npcx_test
servo_type:servo_v4_with_servo_micro

Change-Id: I71b9968ad8c33946a5e010bd8cd3b460d7072043
Signed-off-by: Namyoon Woo <namyoon@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1496460
Reviewed-by: Wai-Hong Tam <waihong@google.com>
3 files changed