summaryrefslogtreecommitdiffstats
path: root/0001-Enable-AXP288-PMIC-support-on-x86_64-for-battery-cha.patch
blob: ce1573dcc47123db8de37e38f4cd3b05baf8a1eb (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
From 7a434df40dcabc68902502994faf652936493e51 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Wed, 14 Jun 2017 17:30:36 +0200
Subject: [RFC PATCH] Enable AXP288 PMIC support on x86_64 for battery charging
 and monitoring   support on Bay and Cherry Trail tablets and laptops Enable
 various drivers for peripherals found on Bay and Cherry Trail tablets

---
 baseconfig/x86/x86_64/CONFIG_AK8975                |  1 +
 baseconfig/x86/x86_64/CONFIG_AXP20X_ADC            |  1 +
 baseconfig/x86/x86_64/CONFIG_AXP20X_POWER          |  1 +
 baseconfig/x86/x86_64/CONFIG_AXP288_ADC            |  1 +
 baseconfig/x86/x86_64/CONFIG_AXP288_CHARGER        |  1 +
 baseconfig/x86/x86_64/CONFIG_AXP288_FUEL_GAUGE     |  1 +
 baseconfig/x86/x86_64/CONFIG_BATTERY_MAX17042      |  1 +
 baseconfig/x86/x86_64/CONFIG_CHARGER_BQ24190       |  1 +
 baseconfig/x86/x86_64/CONFIG_EXTCON                |  1 +
 baseconfig/x86/x86_64/CONFIG_EXTCON_AXP288         |  1 +
 baseconfig/x86/x86_64/CONFIG_EXTCON_GPIO           |  1 +
 baseconfig/x86/x86_64/CONFIG_EXTCON_INTEL_INT3496  |  1 +
 baseconfig/x86/x86_64/CONFIG_EXTCON_MAX3355        |  1 +
 baseconfig/x86/x86_64/CONFIG_EXTCON_RT8973A        |  1 +
 baseconfig/x86/x86_64/CONFIG_EXTCON_SM5502         |  1 +
 baseconfig/x86/x86_64/CONFIG_EXTCON_USB_GPIO       |  1 +
 baseconfig/x86/x86_64/CONFIG_GPIO_AXP209           |  1 +
 baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_CORE   |  1 +
 baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_PCI    |  1 +
 .../x86/x86_64/CONFIG_I2C_DESIGNWARE_PLATFORM      |  1 +
 baseconfig/x86/x86_64/CONFIG_INPUT_AXP20X_PEK      |  1 +
 baseconfig/x86/x86_64/CONFIG_INV_MPU6050_I2C       |  1 +
 baseconfig/x86/x86_64/CONFIG_INV_MPU6050_IIO       |  1 +
 baseconfig/x86/x86_64/CONFIG_MFD_AXP20X            |  1 +
 baseconfig/x86/x86_64/CONFIG_MFD_AXP20X_I2C        |  1 +
 baseconfig/x86/x86_64/CONFIG_SILEAD_DMI            |  1 +
 baseconfig/x86/x86_64/CONFIG_USB_XHCI_PLATFORM     |  1 +
 baseconfig/x86/x86_64/CONFIG_XPOWER_PMIC_OPREGION  |  1 +
 kernel-x86_64-debug.config                         | 39 ++++++++++++++--------
 kernel-x86_64.config                               | 39 ++++++++++++++--------
 kernel.spec                                        |  5 +++
 31 files changed, 85 insertions(+), 26 deletions(-)
 create mode 100644 baseconfig/x86/x86_64/CONFIG_AK8975
 create mode 100644 baseconfig/x86/x86_64/CONFIG_AXP20X_ADC
 create mode 100644 baseconfig/x86/x86_64/CONFIG_AXP20X_POWER
 create mode 100644 baseconfig/x86/x86_64/CONFIG_AXP288_ADC
 create mode 100644 baseconfig/x86/x86_64/CONFIG_AXP288_CHARGER
 create mode 100644 baseconfig/x86/x86_64/CONFIG_AXP288_FUEL_GAUGE
 create mode 100644 baseconfig/x86/x86_64/CONFIG_BATTERY_MAX17042
 create mode 100644 baseconfig/x86/x86_64/CONFIG_CHARGER_BQ24190
 create mode 100644 baseconfig/x86/x86_64/CONFIG_EXTCON
 create mode 100644 baseconfig/x86/x86_64/CONFIG_EXTCON_AXP288
 create mode 100644 baseconfig/x86/x86_64/CONFIG_EXTCON_GPIO
 create mode 100644 baseconfig/x86/x86_64/CONFIG_EXTCON_INTEL_INT3496
 create mode 100644 baseconfig/x86/x86_64/CONFIG_EXTCON_MAX3355
 create mode 100644 baseconfig/x86/x86_64/CONFIG_EXTCON_RT8973A
 create mode 100644 baseconfig/x86/x86_64/CONFIG_EXTCON_SM5502
 create mode 100644 baseconfig/x86/x86_64/CONFIG_EXTCON_USB_GPIO
 create mode 100644 baseconfig/x86/x86_64/CONFIG_GPIO_AXP209
 create mode 100644 baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_CORE
 create mode 100644 baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_PCI
 create mode 100644 baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_PLATFORM
 create mode 100644 baseconfig/x86/x86_64/CONFIG_INPUT_AXP20X_PEK
 create mode 100644 baseconfig/x86/x86_64/CONFIG_INV_MPU6050_I2C
 create mode 100644 baseconfig/x86/x86_64/CONFIG_INV_MPU6050_IIO
 create mode 100644 baseconfig/x86/x86_64/CONFIG_MFD_AXP20X
 create mode 100644 baseconfig/x86/x86_64/CONFIG_MFD_AXP20X_I2C
 create mode 100644 baseconfig/x86/x86_64/CONFIG_SILEAD_DMI
 create mode 100644 baseconfig/x86/x86_64/CONFIG_USB_XHCI_PLATFORM
 create mode 100644 baseconfig/x86/x86_64/CONFIG_XPOWER_PMIC_OPREGION

diff --git a/baseconfig/x86/x86_64/CONFIG_AK8975 b/baseconfig/x86/x86_64/CONFIG_AK8975
new file mode 100644
index 00000000..547c21a9
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_AK8975
@@ -0,0 +1 @@
+CONFIG_AK8975=m
diff --git a/baseconfig/x86/x86_64/CONFIG_AXP20X_ADC b/baseconfig/x86/x86_64/CONFIG_AXP20X_ADC
new file mode 100644
index 00000000..0960ee66
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_AXP20X_ADC
@@ -0,0 +1 @@
+# CONFIG_AXP20X_ADC is not set
diff --git a/baseconfig/x86/x86_64/CONFIG_AXP20X_POWER b/baseconfig/x86/x86_64/CONFIG_AXP20X_POWER
new file mode 100644
index 00000000..e02cee70
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_AXP20X_POWER
@@ -0,0 +1 @@
+# CONFIG_AXP20X_POWER is not set
diff --git a/baseconfig/x86/x86_64/CONFIG_AXP288_ADC b/baseconfig/x86/x86_64/CONFIG_AXP288_ADC
new file mode 100644
index 00000000..e138f36a
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_AXP288_ADC
@@ -0,0 +1 @@
+CONFIG_AXP288_ADC=m
diff --git a/baseconfig/x86/x86_64/CONFIG_AXP288_CHARGER b/baseconfig/x86/x86_64/CONFIG_AXP288_CHARGER
new file mode 100644
index 00000000..0418f962
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_AXP288_CHARGER
@@ -0,0 +1 @@
+CONFIG_AXP288_CHARGER=m
diff --git a/baseconfig/x86/x86_64/CONFIG_AXP288_FUEL_GAUGE b/baseconfig/x86/x86_64/CONFIG_AXP288_FUEL_GAUGE
new file mode 100644
index 00000000..e171b954
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_AXP288_FUEL_GAUGE
@@ -0,0 +1 @@
+CONFIG_AXP288_FUEL_GAUGE=m
diff --git a/baseconfig/x86/x86_64/CONFIG_BATTERY_MAX17042 b/baseconfig/x86/x86_64/CONFIG_BATTERY_MAX17042
new file mode 100644
index 00000000..669e6ac2
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_BATTERY_MAX17042
@@ -0,0 +1 @@
+CONFIG_BATTERY_MAX17042=m
diff --git a/baseconfig/x86/x86_64/CONFIG_CHARGER_BQ24190 b/baseconfig/x86/x86_64/CONFIG_CHARGER_BQ24190
new file mode 100644
index 00000000..3128bb67
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_CHARGER_BQ24190
@@ -0,0 +1 @@
+CONFIG_CHARGER_BQ24190=m
diff --git a/baseconfig/x86/x86_64/CONFIG_EXTCON b/baseconfig/x86/x86_64/CONFIG_EXTCON
new file mode 100644
index 00000000..0a7190c0
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_EXTCON
@@ -0,0 +1 @@
+CONFIG_EXTCON=m
diff --git a/baseconfig/x86/x86_64/CONFIG_EXTCON_AXP288 b/baseconfig/x86/x86_64/CONFIG_EXTCON_AXP288
new file mode 100644
index 00000000..7fadeb58
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_EXTCON_AXP288
@@ -0,0 +1 @@
+CONFIG_EXTCON_AXP288=m
diff --git a/baseconfig/x86/x86_64/CONFIG_EXTCON_GPIO b/baseconfig/x86/x86_64/CONFIG_EXTCON_GPIO
new file mode 100644
index 00000000..87ca2bd0
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_EXTCON_GPIO
@@ -0,0 +1 @@
+# CONFIG_EXTCON_GPIO is not set
diff --git a/baseconfig/x86/x86_64/CONFIG_EXTCON_INTEL_INT3496 b/baseconfig/x86/x86_64/CONFIG_EXTCON_INTEL_INT3496
new file mode 100644
index 00000000..3f6c5d6f
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_EXTCON_INTEL_INT3496
@@ -0,0 +1 @@
+CONFIG_EXTCON_INTEL_INT3496=m
diff --git a/baseconfig/x86/x86_64/CONFIG_EXTCON_MAX3355 b/baseconfig/x86/x86_64/CONFIG_EXTCON_MAX3355
new file mode 100644
index 00000000..680b5a77
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_EXTCON_MAX3355
@@ -0,0 +1 @@
+# CONFIG_EXTCON_MAX3355 is not set
diff --git a/baseconfig/x86/x86_64/CONFIG_EXTCON_RT8973A b/baseconfig/x86/x86_64/CONFIG_EXTCON_RT8973A
new file mode 100644
index 00000000..e5f7236c
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_EXTCON_RT8973A
@@ -0,0 +1 @@
+# CONFIG_EXTCON_RT8973A is not set
diff --git a/baseconfig/x86/x86_64/CONFIG_EXTCON_SM5502 b/baseconfig/x86/x86_64/CONFIG_EXTCON_SM5502
new file mode 100644
index 00000000..916994aa
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_EXTCON_SM5502
@@ -0,0 +1 @@
+# CONFIG_EXTCON_SM5502 is not set
diff --git a/baseconfig/x86/x86_64/CONFIG_EXTCON_USB_GPIO b/baseconfig/x86/x86_64/CONFIG_EXTCON_USB_GPIO
new file mode 100644
index 00000000..7a0c9af3
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_EXTCON_USB_GPIO
@@ -0,0 +1 @@
+# CONFIG_EXTCON_USB_GPIO is not set
diff --git a/baseconfig/x86/x86_64/CONFIG_GPIO_AXP209 b/baseconfig/x86/x86_64/CONFIG_GPIO_AXP209
new file mode 100644
index 00000000..2365ae70
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_GPIO_AXP209
@@ -0,0 +1 @@
+CONFIG_GPIO_AXP209=m
diff --git a/baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_CORE b/baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_CORE
new file mode 100644
index 00000000..f9cdc633
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_CORE
@@ -0,0 +1 @@
+CONFIG_I2C_DESIGNWARE_CORE=y
diff --git a/baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_PCI b/baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_PCI
new file mode 100644
index 00000000..6103f947
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_PCI
@@ -0,0 +1 @@
+CONFIG_I2C_DESIGNWARE_PCI=y
diff --git a/baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_PLATFORM b/baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_PLATFORM
new file mode 100644
index 00000000..3d50a3e8
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_I2C_DESIGNWARE_PLATFORM
@@ -0,0 +1 @@
+CONFIG_I2C_DESIGNWARE_PLATFORM=y
diff --git a/baseconfig/x86/x86_64/CONFIG_INPUT_AXP20X_PEK b/baseconfig/x86/x86_64/CONFIG_INPUT_AXP20X_PEK
new file mode 100644
index 00000000..e2fbdf90
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_INPUT_AXP20X_PEK
@@ -0,0 +1 @@
+CONFIG_INPUT_AXP20X_PEK=m
diff --git a/baseconfig/x86/x86_64/CONFIG_INV_MPU6050_I2C b/baseconfig/x86/x86_64/CONFIG_INV_MPU6050_I2C
new file mode 100644
index 00000000..8ec049b0
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_INV_MPU6050_I2C
@@ -0,0 +1 @@
+CONFIG_INV_MPU6050_I2C=m
diff --git a/baseconfig/x86/x86_64/CONFIG_INV_MPU6050_IIO b/baseconfig/x86/x86_64/CONFIG_INV_MPU6050_IIO
new file mode 100644
index 00000000..ae4889d9
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_INV_MPU6050_IIO
@@ -0,0 +1 @@
+CONFIG_INV_MPU6050_IIO=m
diff --git a/baseconfig/x86/x86_64/CONFIG_MFD_AXP20X b/baseconfig/x86/x86_64/CONFIG_MFD_AXP20X
new file mode 100644
index 00000000..ada79c0d
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_MFD_AXP20X
@@ -0,0 +1 @@
+CONFIG_MFD_AXP20X=y
diff --git a/baseconfig/x86/x86_64/CONFIG_MFD_AXP20X_I2C b/baseconfig/x86/x86_64/CONFIG_MFD_AXP20X_I2C
new file mode 100644
index 00000000..22c60295
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_MFD_AXP20X_I2C
@@ -0,0 +1 @@
+CONFIG_MFD_AXP20X_I2C=y
diff --git a/baseconfig/x86/x86_64/CONFIG_SILEAD_DMI b/baseconfig/x86/x86_64/CONFIG_SILEAD_DMI
new file mode 100644
index 00000000..25b01735
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_SILEAD_DMI
@@ -0,0 +1 @@
+CONFIG_SILEAD_DMI=y
diff --git a/baseconfig/x86/x86_64/CONFIG_USB_XHCI_PLATFORM b/baseconfig/x86/x86_64/CONFIG_USB_XHCI_PLATFORM
new file mode 100644
index 00000000..060ebfc9
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_USB_XHCI_PLATFORM
@@ -0,0 +1 @@
+CONFIG_USB_XHCI_PLATFORM=m
diff --git a/baseconfig/x86/x86_64/CONFIG_XPOWER_PMIC_OPREGION b/baseconfig/x86/x86_64/CONFIG_XPOWER_PMIC_OPREGION
new file mode 100644
index 00000000..8c98df14
--- /dev/null
+++ b/baseconfig/x86/x86_64/CONFIG_XPOWER_PMIC_OPREGION
@@ -0,0 +1 @@
+CONFIG_XPOWER_PMIC_OPREGION=y
diff --git a/kernel-x86_64-debug.config b/kernel-x86_64-debug.config
index 08b52a89..d8d38c8e 100644
--- a/kernel-x86_64-debug.config
+++ b/kernel-x86_64-debug.config
@@ -192,7 +192,7 @@ CONFIG_AIC7XXX_RESET_DELAY_MS=15000
 CONFIG_AIX_PARTITION=y
 # CONFIG_AK09911 is not set
 # CONFIG_AK8974 is not set
-# CONFIG_AK8975 is not set
+CONFIG_AK8975=m
 # CONFIG_AL3320A is not set
 CONFIG_ALIENWARE_WMI=m
 CONFIG_ALI_FIR=m
@@ -326,6 +326,11 @@ CONFIG_AUXDISPLAY=y
 # CONFIG_AVERAGE is not set
 CONFIG_AX25_DAMA_SLAVE=y
 CONFIG_AX25=m
+# CONFIG_AXP20X_ADC is not set
+# CONFIG_AXP20X_POWER is not set
+CONFIG_AXP288_ADC=m
+CONFIG_AXP288_CHARGER=m
+CONFIG_AXP288_FUEL_GAUGE=m
 CONFIG_B43_BCMA_PIO=y
 CONFIG_B43_BCMA=y
 CONFIG_B43_DEBUG=y
@@ -385,7 +390,7 @@ CONFIG_BATMAN_ADV_NC=y
 # CONFIG_BATTERY_GAUGE_LTC2941 is not set
 # CONFIG_BATTERY_LEGO_EV3 is not set
 # CONFIG_BATTERY_MAX17040 is not set
-# CONFIG_BATTERY_MAX17042 is not set
+CONFIG_BATTERY_MAX17042=m
 # CONFIG_BATTERY_SBS is not set
 CONFIG_BAYCOM_EPP=m
 CONFIG_BAYCOM_PAR=m
@@ -699,7 +704,7 @@ CONFIG_CGROUP_PIDS=y
 CONFIG_CGROUP_SCHED=y
 CONFIG_CGROUPS=y
 # CONFIG_CHARGER_BQ2415X is not set
-# CONFIG_CHARGER_BQ24190 is not set
+CONFIG_CHARGER_BQ24190=m
 # CONFIG_CHARGER_BQ24257 is not set
 # CONFIG_CHARGER_BQ24735 is not set
 # CONFIG_CHARGER_BQ25890 is not set
@@ -1397,10 +1402,16 @@ CONFIG_EXT4_FS_SECURITY=y
 CONFIG_EXT4_FS=y
 CONFIG_EXT4_USE_FOR_EXT2=y
 # CONFIG_EXTCON_ADC_JACK is not set
+CONFIG_EXTCON_AXP288=m
+# CONFIG_EXTCON_GPIO is not set
 CONFIG_EXTCON_INTEL_CHT_WC=y
 CONFIG_EXTCON_INTEL_INT3496=m
-# CONFIG_EXTCON is not set
+CONFIG_EXTCON=m
+# CONFIG_EXTCON_MAX3355 is not set
 # CONFIG_EXTCON_QCOM_SPMI_MISC is not set
+# CONFIG_EXTCON_RT8973A is not set
+# CONFIG_EXTCON_SM5502 is not set
+# CONFIG_EXTCON_USB_GPIO is not set
 CONFIG_EXTRA_FIRMWARE=""
 # CONFIG_EZNPS_GIC is not set
 # CONFIG_EZX_PCAP is not set
@@ -1617,6 +1628,7 @@ CONFIG_GIRBIL_DONGLE=m
 # CONFIG_GPIO_ALTERA is not set
 # CONFIG_GPIO_AMD8111 is not set
 # CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AXP209=m
 # CONFIG_GPIO_BT8XX is not set
 CONFIG_GPIO_CRYSTAL_COVE=y
 # CONFIG_GPIO_CS5535 is not set
@@ -1903,10 +1915,10 @@ CONFIG_I2C_COMPAT=y
 # CONFIG_I2C_DEBUG_CORE is not set
 # CONFIG_I2C_DEMUX_PINCTRL is not set
 CONFIG_I2C_DESIGNWARE_BAYTRAIL=y
-CONFIG_I2C_DESIGNWARE_CORE=m
+CONFIG_I2C_DESIGNWARE_CORE=y
 # CONFIG_I2C_DESIGNWARE is not set
-CONFIG_I2C_DESIGNWARE_PCI=m
-CONFIG_I2C_DESIGNWARE_PLATFORM=m
+CONFIG_I2C_DESIGNWARE_PCI=y
+CONFIG_I2C_DESIGNWARE_PLATFORM=y
 CONFIG_I2C_DIOLAN_U2C=m
 # CONFIG_I2C_EG20T is not set
 # CONFIG_I2C_EMEV2 is not set
@@ -2086,6 +2098,7 @@ CONFIG_INPUT_APANEL=m
 CONFIG_INPUT_ATI_REMOTE2=m
 CONFIG_INPUT_ATLAS_BTNS=m
 # CONFIG_INPUT_ATMEL_CAPTOUCH is not set
+CONFIG_INPUT_AXP20X_PEK=m
 # CONFIG_INPUT_BMA150 is not set
 CONFIG_INPUT_CM109=m
 CONFIG_INPUT_CMA3000_I2C=m
@@ -2184,8 +2197,8 @@ CONFIG_INTEL_TXT=y
 CONFIG_INTEL_VBTN=m
 CONFIG_INTEL_XWAY_PHY=m
 # CONFIG_INTERVAL_TREE_TEST is not set
-# CONFIG_INV_MPU6050_I2C is not set
-# CONFIG_INV_MPU6050_IIO is not set
+CONFIG_INV_MPU6050_I2C=m
+CONFIG_INV_MPU6050_IIO=m
 # CONFIG_INV_MPU6050_SPI is not set
 # CONFIG_IOMMU_DEBUG is not set
 # CONFIG_IOMMU_STRESS is not set
@@ -2864,8 +2877,8 @@ CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
 # CONFIG_MFD_ASIC3 is not set
 # CONFIG_MFD_ATMEL_FLEXCOM is not set
 # CONFIG_MFD_ATMEL_HLCDC is not set
-# CONFIG_MFD_AXP20X_I2C is not set
-# CONFIG_MFD_AXP20X is not set
+CONFIG_MFD_AXP20X_I2C=y
+CONFIG_MFD_AXP20X=y
 # CONFIG_MFD_BCM590XX is not set
 CONFIG_MFD_CORE=y
 # CONFIG_MFD_CPCAP is not set
@@ -4695,7 +4708,7 @@ CONFIG_SH_ETH=m
 # CONFIG_SIGMA is not set
 CONFIG_SIGMATEL_FIR=m
 CONFIG_SIGNED_PE_FILE_VERIFICATION=y
-# CONFIG_SILEAD_DMI is not set
+CONFIG_SILEAD_DMI=y
 CONFIG_SIS190=m
 CONFIG_SIS900=m
 # CONFIG_SKFP is not set
@@ -5731,7 +5744,7 @@ CONFIG_USB_WDM=m
 CONFIG_USB_WUSB_CBAF=m
 CONFIG_USB_WUSB=m
 CONFIG_USB_XHCI_HCD=y
-# CONFIG_USB_XHCI_PLATFORM is not set
+CONFIG_USB_XHCI_PLATFORM=m
 CONFIG_USB_XUSBATM=m
 CONFIG_USB=y
 CONFIG_USB_YUREX=m
diff --git a/kernel-x86_64.config b/kernel-x86_64.config
index 9fedd204..abcc8bb4 100644
--- a/kernel-x86_64.config
+++ b/kernel-x86_64.config
@@ -192,7 +192,7 @@ CONFIG_AIC7XXX_RESET_DELAY_MS=15000
 CONFIG_AIX_PARTITION=y
 # CONFIG_AK09911 is not set
 # CONFIG_AK8974 is not set
-# CONFIG_AK8975 is not set
+CONFIG_AK8975=m
 # CONFIG_AL3320A is not set
 CONFIG_ALIENWARE_WMI=m
 CONFIG_ALI_FIR=m
@@ -325,6 +325,11 @@ CONFIG_AUXDISPLAY=y
 # CONFIG_AVERAGE is not set
 CONFIG_AX25_DAMA_SLAVE=y
 CONFIG_AX25=m
+# CONFIG_AXP20X_ADC is not set
+# CONFIG_AXP20X_POWER is not set
+CONFIG_AXP288_ADC=m
+CONFIG_AXP288_CHARGER=m
+CONFIG_AXP288_FUEL_GAUGE=m
 CONFIG_B43_BCMA_PIO=y
 CONFIG_B43_BCMA=y
 CONFIG_B43_DEBUG=y
@@ -384,7 +389,7 @@ CONFIG_BATMAN_ADV_NC=y
 # CONFIG_BATTERY_GAUGE_LTC2941 is not set
 # CONFIG_BATTERY_LEGO_EV3 is not set
 # CONFIG_BATTERY_MAX17040 is not set
-# CONFIG_BATTERY_MAX17042 is not set
+CONFIG_BATTERY_MAX17042=m
 # CONFIG_BATTERY_SBS is not set
 CONFIG_BAYCOM_EPP=m
 CONFIG_BAYCOM_PAR=m
@@ -698,7 +703,7 @@ CONFIG_CGROUP_PIDS=y
 CONFIG_CGROUP_SCHED=y
 CONFIG_CGROUPS=y
 # CONFIG_CHARGER_BQ2415X is not set
-# CONFIG_CHARGER_BQ24190 is not set
+CONFIG_CHARGER_BQ24190=m
 # CONFIG_CHARGER_BQ24257 is not set
 # CONFIG_CHARGER_BQ24735 is not set
 # CONFIG_CHARGER_BQ25890 is not set
@@ -1386,10 +1391,16 @@ CONFIG_EXT4_FS_SECURITY=y
 CONFIG_EXT4_FS=y
 CONFIG_EXT4_USE_FOR_EXT2=y
 # CONFIG_EXTCON_ADC_JACK is not set
+CONFIG_EXTCON_AXP288=m
+# CONFIG_EXTCON_GPIO is not set
 CONFIG_EXTCON_INTEL_CHT_WC=y
 CONFIG_EXTCON_INTEL_INT3496=m
-# CONFIG_EXTCON is not set
+CONFIG_EXTCON=m
+# CONFIG_EXTCON_MAX3355 is not set
 # CONFIG_EXTCON_QCOM_SPMI_MISC is not set
+# CONFIG_EXTCON_RT8973A is not set
+# CONFIG_EXTCON_SM5502 is not set
+# CONFIG_EXTCON_USB_GPIO is not set
 CONFIG_EXTRA_FIRMWARE=""
 # CONFIG_EZNPS_GIC is not set
 # CONFIG_EZX_PCAP is not set
@@ -1599,6 +1610,7 @@ CONFIG_GIRBIL_DONGLE=m
 # CONFIG_GPIO_ALTERA is not set
 # CONFIG_GPIO_AMD8111 is not set
 # CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AXP209=m
 # CONFIG_GPIO_BT8XX is not set
 CONFIG_GPIO_CRYSTAL_COVE=y
 # CONFIG_GPIO_CS5535 is not set
@@ -1885,10 +1897,10 @@ CONFIG_I2C_COMPAT=y
 # CONFIG_I2C_DEBUG_CORE is not set
 # CONFIG_I2C_DEMUX_PINCTRL is not set
 CONFIG_I2C_DESIGNWARE_BAYTRAIL=y
-CONFIG_I2C_DESIGNWARE_CORE=m
+CONFIG_I2C_DESIGNWARE_CORE=y
 # CONFIG_I2C_DESIGNWARE is not set
-CONFIG_I2C_DESIGNWARE_PCI=m
-CONFIG_I2C_DESIGNWARE_PLATFORM=m
+CONFIG_I2C_DESIGNWARE_PCI=y
+CONFIG_I2C_DESIGNWARE_PLATFORM=y
 CONFIG_I2C_DIOLAN_U2C=m
 # CONFIG_I2C_EG20T is not set
 # CONFIG_I2C_EMEV2 is not set
@@ -2068,6 +2080,7 @@ CONFIG_INPUT_APANEL=m
 CONFIG_INPUT_ATI_REMOTE2=m
 CONFIG_INPUT_ATLAS_BTNS=m
 # CONFIG_INPUT_ATMEL_CAPTOUCH is not set
+CONFIG_INPUT_AXP20X_PEK=m
 # CONFIG_INPUT_BMA150 is not set
 CONFIG_INPUT_CM109=m
 CONFIG_INPUT_CMA3000_I2C=m
@@ -2166,8 +2179,8 @@ CONFIG_INTEL_TXT=y
 CONFIG_INTEL_VBTN=m
 CONFIG_INTEL_XWAY_PHY=m
 # CONFIG_INTERVAL_TREE_TEST is not set
-# CONFIG_INV_MPU6050_I2C is not set
-# CONFIG_INV_MPU6050_IIO is not set
+CONFIG_INV_MPU6050_I2C=m
+CONFIG_INV_MPU6050_IIO=m
 # CONFIG_INV_MPU6050_SPI is not set
 # CONFIG_IOMMU_DEBUG is not set
 # CONFIG_IOMMU_STRESS is not set
@@ -2844,8 +2857,8 @@ CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
 # CONFIG_MFD_ASIC3 is not set
 # CONFIG_MFD_ATMEL_FLEXCOM is not set
 # CONFIG_MFD_ATMEL_HLCDC is not set
-# CONFIG_MFD_AXP20X_I2C is not set
-# CONFIG_MFD_AXP20X is not set
+CONFIG_MFD_AXP20X_I2C=y
+CONFIG_MFD_AXP20X=y
 # CONFIG_MFD_BCM590XX is not set
 CONFIG_MFD_CORE=y
 # CONFIG_MFD_CPCAP is not set
@@ -4674,7 +4687,7 @@ CONFIG_SH_ETH=m
 # CONFIG_SIGMA is not set
 CONFIG_SIGMATEL_FIR=m
 CONFIG_SIGNED_PE_FILE_VERIFICATION=y
-# CONFIG_SILEAD_DMI is not set
+CONFIG_SILEAD_DMI=y
 CONFIG_SIS190=m
 CONFIG_SIS900=m
 # CONFIG_SKFP is not set
@@ -5709,7 +5722,7 @@ CONFIG_USB_WDM=m
 CONFIG_USB_WUSB_CBAF=m
 CONFIG_USB_WUSB=m
 CONFIG_USB_XHCI_HCD=y
-# CONFIG_USB_XHCI_PLATFORM is not set
+CONFIG_USB_XHCI_PLATFORM=m
 CONFIG_USB_XUSBATM=m
 CONFIG_USB=y
 CONFIG_USB_YUREX=m
diff --git a/kernel.spec b/kernel.spec
index 3cb67fd1..6d93d2a7 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -2165,6 +2165,11 @@ fi
 #
 #
 %changelog
+* Wed Jun 14 2017 Hans de Goede <jwrdegoede@fedoraproject.org>
+- Enable AXP288 PMIC support on x86_64 for battery charging and monitoring
+  support on Bay and Cherry Trail tablets and laptops
+- Enable various drivers for peripherals found on Bay and Cherry Trail tablets
+
 * Mon Jun 12 2017 Justin M. Forbes <jforbes@fedoraproject.org> - 4.12.0-0.rc5.git0.1
 - Linux v4.12-rc5
 - Disable debugging options.
-- 
2.13.0