Skip to content

Commit

Permalink
pinctrl: Add support for Meson8b
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Carlo Caione authored and Linus Walleij committed Apr 7, 2015
1 parent faa246d commit 0fefcb6
Show file tree
Hide file tree
Showing 5 changed files with 937 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/meson/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
obj-y += pinctrl-meson8.o
obj-y += pinctrl-meson8.o pinctrl-meson8b.o
obj-y += pinctrl-meson.o
4 changes: 4 additions & 0 deletions drivers/pinctrl/meson/pinctrl-meson.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,10 @@ static const struct of_device_id meson_pinctrl_dt_match[] = {
.compatible = "amlogic,meson8-pinctrl",
.data = &meson8_pinctrl_data,
},
{
.compatible = "amlogic,meson8b-pinctrl",
.data = &meson8b_pinctrl_data,
},
{ },
};
MODULE_DEVICE_TABLE(of, meson_pinctrl_dt_match);
Expand Down
1 change: 1 addition & 0 deletions drivers/pinctrl/meson/pinctrl-meson.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,4 @@ struct meson_pinctrl {
#define MESON_PIN(x, b) PINCTRL_PIN(PIN(x, b), #x)

extern struct meson_pinctrl_data meson8_pinctrl_data;
extern struct meson_pinctrl_data meson8b_pinctrl_data;
Loading

0 comments on commit 0fefcb6

Please sign in to comment.