Skip to content

Commit 169efc3

Browse files
committed
pinctrl: merrifield: Add I²S bus 2 pins to groups and functions
It is useful to control I²S bus 2 pins if we would like to connect an audio codec. Reported-by: mouse <[email protected]> Reported-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Mika Westerberg <[email protected]>
1 parent 503a02b commit 169efc3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/pinctrl/intel/pinctrl-merrifield.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ static const struct pinctrl_pin_desc mrfld_pins[] = {
340340
};
341341

342342
static const unsigned int mrfld_sdio_pins[] = { 50, 51, 52, 53, 54, 55, 56 };
343+
static const unsigned int mrfld_i2s2_pins[] = { 75, 76, 77, 78 };
343344
static const unsigned int mrfld_spi5_pins[] = { 90, 91, 92, 93, 94, 95, 96 };
344345
static const unsigned int mrfld_uart0_pins[] = { 115, 116, 117, 118 };
345346
static const unsigned int mrfld_uart1_pins[] = { 119, 120, 121, 122 };
@@ -351,6 +352,7 @@ static const unsigned int mrfld_pwm3_pins[] = { 133 };
351352

352353
static const struct intel_pingroup mrfld_groups[] = {
353354
PIN_GROUP("sdio_grp", mrfld_sdio_pins, 1),
355+
PIN_GROUP("i2s2_grp", mrfld_i2s2_pins, 1),
354356
PIN_GROUP("spi5_grp", mrfld_spi5_pins, 1),
355357
PIN_GROUP("uart0_grp", mrfld_uart0_pins, 1),
356358
PIN_GROUP("uart1_grp", mrfld_uart1_pins, 1),
@@ -362,6 +364,7 @@ static const struct intel_pingroup mrfld_groups[] = {
362364
};
363365

364366
static const char * const mrfld_sdio_groups[] = { "sdio_grp" };
367+
static const char * const mrfld_i2s2_groups[] = { "i2s2_grp" };
365368
static const char * const mrfld_spi5_groups[] = { "spi5_grp" };
366369
static const char * const mrfld_uart0_groups[] = { "uart0_grp" };
367370
static const char * const mrfld_uart1_groups[] = { "uart1_grp" };
@@ -373,6 +376,7 @@ static const char * const mrfld_pwm3_groups[] = { "pwm3_grp" };
373376

374377
static const struct intel_function mrfld_functions[] = {
375378
FUNCTION("sdio", mrfld_sdio_groups),
379+
FUNCTION("i2s2", mrfld_i2s2_groups),
376380
FUNCTION("spi5", mrfld_spi5_groups),
377381
FUNCTION("uart0", mrfld_uart0_groups),
378382
FUNCTION("uart1", mrfld_uart1_groups),

0 commit comments

Comments
 (0)