meta-facebook : harma: linux: Add kernel config
Get MAC address from NIC
CONFIG_NCSI_OEM_CMD_GET_MAC=y
IPMB device
CONFIG_IPMB_DEVICE_INTERFACE=y
USB Net:
It is only for SITV BMC testing until the Aegis board is produced.
CONFIG_USB_NET_DRIVERS=y
CONFIG_USB_USBNET=y
CONFIG_USB_NET_CDCETHER=y
CONFIG_USB_NET_CDC_NCM=y
CONFIG_USB_NET_CDC_SUBSET_ENABLE=y
CONFIG_USB_NET_CDC_SUBSET=y
Sensors
CONFIG_AD5272=y
CONFIG_SENSORS_PT5161L=y
CONFIG_SENSORS_XDPE152=y
CONFIG_SENSORS_ISL68137=y
CONFIG_SENSORS_LTC4286=y
CONFIG_SENSORS_MAX31790=y
Change-Id: Id5e5dbc918a1421cb7d2d83ecc9e0b6da98232de
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
diff --git a/meta-facebook/meta-harma/recipes-kernel/linux/linux-aspeed/harma.cfg b/meta-facebook/meta-harma/recipes-kernel/linux/linux-aspeed/harma.cfg
index 72c219d..86f8d53 100644
--- a/meta-facebook/meta-harma/recipes-kernel/linux/linux-aspeed/harma.cfg
+++ b/meta-facebook/meta-harma/recipes-kernel/linux/linux-aspeed/harma.cfg
@@ -2,26 +2,47 @@
CONFIG_VMSPLIT_3G_OPT=y
CONFIG_HAVE_CLK=y
CONFIG_OF=y
+
# aspeed-adc driver
CONFIG_COMMON_CLK=y
CONFIG_ASPEED_ADC=y
+
+# NCSI
+CONFIG_NCSI_OEM_CMD_GET_MAC=y
+
# devmem
CONFIG_DEVMEM=y
+
# RTC
CONFIG_RTC_DRV_PCF85363=y
+
# USB EHCI
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_HCD_PLATFORM=y
+
# USB UART
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_CONSOLE=y
CONFIG_USB_SERIAL_FTDI_SIO=y
+
+# USB NET
+# It is only for SITV BMC testing until the Aegis board is produced.
+CONFIG_USB_NET_DRIVERS=y
+CONFIG_USB_USBNET=y
+CONFIG_USB_NET_CDCETHER=y
+CONFIG_USB_NET_CDC_NCM=y
+CONFIG_USB_NET_CDC_SUBSET_ENABLE=y
+CONFIG_USB_NET_CDC_SUBSET=y
+
# REGULATOR
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
+
# IPMI & IPMB
CONFIG_IPMI_HANDLER=y
CONFIG_IPMI_DEVICE_INTERFACE=y
+CONFIG_IPMB_DEVICE_INTERFACE=y
+
# Enable loadable module
CONFIG_MODULES=y
@@ -34,14 +55,22 @@
# Aspeed PCC
CONFIG_ASPEED_LPC_PCC=y
-# Sensors
-#CONFIG_SENSORS_ARIES=y
+# Hwmon Sensors
+CONFIG_SENSORS_ADC128D818=y
+CONFIG_GPIO_PCA953X=y
CONFIG_SENSORS_INA238=y
CONFIG_SENSORS_INA2XX=y
-CONFIG_SENSORS_MP5990=y
+CONFIG_SENSORS_ISL68137=y
+CONFIG_SENSORS_LTC4286=y
+CONFIG_SENSORS_MAX31790=y
CONFIG_SENSORS_MP2856=y
+CONFIG_SENSORS_MP5990=y
+CONFIG_SENSORS_PT5161L=y
+CONFIG_SENSORS_XDPE152=y
+
+# IIO Sensors
+CONFIG_AD5272=y
CONFIG_MCP9600=y
-CONFIG_SENSORS_ADC128D818=y
# APML
CONFIG_I3C=y