From 23b73604f6ecad485ea87f0a48bc61195dd6f0ee Mon Sep 17 00:00:00 2001 From: Xingyu Chen Date: Mon, 18 Mar 2019 13:36:09 +0800 Subject: [PATCH] pinctrl: gxl: add new group definition for support TEST_N used as i2sout [1/1] PD#OTT-2745 Problem: TEST_N used only as gpio, and don't support other function Solution: add new group definition for support TEST_N used as i2sout Verify: test pass on P212 Change-Id: I47103b27df9baf21537e82b48ad18911a355f873 Signed-off-by: Xingyu Chen --- drivers/amlogic/pinctrl/pinctrl-meson-gxl.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/pinctrl/pinctrl-meson-gxl.c b/drivers/amlogic/pinctrl/pinctrl-meson-gxl.c index a98e3e4..9366a77 100644 --- a/drivers/amlogic/pinctrl/pinctrl-meson-gxl.c +++ b/drivers/amlogic/pinctrl/pinctrl-meson-gxl.c @@ -755,6 +755,7 @@ static const unsigned int ee_cec_pins[] = { GPIOAO_8 }; /*i2s_out_ao*/ static const unsigned int i2sout_ch23_ao8_pins[] = { GPIOAO_8 }; static const unsigned int i2sout_ch45_ao9_pins[] = { GPIOAO_9 }; +static const unsigned int i2sout_ch67_tn_pins[] = { GPIO_TEST_N }; /*spdif_out_ao*/ static const unsigned int spdid_out_ao9_pins[] = { GPIOAO_9 }; @@ -793,13 +794,14 @@ static struct meson_pmx_group meson_gxl_aobus_groups[] = { GROUP(ir_out_ao7, 0, 21), GROUP(ao_cec, 0, 15), GROUP(ee_cec, 0, 14), - GROUP(i2sout_ch23_ao8, 2, 0), + GROUP(i2sout_ch23_ao8, 1, 0), GROUP(pwm_ao_a_ao8, 0, 17), GROUP(ir_out_ao9, 0, 31), GROUP(spdid_out_ao6, 0, 16), GROUP(spdid_out_ao9, 0, 4), - GROUP(i2sout_ch45_ao9, 2, 1), + GROUP(i2sout_ch45_ao9, 1, 1), GROUP(pwm_ao_b_ao9, 0, 3), + GROUP(i2sout_ch67_tn, 1, 2), }; static const char * const gpio_periphs_groups[] = { @@ -1093,6 +1095,7 @@ static const char * const pwm_ao_b_groups[] = { static const char * const i2s_out_ao_groups[] = { "i2sout_ch23_ao8", "i2sout_ch45_ao9", + "i2sout_ch67_tn", }; static const char * const spdif_out_ao_groups[] = { -- 2.7.4