Commit 55fc826
drivers: emios_pwm: do not configure period, duty and polarity at boot
Removing period, duty and polarity configuration from
channel devicetree. At boot time, only minimal setup like
pinctrl, prescaler, etc should be initialized. PWM signal
is produced by using pwm_set* API
Also after this change, PWM period, duty are changed at the
next counter period boundary
Signed-off-by: Dat Nguyen Duy <[email protected]>1 parent 2a6e590 commit 55fc826
File tree
6 files changed
+318
-267
lines changed- boards/nxp/mr_canhubk3
- drivers
- misc/nxp_s32_emios
- pwm
- dts/bindings
- misc
- pwm
- tests/drivers/pwm/pwm_loopback/boards
6 files changed
+318
-267
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
503 | 502 | | |
504 | 503 | | |
505 | 504 | | |
| |||
513 | 512 | | |
514 | 513 | | |
515 | 514 | | |
516 | | - | |
517 | | - | |
518 | 515 | | |
519 | | - | |
520 | 516 | | |
521 | 517 | | |
522 | 518 | | |
523 | 519 | | |
524 | 520 | | |
525 | | - | |
526 | | - | |
527 | 521 | | |
528 | | - | |
529 | 522 | | |
530 | 523 | | |
531 | 524 | | |
532 | 525 | | |
533 | 526 | | |
534 | | - | |
535 | | - | |
536 | 527 | | |
537 | | - | |
538 | 528 | | |
539 | 529 | | |
540 | 530 | | |
541 | 531 | | |
542 | 532 | | |
543 | | - | |
544 | | - | |
545 | 533 | | |
546 | | - | |
547 | 534 | | |
548 | 535 | | |
549 | 536 | | |
550 | 537 | | |
551 | 538 | | |
552 | | - | |
553 | | - | |
554 | 539 | | |
555 | | - | |
556 | 540 | | |
557 | 541 | | |
558 | 542 | | |
559 | 543 | | |
560 | 544 | | |
561 | | - | |
562 | | - | |
563 | 545 | | |
564 | | - | |
565 | 546 | | |
566 | 547 | | |
567 | 548 | | |
568 | 549 | | |
569 | 550 | | |
570 | | - | |
571 | 551 | | |
572 | | - | |
573 | 552 | | |
574 | 553 | | |
575 | 554 | | |
| |||
586 | 565 | | |
587 | 566 | | |
588 | 567 | | |
589 | | - | |
590 | 568 | | |
591 | 569 | | |
592 | 570 | | |
593 | 571 | | |
594 | 572 | | |
595 | 573 | | |
596 | | - | |
597 | 574 | | |
598 | 575 | | |
599 | 576 | | |
| |||
606 | 583 | | |
607 | 584 | | |
608 | 585 | | |
609 | | - | |
610 | 586 | | |
611 | | - | |
612 | 587 | | |
613 | 588 | | |
614 | 589 | | |
615 | 590 | | |
616 | 591 | | |
617 | | - | |
618 | 592 | | |
619 | | - | |
620 | 593 | | |
621 | 594 | | |
622 | 595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 62 | | |
68 | 63 | | |
69 | 64 | | |
70 | | - | |
| 65 | + | |
71 | 66 | | |
72 | 67 | | |
73 | 68 | | |
74 | 69 | | |
75 | 70 | | |
76 | 71 | | |
77 | 72 | | |
78 | | - | |
79 | | - | |
80 | 73 | | |
81 | 74 | | |
82 | 75 | | |
| |||
0 commit comments