add support for any kind of voltage table

Signed-off-by: Willi Ye <williye97@gmail.com>