coreboot-kgpe-d16/src/mainboard/google/poppy
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 mb/google/soraka: Camera PMIC run time power control 2017-09-05 23:28:10 +00:00
spd mb/google/poppy: Update SPD data 2017-05-24 08:02:19 +02:00
variants mb/google/soraka: Camera PMIC run time power control 2017-09-05 23:28:10 +00:00
acpi_tables.c
board_info.txt
boardid.c mainboard/google/poppy: Add variant API for board_id and gpio 2017-04-19 19:16:57 +02:00
bootblock.c mainboard/google/poppy: Add variant API for board_id and gpio 2017-04-19 19:16:57 +02:00
chromeos.c mainboard/google/poppy: use intel common tis_plat_irq_status() 2017-04-24 22:15:22 +02:00
chromeos.fmd mainboard/google/poppy: Enable separate MRC cache for recovery mode 2017-04-28 21:57:37 +02:00
dsdt.asl mb/google/poppy: Configure ports and endpoints for sensor and CIO2 devices 2017-06-20 05:08:30 +02:00
ec.c mainboard/google/poppy: Provide baseboard and variant concepts 2017-04-19 19:16:34 +02:00
Kconfig mainboard/google/{poppy,soraka}: Remove MIPI camera support from devicetree.cb 2017-06-19 20:51:17 +02:00
Kconfig.name mainboard/google/poppy/variants/soraka: add soraka board 2017-04-19 19:19:37 +02:00
mainboard.c mainboard/google/poppy: Disable unused TPM interface dynamically 2017-06-14 20:20:21 +02:00
Makefile.inc mainboard/google/poppy: Provide memory configuration variant API 2017-04-19 19:18:32 +02:00
ramstage.c mainboard/google/poppy: Add variant API for board_id and gpio 2017-04-19 19:16:57 +02:00
romstage.c mainboard/google/poppy: Provide memory configuration variant API 2017-04-19 19:18:32 +02:00
smihandler.c mb/google/soraka: Camera PMIC run time power control 2017-09-05 23:28:10 +00:00