From 28cfb3fecd09ee804cdbf984461ceac70e5305fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Chru=C5=9Bci=C5=84ski?= Date: Thu, 29 May 2025 08:09:09 +0200 Subject: [PATCH] dts: pwm: nordic: Add idleout-supported property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- dts/bindings/pwm/nordic,nrf-pwm.yaml | 5 +++++ dts/vendor/nordic/nrf54h20.dtsi | 5 +++++ dts/vendor/nordic/nrf54l20.dtsi | 3 +++ dts/vendor/nordic/nrf54l_05_10_15.dtsi | 3 +++ dts/vendor/nordic/nrf9280.dtsi | 5 +++++ 5 files changed, 21 insertions(+) diff --git a/dts/bindings/pwm/nordic,nrf-pwm.yaml b/dts/bindings/pwm/nordic,nrf-pwm.yaml index 8f481d8971c..e5adfc6ede9 100644 --- a/dts/bindings/pwm/nordic,nrf-pwm.yaml +++ b/dts/bindings/pwm/nordic,nrf-pwm.yaml @@ -18,6 +18,11 @@ properties: type: boolean description: Set this to use center-aligned (up and down) counter mode. + idleout-supported: + type: boolean + description: | + Indicates if the PWM instance has the IDLEOUT register. + "#pwm-cells": const: 3 diff --git a/dts/vendor/nordic/nrf54h20.dtsi b/dts/vendor/nordic/nrf54h20.dtsi index acdc817a015..0e06812c110 100644 --- a/dts/vendor/nordic/nrf54h20.dtsi +++ b/dts/vendor/nordic/nrf54h20.dtsi @@ -656,6 +656,7 @@ clocks = <&hsfll120>; power-domains = <&gpd NRF_GPD_FAST_ACTIVE1>; #pwm-cells = <3>; + idleout-supported; }; spis120: spi@8e5000 { @@ -1008,6 +1009,7 @@ clocks = <&fll16m>; power-domains = <&gpd NRF_GPD_SLOW_ACTIVE>; #pwm-cells = <3>; + idleout-supported; }; i2c130: i2c@9a5000 { @@ -1141,6 +1143,7 @@ clocks = <&fll16m>; power-domains = <&gpd NRF_GPD_SLOW_ACTIVE>; #pwm-cells = <3>; + idleout-supported; }; i2c132: i2c@9b5000 { @@ -1274,6 +1277,7 @@ clocks = <&fll16m>; #pwm-cells = <3>; power-domains = <&gpd NRF_GPD_SLOW_ACTIVE>; + idleout-supported; }; i2c134: i2c@9c5000 { @@ -1407,6 +1411,7 @@ clocks = <&fll16m>; #pwm-cells = <3>; power-domains = <&gpd NRF_GPD_SLOW_ACTIVE>; + idleout-supported; }; i2c136: i2c@9d5000 { diff --git a/dts/vendor/nordic/nrf54l20.dtsi b/dts/vendor/nordic/nrf54l20.dtsi index 4a4e90e75b4..de63a005c1d 100644 --- a/dts/vendor/nordic/nrf54l20.dtsi +++ b/dts/vendor/nordic/nrf54l20.dtsi @@ -488,6 +488,7 @@ reg = <0xd2000 0x1000>; interrupts = <210 NRF_DEFAULT_IRQ_PRIORITY>; #pwm-cells = <3>; + idleout-supported; }; pwm21: pwm@d3000 { @@ -496,6 +497,7 @@ reg = <0xd3000 0x1000>; interrupts = <211 NRF_DEFAULT_IRQ_PRIORITY>; #pwm-cells = <3>; + idleout-supported; }; pwm22: pwm@d4000 { @@ -504,6 +506,7 @@ reg = <0xd4000 0x1000>; interrupts = <212 NRF_DEFAULT_IRQ_PRIORITY>; #pwm-cells = <3>; + idleout-supported; }; adc: adc@d5000 { diff --git a/dts/vendor/nordic/nrf54l_05_10_15.dtsi b/dts/vendor/nordic/nrf54l_05_10_15.dtsi index 336d642afed..004454191f0 100644 --- a/dts/vendor/nordic/nrf54l_05_10_15.dtsi +++ b/dts/vendor/nordic/nrf54l_05_10_15.dtsi @@ -477,6 +477,7 @@ reg = <0xd2000 0x1000>; interrupts = <210 NRF_DEFAULT_IRQ_PRIORITY>; #pwm-cells = <3>; + idleout-supported; }; pwm21: pwm@d3000 { @@ -485,6 +486,7 @@ reg = <0xd3000 0x1000>; interrupts = <211 NRF_DEFAULT_IRQ_PRIORITY>; #pwm-cells = <3>; + idleout-supported; }; pwm22: pwm@d4000 { @@ -493,6 +495,7 @@ reg = <0xd4000 0x1000>; interrupts = <212 NRF_DEFAULT_IRQ_PRIORITY>; #pwm-cells = <3>; + idleout-supported; }; adc: adc@d5000 { diff --git a/dts/vendor/nordic/nrf9280.dtsi b/dts/vendor/nordic/nrf9280.dtsi index d7c20e855c1..5487d650368 100644 --- a/dts/vendor/nordic/nrf9280.dtsi +++ b/dts/vendor/nordic/nrf9280.dtsi @@ -478,6 +478,7 @@ status = "disabled"; interrupts = <228 NRF_DEFAULT_IRQ_PRIORITY>; #pwm-cells = <3>; + idleout-supported; }; spi120: spi@8e6000 { @@ -766,6 +767,7 @@ status = "disabled"; interrupts = <420 NRF_DEFAULT_IRQ_PRIORITY>; #pwm-cells = <3>; + idleout-supported; }; i2c130: i2c@9a5000 { @@ -880,6 +882,7 @@ status = "disabled"; interrupts = <436 NRF_DEFAULT_IRQ_PRIORITY>; #pwm-cells = <3>; + idleout-supported; }; i2c132: i2c@9b5000 { @@ -994,6 +997,7 @@ status = "disabled"; interrupts = <452 NRF_DEFAULT_IRQ_PRIORITY>; #pwm-cells = <3>; + idleout-supported; }; i2c134: i2c@9c5000 { @@ -1108,6 +1112,7 @@ status = "disabled"; interrupts = <468 NRF_DEFAULT_IRQ_PRIORITY>; #pwm-cells = <3>; + idleout-supported; }; i2c136: i2c@9d5000 {