soc: arm: nxp_imx: rt11xx: allow user to disable CONFIG_ADJUST_DCDC

Allow user to disable CONFIG_ADJUST_DCDC for their board, rather than
selecting it at the SOC level. The symbol still defaults to enabled,
preserving existing behavior unless a user explicitly chooses to disable
it.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2023-10-25 13:40:34 +00:00 committed by Carles Cufí
commit 883f604f12

View file

@ -1,6 +1,6 @@
# i.MX RT series
# Copyright (c) 2017-2021, NXP
# Copyright 2017-2021,2023 NXP
# SPDX-License-Identifier: Apache-2.0
choice
@ -339,7 +339,6 @@ config SOC_MIMXRT1176_CM7
select INIT_VIDEO_PLL
select HAS_MCUX_EDMA
select CPU_HAS_FPU_DOUBLE_PRECISION
select ADJUST_DCDC
select BYPASS_LDO_LPSR
select ADJUST_LDO
select HAS_MCUX_PWM
@ -408,7 +407,6 @@ config SOC_MIMXRT1166_CM7
select INIT_VIDEO_PLL
select HAS_MCUX_EDMA
select CPU_HAS_FPU_DOUBLE_PRECISION
select ADJUST_DCDC
select BYPASS_LDO_LPSR
select ADJUST_LDO
select HAS_MCUX_PWM
@ -686,6 +684,7 @@ config DCDC_VALUE
config ADJUST_DCDC
bool "Adjust internal DCDC output"
default y if SOC_SERIES_IMX_RT11XX
config BYPASS_LDO_LPSR
bool "Bypass LDO lpsr"