coreboot/src/ec
Patrick Rudolph 1194aa8d08 ec/lenovo/h8: Add BDC detection support
* Add support for detecting BDC.
* Allows to turn off power to BDC if no card is installed.
* Should fix https://ticket.coreboot.org/issues/99 .

Add the following devicetree values:
* has_bdc_detection
 Set to one to indicate that the following register are sane.
* bdc_gpio_num
 SB GPIO num to read.
* bdc_gpio_lvl
 SB GPIO level for card to be present (usually zero).

Don't enable BDC power if no card is detected.
As there are no devicetree values yet, the new code doesn't
have any effect.

Change-Id: I506de2eca4b820e6d82de6b2c48a5440462e1db5
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/19809
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
2017-09-06 04:14:25 +00:00
..
acpi Kconfig: Indent help text 2017-06-07 22:01:34 +02:00
compal/ene932 device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
google/chromeec ec/google: Use feature flag layout that matches the EC host command 2017-08-30 07:27:16 +00:00
hp/kbc1126 ec: add support for KBC1126 in HP laptops 2017-08-11 16:10:52 +00:00
kontron/it8516e device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
lenovo ec/lenovo/h8: Add BDC detection support 2017-09-06 04:14:25 +00:00
purism/librem ec/librem/ec: Fix offset for Bluetooth enable (BTLE) 2017-06-12 04:27:11 +02:00
quanta src/ec: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:49:22 +00:00
roda/it8518 device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
smsc/mec1308 ec/mec1308: Fix fan control ACPI 2017-07-08 19:06:00 +00:00
ec.h mainboards,ec: provide common declaration for mainboard_ec_init() 2016-09-26 23:53:12 +02:00