Re: [PATCH V4] iio: magnetometer: mag3110: add optional vdd/vddio regulator operation support

2018-12-16 Thread Jonathan Cameron
On Tue, 11 Dec 2018 05:06:20 + Anson Huang wrote: > The magnetometer's power supply could be controlled by regulator > on some platforms, such as i.MX6Q-SABRESD board, the mag3110's > power supply is controlled by a GPIO fixed regulator, need to make > sure the regulator is enabled before

[PATCH V4] iio: magnetometer: mag3110: add optional vdd/vddio regulator operation support

2018-12-10 Thread Anson Huang
The magnetometer's power supply could be controlled by regulator on some platforms, such as i.MX6Q-SABRESD board, the mag3110's power supply is controlled by a GPIO fixed regulator, need to make sure the regulator is enabled before any communication with mag3110, this patch adds optional vdd/vddio