summaryrefslogtreecommitdiffstats
path: root/pid
Commit message (Collapse)AuthorAgeFilesLines
...
* test: pid: zonePatrick Venture2018-06-227-20/+33
| | | | | | | | | | Add unit-tests for the PID zone module. Add zone_mock. Tested: Ran on quanta-q71l board and it behaved as expected. Change-Id: I51185b2d2daacea6ffb687e8f38c4fe2b2a1bed3 Signed-off-by: Patrick Venture <venture@google.com>
* pid: zone split out buildersPatrick Venture2018-06-1413-255/+325
| | | | | | | | | | To enable unit-testing, split the builders into their own object files. Tested: Ran on quanta-q71l board and it behaved as expected. Change-Id: I92168ec9ae4946d12328e9c0b94a36bb89d0f718 Signed-off-by: Patrick Venture <venture@google.com>
* enable unit-tests: enable for SensorManagerPatrick Venture2018-06-142-11/+11
| | | | | | | | | | | | | Enabled unit-tests in general for the project, and more specifically started with a benign construction test for the SensorManager object. Tested: Verified continues to build and link, and unit-test passes. Tested: Ran on quanta-q71l board and it behaved as expected. Change-Id: I4ad9a0c57efd0b9ccc37d26faa0cc1b82026b8d7 Signed-off-by: Patrick Venture <venture@google.com>
* Spelling fixesGunnar Mills2018-06-141-1/+1
| | | | | | | | | Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Change-Id: I1de3fdd00d0c132987b1eeb78b2945f30d3ab538 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* fancontroller: remove percentage log entryPatrick Venture2018-06-011-4/+0
| | | | | | | | | This log entry was just to debug something and also didn't have a corresponding header in the log file. It is no longer necessary. Tested: Ran on quanta-q71l and verified the log looked as expected. Change-Id: I4a433cf8181c7d28977bf60ca932d25a4b307c84 Signed-off-by: Patrick Venture <venture@google.com>
* pid: added thermal inputs & failsafe to loggingPatrick Venture2018-05-312-1/+16
| | | | | | | | | The tuning logging now includes the thermal inputs and whether the zone is in failsafe mode. Tested: Ran on quanta-q71l and verified the log looked correct. Change-Id: I2ee8d3128d7d969e63cb6b8728dc6698a4f54aae Signed-off-by: Patrick Venture <venture@google.com>
* s/Control.FanCtrl.Mode/Control.Mode/Patrick Venture2018-05-101-2/+2
| | | | | | | | The interface for a Mode is generic enough for objects beyond strictly fan control. Change-Id: I3cb7e7564f841e680dc34743908644be9639267d Signed-off-by: Patrick Venture <venture@google.com>
* PID Objects & AlgoPatrick Venture2018-03-0816-0/+1463
These are the PID controller implementations for fans, and thermals. This also includes the PID algorithm used. Change-Id: I30471fbf7a8a7ed65f78bf105970d62815fedc56 Signed-off-by: Patrick Venture <venture@google.com>
OpenPOWER on IntegriCloud