[PATCH] ARM: dts: at91: sama7g5ek: fix debounce delay property for shdwc

Claudiu Beznea posted 1 patch 2 years, 8 months ago
arch/arm/boot/dts/at91-sama7g5ek.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ARM: dts: at91: sama7g5ek: fix debounce delay property for shdwc
Posted by Claudiu Beznea 2 years, 8 months ago
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(-)

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 {
-- 
2.34.1
Re: [PATCH] ARM: dts: at91: sama7g5ek: fix debounce delay property for shdwc
Posted by Claudiu.Beznea@microchip.com 2 years, 8 months ago
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 {

Re: [PATCH] ARM: dts: at91: sama7g5ek: fix debounce delay property for shdwc
Posted by Nicolas Ferre 2 years, 8 months ago
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 {

-- 
Nicolas Ferre