summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaulik V Vaghela <maulik.v.vaghela@intel.com>2020-12-02 12:42:14 +0530
committerPatrick Georgi <pgeorgi@google.com>2020-12-05 08:14:41 +0000
commit6c38f35da3ff908b36ba9114dce0216df0781f66 (patch)
treee304f8fe4e306f45076f0284c62ceb41bdd37b5d
parenta4bef79522b229caaf0e1940794b329ed6d3514b (diff)
mb/google/dedede/var/drawcia: Configure Acoustic noise mitigation UPDs
Enable Acoustic noise mitigation for drawcia and set slew rate to 1/4 which is calibrated value for the board. Other values like PreWake, Rampup and RampDown are 0 by default. BUG=b:162192346 BRANCH=dedede TEST=Correct value is passed to UPD and Acoustic noise test passes. Change-Id: Iadcf332d59dac2ba191b82742a18a1ab326940d1 Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48231 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
-rw-r--r--src/mainboard/google/dedede/variants/drawcia/overridetree.cb5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb
index dcb46cc650..493854c34d 100644
--- a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb
@@ -66,6 +66,11 @@ chip soc/intel/jasperlake
register "ImonOffset" = "1400" # Imon Offset = 1.4
register "ImonSlope" = "100" # Imon Slope = 1.0
+ # Enable Acoustic noise mitigation and set slew rate to 1/4
+ # Rest of the parameters are 0 by default.
+ register "AcousticNoiseMitigation" = "1"
+ register "SlowSlewRate" = "1"
+
device domain 0 on
device pci 05.0 on # IPU - MIPI Camera
chip drivers/intel/mipi_camera