diff options
author | Rizwan Qureshi <rizwan.qureshi@intel.com> | 2020-03-13 18:13:50 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-17 08:25:57 +0000 |
commit | 789bdc3d9bdd4f4a7587b8dd2dc7cc21e1f2495c (patch) | |
tree | bbf3bbd96be74d6be327749335b6c8ba16574bed /configs/config.facebook_fbg1701 | |
parent | bc25a361dc7096b51f56640273269e4867eb0881 (diff) | |
download | coreboot-789bdc3d9bdd4f4a7587b8dd2dc7cc21e1f2495c.tar.xz |
src/soc/intel/tigerlake: Fix incorrect use of Field objects in ASL
Method RAOW is assuming that the first argument is a Field object
and writing to it expecting the register to get updated. However,
the callers are passing in the value of the Field object instead.
This eventually is resulting the IMGCLK not getting enable/disabled on the
platform.
Fix this by sending the exact address of the register to be updated.
Also MCCT was setting the clock frequency in both case i.e, Clock Enable
and Disable. Split the MCCT method in two, MCON and MCOF to fix the sequencing
like below
MCON:
Set frequency
Enable clock
MCOF:
Disable clock
Also, make use of MCON and MCOF methods for camera clock control in tglrvp.
This is to avoid the buildbot marking the patch unstable.
BUG=None
BRANCH=None
TEST=Build and Boot waddledoo board and verified that IMGCLKOUT for
world facing camera is enabled/disabled and able to capture images.
Build and Boot Tiger Lake RVP board and verified that IMGCLKOUT for
world facing camera is enabled/disabled and able to capture images.
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Change-Id: I8b886255d5f38819502ae1f4af0851b5a0922b22
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39498
Reviewed-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com>
Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'configs/config.facebook_fbg1701')
0 files changed, 0 insertions, 0 deletions