Debug pcie rtd3
Change-Id: I60d2b7533178c8fad5871b0d3b0e3cd6a3cb99e8
This commit is contained in:
@@ -80,6 +80,8 @@ pcie_rtd3_acpi_method_on(unsigned int pcie_rp,
|
|||||||
{
|
{
|
||||||
acpigen_write_method_serialized("_ON", 0);
|
acpigen_write_method_serialized("_ON", 0);
|
||||||
|
|
||||||
|
acpigen_write_debug_string("PCIe RTD3 _ON");
|
||||||
|
|
||||||
/* Assert enable GPIO to turn on device power. */
|
/* Assert enable GPIO to turn on device power. */
|
||||||
if (config->enable_gpio.pin_count) {
|
if (config->enable_gpio.pin_count) {
|
||||||
acpigen_enable_tx_gpio(&config->enable_gpio);
|
acpigen_enable_tx_gpio(&config->enable_gpio);
|
||||||
@@ -111,6 +113,8 @@ pcie_rtd3_acpi_method_off(int pcie_rp,
|
|||||||
{
|
{
|
||||||
acpigen_write_method_serialized("_OFF", 0);
|
acpigen_write_method_serialized("_OFF", 0);
|
||||||
|
|
||||||
|
acpigen_write_debug_string("PCIe RTD3 _OFF");
|
||||||
|
|
||||||
/* Trigger L23 ready entry flow unless disabled by config. */
|
/* Trigger L23 ready entry flow unless disabled by config. */
|
||||||
if (!config->disable_l23)
|
if (!config->disable_l23)
|
||||||
pcie_rtd3_acpi_l23_entry();
|
pcie_rtd3_acpi_l23_entry();
|
||||||
|
Reference in New Issue
Block a user