diff mbox series

ARM: dts: at91: update alternate function of signal PD20

Message ID 20211208063553.19807-1-Hari.PrasathGE@microchip.com
State Not Applicable, archived
Headers show
Series ARM: dts: at91: update alternate function of signal PD20 | expand

Checks

Context Check Description
robh/dt-meta-schema success
robh/checkpatch warning total: 0 errors, 1 warnings, 8 lines checked
robh/dtbs-check success

Commit Message

Hari Prasath Gujulan Elango Dec. 8, 2021, 6:35 a.m. UTC
The alternate function of PD20 is 4 as per the datasheet of
sama7g5 and not 5 as defined earlier.

Fixes: 7540629e2fc7 ("ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek")
Signed-off-by: Hari Prasath <Hari.PrasathGE@microchip.com>
---
 arch/arm/boot/dts/sama7g5-pinfunc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Nicolas Ferre Dec. 8, 2021, 11:05 a.m. UTC | #1
On 08/12/2021 at 07:35, Hari Prasath wrote:
> The alternate function of PD20 is 4 as per the datasheet of
> sama7g5 and not 5 as defined earlier.
> 
> Fixes: 7540629e2fc7 ("ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek")
> Signed-off-by: Hari Prasath <Hari.PrasathGE@microchip.com>

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

Thanks Hari. Best regards,
   Nicolas

> ---
>   arch/arm/boot/dts/sama7g5-pinfunc.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/sama7g5-pinfunc.h b/arch/arm/boot/dts/sama7g5-pinfunc.h
> index 22fe9e522a97..4eb30445d205 100644
> --- a/arch/arm/boot/dts/sama7g5-pinfunc.h
> +++ b/arch/arm/boot/dts/sama7g5-pinfunc.h
> @@ -765,7 +765,7 @@
>   #define PIN_PD20__PCK0			PINMUX_PIN(PIN_PD20, 1, 3)
>   #define PIN_PD20__FLEXCOM2_IO3		PINMUX_PIN(PIN_PD20, 2, 2)
>   #define PIN_PD20__PWMH3			PINMUX_PIN(PIN_PD20, 3, 4)
> -#define PIN_PD20__CANTX4		PINMUX_PIN(PIN_PD20, 5, 2)
> +#define PIN_PD20__CANTX4		PINMUX_PIN(PIN_PD20, 4, 2)
>   #define PIN_PD20__FLEXCOM5_IO0		PINMUX_PIN(PIN_PD20, 6, 5)
>   #define PIN_PD21			117
>   #define PIN_PD21__GPIO			PINMUX_PIN(PIN_PD21, 0, 0)
>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sama7g5-pinfunc.h b/arch/arm/boot/dts/sama7g5-pinfunc.h
index 22fe9e522a97..4eb30445d205 100644
--- a/arch/arm/boot/dts/sama7g5-pinfunc.h
+++ b/arch/arm/boot/dts/sama7g5-pinfunc.h
@@ -765,7 +765,7 @@ 
 #define PIN_PD20__PCK0			PINMUX_PIN(PIN_PD20, 1, 3)
 #define PIN_PD20__FLEXCOM2_IO3		PINMUX_PIN(PIN_PD20, 2, 2)
 #define PIN_PD20__PWMH3			PINMUX_PIN(PIN_PD20, 3, 4)
-#define PIN_PD20__CANTX4		PINMUX_PIN(PIN_PD20, 5, 2)
+#define PIN_PD20__CANTX4		PINMUX_PIN(PIN_PD20, 4, 2)
 #define PIN_PD20__FLEXCOM5_IO0		PINMUX_PIN(PIN_PD20, 6, 5)
 #define PIN_PD21			117
 #define PIN_PD21__GPIO			PINMUX_PIN(PIN_PD21, 0, 0)