1# SMBus configuration options 2 3# Copyright (c) 2022 Intel Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig SMBUS 7 bool "System Management Bus (SMBus) drivers" 8 help 9 Enable SMBus Driver Configuration 10 11if SMBUS 12 13config SMBUS_SHELL 14 bool "SMBus Shell" 15 default y 16 depends on SHELL 17 help 18 Enable SMBus Shell. 19 20config SMBUS_STATS 21 bool "SMBus device Stats" 22 depends on STATS 23 help 24 Enable SMBus Stats. 25 26config SMBUS_INIT_PRIORITY 27 int "Init priority" 28 default KERNEL_INIT_PRIORITY_DEFAULT 29 help 30 SMBus device driver initialization priority. 31 32 33module = SMBUS 34module-str = smbus 35source "subsys/logging/Kconfig.template.log_config" 36 37config SMBUS_INTEL_PCH 38 bool "SMBus Intel PCH driver" 39 default y 40 depends on DT_HAS_INTEL_PCH_SMBUS_ENABLED 41 help 42 Enable Intel Platform Controller Hub (PCH) SMBus driver. 43 44if SMBUS_INTEL_PCH 45 46choice SMBUS_INTEL_PCH_ACCESS 47 bool "SMBus register access mode" 48 default SMBUS_INTEL_PCH_ACCESS_IO 49 help 50 Default PCH register access mode. Set default access IO so 51 that both Qemu Q35 and Intel hardware are supported. 52 53config SMBUS_INTEL_PCH_ACCESS_IO 54 bool "I/O PCH SMBus Register Access Mode" 55 help 56 Access PCH SMBus registers through I/O space. 57 58config SMBUS_INTEL_PCH_ACCESS_MMIO 59 bool "MMIO PCH SMBus Register Access Mode" 60 help 61 Access PCH SMBus registers though MMIO space. 62 63endchoice 64 65config SMBUS_INTEL_PCH_HOST_NOTIFY 66 bool "SMBus Intel PCH Host Notify support" 67 default y 68 help 69 Support Host Notify from peripheral devices. 70 71config SMBUS_INTEL_PCH_SMBALERT 72 bool "SMBus Intel PCH SMBALERT signal support" 73 default y 74 help 75 Support SMBALERT signal from peripheral devices. 76 77endif # SMBUS_INTEL_PCH 78 79endif # SMBUS 80