From d9d408232545e3bf8e7be9fcca9dad05a3c142c3 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Wed, 18 Dec 2019 15:40:45 +0100 Subject: [PATCH] doc: release notes: Update contents for 2.2 List the added PWM API flags parameter under changes to stable APIs for the 2.2 release. Signed-off-by: Henrik Brix Andersen --- doc/releases/release-notes-2.2.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/releases/release-notes-2.2.rst b/doc/releases/release-notes-2.2.rst index 7b4f2d27d12..4e09fc80e10 100644 --- a/doc/releases/release-notes-2.2.rst +++ b/doc/releases/release-notes-2.2.rst @@ -27,6 +27,19 @@ Deprecated in this release Stable API changes in this release ================================== +* PWM + + * The pwm_pin_set_cycles(), pwm_pin_set_usec(), and + pwm_pin_set_nsec() functions now take a flags parameter. The newly + introduced flags are PWM_POLARITY_NORMAL and PWM_POLARITY_INVERTED + for specifying the polarity of the PWM signal. The flags parameter + can be set to 0 if no flags are required (the default is + PWM_POLARITY_NORMAL). + * Similarly, the pwm_pin_set_t PWM driver API function function now + takes a flags parameter. The PWM controller driver must check the + value of the flags parameter and return -ENOTSUP if any + unsupported flag is set. + * USB * The usb_enable() function, which was previously invoked automatically