Skip to content

Commit 9b5b94b

Browse files
nordic-krchrlubos
authored andcommitted
[nrf fromtree] dts: pwm: nordic: Add idleout-supported property
Add property which indicates that PWM instance supports IDLEOUT feature. Add property to all instances that supports it. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 28cfb3f)
1 parent 8ea7c45 commit 9b5b94b

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed

dts/bindings/pwm/nordic,nrf-pwm.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ properties:
1818
type: boolean
1919
description: Set this to use center-aligned (up and down) counter mode.
2020

21+
idleout-supported:
22+
type: boolean
23+
description: |
24+
Indicates if the PWM instance has the IDLEOUT register.
25+
2126
"#pwm-cells":
2227
const: 3
2328

dts/vendor/nordic/nrf54h20.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,7 @@
656656
clocks = <&hsfll120>;
657657
power-domains = <&gpd NRF_GPD_FAST_ACTIVE1>;
658658
#pwm-cells = <3>;
659+
idleout-supported;
659660
};
660661

661662
spis120: spi@8e5000 {
@@ -1008,6 +1009,7 @@
10081009
clocks = <&fll16m>;
10091010
power-domains = <&gpd NRF_GPD_SLOW_ACTIVE>;
10101011
#pwm-cells = <3>;
1012+
idleout-supported;
10111013
};
10121014

10131015
i2c130: i2c@9a5000 {
@@ -1141,6 +1143,7 @@
11411143
clocks = <&fll16m>;
11421144
power-domains = <&gpd NRF_GPD_SLOW_ACTIVE>;
11431145
#pwm-cells = <3>;
1146+
idleout-supported;
11441147
};
11451148

11461149
i2c132: i2c@9b5000 {
@@ -1274,6 +1277,7 @@
12741277
clocks = <&fll16m>;
12751278
#pwm-cells = <3>;
12761279
power-domains = <&gpd NRF_GPD_SLOW_ACTIVE>;
1280+
idleout-supported;
12771281
};
12781282

12791283
i2c134: i2c@9c5000 {
@@ -1407,6 +1411,7 @@
14071411
clocks = <&fll16m>;
14081412
#pwm-cells = <3>;
14091413
power-domains = <&gpd NRF_GPD_SLOW_ACTIVE>;
1414+
idleout-supported;
14101415
};
14111416

14121417
i2c136: i2c@9d5000 {

dts/vendor/nordic/nrf54l20.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@
489489
reg = <0xd2000 0x1000>;
490490
interrupts = <210 NRF_DEFAULT_IRQ_PRIORITY>;
491491
#pwm-cells = <3>;
492+
idleout-supported;
492493
};
493494

494495
pwm21: pwm@d3000 {
@@ -497,6 +498,7 @@
497498
reg = <0xd3000 0x1000>;
498499
interrupts = <211 NRF_DEFAULT_IRQ_PRIORITY>;
499500
#pwm-cells = <3>;
501+
idleout-supported;
500502
};
501503

502504
pwm22: pwm@d4000 {
@@ -505,6 +507,7 @@
505507
reg = <0xd4000 0x1000>;
506508
interrupts = <212 NRF_DEFAULT_IRQ_PRIORITY>;
507509
#pwm-cells = <3>;
510+
idleout-supported;
508511
};
509512

510513
adc: adc@d5000 {

dts/vendor/nordic/nrf54l_05_10_15.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,7 @@
479479
reg = <0xd2000 0x1000>;
480480
interrupts = <210 NRF_DEFAULT_IRQ_PRIORITY>;
481481
#pwm-cells = <3>;
482+
idleout-supported;
482483
};
483484

484485
pwm21: pwm@d3000 {
@@ -487,6 +488,7 @@
487488
reg = <0xd3000 0x1000>;
488489
interrupts = <211 NRF_DEFAULT_IRQ_PRIORITY>;
489490
#pwm-cells = <3>;
491+
idleout-supported;
490492
};
491493

492494
pwm22: pwm@d4000 {
@@ -495,6 +497,7 @@
495497
reg = <0xd4000 0x1000>;
496498
interrupts = <212 NRF_DEFAULT_IRQ_PRIORITY>;
497499
#pwm-cells = <3>;
500+
idleout-supported;
498501
};
499502

500503
adc: adc@d5000 {

dts/vendor/nordic/nrf9280.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,7 @@
479479
status = "disabled";
480480
interrupts = <228 NRF_DEFAULT_IRQ_PRIORITY>;
481481
#pwm-cells = <3>;
482+
idleout-supported;
482483
};
483484

484485
spi120: spi@8e6000 {
@@ -767,6 +768,7 @@
767768
status = "disabled";
768769
interrupts = <420 NRF_DEFAULT_IRQ_PRIORITY>;
769770
#pwm-cells = <3>;
771+
idleout-supported;
770772
};
771773

772774
i2c130: i2c@9a5000 {
@@ -881,6 +883,7 @@
881883
status = "disabled";
882884
interrupts = <436 NRF_DEFAULT_IRQ_PRIORITY>;
883885
#pwm-cells = <3>;
886+
idleout-supported;
884887
};
885888

886889
i2c132: i2c@9b5000 {
@@ -995,6 +998,7 @@
995998
status = "disabled";
996999
interrupts = <452 NRF_DEFAULT_IRQ_PRIORITY>;
9971000
#pwm-cells = <3>;
1001+
idleout-supported;
9981002
};
9991003

10001004
i2c134: i2c@9c5000 {
@@ -1109,6 +1113,7 @@
11091113
status = "disabled";
11101114
interrupts = <468 NRF_DEFAULT_IRQ_PRIORITY>;
11111115
#pwm-cells = <3>;
1116+
idleout-supported;
11121117
};
11131118

11141119
i2c136: i2c@9d5000 {

0 commit comments

Comments
 (0)