drivers: pwm: pwm_nrf5_sw: Use runtime resources allocation
Use nrfx_gpiote and nrfx_ppi allocators to allocate channels at runtime instead of fixed, device-tree based allocation which is harder to maintain. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
5287ce8ff0
commit
9886bdc0c8
15 changed files with 55 additions and 91 deletions
|
@ -269,8 +269,6 @@
|
|||
generator = <&timer2>;
|
||||
channel-count = <3>;
|
||||
clock-prescaler = <0>;
|
||||
ppi-base = <0>;
|
||||
gpiote-base = <0>;
|
||||
#pwm-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue