coreboot-kgpe-d16/src/mainboard
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
..
a-trend intel/i440bx: Move LATE_CBMEM_INIT under mainboard 2017-09-01 14:39:16 +00:00
aaeon sb/amd/cs5536: Remove includes of C files 2017-07-18 19:03:28 +00:00
abit intel/i440bx: Move LATE_CBMEM_INIT under mainboard 2017-09-01 14:39:16 +00:00
adi mb/*/*/cmos.layout: Make multibyte options byte aligned 2017-06-06 18:59:40 +02:00
adlink
advansus AMD fam10 ACPI: Use common fixed sleepstates.asl 2017-08-23 03:36:05 +00:00
amd AGESA f15: Remove f10 references 2017-08-28 14:38:04 +00:00
aopen mainboard/[a-e]: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:48 +00:00
apple intel/sandybridge: Gather MMCONF_BASE_ADDRESS defaults 2017-07-30 00:06:51 +00:00
artecgroup sb/amd/cs5536: Remove includes of C files 2017-07-18 19:03:28 +00:00
asrock asrock/e350m1: Switch away from AGESA_LEGACY_WRAPPER 2017-08-25 20:30:37 +00:00
asus intel/i440bx: Move LATE_CBMEM_INIT under mainboard 2017-09-01 14:39:16 +00:00
avalue AMD fam10 ACPI: Use common fixed sleepstates.asl 2017-08-23 03:36:05 +00:00
azza intel/i440bx: Move LATE_CBMEM_INIT under mainboard 2017-09-01 14:39:16 +00:00
bachmann sb/amd/cs5536: Remove includes of C files 2017-07-18 19:03:28 +00:00
bap amd/pi/hudson: Move oem_fan_control() 2017-08-25 01:16:10 +00:00
bcom mainboard/via*: Drop AMD car.h file 2017-08-24 11:32:08 +00:00
biostar intel/i440bx: Move LATE_CBMEM_INIT under mainboard 2017-09-01 14:39:16 +00:00
broadcom AMD K8 fam10-15: Consolidate post_cache_as_ram call 2017-08-22 20:24:38 +00:00
compaq intel/i440bx: Move LATE_CBMEM_INIT under mainboard 2017-09-01 14:39:16 +00:00
cubietech
digitallogic sb/amd/cs5536: Remove includes of C files 2017-07-18 19:03:28 +00:00
dmp mainboard/[a-e]: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:48 +00:00
ecs mainboard/*/*/irq_tables.c: Use tabs for indents 2016-09-26 13:22:39 +02:00
elmex elmex/pcm205400: Switch away from AGESA_LEGACY_WRAPPER 2017-08-25 20:30:44 +00:00
emulation Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
esd mb/*/*/cmos.layout: Make multibyte options byte aligned 2017-06-06 18:59:40 +02:00
foxconn mb/foxconn/g41s-k: add new mainboard 2017-06-12 04:41:02 +02:00
getac Kconfig: Introduce HAVE_(VBE_)LINEAR_FRAMEBUFFER 2017-06-02 18:37:45 +02:00
gigabyte intel/i440bx: Move LATE_CBMEM_INIT under mainboard 2017-09-01 14:39:16 +00:00
gizmosphere gizmosphere/gizmo: Switch away from AGESA_LEGACY_WRAPPER 2017-08-25 20:30:20 +00:00
google mb/google/soraka: Camera PMIC run time power control 2017-09-05 23:28:10 +00:00
hp mb/hp: Enable ExpressCard hotplug in all Elitebooks 2017-09-02 15:25:05 +00:00
ibase Boards w/ Winbond superios: Use common config entry code 2017-08-21 17:02:45 +00:00
iei AMD fam10 ACPI: Use common fixed sleepstates.asl 2017-08-23 03:36:05 +00:00
intel mainboard/intel/harcuvar: Add support for Intel Harcuvar CRB 2017-09-05 13:39:58 +00:00
iwave cpu/x86/msr.h: Drop excessive includes 2016-12-06 20:54:31 +01:00
iwill sb/amd/amd8111: Define ACPI sleep states 2017-08-23 03:36:15 +00:00
jetway jetway/nf81-t56n-lf: Switch away from AGESA_LEGACY 2017-08-25 20:33:26 +00:00
kontron AMD fam10 ACPI: Use common fixed sleepstates.asl 2017-08-23 03:36:05 +00:00
lanner mainboard/lanner/em8510: Use tabs for indents 2016-09-29 23:51:19 +02:00
lenovo lenovo/g505s: Switch away from AGESA_LEGACY_WRAPPER 2017-08-31 16:30:36 +00:00
linutop
lippert lippert/toucan-af: Switch away from AGESA_LEGACY 2017-09-01 03:12:42 +00:00
lowrisc mb/lowrisc/nexys4ddr: Read RAM information from the config string 2016-12-06 18:52:42 +01:00
mitac
msi intel/i440bx: Move LATE_CBMEM_INIT under mainboard 2017-09-01 14:39:16 +00:00
nec
nokia intel/i440bx: Move LATE_CBMEM_INIT under mainboard 2017-09-01 14:39:16 +00:00
nvidia AMD K8 fam10-15: Consolidate post_cache_as_ram call 2017-08-22 20:24:38 +00:00
packardbell Kconfig: Rework MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG 2017-06-02 18:35:41 +02:00
pcengines pcengines/apu1: Switch away from AGESA_LEGACY_WRAPPER 2017-08-25 20:30:06 +00:00
purism soc/intel/skylake: Add LPC and SPI lock down config option 2017-08-25 17:58:08 +00:00
rca mainboard/rca/rm4100: transition away from device_t 2016-11-10 16:55:42 +01:00
roda intel/sandybridge: Gather MMCONF_BASE_ADDRESS defaults 2017-07-30 00:06:51 +00:00
samsung intel/sandybridge: Gather MMCONF_BASE_ADDRESS defaults 2017-07-30 00:06:51 +00:00
sapphire cpu/intel/model_206ax: Use tsc monotonic timer 2017-06-09 16:27:19 +02:00
siemens AMD fam10 ACPI: Use common fixed sleepstates.asl 2017-08-23 03:36:05 +00:00
soyo intel/i440bx: Move LATE_CBMEM_INIT under mainboard 2017-09-01 14:39:16 +00:00
sunw AMD K8 fam10-15: Consolidate post_cache_as_ram call 2017-08-22 20:24:38 +00:00
supermicro AGESA f15: Remove f10 references 2017-08-28 14:38:04 +00:00
technexion AMD fam10 ACPI: Use common fixed sleepstates.asl 2017-08-23 03:36:05 +00:00
thomson mainboard/[m-w]: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:20:06 +00:00
ti
traverse sb/amd/cs5536: Remove includes of C files 2017-07-18 19:03:28 +00:00
tyan intel/i440bx: Move LATE_CBMEM_INIT under mainboard 2017-09-01 14:39:16 +00:00
via mainboard/via*: Drop AMD car.h file 2017-08-24 11:32:08 +00:00
winent AMD K8 fam10-15: Consolidate post_cache_as_ram call 2017-08-22 20:24:38 +00:00
winnet mainboard/winnet/g170: Add ACPI support 2017-08-28 15:28:06 +00:00
wyse sb/amd/cs5536: Remove includes of C files 2017-07-18 19:03:28 +00:00
Kconfig Kconfig: Remind users to delete .config when switching boards 2017-01-06 21:33:58 +01:00