Skip to content

Commit f686867

Browse files
khayash1Linus Walleij
authored andcommitted
pinctrl: uniphier: Add another audio I/O pin-mux settings for LD20
This adds support for pinmux settings of aout1b group. This group includes audio I/O signals derived from xirq pins, and it is equivalent to "aout1" in functionality. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Link: https://lore.kernel.org/r/1564465410-9165-3-git-send-email-hayashi.kunihiko@socionext.com Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 111a8fc commit f686867

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,8 @@ static const struct pinctrl_pin_desc uniphier_ld20_pins[] = {
544544

545545
static const unsigned aout1_pins[] = {137, 138, 139, 140, 141, 142};
546546
static const int aout1_muxvals[] = {0, 0, 0, 0, 0, 0};
547+
static const unsigned aout1b_pins[] = {150, 151, 152, 153, 154, 155, 156};
548+
static const int aout1b_muxvals[] = {1, 1, 1, 1, 1, 1, 1};
547549
static const unsigned aoutiec1_pins[] = {135, 136};
548550
static const int aoutiec1_muxvals[] = {0, 0};
549551
static const unsigned int emmc_pins[] = {19, 20, 21, 22, 23, 24, 25};
@@ -664,6 +666,7 @@ static const unsigned int gpio_range2_pins[] = {
664666

665667
static const struct uniphier_pinctrl_group uniphier_ld20_groups[] = {
666668
UNIPHIER_PINCTRL_GROUP(aout1),
669+
UNIPHIER_PINCTRL_GROUP(aout1b),
667670
UNIPHIER_PINCTRL_GROUP(aoutiec1),
668671
UNIPHIER_PINCTRL_GROUP(emmc),
669672
UNIPHIER_PINCTRL_GROUP(emmc_dat8),
@@ -707,7 +710,7 @@ static const struct uniphier_pinctrl_group uniphier_ld20_groups[] = {
707710
UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range2),
708711
};
709712

710-
static const char * const aout1_groups[] = {"aout1"};
713+
static const char * const aout1_groups[] = {"aout1", "aout1b"};
711714
static const char * const aoutiec1_groups[] = {"aoutiec1"};
712715
static const char * const emmc_groups[] = {"emmc", "emmc_dat8"};
713716
static const char * const ether_rgmii_groups[] = {"ether_rgmii"};

0 commit comments

Comments
 (0)