summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorAntheas Kapenekakis <lkml@antheas.dev>2025-04-26 19:29:54 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-05-08 16:03:51 +0300
commite25a982b38b3365f3c137c427db87be1ef040414 (patch)
treef391ea82ac9398d682286502dc4846b1ae937e11 /tools/lib/python
parent4e29dd3821dfc6531979c4a87ca450a236d78e46 (diff)
platform/x86: oxpec: Make turbo val apply a bitmask
On the OneXPlayer G1, the turbo register is multiplexed and contains an extra bit (0x02) which is set on boot. Therefore, we should only change the 0x40 bit to not affect other behavior. Collapse the disable and enable functions, and apply a mask for the turbo bit instead. Tested-by: Joshua Tam <csinaction@pm.me> Suggested-by: Joshua Tam <csinaction@pm.me> Signed-off-by: Joshua Tam <csinaction@pm.me> Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev> Link: https://lore.kernel.org/r/20250426172955.13957-2-lkml@antheas.dev Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions