coreboot/src
Naresh G Solanki cdc9af9ebd mb/google/soraka: Camera PMIC run time power control
Currently PMIC (tps68470) is in active state even when cameras are not
in use. PMIC is put into SLEEP mode only when entering S3 via
smihandler.

With this change PMIC will be put into SLEEP mode as soon as sensors &
VCM voltage outputs are turned off. This will allow run time power
saving when camera is not in use.

PMIC will be reset in first boot & across S3 & S0ix cycles.

Also, remove the smi handler for PMIC power management & handle it as
part of sensor and VCM ACPI PowerResource.

BUG=b:63903239
TEST= Build for Soraka. Check Camera probe, Capture image across
S3 & S0ix cycles.
Also checked the following & found no regression:
1. Typical camera use cases
2. Stability tests related to camera
3. Reliability tests related to camera
4. PnP tests related to camera
5. Latency related tests with camera

Change-Id: I23b0c0a887c9eb5d29b89f14aebba273b01228e0
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com>
Reviewed-on: https://review.coreboot.org/20741
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Rajmohan Mani <rajmohan.mani@intel.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2017-09-05 23:28:10 +00:00
..
acpi src/acpi: Add guards on all header files 2017-08-01 23:04:27 +00:00
arch Move ADDR32() hack to arch/x86 2017-09-05 17:24:46 +00:00
commonlib Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
console console: Add weak method to notify about death 2017-08-14 11:01:41 +00:00
cpu Move ADDR32() hack to arch/x86 2017-09-05 17:24:46 +00:00
device Kconfig: Move and rename ADD_VBT_DATA_FILE 2017-09-04 15:34:10 +00:00
drivers Kconfig: Move and rename ADD_VBT_DATA_FILE 2017-09-04 15:34:10 +00:00
ec ec/google: Use feature flag layout that matches the EC host command 2017-08-30 07:27:16 +00:00
include Move ADDR32() hack to arch/x86 2017-09-05 17:24:46 +00:00
lib lib/cbmem: provide optional cbmem top initialization hook 2017-08-04 04:29:57 +00:00
mainboard mb/google/soraka: Camera PMIC run time power control 2017-09-05 23:28:10 +00:00
northbridge nb/intel/common: Write MRC cache at exit of BS_DEV_INIT 2017-09-05 08:27:51 +00:00
soc nvidia/tegra*: Use xcompile for compiler prefix unless specified 2017-09-05 20:17:30 +00:00
southbridge sb/intel/*: add option to lockdown chipset on normal boot path 2017-08-30 10:32:00 +00:00
superio superio/winbond/w83627*: Remove deprecated code 2017-08-21 17:02:53 +00:00
vboot vboot: Remove get_sw_write_protect_state callback 2017-07-18 23:24:01 +00:00
vendorcode AGESA: Remove separate f15rl 2017-08-31 16:28:55 +00:00
Kconfig clang: Allow ANY_TOOLCHAIN for non-coreboot clang 2017-09-02 15:23:22 +00:00