meta-bletchley: Enable kernel configs for platform-specific devices
1. AST26xx ADC driver
2. AST26xx PWM v14 driver
3. AST26xx Tach driver from Aspeed-linux
4. Enable driver for PHY fixed link
5. HDC1080 humidity sensor driver
6. PCF85363 RTC driver
7. FUSB302 USB-PD PHY driver
8. MP5023 HSC driver
9. DEVMEM driver for early debug purpose
Signed-off-by: Howard Chiu <howard.chiu@quantatw.com>
Change-Id: Ib87de12cabd5aef4ef8bd25ac3451a1df56d3fc1
diff --git a/meta-facebook/meta-bletchley/recipes-kernel/linux/linux-aspeed/bletchley.cfg b/meta-facebook/meta-bletchley/recipes-kernel/linux/linux-aspeed/bletchley.cfg
new file mode 100644
index 0000000..c77b942
--- /dev/null
+++ b/meta-facebook/meta-bletchley/recipes-kernel/linux/linux-aspeed/bletchley.cfg
@@ -0,0 +1,27 @@
+# aspeed-pwm driver
+CONFIG_HAVE_CLK=y
+CONFIG_PWM=y
+CONFIG_OF=y
+CONFIG_PWM_ASPEED_AST2600=y
+# pwm-fan driver
+CONFIG_SENSORS_PWM_FAN=y
+# aspeed-tach driver
+CONFIG_SENSORS_TACH_ASPEED_AST2600=y
+# aspeed-adc driver
+CONFIG_COMMON_CLK=y
+CONFIG_ASPEED_ADC=y
+# devmem
+CONFIG_DEVMEM=y
+# fixed-link feature
+CONFIG_PHYLIB=y
+CONFIG_FIXED_PHY=y
+# humidity and temperature sensor
+CONFIG_HDC100X=y
+# interposer HSC driver
+CONFIG_SENSORS_MP5023=y
+# RTC
+CONFIG_RTC_DRV_PCF85363=y
+# FUSB302 driver
+CONFIG_TYPEC=y
+CONFIG_TYPEC_TCPM=y
+CONFIG_TYPEC_FUSB302=y
diff --git a/meta-facebook/meta-bletchley/recipes-kernel/linux/linux-aspeed_%.bbappend b/meta-facebook/meta-bletchley/recipes-kernel/linux/linux-aspeed_%.bbappend
new file mode 100644
index 0000000..4727bdf
--- /dev/null
+++ b/meta-facebook/meta-bletchley/recipes-kernel/linux/linux-aspeed_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/linux-aspeed:"
+SRC_URI += "file://bletchley.cfg"