Read the sensor power list from device tree.
Instead of using fixed names of the power supply, read the sensor power
lists from the device tree and control them in sequence.
Bug: 212528682
Test: Restart AoC and sensors can work properly.
Test: Use an additional test patch and check sensors cannot work when
regulators are disabled.
Change-Id: Ia7f97db5364b4a14812f1956f8201b3e78623a84
Loading
Please sign in to comment