@@ -213,6 +213,11 @@ static int jz4730_pwm_pwm1_pins[] = { 0x5f, };
213213static int jz4730_mii_pins [] = { 0x70 , 0x71 , 0x72 , 0x73 , 0x74 , 0x75 , 0x76 ,
214214 0x77 , 0x78 , 0x19 , 0x7a , 0x1b , 0x7c , };
215215
216+ static int jz4730_i2s_mclk_pins [] = { 0x44 , };
217+ static int jz4730_i2s_acreset_pins [] = { 0x45 , };
218+ static int jz4730_i2s_data_pins [] = { 0x46 , 0x47 , };
219+ static int jz4730_i2s_clock_pins [] = { 0x4d , 0x4e , };
220+
216221static u8 jz4730_lcd_8bit_funcs [] = { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 2 , 2 , 2 , };
217222
218223static const struct group_desc jz4730_groups [] = {
@@ -235,6 +240,11 @@ static const struct group_desc jz4730_groups[] = {
235240 INGENIC_PIN_GROUP ("pwm0" , jz4730_pwm_pwm0 , 1 ),
236241 INGENIC_PIN_GROUP ("pwm1" , jz4730_pwm_pwm1 , 1 ),
237242 INGENIC_PIN_GROUP ("mii" , jz4730_mii , 1 ),
243+ INGENIC_PIN_GROUP ("i2s-mclk-out" , jz4730_i2s_mclk , 1 ),
244+ INGENIC_PIN_GROUP ("i2s-acreset" , jz4730_i2s_acreset , 1 ),
245+ INGENIC_PIN_GROUP ("i2s-data" , jz4730_i2s_data , 1 ),
246+ INGENIC_PIN_GROUP ("i2s-master" , jz4730_i2s_clock , 1 ),
247+ INGENIC_PIN_GROUP ("i2s-slave" , jz4730_i2s_clock , 2 ),
238248};
239249
240250static const char * jz4730_mmc_groups [] = { "mmc-1bit" , "mmc-4bit" , };
@@ -251,6 +261,7 @@ static const char *jz4730_nand_groups[] = {
251261static const char * jz4730_pwm0_groups [] = { "pwm0" , };
252262static const char * jz4730_pwm1_groups [] = { "pwm1" , };
253263static const char * jz4730_mii_groups [] = { "mii" , };
264+ static const char * jz4730_i2s_groups [] = { "i2s-data" , "i2s-master" , "i2s-slave" , };
254265
255266static const struct function_desc jz4730_functions [] = {
256267 INGENIC_PIN_FUNCTION ("mmc" , jz4730_mmc ),
@@ -263,6 +274,7 @@ static const struct function_desc jz4730_functions[] = {
263274 INGENIC_PIN_FUNCTION ("pwm0" , jz4730_pwm0 ),
264275 INGENIC_PIN_FUNCTION ("pwm1" , jz4730_pwm1 ),
265276 INGENIC_PIN_FUNCTION ("mii" , jz4730_mii ),
277+ INGENIC_PIN_FUNCTION ("i2s" , jz4730_i2s ),
266278};
267279
268280static const struct ingenic_chip_info jz4730_chip_info = {
0 commit comments