dts: bindings: counter: Change the property names in the overlay

Rename the following properties in binding and overlay:
-- primary_source => primary-source
-- secondary_source => secondary-source
-- filter_count => filter-count
-- filter_period => filter-period

Signed-off-by: James Roy <rruuaanng@outlook.com>
This commit is contained in:
James Roy 2025-01-13 12:16:30 +08:00 committed by Benjamin Cabé
commit d1b782e5b3
4 changed files with 7 additions and 7 deletions

View file

@ -33,7 +33,7 @@ properties:
- "kQTMR_SecSrcTrigPriCnt" - "kQTMR_SecSrcTrigPriCnt"
- "kQTMR_CascadeCount" - "kQTMR_CascadeCount"
primary_source: primary-source:
type: string type: string
required: true required: true
description: Primary source of the timer, see qtmr_primary_count_source_t enumerator type description: Primary source of the timer, see qtmr_primary_count_source_t enumerator type
@ -56,7 +56,7 @@ properties:
- "kQTMR_ClockDivide_64" - "kQTMR_ClockDivide_64"
- "kQTMR_ClockDivide_128" - "kQTMR_ClockDivide_128"
secondary_source: secondary-source:
type: string type: string
description: Secondary source of the timer, see qtmr_input_source_t enumerator type description: Secondary source of the timer, see qtmr_input_source_t enumerator type
of the MCUXpresso SDK of the MCUXpresso SDK
@ -66,11 +66,11 @@ properties:
- "kQTMR_Counter2InputPin" - "kQTMR_Counter2InputPin"
- "kQTMR_Counter3InputPin" - "kQTMR_Counter3InputPin"
filter_count: filter-count:
type: int type: int
description: Fault filter count (0-255). description: Fault filter count (0-255).
filter_period: filter-period:
type: int type: int
description: Fault filter period (0-255). description: Fault filter period (0-255).

View file

@ -20,6 +20,6 @@
&qtmr1_timer0 { &qtmr1_timer0 {
status = "okay"; status = "okay";
primary_source = "kQTMR_ClockDivide_128"; primary-source = "kQTMR_ClockDivide_128";
mode = "kQTMR_PriSrcRiseEdge"; mode = "kQTMR_PriSrcRiseEdge";
}; };

View file

@ -6,6 +6,6 @@
&qtmr1_timer0 { &qtmr1_timer0 {
status = "okay"; status = "okay";
primary_source = "kQTMR_ClockDivide_128"; primary-source = "kQTMR_ClockDivide_128";
mode = "kQTMR_PriSrcRiseEdge"; mode = "kQTMR_PriSrcRiseEdge";
}; };

View file

@ -6,6 +6,6 @@
&qtmr1_timer0 { &qtmr1_timer0 {
status = "okay"; status = "okay";
primary_source = "kQTMR_ClockDivide_128"; primary-source = "kQTMR_ClockDivide_128";
mode = "kQTMR_PriSrcRiseEdge"; mode = "kQTMR_PriSrcRiseEdge";
}; };