From b88b5b14c89aefbd926d62899fc108d23a4a97df Mon Sep 17 00:00:00 2001 From: Michal Lenc Date: Sat, 26 Jun 2021 11:56:20 +0200 Subject: [PATCH] Documentation/platforms/arm/imxrt: update documentation with FlexPWM support Signed-off-by: Michal Lenc --- .../platforms/arm/imxrt/boards/teensy-4.x/index.rst | 11 +++++++++++ Documentation/platforms/arm/imxrt/index.rst | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Documentation/platforms/arm/imxrt/boards/teensy-4.x/index.rst b/Documentation/platforms/arm/imxrt/boards/teensy-4.x/index.rst index ccb33c37c3..d3dcb1b3c4 100644 --- a/Documentation/platforms/arm/imxrt/boards/teensy-4.x/index.rst +++ b/Documentation/platforms/arm/imxrt/boards/teensy-4.x/index.rst @@ -118,6 +118,17 @@ focused on network-related testing. This configuration cannot be changed to Teensy 4.0 as this board does not have Ethernet capability. +pwm-4.1 +------- + +This configuration is similar to the nsh configuration with enabled +FlexPWM driver. Submodules 1 (pin 4) and 2 (pin 5) of FlexPWM2 are turn +on aswell as ultiple channel PWM output. Functionality can be tested +with example application "pwm". Each channel runs different duty cycle. + +This configuration can be easily changed to work with Teensy 4.0 by +selecting ``CONFIG_TEENSY_40=y``. + sd-4.1 ------ diff --git a/Documentation/platforms/arm/imxrt/index.rst b/Documentation/platforms/arm/imxrt/index.rst index f694e89160..95381f5ee6 100644 --- a/Documentation/platforms/arm/imxrt/index.rst +++ b/Documentation/platforms/arm/imxrt/index.rst @@ -52,7 +52,7 @@ ENET Yes FlexIO No GPIO Yes I2S Yes -PWM No +PWM Yes SAI No SPDIF No SPI Yes @@ -150,7 +150,9 @@ as a slave. The lower-half of this driver is initialize by calling :c:func:`imxr PWM --- -Pulse width modulator supported in i.MX RT1010 and higher. +Pulse width modulator supported in i.MX RT1010 and higher. Multiple channels option is evailable. +Output on pin B is currently supported only as a complementary option to pin A. +The lower-half of this driver is initialize by calling :c:func:`imxrt_pwminitialize`. SAI ---