Skip to content

Commit 8c18e92

Browse files
Enric Balletbo i Serrabebarino
authored andcommitted
clk: mediatek: Select all the MT8183 clocks by default
If MT8183 SoC support is enabled, almost all machines will use topckgen, apmixedsys, infracfg, mcucfg and subsystem clocks, so it feels wrong to require each one to select that symbols manually. Instead, enable it whenever COMMON_CLK_MT8183_* is disabled as a simplification. This would add few KB in the kernel image size but will make the life a bit easier to the users, anyway you'll need to probably enable all of them if you want to have proper support for that SoC. Signed-off-by: Enric Balletbo i Serra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 5c8fe58 commit 8c18e92

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/clk/mediatek/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,66 +426,77 @@ config COMMON_CLK_MT8183
426426
config COMMON_CLK_MT8183_AUDIOSYS
427427
bool "Clock driver for MediaTek MT8183 audiosys"
428428
depends on COMMON_CLK_MT8183
429+
default COMMON_CLK_MT8183
429430
help
430431
This driver supports MediaTek MT8183 audiosys clocks.
431432

432433
config COMMON_CLK_MT8183_CAMSYS
433434
bool "Clock driver for MediaTek MT8183 camsys"
434435
depends on COMMON_CLK_MT8183
436+
default COMMON_CLK_MT8183
435437
help
436438
This driver supports MediaTek MT8183 camsys clocks.
437439

438440
config COMMON_CLK_MT8183_IMGSYS
439441
bool "Clock driver for MediaTek MT8183 imgsys"
440442
depends on COMMON_CLK_MT8183
443+
default COMMON_CLK_MT8183
441444
help
442445
This driver supports MediaTek MT8183 imgsys clocks.
443446

444447
config COMMON_CLK_MT8183_IPU_CORE0
445448
bool "Clock driver for MediaTek MT8183 ipu_core0"
446449
depends on COMMON_CLK_MT8183
450+
default COMMON_CLK_MT8183
447451
help
448452
This driver supports MediaTek MT8183 ipu_core0 clocks.
449453

450454
config COMMON_CLK_MT8183_IPU_CORE1
451455
bool "Clock driver for MediaTek MT8183 ipu_core1"
452456
depends on COMMON_CLK_MT8183
457+
default COMMON_CLK_MT8183
453458
help
454459
This driver supports MediaTek MT8183 ipu_core1 clocks.
455460

456461
config COMMON_CLK_MT8183_IPU_ADL
457462
bool "Clock driver for MediaTek MT8183 ipu_adl"
458463
depends on COMMON_CLK_MT8183
464+
default COMMON_CLK_MT8183
459465
help
460466
This driver supports MediaTek MT8183 ipu_adl clocks.
461467

462468
config COMMON_CLK_MT8183_IPU_CONN
463469
bool "Clock driver for MediaTek MT8183 ipu_conn"
464470
depends on COMMON_CLK_MT8183
471+
default COMMON_CLK_MT8183
465472
help
466473
This driver supports MediaTek MT8183 ipu_conn clocks.
467474

468475
config COMMON_CLK_MT8183_MFGCFG
469476
bool "Clock driver for MediaTek MT8183 mfgcfg"
470477
depends on COMMON_CLK_MT8183
478+
default COMMON_CLK_MT8183
471479
help
472480
This driver supports MediaTek MT8183 mfgcfg clocks.
473481

474482
config COMMON_CLK_MT8183_MMSYS
475483
bool "Clock driver for MediaTek MT8183 mmsys"
476484
depends on COMMON_CLK_MT8183
485+
default COMMON_CLK_MT8183
477486
help
478487
This driver supports MediaTek MT8183 mmsys clocks.
479488

480489
config COMMON_CLK_MT8183_VDECSYS
481490
bool "Clock driver for MediaTek MT8183 vdecsys"
482491
depends on COMMON_CLK_MT8183
492+
default COMMON_CLK_MT8183
483493
help
484494
This driver supports MediaTek MT8183 vdecsys clocks.
485495

486496
config COMMON_CLK_MT8183_VENCSYS
487497
bool "Clock driver for MediaTek MT8183 vencsys"
488498
depends on COMMON_CLK_MT8183
499+
default COMMON_CLK_MT8183
489500
help
490501
This driver supports MediaTek MT8183 vencsys clocks.
491502

0 commit comments

Comments
 (0)