[RFC v2 2/6] drivers: boot_constraint: Add support for supply constraints

2017-07-12 Thread Viresh Kumar
This patch adds the first constraint type: power-supply. The constraint is set by setting a voltage range for the respective regulator device, which will be honored by the regulator core even if more users turn up. Once the device is probed, the regulator is released and the constraint is

[RFC v2 2/6] drivers: boot_constraint: Add support for supply constraints

2017-07-12 Thread Viresh Kumar
This patch adds the first constraint type: power-supply. The constraint is set by setting a voltage range for the respective regulator device, which will be honored by the regulator core even if more users turn up. Once the device is probed, the regulator is released and the constraint is