aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>2020-12-02 13:45:14 +0100
committerRob Herring <robh@kernel.org>2020-12-09 14:02:06 -0600
commit8f7e68bb3d4c482faa223ffa3838f7d39129afec (patch)
treee90c5f7837fab9a18a16ddc755e7df4cf96dd4ad /Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
parentdt-bindings: trivial-devices: Add delta,q54sj108a2 (diff)
downloadlinux-dev-8f7e68bb3d4c482faa223ffa3838f7d39129afec.tar.xz
linux-dev-8f7e68bb3d4c482faa223ffa3838f7d39129afec.zip
dt-bindings: mfd: fix stm32 timers example
The stm32 timers example name should match the pattern timer@. Also, the example is based on stm32mp1 timer 2, so the identifier should be '1' instead of '0' (e.g. timer 1). Fixes: bfbcbf88f9db ("dt-bindings: timer: Convert stm32 timer bindings to json-schema") Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Link: https://lore.kernel.org/r/1606913114-25693-1-git-send-email-fabrice.gasnier@foss.st.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml')
-rw-r--r--Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml b/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
index f212fc6e1661..0f16c8864a87 100644
--- a/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
+++ b/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
@@ -131,7 +131,7 @@ additionalProperties: false
examples:
- |
#include <dt-bindings/clock/stm32mp1-clks.h>
- timers2: timers@40000000 {
+ timers2: timer@40000000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "st,stm32-timers";
@@ -149,9 +149,9 @@ examples:
#pwm-cells = <3>;
st,breakinput = <0 1 5>;
};
- timer@0 {
+ timer@1 {
compatible = "st,stm32-timer-trigger";
- reg = <0>;
+ reg = <1>;
};
counter {
compatible = "st,stm32-timer-counter";