Skip to content

Commit 0fefcb6

Browse files
Carlo Caionelinusw
authored andcommitted
pinctrl: Add support for Meson8b
This patch adds support for the AmLogic Meson8b SoC. Signed-off-by: Carlo Caione <carlo@endlessm.com> Acked-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent faa246d commit 0fefcb6

File tree

5 files changed

+937
-1
lines changed

5 files changed

+937
-1
lines changed

drivers/pinctrl/meson/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
obj-y += pinctrl-meson8.o
1+
obj-y += pinctrl-meson8.o pinctrl-meson8b.o
22
obj-y += pinctrl-meson.o

drivers/pinctrl/meson/pinctrl-meson.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,10 @@ static const struct of_device_id meson_pinctrl_dt_match[] = {
545545
.compatible = "amlogic,meson8-pinctrl",
546546
.data = &meson8_pinctrl_data,
547547
},
548+
{
549+
.compatible = "amlogic,meson8b-pinctrl",
550+
.data = &meson8b_pinctrl_data,
551+
},
548552
{ },
549553
};
550554
MODULE_DEVICE_TABLE(of, meson_pinctrl_dt_match);

drivers/pinctrl/meson/pinctrl-meson.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,4 @@ struct meson_pinctrl {
209209
#define MESON_PIN(x, b) PINCTRL_PIN(PIN(x, b), #x)
210210

211211
extern struct meson_pinctrl_data meson8_pinctrl_data;
212+
extern struct meson_pinctrl_data meson8b_pinctrl_data;

0 commit comments

Comments
 (0)