diff options
Diffstat (limited to 'chip/mt_scp/mt8183/clock_chip.h')
-rw-r--r-- | chip/mt_scp/mt8183/clock_chip.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/chip/mt_scp/mt8183/clock_chip.h b/chip/mt_scp/mt8183/clock_chip.h deleted file mode 100644 index a16bf2e54e..0000000000 --- a/chip/mt_scp/mt8183/clock_chip.h +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright 2019 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -/* Clocks, PLL and power settings */ - -#ifndef __CROS_EC_CLOCK_CHIP_H -#define __CROS_EC_CLOCK_CHIP_H - -#include "common.h" -#include "registers.h" - -/* Default ULPOSC clock speed in MHz */ -#ifndef ULPOSC1_CLOCK_MHZ -#define ULPOSC1_CLOCK_MHZ 240 -#endif -#ifndef ULPOSC2_CLOCK_MHZ -#define ULPOSC2_CLOCK_MHZ 330 -#endif - -void scp_enable_clock(void); - -enum scp_clock_source { - SCP_CLK_26M = CLK_SEL_SYS_26M, - SCP_CLK_32K = CLK_SEL_32K, - SCP_CLK_ULPOSC2 = CLK_SEL_ULPOSC_2, - SCP_CLK_ULPOSC1 = CLK_SEL_ULPOSC_1, -}; - -/* Switches to use 'src' clock */ -void scp_use_clock(enum scp_clock_source src); - -#endif /* __CROS_EC_CLOCK_CHIP_H */ |