Skip to content

Commit

Permalink
ARM: dts: at91: use the right property for shutdown controller
Browse files Browse the repository at this point in the history
[ Upstream commit 818c459 ]

The wrong property "atmel,shdwc-debouncer" was used to specify the
debounce delay for the shutdown controler. Replace it with the
documented and implemented property "debounce-delay-us", as mentioned
in v4 driver submission. See:
https://lore.kernel.org/r/1458134390-23847-3-git-send-email-nicolas.ferre@atmel.com/

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Reported-by: Clément Léger <clement.leger@bootlin.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20210730172729.28093-1-nicolas.ferre@microchip.com/
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
noglitch authored and gregkh committed Sep 18, 2021
1 parent f710323 commit 8fb3d8c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/at91-kizbox3_common.dtsi
Expand Up @@ -336,7 +336,7 @@
};

&shutdown_controller {
atmel,shdwc-debouncer = <976>;
debounce-delay-us = <976>;
atmel,wakeup-rtc-timer;

input@0 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/at91-sam9x60ek.dts
Expand Up @@ -662,7 +662,7 @@
};

&shutdown_controller {
atmel,shdwc-debouncer = <976>;
debounce-delay-us = <976>;
status = "okay";

input@0 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
Expand Up @@ -138,7 +138,7 @@
};

shdwc@f8048010 {
atmel,shdwc-debouncer = <976>;
debounce-delay-us = <976>;
atmel,wakeup-rtc-timer;

input@0 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
Expand Up @@ -205,7 +205,7 @@
};

&shutdown_controller {
atmel,shdwc-debouncer = <976>;
debounce-delay-us = <976>;
atmel,wakeup-rtc-timer;

input@0 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/at91-sama5d2_icp.dts
Expand Up @@ -693,7 +693,7 @@
};

&shutdown_controller {
atmel,shdwc-debouncer = <976>;
debounce-delay-us = <976>;
atmel,wakeup-rtc-timer;

input@0 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
Expand Up @@ -203,7 +203,7 @@
};

shdwc@f8048010 {
atmel,shdwc-debouncer = <976>;
debounce-delay-us = <976>;

input@0 {
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/at91-sama5d2_xplained.dts
Expand Up @@ -347,7 +347,7 @@
};

shdwc@f8048010 {
atmel,shdwc-debouncer = <976>;
debounce-delay-us = <976>;
atmel,wakeup-rtc-timer;

input@0 {
Expand Down

0 comments on commit 8fb3d8c

Please sign in to comment.