@@ -303,16 +303,6 @@ static const struct clkgen_data clkgen_video = {
303303 .mode = 1 ,
304304};
305305
306- static const struct clkgen_clk_out clkgen_stih407_a0_clk_out [] = {
307- /* This clk needs to be on so that memory interface is accessible */
308- { .name = "clk-ic-lmi0" , .flags = CLK_IS_CRITICAL },
309- };
310-
311- static const struct clkgen_data clkgen_stih407_a0 = {
312- .outputs = clkgen_stih407_a0_clk_out ,
313- .outputs_nb = ARRAY_SIZE (clkgen_stih407_a0_clk_out ),
314- };
315-
316306static const struct clkgen_clk_out clkgen_stih410_a0_clk_out [] = {
317307 /* Those clks need to be on so that memory interface is accessible */
318308 { .name = "clk-ic-lmi0" , .flags = CLK_IS_CRITICAL },
@@ -324,51 +314,6 @@ static const struct clkgen_data clkgen_stih410_a0 = {
324314 .outputs_nb = ARRAY_SIZE (clkgen_stih410_a0_clk_out ),
325315};
326316
327- static const struct clkgen_clk_out clkgen_stih407_c0_clk_out [] = {
328- { .name = "clk-icn-gpu" , },
329- { .name = "clk-fdma" , },
330- { .name = "clk-nand" , },
331- { .name = "clk-hva" , },
332- { .name = "clk-proc-stfe" , },
333- { .name = "clk-proc-tp" , },
334- { .name = "clk-rx-icn-dmu" , },
335- { .name = "clk-rx-icn-hva" , },
336- /* This clk needs to be on to keep bus interconnect alive */
337- { .name = "clk-icn-cpu" , .flags = CLK_IS_CRITICAL },
338- /* This clk needs to be on to keep bus interconnect alive */
339- { .name = "clk-tx-icn-dmu" , .flags = CLK_IS_CRITICAL },
340- { .name = "clk-mmc-0" , },
341- { .name = "clk-mmc-1" , },
342- { .name = "clk-jpegdec" , },
343- /* This clk needs to be on to keep A9 running */
344- { .name = "clk-ext2fa9" , .flags = CLK_IS_CRITICAL },
345- { .name = "clk-ic-bdisp-0" , },
346- { .name = "clk-ic-bdisp-1" , },
347- { .name = "clk-pp-dmu" , },
348- { .name = "clk-vid-dmu" , },
349- { .name = "clk-dss-lpc" , },
350- { .name = "clk-st231-aud-0" , },
351- { .name = "clk-st231-gp-1" , },
352- { .name = "clk-st231-dmu" , },
353- /* This clk needs to be on to keep bus interconnect alive */
354- { .name = "clk-icn-lmi" , .flags = CLK_IS_CRITICAL },
355- { .name = "clk-tx-icn-disp-1" , },
356- /* This clk needs to be on to keep bus interconnect alive */
357- { .name = "clk-icn-sbc" , .flags = CLK_IS_CRITICAL },
358- { .name = "clk-stfe-frc2" , },
359- { .name = "clk-eth-phy" , },
360- { .name = "clk-eth-ref-phyclk" , },
361- { .name = "clk-flash-promip" , },
362- { .name = "clk-main-disp" , },
363- { .name = "clk-aux-disp" , },
364- { .name = "clk-compo-dvp" , },
365- };
366-
367- static const struct clkgen_data clkgen_stih407_c0 = {
368- .outputs = clkgen_stih407_c0_clk_out ,
369- .outputs_nb = ARRAY_SIZE (clkgen_stih407_c0_clk_out ),
370- };
371-
372317static const struct clkgen_clk_out clkgen_stih410_c0_clk_out [] = {
373318 { .name = "clk-icn-gpu" , },
374319 { .name = "clk-fdma" , },
@@ -482,19 +427,6 @@ static const struct clkgen_data clkgen_stih418_c0 = {
482427 .outputs_nb = ARRAY_SIZE (clkgen_stih418_c0_clk_out ),
483428};
484429
485- static const struct clkgen_clk_out clkgen_stih407_d0_clk_out [] = {
486- { .name = "clk-pcm-0" , },
487- { .name = "clk-pcm-1" , },
488- { .name = "clk-pcm-2" , },
489- { .name = "clk-spdiff" , },
490- };
491-
492- static const struct clkgen_data clkgen_stih407_d0 = {
493- .flags = CLK_SET_RATE_PARENT ,
494- .outputs = clkgen_stih407_d0_clk_out ,
495- .outputs_nb = ARRAY_SIZE (clkgen_stih407_d0_clk_out ),
496- };
497-
498430static const struct clkgen_clk_out clkgen_stih410_d0_clk_out [] = {
499431 { .name = "clk-pcm-0" , },
500432 { .name = "clk-pcm-1" , },
@@ -596,18 +528,10 @@ static const struct of_device_id flexgen_of_match[] = {
596528 .compatible = "st,flexgen-video" ,
597529 .data = & clkgen_video ,
598530 },
599- {
600- .compatible = "st,flexgen-stih407-a0" ,
601- .data = & clkgen_stih407_a0 ,
602- },
603531 {
604532 .compatible = "st,flexgen-stih410-a0" ,
605533 .data = & clkgen_stih410_a0 ,
606534 },
607- {
608- .compatible = "st,flexgen-stih407-c0" ,
609- .data = & clkgen_stih407_c0 ,
610- },
611535 {
612536 .compatible = "st,flexgen-stih410-c0" ,
613537 .data = & clkgen_stih410_c0 ,
@@ -616,10 +540,6 @@ static const struct of_device_id flexgen_of_match[] = {
616540 .compatible = "st,flexgen-stih418-c0" ,
617541 .data = & clkgen_stih418_c0 ,
618542 },
619- {
620- .compatible = "st,flexgen-stih407-d0" ,
621- .data = & clkgen_stih407_d0 ,
622- },
623543 {
624544 .compatible = "st,flexgen-stih410-d0" ,
625545 .data = & clkgen_stih410_d0 ,
0 commit comments