aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/Kconfig
blob: c766ac7d57cef10ddfc60b6c2cc22fcffc41ce8e (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
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
# arch/arm/mach-exynos/Kconfig
#
# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
#		http://www.samsung.com/
#
# Licensed under GPLv2

# Configuration options for the EXYNOS

if ARCH_EXYNOS

choice
	prompt "EXYNOS system type"
	default ARCH_EXYNOS4

config ARCH_EXYNOS4
	bool "Samsung Exynos4"
	select ARM_ERRATA_743622
	select ARM_ERRATA_751472
	select ARM_ERRATA_754322
	select ARM_ERRATA_764369
	help
	  Samsung EXYNOS4 series based systems

config ARCH_EXYNOS5
	bool "Samsung Exynos5"
	select ARM_ERRATA_761171
	select ARM_ERRATA_762974
	select ARM_ERRATA_763722
	select HAVE_EXYNOS5_HSI2C if I2C
	help
	  Samsung EXYNOS5 series based systems

endchoice

config CPU_EXYNOS4210
	bool
	select S3C_PL330_DMA
	select PL310_ERRATA_727915
	select ARM_ERRATA_753970
	help
	  Enable EXYNOS4210 CPU support

config CPU_EXYNOS4212
	bool
	select S3C_PL330_DMA
	help
	  Enable EXYNOS4212 CPU support

config CPU_EXYNOS4412
	bool
	select S3C_PL330_DMA
	select ARM_ERRATA_761320
	help
	  Enable EXYNOS4412 CPU support

config CPU_EXYNOS5210
	bool
	select S3C_PL330_DMA
	help
	  Enable EXYNOS5210 CPU support

config S5PV310_HI_ARMCLK_THAN_1_2GHZ
	bool "Enable the higher ARM clock than 1.2GHz"
	default n
	help
	  S5PV310 has different max arm clock. (i.e. 1.0GHz, 1.2GHz and 1.4GHz etc.)
	  If you are using the chip to work at the high clock than 1.2GHz,
	  activate this option.

choice
	prompt "EXYNOS5210 core type"
	depends on CPU_EXYNOS5210
	default CPU_A15

config CPU_EXYNOS5210_A15
	bool "A15 core"
	help
	  A15 dual core CPU support

config CPU_EXYNOS5210_A5_IOP
	bool "A5 IOP core"
	help
	  A5 single core CPU support
endchoice

config CPU_EXYNOS5250
	bool
	select S3C_PL330_DMA
	help
	  Enable EXYNOS5250 CPU support

config EXYNOS_CONTENT_PATH_PROTECTION
	bool "Exynos Content Path Protection"
	depends on (ARM_TRUSTZONE && (ARCH_EXYNOS4 || ARCH_EXYNOS5))
	default n
	help
	  Enable content path protection of EXYNOS.

config EXYNOS4_PM
	bool "Exynos4 Power Management"
	depends on (PM && ARCH_EXYNOS4)
	default y
	help
	  Enable suspend and resume for Exynos4 series.

config EXYNOS5_PM
	bool "Exynos5 Power Management"
	depends on (PM && ARCH_EXYNOS5)
	default y
	help
	  Enable suspend and resume for Exynos5 series.

config EXYNOS4_CPUIDLE
	bool "Exynos4 CPUIDLE Feature"
	depends on (CPU_IDLE && ARCH_EXYNOS4)
	default y
	help
	  Enable CPUIDLE for Exynos4 series.

config EXYNOS4_LOWPWR_IDLE
	bool "Exynos4 Lowpower IDLE Feature"
	depends on EXYNOS4_CPUIDLE
	default y
	help
	  Enable Low power IDLE for Exynos4 series.

config EXYNOS5_CPUIDLE
	bool "Exynos5 CPUIDLE Feature"
	depends on (CPU_IDLE && ARCH_EXYNOS5)
	default y
	help
	  Enable CPUIDLE for Exynos5 series.

config EXYNOS5_LOWPWR_IDLE
	bool "Exynos5 Lowpower IDLE Feature"
	depends on EXYNOS5_CPUIDLE
	default y
	help
	  Enable Low power IDLE for Exynos5 series.

config EXYNOS_MCT
	bool
	default y
	help
	  Use MCT (Multi Core Timer) as kernel timers

config EXYNOS5_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI SATA3.0

config EXYNOS4_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

config EXYNOS4_SETUP_FIMD
	bool
	help
	  Common setup code for FIMD.

config EXYNOS4_SETUP_DP
	bool
	help
	  Common setup code for DP.

config EXYNOS_DEV_SYSMMU
	bool
	help
	  Common setup code for SYSTEM MMU in EXYNOS

config EXYNOS_DEV_PD
	bool
	select SAMSUNG_PD
	help
	  Compile in platform device definitions for Power Domain

config EXYNOS4_DEV_DWMCI
	bool
	help
	  Compile in platform device definitions for DWMCI

config EXYNOS4_DEV_FIMC_LITE
	bool
	help
	  Compile in platform device definitions for FIMC_LITE

config EXYNOS4_DEV_FIMC_IS
	bool
	depends on (VIDEO_EXYNOS_FIMC_IS || VIDEO_EXYNOS5_FIMC_IS)
	default y
	help
	  Compile in platform device definition for FIMC-IS

config EXYNOS4_SETUP_HDMI
	bool
	help
	  Common setup code for hdmi

config EXYNOS4_SETUP_I2C1
	bool
	help
	  Common setup code for i2c bus 1.

config EXYNOS4_SETUP_I2C2
	bool
	help
	  Common setup code for i2c bus 2.

config EXYNOS4_SETUP_I2C3
	bool
	help
	  Common setup code for i2c bus 3.

config EXYNOS4_SETUP_I2C4
	bool
	help
	  Common setup code for i2c bus 4.

config EXYNOS4_SETUP_I2C5
	bool
	help
	  Common setup code for i2c bus 5.

config EXYNOS4_SETUP_I2C6
	bool
	help
	  Common setup code for i2c bus 6.

config EXYNOS4_SETUP_I2C7
	bool
	help
	  Common setup code for i2c bus 7.

config EXYNOS5_SETUP_HSI2C0
	bool
	help
	  Common setup code for hs-i2c bus 0.

config EXYNOS5_SETUP_HSI2C1
	bool
	help
	  Common setup code for hs-i2c bus 1.

config EXYNOS5_SETUP_HSI2C2
	bool
	help
	  Common setup code for hs-i2c bus 2.

config EXYNOS5_DEV_HSI2C0
	bool
	help
	  Compile in platform device definitions for HS-I2C channel 0

config EXYNOS5_DEV_HSI2C1
	bool
	help
	  Compile in platform device definitions for HS-I2C channel 1

config EXYNOS5_DEV_HSI2C2
	bool
	help
	  Compile in platform device definitions for HS-I2C channel 2

config EXYNOS5_DEV_HSI2C3
	bool
	help
	  Compile in platform device definitions for HS-I2C channel 3

config EXYNOS5_SETUP_HSI2C3
	bool
	help
	  Common setup code for hs-i2c bus 3.

config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

config EXYNOS4_SETUP_MFC
	bool
	help
	  Common setup code for MFC.

config EXYNOS4_SETUP_SDHCI
	bool
	select EXYNOS4_SETUP_SDHCI_GPIO
	help
	  Internal helper functions for EXYNOS4 based SDHCI systems.

config EXYNOS4_SETUP_SDHCI_GPIO
	bool
	help
	  Common setup code for SDHCI gpio.

config EXYNOS4_SETUP_MSHCI
	bool
	select EXYNOS4_SETUP_MSHCI_GPIO
	help
	  Internal helper functions for EXYNOS4 based MSHCI systems.

config EXYNOS4_SETUP_MSHCI_GPIO
	bool
	help
	  Common setup code for MSHCI gpio.

config EXYNOS4_SETUP_FIMC
	bool
	depends on VIDEO_SAMSUNG_S5P_FIMC
	default y
	help
	  Common setup code for the camera interfaces.

config EXYNOS4_SETUP_FIMC0
	bool
	depends on VIDEO_FIMC
	default y
	help
	  Common setup code for the camera interfaces.

config EXYNOS4_SETUP_FIMC1
	bool
	depends on VIDEO_FIMC
	default y
	help
	  Common setup code for the camera interfaces.

config EXYNOS4_SETUP_FIMC2
	bool
	depends on VIDEO_FIMC
	default y
	help
	  Common setup code for the camera interfaces.

config EXYNOS4_SETUP_FIMC3
	bool
	depends on VIDEO_FIMC
	default y
	help
	  Common setup code for the camera interfaces.

config EXYNOS4_SETUP_FIMC_IS
	bool
	depends on (VIDEO_EXYNOS_FIMC_IS || VIDEO_EXYNOS5_FIMC_IS)
	default y
	help
	  Common setup code for the FIMC-IS

config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

config EXYNOS4_SETUP_CSIS
	bool
	depends on VIDEO_FIMC_MIPI
	default y
	help
	  Common setup code for MIPI-CSIS

config EXYNOS4_SETUP_FB_S5P
	bool
	default n
	help
	  Setup code for EXYNOS4 FIMD

config EXYNOS4_SETUP_TVOUT
	bool "enabel EXYNOS4_SETUP_TVOUT"
	default y
	help
	  Common setup code for TVOUT

config EXYNOS4_SETUP_THERMAL
	bool "Use thermal management for exynos4"
	depends on CPU_FREQ
	help
	  Common setup code for Exynos4 TMU

config EXYNOS_SETUP_THERMAL
	bool "Use thermal management"
	depends on CPU_FREQ
	help
	  Common setup code for TMU

config TMU_DEBUG
	bool "Thermal management Debug"
	depends on EXYNOS_SETUP_THERMAL
	help
	  TMU debugging message on

config EXYNOS4_SETUP_MIPI_DSI
	bool
	depends on FB_S5P_MIPI_DSIM
	default y
	help
	  Common setup code for MIPI_DSIM.

config EXYNOS4_SETUP_MIPI_DSIM
	bool
	depends on FB_MIPI_DSIM
	default y
	help
	  Common setup code for MIPI_DSIM to support mainline style fimd.

config EXYNOS4_SETUP_JPEG
	bool
	depends on VIDEO_JPEG_V2X
	default y
	help
	  Common setup code for JPEG

config EXYNOS5_DEV_GSC
	bool
	depends on VIDEO_EXYNOS_GSCALER
	default y
	help
	  Compile in platform device definitions for GSC

config EXYNOS5_DEV_FIMC_IS
	bool
	depends on VIDEO_EXYNOS5_FIMC_IS
	default y
	help
	  Compile in platform device definition for FIMC-IS

config EXYNOS5_SETUP_GSC
	bool
	depends on VIDEO_EXYNOS_GSCALER
	default y
	help
	  Common setup code for GSC

config EXYNOS4_ENABLE_CLOCK_DOWN
	bool "ARM core clock down feature enable"
	depends on EXYNOS4_CPUIDLE
	default n
	help
	  ARM core clock down in idle time.

config EXYNOS5_ENABLE_CLOCK_DOWN
	bool "ARM core clock down feature enable"
	depends on EXYNOS5_CPUIDLE
	default n
	help
	  ARM core clock down in idle time.

config EXYNOS4_CPUFREQ
	def_bool y
	depends on CPU_FREQ && ARCH_EXYNOS4
	help
	  Exynos4 cpufreq support

config EXYNOS5_CPUFREQ
	def_bool y
	depends on CPU_FREQ && ARCH_EXYNOS5
	help
	  Exynos5 cpufreq support

choice
	prompt "Max CPU frequency"
	depends on EXYNOS4_CPUFREQ
	default EXYNOS4X12_1400MHZ_SUPPORT if (CPU_EXYNOS4212 || CPU_EXYNOS4412)
	default EXYNOS4210_1400MHZ_SUPPORT if CPU_EXYNOS4210

config EXYNOS4210_1200MHZ_SUPPORT
	bool "Max 1200MHz CPUFREQ LEVEL"
	depends on EXYNOS4_CPUFREQ && CPU_EXYNOS4210
	help
	  Max 1.2Ghz support

config EXYNOS4210_1400MHZ_SUPPORT
	bool "Max 1400MHz CPUFREQ LEVEL"
	depends on EXYNOS4_CPUFREQ && CPU_EXYNOS4210
	help
	  Max 1.4Ghz support

config EXYNOS4X12_1500MHZ_SUPPORT
	bool "Max 1500MHz CPUFREQ LEVEL"
	depends on EXYNOS4_CPUFREQ && (CPU_EXYNOS4212 || CPU_EXYNOS4412)
	help
	  Max 1.5Ghz support

config EXYNOS4X12_1400MHZ_SUPPORT
	bool "Max 1400MHz CPUFREQ LEVEL"
	depends on EXYNOS4_CPUFREQ && (CPU_EXYNOS4212 || CPU_EXYNOS4412)
	help
	  Max 1.4Ghz support

config EXYNOS4X12_1200MHZ_SUPPORT
	bool "Max 1200MHz CPUFREQ LEVEL"
	depends on EXYNOS4_CPUFREQ && (CPU_EXYNOS4212 || CPU_EXYNOS4412)
	help
	  Max 1.2Ghz support

config EXYNOS4X12_1000MHZ_SUPPORT
	bool "Max 1000MHz CPUFREQ LEVEL"
	depends on EXYNOS4_CPUFREQ && (CPU_EXYNOS4212 || CPU_EXYNOS4412)
	help
	  Max 1.0Ghz support

endchoice

config MIDAS_COMMON
	bool
	help
	  Support common devices of MIDAS boards

menu "Support dynamic CPU Hotplug"
	depends on HOTPLUG_CPU && SMP

config EXYNOS_PM_HOTPLUG
	bool "EXYNOS Dynamic Hotplug"
	help
	  Dynamic CPU HOTLUG for EXYNOS series

choice
	prompt "Dynamic CPU HOTPLUG Policy"
	depends on EXYNOS_PM_HOTPLUG
	default DVFS_NR_RUNNING_POLICY if (CPU_EXYNOS4212 || CPU_EXYNOS4412 || CPU_EXYNOS5250)

config STAND_ALONE_POLICY
	bool "Stand alone policy CPU hotplug"
	depends on EXYNOS_PM_HOTPLUG
	help
	  PM hotplug policy. This is for exynos4210
	  Enable to use pm hotplug, then it uses stand-hotplug.c file.
	  Avg-load is calculated with both cpu frequency aspect
	  and run queue status.

config LEGACY_HOTPLUG_POLICY
	bool "Legacy policy CPU hotplug"
	depends on EXYNOS_PM_HOTPLUG
	help
	  PM hotplug policy. This is for exynos4210
	  Enable to use pm hotplug, then it uses pm-hotplug.c file.
	  Avg-load is calculated with only cpu utilization of cpu
	  frequency at that time.

config WITH_DVFS_POLICY
	depends on EXYNOS4_CPUFREQ
	bool "Intergrated DVFS CPU hotplug"

config DVFS_NR_RUNNING_POLICY
	depends on (EXYNOS4_CPUFREQ || EXYNOS5_CPUFREQ)
	bool "DVFS-nr_running CPU hotplug"

config NR_RUNNING_POLICY
	bool "nr_running CPU hotplug"

endchoice
endmenu

menu "Busfreq Model"
	depends on EXYNOS4_CPUFREQ || EXYNOS5_CPUFREQ

config BUSFREQ
	bool "Busfreq with PPC/PPMU"
	depends on EXYNOS4_CPUFREQ

config BUSFREQ_QOS
	bool "QoS with Busfreq"
	depends on BUSFREQ
	default n

config BUSFREQ_OPP
	bool "Busfreq with OPP"
	depends on EXYNOS4_CPUFREQ || EXYNOS5_CPUFREQ

config DISPFREQ_OPP
	bool "Dispfreq with OPP"
	depends on EXYNOS4_CPUFREQ || EXYNOS5_CPUFREQ

config DEVFREQ_BUS
	bool "Busfreq support with Devfreq framework & Simple-Ondemand"
	depends on EXYNOS4_CPUFREQ
	select PM_DEVFREQ
	select ARM_EXYNOS4_BUS_DEVFREQ

choice
	prompt "QoS LEVEL By Resolution"
	depends on BUSFREQ_QOS || BUSFREQ_OPP
	default BUSFREQ_QOS_LEVEL_NONE

config BUSFREQ_QOS_NONE
	bool "QoS Setting is not required"

config BUSFREQ_QOS_1024X600
	bool "QoS for 1024x600 (like P2)"

config BUSFREQ_QOS_1280X720
	bool "QoS for 1280x720 (like M0/T0)"

config BUSFREQ_QOS_1280X800
	bool "QoS for 1280x800 or 800x1280 (like Q1/P8)"

endchoice

endmenu

config BUSFREQ_DEBUG
	bool "BUSFREQ sysfs support"
	default n

config GPIO_MIDAS_01_BD
	bool "GPIO configuration for Midas 01 BD"
	depends on MACH_SLP_MIDAS

config GPIO_MIDAS_02_BD
	bool "GPIO configuration for Midas 02 BD"
	depends on MACH_SLP_MIDAS

config BUSFREQ_L2_160M
	bool "Busfreq L2 level use 160MHz"
	default n
	help
	Busfreq uses 160MHz for L2, not 133MHz. Optimize busfreq
	dvfs level transition for LCD high resolution.
	This enable 160MHz of L2 level. Q1 has high LCD resolution,
	so uses busfreq dvfs L2 as 160MHz.

config SEC_THERMISTOR
	bool "Use external thermistor with ADC"
	depends on SAMSUNG_DEV_ADC
	default n
	help
	 Use thermistor driver for U1 & U1 Premium.
	 U1 has two thermistors. this device driver use one of those
	 to check system temperature.

config EXYNOS_SYSREG_PM
	bool "PM Support for System Registers"
	depends on CPU_EXYNOS4210 || CPU_EXYNOS4412 || CPU_EXYNOS4212
	default n
	help
	  Use System Register save/restore for suspend-to-RAM
	  Some boards have this code hard coded in device drivers(FB);
	  however, this is better supported at SoC support code.
	  Currently, SLP kernel depends on this.

config ANDROID_WIP
	bool "work in progress hacks for android"
	default n
	help
	  This enables 'work in progress' hacks for android issues.
	  Please remove it later.

config COMPACTION_RETRY
	bool "retry compaction once more after direct reclaim fails"
	default n
	depends on COMPACTION
	help
	  This enables compaction retry in android.
	  If fails to get pages even with direct reclaim,
	  we give one more try to allocate pages with forced compaction.
	  This might avoid oom-killer invocation.
	  with many free pages being already there.

config COMPACTION_RETRY_DEBUG
	bool "debug information for COMPACTION_RETRY"
	default n
	depends on COMPACTION_RETRY
	help
	  This enables debug feature for compaction retry.
	  This shows us the buddy information
	  before and after compation retrial.
	  This should be turned off later.

# machine support

menu "EXYNOS4 Machines"
	depends on ARCH_EXYNOS4

config MACH_SMDKC210
	bool "SMDKC210"
	select CPU_EXYNOS4210
	select S3C_DEV_RTC
	select S3C_DEV_WDT
	select S3C_DEV_I2C1
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_HWMON if S3C_ADC
	select S5P_GPIO_INT
	select S5P_DEV_FIMD0
	select S5P_DEV_FIMD_S5P
	select S5P_DEV_MFC
	select S5P_DEV_FIMG2D
	select S5P_DEV_ROTATOR
	select S5P_DEV_USBGADGET
	select S5P_DEV_JPEG
	select S5P_DEV_THERMAL
	select S5P_DEV_USB_EHCI
	select S5P_SYSTEM_MMU
	select EXYNOS_DEV_PD
	select EXYNOS4_SETUP_FIMD0
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_KEYPAD
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_FB_S5P
	select EXYNOS4_SETUP_USB_PHY
	select EXYNOS4_SETUP_MFC
	select SAMSUNG_DEV_KEYPAD
	select SAMSUNG_DEV_ADC
	select SAMSUNG_DEV_TS
	select SAMSUNG_DEV_TS1
	select SAMSUNG_DEV_PWM
	select SAMSUNG_DEV_BACKLIGHT
	help
	  Machine support for Samsung SMDKC210

config MACH_SMDKV310
	bool "SMDKV310"
	select CPU_EXYNOS4210
	select S3C_DEV_RTC
	select S3C_DEV_WDT
	select S3C_DEV_I2C1
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_HWMON if S3C_ADC
	select S5P_GPIO_INT
	select S5P_DEV_FIMD0
	select S5P_DEV_FIMD_S5P
	select S5P_DEV_MFC
	select S5P_DEV_FIMG2D
	select S5P_DEV_ROTATOR
	select S5P_DEV_USBGADGET
	select S5P_DEV_JPEG
	select S5P_DEV_THERMAL
	select S5P_DEV_USB_EHCI
	select S5P_SYSTEM_MMU
	select EXYNOS_DEV_PD
	select EXYNOS4_SETUP_FIMD0
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_KEYPAD
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_FB_S5P
	select EXYNOS4_SETUP_USB_PHY
	select EXYNOS4_SETUP_MFC
	select EXYNOS4_DEV_AHCI
	select SAMSUNG_DEV_PWM
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_KEYPAD
	select SAMSUNG_DEV_ADC
	select SAMSUNG_DEV_TS
	select SAMSUNG_DEV_TS1
	help
	  Machine support for Samsung SMDKV310

config MACH_ARMLEX4210
	bool "ARMLEX4210"
	select CPU_EXYNOS4210
	select S3C_DEV_RTC
	select S3C_DEV_WDT
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S5P_SYSTEM_MMU
	select EXYNOS4_DEV_AHCI
	select EXYNOS4_SETUP_SDHCI
	help
	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210

config MACH_UNIVERSAL_C210
	bool "Mobile UNIVERSAL_C210 Board"
	select CPU_EXYNOS4210
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
	select S3C_DEV_I2C5
	select S5P_DEV_ONENAND
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_SDHCI
	help
	  Machine support for Samsung Mobile Universal S5PC210 Reference
	  Board.

config MACH_NURI
	bool "Mobile NURI Board"
	select CPU_EXYNOS4210
	select S3C_DEV_WDT
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
	select S3C_DEV_I2C3
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select S5P_DEV_USB_EHCI
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C3
	select EXYNOS4_SETUP_I2C4
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_USB_PHY
	select SAMSUNG_DEV_PWM
	help
	  Machine support for Samsung Mobile NURI Board.
config MACH_U1_NA_SPR
	bool "NA"
	select S3C_DEV_I2C17_EMUL
	select S3C_DEV_I2C4
	select EXYNOS4_SETUP_I2C4
config MACH_U1_NA_USCC
	bool "NA"
	select S3C_DEV_I2C17_EMUL
	select S3C_DEV_I2C4
	select EXYNOS4_SETUP_I2C4
config MACH_U1
	bool "U1 board"
	select CPU_EXYNOS4210
	select S5P_GPIO_INT
	select S5P_DEV_FIMD0
	select S5P_DEV_FIMD_S5P
	select S5P_DEV_TVOUT
	select S5P_DEV_MFC
	select S5P_DEV_FIMG2D
	select S5P_DEV_USB_EHCI
	select S5P_SYSTEM_MMU
	select S5P_DEV_USBGADGET
	select S3C_DEV_RTC
	select S3C_DEV_WDT
	select S3C_DEV_I2C1
	select S3C_DEV_I2C3
	select S3C_DEV_I2C5
	select S3C_DEV_I2C6
	select S3C_DEV_I2C7
	select S3C_DEV_I2C8_EMUL
	select S3C_DEV_I2C9_EMUL
	select EXYNOS4_DEV_MSHC
	select EXYNOS4_MSHC_MPLL_40MHZ
	select EXYNOS4_MSHC_DDR
	select EXYNOS4_MSHC_8BIT
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select SAMSUNG_DEV_ADC
	select SAMSUNG_DEV_TS
	select SAMSUNG_DEV_TS1
	select EXYNOS_DEV_PD
	select S5P_SYSTEM_MMU
	select EXYNOS4_SETUP_FIMD0
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C3
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_I2C6
	select EXYNOS4_SETUP_I2C7
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_MSHCI
	select EXYNOS4_SETUP_MFC
	select EXYNOS4_SETUP_FB_S5P
	select EXYNOS4_SETUP_USB_PHY
	select EXYNOS4_SETUP_THERMAL
	help
	  Machine support for U1 Board

choice
	prompt "U1 board"
	depends on MACH_U1 || MACH_TRATS
	default MACH_U1_BD

config MACH_U1_BD
	bool "U1 Board"

config MACH_Q1_BD
	bool "Q1 Board"

endchoice
config TARGET_LOCALE_NAATT_TEMP
    bool "Support North America GSM ATT Board"
	depends on MACH_U1
    default n

config MACH_PX
	bool "PX board"
	select CPU_EXYNOS4210
	select S5P_GPIO_INT
	select S5P_DEV_FIMD0
	select S5P_DEV_FIMD_S5P
	select S5P_DEV_TVOUT
	select S5P_DEV_MFC
	select S5P_DEV_FIMG2D
	select S5P_DEV_USB_EHCI
	select S5P_SYSTEM_MMU
	select S5P_DEV_USBGADGET
	select S5P_DEV_THERMAL
	select S3C_DEV_RTC
	select S3C_DEV_WDT
	select S3C_DEV_I2C1
	select S3C_DEV_I2C3
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select S3C_DEV_I2C6
	select S3C_DEV_I2C7
	select S3C_DEV_I2C9_EMUL
	select EXYNOS4_DEV_MSHC
	select EXYNOS4_MSHC_MPLL_40MHZ
	select EXYNOS4_MSHC_DDR
	select EXYNOS4_MSHC_8BIT
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select SAMSUNG_DEV_ADC
	select SAMSUNG_DEV_TS
	select SAMSUNG_DEV_TS1
	select EXYNOS_DEV_PD
	select S5P_SYSTEM_MMU
	select EXYNOS4_SETUP_FIMD0
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C3
	select EXYNOS4_SETUP_I2C4
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_I2C6
	select EXYNOS4_SETUP_I2C7
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_MSHCI
	select EXYNOS4_SETUP_MFC
	select EXYNOS4_SETUP_FB_S5P
	select EXYNOS4_SETUP_USB_PHY
	help
	  Machine support for PX Board
choice
	prompt "PX board"
	depends on MACH_PX
	default MACH_P4

config MACH_P4
	bool "P4 board"

config MACH_P2
	bool "P2 board"

config MACH_P8
	bool "P8 board"

config MACH_P8LTE
	bool "P8 LTE board"
	select S3C64XX_DEV_SPI0

endchoice

choice
	prompt "LCD panel select"
	depends on MACH_U1 || MACH_TRATS
	default PANEL_U1

config PANEL_U1
	bool "U1/Q1 default panel"

config PANEL_U1_NA_SPR
	bool "D710 panel"

endchoice

if MACH_U1 || MACH_C1 || MACH_M3 || MACH_M0 || MACH_P4 || MACH_P2 || MACH_P4NOTE || MACH_T0 || MACH_TRATS || MACH_GRANDE || MACH_GC1 || MACH_BAFFIN || MACH_KONA
source "arch/arm/mach-exynos/Kconfig.local"
endif

config MACH_SMDK4X12
	bool "SMDK4X12 board"
	select CPU_EXYNOS4212
	select CPU_EXYNOS4412
	select S3C_DEV_WDT
	select S3C_DEV_RTC
	select S3C_DEV_HSMMC2
	select S3C_DEV_I2C1
	select S3C_DEV_I2C2
	select S3C_DEV_I2C3
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select S3C_DEV_I2C7
	select S5P_DEV_I2C_HDMIPHY
	select S5P_GPIO_INT
	select S5P_DEV_MFC
	select S5P_DEV_FIMG2D
	select S5P_DEV_FIMD0
	select S5P_DEV_FIMD_S5P
	select S5P_DEV_USB_EHCI
	select S5P_DEV_USBGADGET
	select S5P_DEV_USB_SWITCH
	select S5P_DEV_THERMAL
	select S5P_SYSTEM_MMU
	select EXYNOS_DEV_PD
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_FB_S5P
	select EXYNOS4_SETUP_FIMD0
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C2
	select EXYNOS4_SETUP_I2C3
	select EXYNOS4_SETUP_I2C4
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_I2C7
	select EXYNOS4_SETUP_USB_PHY
	select EXYNOS4_SETUP_KEYPAD
	select EXYNOS4_SETUP_MFC
	select EXYNOS4_DEV_FIMC_LITE
	select SAMSUNG_DEV_ADC
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
	select SAMSUNG_DEV_KEYPAD
	help
	  Machine support for Samsung SMDK4X12

config MACH_MIDAS
	bool "MIDAS board"
	select CPU_EXYNOS4212
	select CPU_EXYNOS4412
	select S3C_DEV_WDT
	select S3C_DEV_RTC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select SAMSUNG_DEV_ADC
	select S3C_DEV_I2C1
	select S3C_DEV_I2C3
	select S3C_DEV_I2C6
	select S3C_DEV_I2C7
	select S5P_GPIO_INT
	select S5P_DEV_MFC
	select S5P_DEV_FIMG2D
	select S5P_DEV_FIMD_S5P
	select S5P_DEV_USB_EHCI
	select S5P_DEV_USBGADGET
	select EXYNOS4_DEV_MSHC
	select EXYNOS4_SETUP_MSHCI
	select EXYNOS4_MSHC_MPLL_40MHZ
	select EXYNOS4_MSHC_DDR
	select EXYNOS4_MSHC_8BIT
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_DEV_FIMC_LITE
	select EXYNOS4_SETUP_FB_S5P
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C3
	select EXYNOS4_SETUP_I2C4
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_I2C6
	select EXYNOS4_SETUP_I2C7
	select EXYNOS4_SETUP_USB_PHY
	select EXYNOS4_SETUP_MFC
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
	select EXYNOS_DEV_PD
	select EXYNOS4_SETUP_MFC
	select MIDAS_COMMON
	help
	  Machine support for Samsung midas board

choice
	prompt "EXYNOS4212 board"
	depends on MACH_MIDAS
	default MACH_M0

config MACH_M0
	bool "M0 board"
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select MIDAS_COMMON_BD

config MACH_C1
	bool "C1 board"
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select MIDAS_COMMON_BD

config MACH_M3
	bool "C2 board"
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select MIDAS_COMMON_BD

config MACH_P4NOTE
	bool "P4 Note board"
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select P4NOTE_00_BD

config MACH_GC1
	bool "Galuxy Camera board"
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select GC1_00_BD

config MACH_T0
	bool "T0 board"
	select EXYNOS4_SETUP_I2C2
	select S3C_DEV_I2C2
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5

config MACH_KONA
        bool "KONA Note8 board"
        select S3C_DEV_I2C4
        select S3C_DEV_I2C5

config MACH_IRON
	bool "Iron board"
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select IRON_BD
	select EXYNOS4_SETUP_KEYPAD
	select SAMSUNG_DEV_KEYPAD

config MACH_GRANDE
	bool "Grande board"
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select GRANDE_BD
	select EXYNOS4_SETUP_KEYPAD
	select SAMSUNG_DEV_KEYPAD

config MACH_BAFFIN
	bool "BAFFIN board"
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
endchoice

config MIDAS_COMMON_BD
	bool "Midas default common Board"

config P4NOTE_00_BD
	bool "P4 Note PQ common Board"

config GC1_00_BD
	bool "Galaxy Camera common Board"

config T0_00_BD
	bool "T0 Revison 00 board"
	default n

config T0_04_BD
	bool "T0 Revison 04 board"
	default n

config KONA_00_BD
        bool "KONA note8 rev00 common Board"
        default n

config KONA_01_BD
        bool "KONA note8 rev01 common Board"
        default n

config IRON_BD
	bool "Iron common Board"

config GRANDE_BD
	bool "Grande common Board"

config WRITEBACK_ENABLED
	bool "Samsung Writeback Enable"
	help
	  This option enables writeback operations. It can
	  support fimd streams data to fimc destinations ram.
	  writeback operations support final blended stream.
	  when enable this options.

config EXYNOS_SOUND_PLATFORM_DATA
	bool "Sound platform data"

config JACK_FET
	bool "Ear Micbias dischage Enable"

config JACK_GROUND_DET
	bool "Ear Ground Detection Enable"

config USE_ADC_DET
        bool "Jack Detection with ADC IC"

config SAMSUNG_ANALOG_UART_SWITCH
	int "SAMSUNG analog switch for UART"
	default 1

endmenu

menu "EXYNOS5 Machines"
	depends on ARCH_EXYNOS5

config MACH_SMDK5210
	bool "SMDK5210 board"
	select CPU_EXYNOS5210
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
	select S3C_DEV_I2C2
	select S5P_DEV_DP
	select S5P_DEV_FIMD1
	select S5P_DEV_MFC
	select S5P_DEV_USB_EHCI
	select EXYNOS_DEV_PD
	select EXYNOS4_SETUP_DP
	select EXYNOS4_SETUP_FIMD
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C2
	select EXYNOS4_SETUP_MFC
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_USB_PHY
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
	select S5P_DEV_I2C_HDMIPHY
	select EXYNOS_DEV_SS_UDC
	help
	  Machine support for Samsung SMDK5210

config MACH_SMDK5250
	bool "SMDK5250 board"
	select CPU_EXYNOS5250
	select S3C_DEV_HWMON if S3C_ADC
	select S3C_DEV_RTC
	select S3C_DEV_WDT
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
	select S3C_DEV_I2C2
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select S3C_DEV_I2C7
	select S5P_GPIO_INT
	select S5P_DEV_DP
	select EXYNOS_DEV_SYSMMU
	select S5P_DEV_FIMD1
	select S5P_DEV_USB_EHCI
	select S5P_DEV_MFC
	select S5P_DEV_FIMG2D
	select S5P_DEV_ROTATOR
	select S5P_DEV_USBGADGET
	select S5P_DEV_I2C_HDMIPHY
	select S5P_DEV_THERMAL
	select S5P_DEV_USB_SWITCH
	select EXYNOS_DEV_PD
	select EXYNOS4_DEV_FIMC_LITE
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C2
	select EXYNOS4_SETUP_I2C4
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_I2C7
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_DP
	select EXYNOS4_SETUP_FIMD
	select EXYNOS4_SETUP_USB_PHY
	select EXYNOS4_SETUP_MFC
	select EXYNOS5_DEV_AHCI
	select EXYNOS5_DEV_DWMCI2
	select EXYNOS_DEV_SS_UDC
	select SAMSUNG_DEV_ADC
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
	help
	  Machine support for Samsung SMDK5250

config MACH_P10
	bool "P10 board"
	select CPU_EXYNOS5250
	select S3C_DEV_HWMON if S3C_ADC
	select S3C_DEV_RTC
	select S3C_DEV_WDT
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
	select S3C_DEV_I2C3
	select S3C_DEV_I2C4
	select S3C_DEV_I2C5
	select S3C_DEV_I2C7
	select S5P_GPIO_INT
	select S5P_DEV_DP
	select EXYNOS_DEV_SYSMMU
	select S5P_DEV_FIMD1
	select S5P_DEV_USB_EHCI
	select S5P_DEV_TV
	select S5P_DEV_USBGADGET
	select S5P_DEV_MFC
	select S5P_DEV_FIMG2D
	select S5P_DEV_ROTATOR
	select S5P_DEV_I2C_HDMIPHY
	select EXYNOS_DEV_PD
	select EXYNOS4_DEV_FIMC_LITE
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C3
	select EXYNOS4_SETUP_I2C4
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_I2C7
	select EXYNOS4_SETUP_DP
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_DEV_DWMCI
	select EXYNOS4_SETUP_FIMD
	select EXYNOS4_SETUP_USB_PHY
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
	select EXYNOS4_SETUP_MFC
	select EXYNOS_DEV_SS_UDC
	select SAMSUNG_DEV_ADC
	select EXYNOS4_SETUP_THERMAL
	help
	  Machine support for Samsung P10 board

choice
	prompt "P10 board"
	depends on MACH_P10
	default MACH_P10_00_BD

config MACH_P10_00_BD
	bool "P10 Rev 0.0 board"

config MACH_P10_LTE_00_BD
	bool "P10 LTE Rev 0.0 board"

config MACH_P10_WIFI_00_BD
	bool "P10 WIFI Rev 0.0 board"

config MACH_P10_LUNGO_01_BD
	bool "P10 lungo Rev 0.1 board"

config MACH_P10_LUNGO_WIFI_01_BD
	bool "P10 lungo Wifi Rev 0.1 board"

endchoice
choice
	prompt "P10 DP version"
	depends on MACH_P10
	default MACH_P10_DP_01

config MACH_P10_DP_00
	bool "P10 DP 0.0(evt0.0)"

config MACH_P10_DP_01
	bool "P10 DP 0.1(evt0.1)"

endchoice
choice
	prompt "DP FrameRate of P10"
	depends on MACH_P10
	default DP_40HZ_P10

config DP_40HZ_P10
	bool "support 40HZ for DP of P10"

config DP_60HZ_P10
	bool "support 60HZ for DP of P10"

endchoice
endmenu

config EXYNOS5_DEV_BTS
	bool "Support BTS driver"
	select S5P_BTS
	help
	  Compile in platform device definitions for BTS devices

menu "MMC/SD slot setup"
depends on PLAT_S5P

comment "SELECT SYNOPSYS CONTROLLER INTERFACE DRIVER"
config EXYNOS4_DEV_DWMCI
	bool "DWMCI"
	depends on PLAT_S5P && MMC_DW
	default n
	help
	IF DWMCI is used, SDHC channel 0 is disabled.

config EXYNOS5_DEV_DWMCI1
	bool
	help
	  Compile in platform device definitions for DWMCI channel 1

config EXYNOS5_DEV_DWMCI2
	bool
	help
	  Compile in platform device definitions for DWMCI channel 2

config EXYNOS5_DEV_DWMCI3
	bool
	help
	  Compile in platform device definitions for DWMCI channel 3

config EXYNOS4_DEV_MSHC
	bool "MSHCI"
	depends on PLAT_S5P
	default n
	help
	IF MSHC is used, SDHC channel 0 is disabled.

choice
	prompt "Use Special PLL for MSHC"
	depends on PLAT_S5P && EXYNOS4_DEV_MSHC
	help
		This feature change MMC4OUT's clock source between MPLL and EPLL
	default EXYNOS4_MSHC_MPLL_40MHZ

config EXYNOS4_MSHC_MPLL_40MHZ
	bool "MPLL"

config EXYNOS4_MSHC_VPLL_46MHZ
	bool "VPLL"

config EXYNOS4_MSHC_EPLL_45MHZ
	bool "EPLL"
endchoice

config EXYNOS4_MSHC_SUPPORT_PQPRIME_EPLL
	bool "Support EPLL 45MHz for PegasusQ Prime dynamically"
	depends on PLAT_S5P && EXYNOS4_DEV_MSHC && EXYNOS4_MSHC_MPLL_40MHZ
	default n

comment "Use 8-bit bus width"

config EXYNOS4_MSHC_8BIT
	bool "MSHC with 8-bit bus"
	depends on PLAT_S5P && EXYNOS4_DEV_MSHC
	default n
	help
	  IF MSHC uses 8-bit bus, SDHC channel 1 is disabled.

config EXYNOS4_SDHCI_CH0_8BIT
	bool "SDHC Channel 0 with 8-bit bus"
	depends on PLAT_S5P && !EXYNOS4_DEV_DWMCI && !EXYNOS4_DEV_MSHC
	default n
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

config EXYNOS4_SDHCI_CH2_8BIT
	bool "SDHC Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.

comment "Use DDR"
	depends on PLAT_S5P && EXYNOS4_DEV_MSHC
config EXYNOS4_MSHC_DDR
	depends on PLAT_S5P && EXYNOS4_DEV_MSHC
	bool "MSHC with DDR mode"
	default n
	help
	  Enabling DDR(Dual Data Rate) mode.

endmenu

comment "Miscellaneous drivers"
config WAKEUP_ASSIST
	bool "Wakeup assist driver"
	depends on PM
	help
	  If the wakeup time is too slow, toggling POWER butten shortly causes to
	  ignore report of key event. It makes the android system not execute wake
	  up codes.

	  If selected, the wakeup assistant driver will report POWER key event
	  directly
endif

config EXYNOS_C2C
	bool "C2C device support"
	depends on SAMSUNG_C2C
	default y
	help
	  Add C2C device driver

config S3C64XX_DEV_SPI0
	bool
	depends on S3C64XX_DEV_SPI
	default n
	help
	  Samsung S3C64XX series type SPI

config EXYNOS_DEV_C2C
	bool
	depends on EXYNOS_C2C
	default y

comment "Debugging Feature"
menuconfig SEC_DEBUG
	bool "Samsung TN Ramdump Feature"
	default y
	help
	  Samsung TN Ramdump Feature. Use INFORM3 and magic number at 0xc0000000.

if SEC_DEBUG
config SEC_DEBUG_SCHED_LOG
	bool "Samsung Scheduler Logging Feature"
	default n
	help
	  Samsung Scheduler Logging Feature for Debug use.

config SEC_DEBUG_HRTIMER_LOG
	bool "Samsung hrtimer Logging Feature"
	default n
	depends on SEC_DEBUG_SCHED_LOG && !SAMSUNG_PRODUCT_SHIP
	help
	  Samsung hrtimer Logging Feature for Debug use.
	  This option enables us to log hrtimer enter/exit.

config SEC_DEBUG_SOFTIRQ_LOG
	bool "Samsung Softirq Logging Feature"
	default n
	depends on SEC_DEBUG_SCHED_LOG
	help
	  Samsung Softirq Logging Feature for Debug use.
	  This option enables us to log softirq enter/exit.
	  It is not only hard-irq which results in scheduler lockup,
	  To be more clear we need to see also softirq logs.

config SEC_DEBUG_SCHED_LOG_NONCACHED
	bool "Samsung Scheduler Logging on noncached buf"
	depends on SEC_DEBUG_SCHED_LOG
	default n
	help
	  This option enables sec_debug_sched_log_noncached support.
	  It can support non-cached sched log in RAM dump and We don't
	  need to concern cache flush status for analyzing sudden
	  lockup issue.

config SEC_DEBUG_SEMAPHORE_LOG
	bool "Samsung Semaphore Logging Feature"
	default n
	help
	  Samsung Semaphore Logging Feature for Debug use.

config SEC_DEBUG_USER
	bool "Panic on Userspace fault"
	default y
	help
	  Panic on Userspace fault

config SEC_DEBUG_PM_TEMP
	bool "Temporary Logging for Sleep/Wakeup Issue"
	default n
	help
	  Verbose Log on Sleep/Wakeup.

config SEC_DEBUG_IRQ_EXIT_LOG
	bool "Temporary Logging for IRQ delay"
	default n
	help
	  Verbose Logging for IRQ delay.

config SEC_DEBUG_AUXILIARY_LOG
	bool "Samsung Auxiliary Logging on noncached buf"
	default n
	help
	  This option enables sec_auxiliary_log support.
	  we can log repeated information insuitable for kernel log like DVFS
	  or power domain control information.
	  It can support non-cached auxiliary log in RAM dump and We don't
	  need to concern cache flush status for analyzing sudden
	  system hang issue.

config SEC_DEBUG_FUPLOAD_DUMP_MORE
	bool "Dump more information at forced upload"
	default n
	help
	  More information is printed out when a forced upload happens.
	  It uses customized dump functions instead of panic call.

config SEC_DEBUG_UMP_ALLOC_FAIL
	bool "Show warning message when UMP allcation fails"
	default n
	help
	  When UMP allocation fails there's no way to figure out the reason.
	  For UMP and Mali is supposed to allocate per 1 page,
	  we should take a good look at this failure.
	  This only shows the alloc fail warning.

config SEC_DEBUG_LIST_CORRUPTION
	bool "Panic when list corruption detected"
	default n
	help
	  Panic when list structure corruption detected.
	  Sometimes list corruptions are reported.
	  But it reports only with WARN level.
	  This will immediately stop the system.

menuconfig SEC_WATCHDOG_RESET
	bool "S5PV310 watchdog reset to exit from lockup"
	depends on (CPU_EXYNOS4210 || CPU_EXYNOS4212 || CPU_EXYNOS4412)
	default n
	help
	  Use watchdog reset to exit from lockup

if SEC_WATCHDOG_RESET
config SEC_WATCHDOG_PET_TIME
	int "sec watchdog kicking time interval value"
	default 5
endif

endif

config SEC_LOG
	default n
	bool "Enable support for sec_log" if EMBEDDED
	depends on PRINTK
	help
	  This option enables sec_log support. This provides combined
	  log buffer for both bootloader and kernel. It also preserves
	  previous content before reboot.

config SEC_LOG_NONCACHED
	default n
	bool "Enable non cached kernel sec_log support" if EMBEDDED
	depends on SEC_LOG
	help
	  This option enables sec_non_cached_klog support.  It can
	  support non-cached kernel log in RAM dump and We don't need
	  to concern cache flush status for analyzing sudden lockup
	  issue.

config SEC_LOG_LAST_KMSG
	default n
	bool "Enable /proc/last_kmsg support" if EMBEDDED
	depends on SEC_LOG
	help
	  This option enables /proc/last_kmsg support.

config EHCI_IRQ_DISTRIBUTION
	bool "ehci irq distribution"
	default n

if (LINK_DEVICE_USB || LINK_DEVICE_HSIC)
config EHCI_MODEM_PORTNUM
        int "EHCI port number of modem connection"
        default 2
config CMC_MODEM_HSIC_SYSREV
        int "System revision number which CMC modem support HSIC i/f"
        depends on LTE_MODEM_CMC221
        default 9
endif

if SEC_MODEM
comment "Samsung Modem Feature"

config LTE_VIA_SWITCH
	bool
	default n

config SEC_DUAL_MODEM_MODE
	bool "sec dual modem mode"
	default n

choice
	prompt "SEC MODEM CONFIG"
	depends on SEC_MODEM
	default SEC_MODEM_M0_C2C

config SEC_MODEM_M0_C2C
	bool "M0 with xmm6262 c2c"
	select UMTS_MODEM_XMM6262
	select LINK_DEVICE_HSIC
	select LINK_DEVICE_C2C
	select SAMSUNG_C2C
	select C2C_DEUBG
	select EHCI_IRQ_DISTRIBUTION

config SEC_MODEM_M0
	bool "M0 with xmm6262"
	select UMTS_MODEM_XMM6262
	select LINK_DEVICE_HSIC
	select EHCI_IRQ_DISTRIBUTION

config SEC_MODEM_M0_CTC
	bool "M0 CTC with MDM6600"
	select CDMA_MODEM_MDM6600
	select USBHUB_USB3503

config SEC_MODEM_T0_CU_DUOS
	bool "T0 CU DUOS with ESC6270"
	select GSM_MODEM_ESC6270
	select LINK_DEVICE_PLD

config SEC_MODEM_T0_OPEN_DUOS
	bool "T0 OPEN DUOS with ESC6270"
	select GSM_MODEM_ESC6270
	select LINK_DEVICE_PLD

config SEC_MODEM_M0_GRANDECTC
	bool "M0 CTC with ESC6270"
	select GSM_MODEM_ESC6270

config SEC_MODEM_M1
	bool "M1 with cmc221"
	select LTE_MODEM_CMC221
	select LINK_DEVICE_DPRAM
	select LINK_DEVICE_USB
	select USBHUB_USB3503
	select EHCI_IRQ_DISTRIBUTION

config SEC_MODEM_C1
	bool "C1 with cmc221"
	select LTE_MODEM_CMC221
	select LINK_DEVICE_DPRAM
	select LINK_DEVICE_USB
	select USBHUB_USB3503
	select EHCI_IRQ_DISTRIBUTION

config SEC_MODEM_C1_LGT
	bool "C1 with CMC221 and CBP7.2"
	select CDMA_MODEM_CBP72
	select LTE_MODEM_CMC221
	select LTE_VIA_SWITCH
	select LINK_DEVICE_DPRAM
	select LINK_DEVICE_USB
	select USBHUB_USB3503
	select EHCI_IRQ_DISTRIBUTION

config SEC_MODEM_M2
	bool "M2 with MDM9x15"

config SEC_MODEM_U1
	bool "U1 with xmm6260"
	select UMTS_MODEM_XMM6260
	select LINK_DEVICE_HSIC
	select EHCI_IRQ_DISTRIBUTION

config SEC_MODEM_U1_LGT
	bool "U1 with mdm6600"
	select CDMA_MODEM_MDM6600
	select LINK_DEVICE_DPRAM

config SEC_MODEM_GAIA
	bool "GAIA with cmc221"
	select LTE_MODEM_CMC221
	select LINK_DEVICE_DPRAM

config SEC_MODEM_IRON
	bool "Iron with xmm6262"
	select UMTS_MODEM_XMM6262
	select LINK_DEVICE_HSIC
	select EHCI_IRQ_DISTRIBUTION

config SEC_MODEM_P8LTE
	bool "P8 VZW with CMC220 and CBP7.1"
	select CDMA_MODEM_CBP71
	select LINK_DEVICE_DPRAM
	select LTE_MODEM_CMC220
	select LINK_DEVICE_USB
	select INTERNAL_MODEM_IF

config SEC_MODEM_T0_TD_DUAL
	bool "T0 with SPRD8803 & XMM6262"
	select UMTS_MODEM_XMM6262
	select LINK_DEVICE_HSIC
	select EHCI_IRQ_DISTRIBUTION
	select TDSCDMA_MODEM_SPRD8803
	select LINK_DEVICE_SPI

config SEC_MODEM_U1_SPR
        bool "U1 with qsc6085"
        select CDMA_MODEM_QSC6085
        select LINK_DEVICE_DPRAM
        select INTERNAL_MODEM_IF

endchoice

endif

comment "Connectivity Feature"
config GPS_BRCM_475X
	bool "BRCM_475X_CHIPSET"
	default n

if BT
config BT_CSR8811
	bool "Enable CSR8811 driver"
	default n

config BT_BCM4330
	bool "Enable BCM4330 driver"
	default n

config BT_BCM4334
	bool "Enable BCM4334 driver"
	default n
	help
	  Adds BCM4334 RFKILL driver for Broadcom BCM4334 chipset

config BT_BCM43241
	bool "Enable BCM43241 driver"
	default n
	help
	  Adds BCM43241 RFKILL driver for Broadcom BCM4334 chipset

config BT_MGMT
	bool "Bluetooth Mgmt"
	default n
	help
	  This is for bluetooth mgmt
endif

comment "Qualcomm Modem Feature"
config QC_MODEM
	bool "Qualcomm modem support"
	default n

config MSM_SUBSYSTEM_RESTART
	bool "QC Modem restart handler"
	default n

config QC_MODEM_MDM9X15
	bool "support QC mdm9x15 modem"
	default n

config MDM_HSIC_PM
	bool "support QC mdm9x15 PM over HSIC"
	default n

config EMI_ERROR_RECOVERY
	bool "unsuspected emi error recovery on HUB"
	default n
config SIM_DETECT
	bool "support sim detect"
        default n

if QC_MODEM
choice
	prompt "QC MODEM CONFIG"
	depends on QC_MODEM
	default QC_MODEM_M3

config QC_MODEM_M3
	bool "M3 support QMI interface over HSIC"
	select MODEM_SUPPORT_QMI_INTERFACE
	select MSM_SUBSYSTEM_RESTART
	select USB_QCOM_DIAG_BRIDGE
	select USB_QCOM_MDM_BRIDGE
	select QC_MODEM_MDM9X15
	select USB_NET_QMI_WWAN
	select DIAG_CHAR
	select MDM_HSIC_PM

endchoice
endif

config USB_CDFS_SUPPORT
	bool "Auto install for cdfs"
	default y

config SAMSUNG_PRODUCT_SHIP
	bool "set up for product shippling"
	default n

config CORESIGHT_ETM
	bool "CoreSight ETM debug system"
	help
	  Enables the CoreSight ETM debug system.

config CORESIGHT_ETM_DEFAULT_ENABLE
	bool "Turn on ETM Tracing by Default"
	depends on CORESIGHT_ETM
	help
	  Turns on ETM tracing by default. Otherwise, tracing is
	  disabled by default but can be enabled by other means.


config MACH_KONA_SENSOR
        bool "KONA Sensor Enable"
        help
          Support sensors of KONA boards

          BMA254 / BOSCH
          YAS532 / YAMAHA
          GP2A030A / SHARP