ARM: dts: at91: sama7g5ek: fix debounce delay property for shdwc

Message ID 20230523052750.184223-1-claudiu.beznea@microchip.com
State New
Headers
Series ARM: dts: at91: sama7g5ek: fix debounce delay property for shdwc |

Commit Message

Claudiu Beznea May 23, 2023, 5:27 a.m. UTC
  There is no atmel,shdwc-debouncer property for SHDWC. The right DT property
is debounce-delay-us. Use it.

Fixes: 16b161bcf5d4 ("ARM: dts: at91: sama7g5: add shdwc node")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 arch/arm/boot/dts/at91-sama7g5ek.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Nicolas Ferre May 23, 2023, 9:35 a.m. UTC | #1
On 23/05/2023 at 07:27, Claudiu Beznea wrote:
> There is no atmel,shdwc-debouncer property for SHDWC. The right DT property
> is debounce-delay-us. Use it.
> 
> Fixes: 16b161bcf5d4 ("ARM: dts: at91: sama7g5: add shdwc node")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Thanks Claudiu. Best regards,
   Nicolas

> ---
>   arch/arm/boot/dts/at91-sama7g5ek.dts | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts
> index aa5cc0e98bba..217e9b96c61e 100644
> --- a/arch/arm/boot/dts/at91-sama7g5ek.dts
> +++ b/arch/arm/boot/dts/at91-sama7g5ek.dts
> @@ -792,7 +792,7 @@ &sdmmc2 {
>   };
>   
>   &shdwc {
> -	atmel,shdwc-debouncer = <976>;
> +	debounce-delay-us = <976>;
>   	status = "okay";
>   
>   	input@0 {
  
Claudiu Beznea May 24, 2023, 8:51 a.m. UTC | #2
On 23.05.2023 08:27, Claudiu Beznea wrote:
> There is no atmel,shdwc-debouncer property for SHDWC. The right DT property
> is debounce-delay-us. Use it.
> 
> Fixes: 16b161bcf5d4 ("ARM: dts: at91: sama7g5: add shdwc node")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>

Applied to at91-fixes, thanks!

> ---
>  arch/arm/boot/dts/at91-sama7g5ek.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts
> index aa5cc0e98bba..217e9b96c61e 100644
> --- a/arch/arm/boot/dts/at91-sama7g5ek.dts
> +++ b/arch/arm/boot/dts/at91-sama7g5ek.dts
> @@ -792,7 +792,7 @@ &sdmmc2 {
>  };
>  
>  &shdwc {
> -	atmel,shdwc-debouncer = <976>;
> +	debounce-delay-us = <976>;
>  	status = "okay";
>  
>  	input@0 {
  

Patch

diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts
index aa5cc0e98bba..217e9b96c61e 100644
--- a/arch/arm/boot/dts/at91-sama7g5ek.dts
+++ b/arch/arm/boot/dts/at91-sama7g5ek.dts
@@ -792,7 +792,7 @@  &sdmmc2 {
 };
 
 &shdwc {
-	atmel,shdwc-debouncer = <976>;
+	debounce-delay-us = <976>;
 	status = "okay";
 
 	input@0 {