[RFC v2 6/6] drivers: boot_constraint: Add constraints for OF devices

2017-07-12 Thread Viresh Kumar
This implements the device tree dependent part of the boot constraints. The supply constraints are added automatically for the platform and AMBA devices created from DT and will be removed after the driver is registered for the devices. It is possible that some of the resources aren't available

[RFC v2 6/6] drivers: boot_constraint: Add constraints for OF devices

2017-07-12 Thread Viresh Kumar
This implements the device tree dependent part of the boot constraints. The supply constraints are added automatically for the platform and AMBA devices created from DT and will be removed after the driver is registered for the devices. It is possible that some of the resources aren't available