soc/intel/jasperlake: Add Acoustic noise mitigation configuration
commita4bef79522b229caaf0e1940794b329ed6d3514b
authorMaulik V Vaghela <maulik.v.vaghela@intel.com>
Mon, 23 Nov 2020 15:12:39 +0000 (23 20:42 +0530)
committerPatrick Georgi <pgeorgi@google.com>
Sat, 5 Dec 2020 08:11:16 +0000 (5 08:11 +0000)
tree4fb5bfb8cf84b92221701b17839a1f4bcea98e06
parentc987e65eb4391aeb2fecd8461e879424be20dd08
soc/intel/jasperlake: Add Acoustic noise mitigation configuration

This patch exposes acoustic noise mitigation related UPDs/configuration
to be filled from devicetree.
For each variant, we might have different values for various parameters.
Filling it from devicetree will allow us to fill separate values for
each board/variant.

Note that since JasperLake only has one VR, we're only filling index 0
for slew rate and FastPkgCRampDisable.

BUG=b:162192346
BRANCH=dedede
TEST=code compilation is successful and values from devicetree are
getting reflected in UPDs

Change-Id: Id022f32acc3fd3fe62f78e3053bacdeb33727c02
Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47879
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
src/soc/intel/jasperlake/chip.h
src/soc/intel/jasperlake/fsp_params.c