Skip to content

Commit

Permalink
pinctrl: SAMx7x: Fix incorrect pinctrl config for pa21
Browse files Browse the repository at this point in the history
The pinctrl configuration for SAMx7x SOC pa21 is incorrect. Instead of afe1_ad1 it should be afe0_ad1.

This updates the pinconfigs yml file and all the updated header files.

Signed-off-by: Marius Scholtz <[email protected]>
  • Loading branch information
Marius Scholtz authored and nandojve committed Dec 19, 2023
1 parent add80d4 commit b0cc87f
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/same70j-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/same70n-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/same70q-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/sams70j-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/sams70n-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/sams70q-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/samv70j-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/samv70n-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/samv70q-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/samv71j-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/samv71n-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
4 changes: 2 additions & 2 deletions include/dt-bindings/pinctrl/samv71q-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@
#define PA21C_PWMC1_PWMFI0 \
SAM_PINMUX(a, 21, c, periph)

/* pa21x_afe1_ad1 */
#define PA21X_AFE1_AD1 \
/* pa21x_afe0_ad1 */
#define PA21X_AFE0_AD1 \
SAM_PINMUX(a, 21, x, extra)

/* pa21x_pio_piodcen2 */
Expand Down
2 changes: 1 addition & 1 deletion pinconfigs/sam-s70-e70-v7x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ pins:
- [b, pmc, pck1]
- [c, pwmc1, pwmfi0]
extra:
- [x, afe1, ad1]
- [x, afe0, ad1]
- [x, pio, piodcen2]
pa22:
pincodes: [j, n, q]
Expand Down

0 comments on commit b0cc87f

Please sign in to comment.