diff --git a/Kconfig b/Kconfig index 037b190fb2a2bee3bc2025fc9c8955bed9306823..ae004acdb2c75f0ecc6b2fc317810c2c693d1d24 100644 --- a/Kconfig +++ b/Kconfig @@ -1,17 +1,18 @@ -config DRIVERS_HDF - bool "Enable HDF manager" - default y +menuconfig DRIVERS_HDF + bool "HDF driver framework support" + default n help Answer Y to enable Linux support HDF. +if DRIVERS_HDF config HDF_SUPPORT_LEVEL - int "Set HDF support platform" - default 1 + int "Set HDF support level" + default 2 range 0 5 depends on DRIVERS_HDF help - Answer 1 on OHOS L1, 2 on OHOS L2, etc + Answer 1 on small OHOS, 2 on standard OHOS source "drivers/hdf/khdf/platform/Kconfig" source "drivers/hdf/khdf/test/Kconfig" @@ -25,4 +26,6 @@ source "drivers/hdf/khdf/model/usb/host/Kconfig" source "drivers/hdf/khdf/model/usb/device/Kconfig" source "drivers/hdf/khdf/model/audio/Kconfig" source "drivers/hdf/khdf/model/misc/vibrator/Kconfig" -source "drivers/hdf/khdf/model/misc/dsoftbus/Kconfig" \ No newline at end of file +source "drivers/hdf/khdf/model/misc/dsoftbus/Kconfig" + +endif diff --git a/platform/Kconfig b/platform/Kconfig index 658fbf587e0325255e2758dfbafe478bdc6381be..929ebe7ab1830e3f93ef052e59a55b4ed3809c27 100644 --- a/platform/Kconfig +++ b/platform/Kconfig @@ -33,12 +33,6 @@ config DRIVERS_HDF_PLATFORM_WATCHDOG help Answer Y to enable HDF platform watchdog driver. -config PWM_HI35XX - bool "hi35xx pwm driver" - depends on PWM - help - Answer Y to enable hi35xx pwm driver - config DRIVERS_HDF_PLATFORM_PWM bool "Enable HDF platform pwm driver" depends on DRIVERS_HDF_PLATFORM @@ -85,3 +79,9 @@ config DRIVERS_HDF_PLATFORM_RTC depends on DRIVERS_HDF_PLATFORM help Answer Y to enable HDF platform rtc driver. + +config PWM_HI35XX + bool "hi35xx pwm driver" + depends on PWM + help + Answer Y to enable hi35xx pwm driver \ No newline at end of file