summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.init_priority
blob: 42d03e8794ff70d2afc83350ce3519b12c54fed2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

config PLATFORM_EC_FLASH_INIT_PRIORITY
  int "Init priority of the flash module"
  default 90 if SOC_FAMILY_NPCX
  default 90 if SOC_FAMILY_MEC
  default 52
  help
    The initialization priority of the flash module. This should always be
    greater than PLATFORM_EC_GPIO_INIT_PRIORITY.

config PLATFORM_EC_GPIO_INIT_PRIORITY
  int "Init priority of the GPIO module"
  default 51
  help
    The initialization priority of the GPIO module. This should always happen
    after the gpio drivers are initialized.

config PLATFORM_EC_PWM_INIT_PRIORITY
	int "Initialization priority of the PWM module"
	depends on PLATFORM_EC_PWM
	default 51
	help
	  Sets the initialization priority of the PWM module. This MUST be a
	  value greater than the PWM driver's initialization priority which
	  currently defaults to KERNEL_INIT_PRIORITY_DEVICE.