[PATCH RFT] regulator: pcf50633: Use linear_min_sel and regulator_[map|list]_voltage_linear

2012-11-27 Thread Axel Lin
This driver can be converted to use linear_min_sel and regulator_[map|list]_voltage_linear. Below shows the equations from datasheet: For AUTOOUT: VO(prog) = 0.625 + auto_out × 0.025 V; e.g. ( to 00101110: reserved) 0010: 1.8 V (min) 01010011: 2.7 V

[PATCH RFT] regulator: pcf50633: Use linear_min_sel and regulator_[map|list]_voltage_linear

2012-11-27 Thread Axel Lin
This driver can be converted to use linear_min_sel and regulator_[map|list]_voltage_linear. Below shows the equations from datasheet: For AUTOOUT: VO(prog) = 0.625 + auto_out × 0.025 V; e.g. ( to 00101110: reserved) 0010: 1.8 V (min) 01010011: 2.7 V