siemens/mc_apl1: Extend circuit life by clock gating and power gating
commit403458e7ec0fae1345cd82128b71d5ab0b66fd77
authorMario Scheithauer <mario.scheithauer@siemens.com>
Wed, 22 Aug 2018 11:03:55 +0000 (22 13:03 +0200)
committerMartin Roth <martinroth@google.com>
Tue, 28 Aug 2018 14:18:40 +0000 (28 14:18 +0000)
tree43de83e3208afbb6c7feb16aba7d203a127dedeb
parent24ad29e83c3b5d46c7ba458a504f63eb034837c7
siemens/mc_apl1: Extend circuit life by clock gating and power gating

The firmware of devices connected to LPC should deassert the LPC CLKRUN#
signal when there is no bus activity on LPC.

Necessary changes:

- Enable LPC CLKRUN#
- Enable LPC PCE (Power Control Enable)
- Enable LPC CCE (Clock Control Enable)
- Remove I/O decoding range on LPC for COM 3
- Disable I/O UART driver

Change-Id: I2fd80e3fdcf23658f97b8182a77df7e09ddf25d6
Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-on: https://review.coreboot.org/28268
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/mainboard/siemens/mc_apl1/variants/baseboard/gpio.c
src/mainboard/siemens/mc_apl1/variants/mc_apl1/Kconfig
src/mainboard/siemens/mc_apl1/variants/mc_apl1/mainboard.c
src/soc/intel/apollolake/include/soc/pcr_ids.h
src/soc/intel/common/block/include/intelblocks/lpc_lib.h