mb/google/dedede/var/sasukette: Add FW_CONFIG probe for EXT_VR
commit df520855 (soc/intel/jsl: Add disable_external_bypass_vr config) Add FW_CONFIG probe for don't stuffing ANPEC APW8738BQBI IC. BUG=b:190727416 BRANCH=dedede TEST=test for enter S0ix and resume normally by powerd_dbus_suspend Signed-off-by: Zhi Li <lizhi7@huaqin.corp-partner.google.com> Change-Id: I15ab30f14df9dc02157009091aa8398e2fa75188 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56804 Reviewed-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com> Reviewed-by: Henry Sun <henrysun@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
8d268e9bda
commit
d59c950379
@ -24,6 +24,10 @@ fw_config
|
|||||||
option LTE_ABSENT 0
|
option LTE_ABSENT 0
|
||||||
option LTE_PRESENT 1
|
option LTE_PRESENT 1
|
||||||
end
|
end
|
||||||
|
field EXT_VR 18
|
||||||
|
option EXT_VR_PRESENT 0
|
||||||
|
option EXT_VR_ABSENT 1
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
chip soc/intel/jasperlake
|
chip soc/intel/jasperlake
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
#include <fw_config.h>
|
#include <fw_config.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <drivers/i2c/generic/chip.h>
|
#include <drivers/i2c/generic/chip.h>
|
||||||
|
#include <soc/soc_chip.h>
|
||||||
|
|
||||||
extern struct chip_operations drivers_i2c_generic_ops;
|
extern struct chip_operations drivers_i2c_generic_ops;
|
||||||
|
|
||||||
@ -29,7 +30,16 @@ static void audio_codec_update(void)
|
|||||||
config->hid = "RTL5682";
|
config->hid = "RTL5682";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void ext_vr_update(void)
|
||||||
|
{
|
||||||
|
struct soc_intel_jasperlake_config *cfg = config_of_soc();
|
||||||
|
|
||||||
|
if (fw_config_probe(FW_CONFIG(EXT_VR, EXT_VR_ABSENT)))
|
||||||
|
cfg->disable_external_bypass_vr = 1;
|
||||||
|
}
|
||||||
|
|
||||||
void variant_devtree_update(void)
|
void variant_devtree_update(void)
|
||||||
{
|
{
|
||||||
audio_codec_update();
|
audio_codec_update();
|
||||||
|
ext_vr_update();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user