Commit ba64a7b2 authored by Bob Chang's avatar Bob Chang Committed by TreeHugger Robot
Browse files

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
parent 5e727e99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment