Re: [PATCH 2/5] pinctrl: uniphier: Add another audio I/O pin-mux settings for LD20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 9, 2019 at 7:29 PM Kunihiko Hayashi
<hayashi.kunihiko@xxxxxxxxxxxxx> wrote:
>
> This adds support for pinmux settings of aout1b groups. This group includes
> aout1 signals derived from xirq pins.
>
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@xxxxxxxxxxxxx>
> ---
>  drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
> index 28e54b3..2c66e70 100644
> --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
> +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
> @@ -544,6 +544,8 @@ static const struct pinctrl_pin_desc uniphier_ld20_pins[] = {
>
>  static const unsigned aout1_pins[] = {137, 138, 139, 140, 141, 142};
>  static const int aout1_muxvals[] = {0, 0, 0, 0, 0, 0};
> +static const unsigned aout1b_pins[] = {150, 151, 152, 153, 154, 155, 156};
> +static const int aout1b_muxvals[] = {1, 1, 1, 1, 1, 1, 1};
>  static const unsigned aoutiec1_pins[] = {135, 136};
>  static const int aoutiec1_muxvals[] = {0, 0};
>  static const unsigned int emmc_pins[] = {19, 20, 21, 22, 23, 24, 25};
> @@ -664,6 +666,7 @@ static const unsigned int gpio_range2_pins[] = {
>
>  static const struct uniphier_pinctrl_group uniphier_ld20_groups[] = {
>         UNIPHIER_PINCTRL_GROUP(aout1),
> +       UNIPHIER_PINCTRL_GROUP(aout1b),
>         UNIPHIER_PINCTRL_GROUP(aoutiec1),
>         UNIPHIER_PINCTRL_GROUP(emmc),
>         UNIPHIER_PINCTRL_GROUP(emmc_dat8),
> @@ -708,6 +711,7 @@ static const struct uniphier_pinctrl_group uniphier_ld20_groups[] = {
>  };
>
>  static const char * const aout1_groups[] = {"aout1"};
> +static const char * const aout1b_groups[] = {"aout1b"};

If this has the same functionality as "aout1",
shouldn't it be a part of aout1_groups?




-- 
Best Regards
Masahiro Yamada



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux