Skip to content
Permalink
Browse files

soc: nxp_imx: Add PWM config

Enable MCUX PWM driver if PWM config is selected and hardware
support it.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
  • Loading branch information...
Loic Poulain authored and MaureenHelm committed Mar 6, 2019
1 parent 3484d5c commit df583f27a9d28cd4f9532c3a858c491273541eda
Showing with 9 additions and 0 deletions.
  1. +7 −0 soc/arm/nxp_imx/rt/Kconfig.defconfig.series
  2. +2 −0 soc/arm/nxp_imx/rt/Kconfig.soc
@@ -50,6 +50,13 @@ config I2C_MCUX_LPI2C

endif # I2C

if PWM

config PWM_MCUX
default y if HAS_MCUX_PWM

endif # PWM

if NET_L2_ETHERNET

config ETH_MCUX
@@ -121,6 +121,7 @@ config SOC_MIMXRT1062
select HAS_MCUX_CCM
select HAS_MCUX_ELCDIF
select HAS_MCUX_ENET
select HAS_MCUX_PWM
select HAS_MCUX_IGPIO
select HAS_MCUX_LPI2C
select HAS_MCUX_LPUART
@@ -143,6 +144,7 @@ config SOC_MIMXRT1064
select HAS_MCUX_CCM
select HAS_MCUX_ELCDIF
select HAS_MCUX_ENET
select HAS_MCUX_PWM
select HAS_MCUX_IGPIO
select HAS_MCUX_LPI2C
select HAS_MCUX_LPUART

0 comments on commit df583f2

Please sign in to comment.
You can’t perform that action at this time.