Skip to content

Commit

Permalink
tests: drivers: move "st,prescaler" to timers instead of pwm
Browse files Browse the repository at this point in the history
Prescaler was misplaced in pwm binding, instead of timers binding.
For example, TIM6/TIM7 doesn't have PWM capability,
but have a prescaler.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
  • Loading branch information
ABOSTM authored and MaureenHelm committed Nov 16, 2021
1 parent 37ffd01 commit 022bb25
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/drivers/pwm/pwm_api/boards/nucleo_f207zg.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
*/

&timers1 {
pwm {
st,prescaler = <10000>;
};
st,prescaler = <10000>;
};

0 comments on commit 022bb25

Please sign in to comment.