summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-11-16 14:55:41 +0100
committerHans de Goede <hdegoede@redhat.com>2018-11-16 14:55:41 +0100
commit6c672bed3d494e21ef73d9dfc25bf06318751c79 (patch)
treedce073494bb3ff92f27e96732c0777484f0ab62f
parent3e4010f25ec6c6eb8ffa5c8c90e041427de2212f (diff)
downloadkernel-6c672bed3d494e21ef73d9dfc25bf06318751c79.tar.gz
kernel-6c672bed3d494e21ef73d9dfc25bf06318751c79.tar.xz
kernel-6c672bed3d494e21ef73d9dfc25bf06318751c79.zip
Enable a few modules needed for accelerometer and other sensor support
on some HP X2 2-in-1s
-rw-r--r--configs/fedora/generic/x86/CONFIG_I2C_MULTI_INSTANTIATE2
-rw-r--r--configs/fedora/generic/x86/x86_64/CONFIG_BMC150_MAGN1
-rw-r--r--configs/fedora/generic/x86/x86_64/CONFIG_BMC150_MAGN_I2C1
-rw-r--r--configs/fedora/generic/x86/x86_64/CONFIG_BMG1601
-rw-r--r--configs/fedora/generic/x86/x86_64/CONFIG_BMG160_I2C1
-rw-r--r--configs/fedora/generic/x86/x86_64/CONFIG_BMG160_SPI1
-rw-r--r--kernel-i686-debug.config2
-rw-r--r--kernel-i686.config2
-rw-r--r--kernel-x86_64-debug.config10
-rw-r--r--kernel-x86_64.config10
-rw-r--r--kernel.spec4
11 files changed, 24 insertions, 11 deletions
diff --git a/configs/fedora/generic/x86/CONFIG_I2C_MULTI_INSTANTIATE b/configs/fedora/generic/x86/CONFIG_I2C_MULTI_INSTANTIATE
index 152031edd..fd09ba589 100644
--- a/configs/fedora/generic/x86/CONFIG_I2C_MULTI_INSTANTIATE
+++ b/configs/fedora/generic/x86/CONFIG_I2C_MULTI_INSTANTIATE
@@ -1 +1 @@
-# CONFIG_I2C_MULTI_INSTANTIATE is not set
+CONFIG_I2C_MULTI_INSTANTIATE=m
diff --git a/configs/fedora/generic/x86/x86_64/CONFIG_BMC150_MAGN b/configs/fedora/generic/x86/x86_64/CONFIG_BMC150_MAGN
new file mode 100644
index 000000000..dff6b14af
--- /dev/null
+++ b/configs/fedora/generic/x86/x86_64/CONFIG_BMC150_MAGN
@@ -0,0 +1 @@
+CONFIG_BMC150_MAGN=m
diff --git a/configs/fedora/generic/x86/x86_64/CONFIG_BMC150_MAGN_I2C b/configs/fedora/generic/x86/x86_64/CONFIG_BMC150_MAGN_I2C
new file mode 100644
index 000000000..9d2167919
--- /dev/null
+++ b/configs/fedora/generic/x86/x86_64/CONFIG_BMC150_MAGN_I2C
@@ -0,0 +1 @@
+CONFIG_BMC150_MAGN_I2C=m
diff --git a/configs/fedora/generic/x86/x86_64/CONFIG_BMG160 b/configs/fedora/generic/x86/x86_64/CONFIG_BMG160
new file mode 100644
index 000000000..220142129
--- /dev/null
+++ b/configs/fedora/generic/x86/x86_64/CONFIG_BMG160
@@ -0,0 +1 @@
+CONFIG_BMG160=m
diff --git a/configs/fedora/generic/x86/x86_64/CONFIG_BMG160_I2C b/configs/fedora/generic/x86/x86_64/CONFIG_BMG160_I2C
new file mode 100644
index 000000000..8bb4d97e4
--- /dev/null
+++ b/configs/fedora/generic/x86/x86_64/CONFIG_BMG160_I2C
@@ -0,0 +1 @@
+CONFIG_BMG160_I2C=m
diff --git a/configs/fedora/generic/x86/x86_64/CONFIG_BMG160_SPI b/configs/fedora/generic/x86/x86_64/CONFIG_BMG160_SPI
new file mode 100644
index 000000000..8d03fec34
--- /dev/null
+++ b/configs/fedora/generic/x86/x86_64/CONFIG_BMG160_SPI
@@ -0,0 +1 @@
+CONFIG_BMG160_SPI=m
diff --git a/kernel-i686-debug.config b/kernel-i686-debug.config
index c6087d8cb..a2356803d 100644
--- a/kernel-i686-debug.config
+++ b/kernel-i686-debug.config
@@ -2069,7 +2069,7 @@ CONFIG_I2C_I801=m
CONFIG_I2C_ISCH=m
CONFIG_I2C_ISMT=m
CONFIG_I2C_MLXCPLD=m
-# CONFIG_I2C_MULTI_INSTANTIATE is not set
+CONFIG_I2C_MULTI_INSTANTIATE=m
# CONFIG_I2C_MUX_GPIO is not set
CONFIG_I2C_MUX_GPMUX=m
CONFIG_I2C_MUX_LTC4306=m
diff --git a/kernel-i686.config b/kernel-i686.config
index f9d7105ef..0b190b613 100644
--- a/kernel-i686.config
+++ b/kernel-i686.config
@@ -2051,7 +2051,7 @@ CONFIG_I2C_I801=m
CONFIG_I2C_ISCH=m
CONFIG_I2C_ISMT=m
CONFIG_I2C_MLXCPLD=m
-# CONFIG_I2C_MULTI_INSTANTIATE is not set
+CONFIG_I2C_MULTI_INSTANTIATE=m
# CONFIG_I2C_MUX_GPIO is not set
CONFIG_I2C_MUX_GPMUX=m
CONFIG_I2C_MUX_LTC4306=m
diff --git a/kernel-x86_64-debug.config b/kernel-x86_64-debug.config
index fa481e04a..2bea3527d 100644
--- a/kernel-x86_64-debug.config
+++ b/kernel-x86_64-debug.config
@@ -526,11 +526,13 @@ CONFIG_BLK_WBT=y
# CONFIG_BMA180 is not set
# CONFIG_BMA220 is not set
CONFIG_BMC150_ACCEL=m
-# CONFIG_BMC150_MAGN_I2C is not set
-# CONFIG_BMC150_MAGN is not set
+CONFIG_BMC150_MAGN_I2C=m
+CONFIG_BMC150_MAGN=m
# CONFIG_BMC150_MAGN_SPI is not set
CONFIG_BME680=m
-# CONFIG_BMG160 is not set
+CONFIG_BMG160_I2C=m
+CONFIG_BMG160=m
+CONFIG_BMG160_SPI=m
# CONFIG_BMI160_I2C is not set
# CONFIG_BMI160_SPI is not set
CONFIG_BMP280=m
@@ -2107,7 +2109,7 @@ CONFIG_I2C_I801=m
CONFIG_I2C_ISCH=m
CONFIG_I2C_ISMT=m
CONFIG_I2C_MLXCPLD=m
-# CONFIG_I2C_MULTI_INSTANTIATE is not set
+CONFIG_I2C_MULTI_INSTANTIATE=m
# CONFIG_I2C_MUX_GPIO is not set
CONFIG_I2C_MUX_GPMUX=m
CONFIG_I2C_MUX_LTC4306=m
diff --git a/kernel-x86_64.config b/kernel-x86_64.config
index 7a68bb706..acf1260c6 100644
--- a/kernel-x86_64.config
+++ b/kernel-x86_64.config
@@ -525,11 +525,13 @@ CONFIG_BLK_WBT=y
# CONFIG_BMA180 is not set
# CONFIG_BMA220 is not set
CONFIG_BMC150_ACCEL=m
-# CONFIG_BMC150_MAGN_I2C is not set
-# CONFIG_BMC150_MAGN is not set
+CONFIG_BMC150_MAGN_I2C=m
+CONFIG_BMC150_MAGN=m
# CONFIG_BMC150_MAGN_SPI is not set
CONFIG_BME680=m
-# CONFIG_BMG160 is not set
+CONFIG_BMG160_I2C=m
+CONFIG_BMG160=m
+CONFIG_BMG160_SPI=m
# CONFIG_BMI160_I2C is not set
# CONFIG_BMI160_SPI is not set
CONFIG_BMP280=m
@@ -2089,7 +2091,7 @@ CONFIG_I2C_I801=m
CONFIG_I2C_ISCH=m
CONFIG_I2C_ISMT=m
CONFIG_I2C_MLXCPLD=m
-# CONFIG_I2C_MULTI_INSTANTIATE is not set
+CONFIG_I2C_MULTI_INSTANTIATE=m
# CONFIG_I2C_MUX_GPIO is not set
CONFIG_I2C_MUX_GPMUX=m
CONFIG_I2C_MUX_LTC4306=m
diff --git a/kernel.spec b/kernel.spec
index eebdad41a..3e4396663 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1872,6 +1872,10 @@ fi
#
#
%changelog
+* Fri Nov 16 2018 Hans de Goede <hdegoede@redhat.com>
+- Enable a few modules needed for accelerometer and other sensor support
+ on some HP X2 2-in-1s
+
* Thu Nov 15 2018 Justin M. Forbes <jforbes@redhat.com> - 4.20.0-0.rc2.git2.1
- Linux v4.20-rc2-52-g5929a1f0ff30