37
37
#define VC3_PLL1_M_DIV (n ) ((n) & GENMASK(5, 0))
38
38
39
39
#define VC3_PLL1_VCO_N_DIVIDER 0x9
40
- #define VC3_PLL1_LOOP_FILTER_N_DIV_MSB 0x0a
40
+ #define VC3_PLL1_LOOP_FILTER_N_DIV_MSB 0xa
41
41
42
42
#define VC3_OUT_DIV1_DIV2_CTRL 0xf
43
43
@@ -605,7 +605,7 @@ static struct vc3_hw_data clk_pfd_mux[] = {
605
605
.offs = VC3_PLL_OP_CTRL ,
606
606
.bitmsk = BIT (VC3_PLL_OP_CTRL_PLL2_REFIN_SEL )
607
607
},
608
- .hw .init = & (struct clk_init_data ){
608
+ .hw .init = & (struct clk_init_data ) {
609
609
.name = "pfd2_mux" ,
610
610
.ops = & vc3_pfd_mux_ops ,
611
611
.parent_data = pfd_mux_parent_data ,
@@ -618,7 +618,7 @@ static struct vc3_hw_data clk_pfd_mux[] = {
618
618
.offs = VC3_GENERAL_CTR ,
619
619
.bitmsk = BIT (VC3_GENERAL_CTR_PLL3_REFIN_SEL )
620
620
},
621
- .hw .init = & (struct clk_init_data ){
621
+ .hw .init = & (struct clk_init_data ) {
622
622
.name = "pfd3_mux" ,
623
623
.ops = & vc3_pfd_mux_ops ,
624
624
.parent_data = pfd_mux_parent_data ,
@@ -636,7 +636,7 @@ static struct vc3_hw_data clk_pfd[] = {
636
636
.mdiv1_bitmsk = VC3_PLL1_M_DIV1 ,
637
637
.mdiv2_bitmsk = VC3_PLL1_M_DIV2
638
638
},
639
- .hw .init = & (struct clk_init_data ){
639
+ .hw .init = & (struct clk_init_data ) {
640
640
.name = "pfd1" ,
641
641
.ops = & vc3_pfd_ops ,
642
642
.parent_data = & (const struct clk_parent_data ) {
@@ -653,7 +653,7 @@ static struct vc3_hw_data clk_pfd[] = {
653
653
.mdiv1_bitmsk = VC3_PLL2_M_DIV1 ,
654
654
.mdiv2_bitmsk = VC3_PLL2_M_DIV2
655
655
},
656
- .hw .init = & (struct clk_init_data ){
656
+ .hw .init = & (struct clk_init_data ) {
657
657
.name = "pfd2" ,
658
658
.ops = & vc3_pfd_ops ,
659
659
.parent_hws = (const struct clk_hw * []) {
@@ -670,7 +670,7 @@ static struct vc3_hw_data clk_pfd[] = {
670
670
.mdiv1_bitmsk = VC3_PLL3_M_DIV1 ,
671
671
.mdiv2_bitmsk = VC3_PLL3_M_DIV2
672
672
},
673
- .hw .init = & (struct clk_init_data ){
673
+ .hw .init = & (struct clk_init_data ) {
674
674
.name = "pfd3" ,
675
675
.ops = & vc3_pfd_ops ,
676
676
.parent_hws = (const struct clk_hw * []) {
@@ -691,7 +691,7 @@ static struct vc3_hw_data clk_pll[] = {
691
691
.vco_min = VC3_PLL1_VCO_MIN ,
692
692
.vco_max = VC3_PLL1_VCO_MAX
693
693
},
694
- .hw .init = & (struct clk_init_data ){
694
+ .hw .init = & (struct clk_init_data ) {
695
695
.name = "pll1" ,
696
696
.ops = & vc3_pll_ops ,
697
697
.parent_hws = (const struct clk_hw * []) {
@@ -709,7 +709,7 @@ static struct vc3_hw_data clk_pll[] = {
709
709
.vco_min = VC3_PLL2_VCO_MIN ,
710
710
.vco_max = VC3_PLL2_VCO_MAX
711
711
},
712
- .hw .init = & (struct clk_init_data ){
712
+ .hw .init = & (struct clk_init_data ) {
713
713
.name = "pll2" ,
714
714
.ops = & vc3_pll_ops ,
715
715
.parent_hws = (const struct clk_hw * []) {
@@ -727,7 +727,7 @@ static struct vc3_hw_data clk_pll[] = {
727
727
.vco_min = VC3_PLL3_VCO_MIN ,
728
728
.vco_max = VC3_PLL3_VCO_MAX
729
729
},
730
- .hw .init = & (struct clk_init_data ){
730
+ .hw .init = & (struct clk_init_data ) {
731
731
.name = "pll3" ,
732
732
.ops = & vc3_pll_ops ,
733
733
.parent_hws = (const struct clk_hw * []) {
@@ -760,7 +760,7 @@ static struct vc3_hw_data clk_div_mux[] = {
760
760
.offs = VC3_GENERAL_CTR ,
761
761
.bitmsk = VC3_GENERAL_CTR_DIV1_SRC_SEL
762
762
},
763
- .hw .init = & (struct clk_init_data ){
763
+ .hw .init = & (struct clk_init_data ) {
764
764
.name = "div1_mux" ,
765
765
.ops = & vc3_div_mux_ops ,
766
766
.parent_data = div_mux_parent_data [VC3_DIV1_MUX ],
@@ -773,7 +773,7 @@ static struct vc3_hw_data clk_div_mux[] = {
773
773
.offs = VC3_PLL3_CHARGE_PUMP_CTRL ,
774
774
.bitmsk = VC3_PLL3_CHARGE_PUMP_CTRL_OUTDIV3_SRC_SEL
775
775
},
776
- .hw .init = & (struct clk_init_data ){
776
+ .hw .init = & (struct clk_init_data ) {
777
777
.name = "div3_mux" ,
778
778
.ops = & vc3_div_mux_ops ,
779
779
.parent_data = div_mux_parent_data [VC3_DIV3_MUX ],
@@ -786,7 +786,7 @@ static struct vc3_hw_data clk_div_mux[] = {
786
786
.offs = VC3_OUTPUT_CTR ,
787
787
.bitmsk = VC3_OUTPUT_CTR_DIV4_SRC_SEL
788
788
},
789
- .hw .init = & (struct clk_init_data ){
789
+ .hw .init = & (struct clk_init_data ) {
790
790
.name = "div4_mux" ,
791
791
.ops = & vc3_div_mux_ops ,
792
792
.parent_data = div_mux_parent_data [VC3_DIV4_MUX ],
@@ -805,7 +805,7 @@ static struct vc3_hw_data clk_div[] = {
805
805
.width = 4 ,
806
806
.flags = CLK_DIVIDER_READ_ONLY
807
807
},
808
- .hw .init = & (struct clk_init_data ){
808
+ .hw .init = & (struct clk_init_data ) {
809
809
.name = "div1" ,
810
810
.ops = & vc3_div_ops ,
811
811
.parent_hws = (const struct clk_hw * []) {
@@ -823,7 +823,7 @@ static struct vc3_hw_data clk_div[] = {
823
823
.width = 4 ,
824
824
.flags = CLK_DIVIDER_READ_ONLY
825
825
},
826
- .hw .init = & (struct clk_init_data ){
826
+ .hw .init = & (struct clk_init_data ) {
827
827
.name = "div2" ,
828
828
.ops = & vc3_div_ops ,
829
829
.parent_hws = (const struct clk_hw * []) {
@@ -841,7 +841,7 @@ static struct vc3_hw_data clk_div[] = {
841
841
.width = 4 ,
842
842
.flags = CLK_DIVIDER_READ_ONLY
843
843
},
844
- .hw .init = & (struct clk_init_data ){
844
+ .hw .init = & (struct clk_init_data ) {
845
845
.name = "div3" ,
846
846
.ops = & vc3_div_ops ,
847
847
.parent_hws = (const struct clk_hw * []) {
@@ -859,7 +859,7 @@ static struct vc3_hw_data clk_div[] = {
859
859
.width = 4 ,
860
860
.flags = CLK_DIVIDER_READ_ONLY
861
861
},
862
- .hw .init = & (struct clk_init_data ){
862
+ .hw .init = & (struct clk_init_data ) {
863
863
.name = "div4" ,
864
864
.ops = & vc3_div_ops ,
865
865
.parent_hws = (const struct clk_hw * []) {
@@ -877,7 +877,7 @@ static struct vc3_hw_data clk_div[] = {
877
877
.width = 4 ,
878
878
.flags = CLK_DIVIDER_READ_ONLY
879
879
},
880
- .hw .init = & (struct clk_init_data ){
880
+ .hw .init = & (struct clk_init_data ) {
881
881
.name = "div5" ,
882
882
.ops = & vc3_div_ops ,
883
883
.parent_hws = (const struct clk_hw * []) {
@@ -895,7 +895,7 @@ static struct vc3_hw_data clk_mux[] = {
895
895
.offs = VC3_SE1_DIV4_CTRL ,
896
896
.bitmsk = VC3_SE1_DIV4_CTRL_SE1_CLK_SEL
897
897
},
898
- .hw .init = & (struct clk_init_data ){
898
+ .hw .init = & (struct clk_init_data ) {
899
899
.name = "se1_mux" ,
900
900
.ops = & vc3_clk_mux_ops ,
901
901
.parent_hws = (const struct clk_hw * []) {
@@ -911,7 +911,7 @@ static struct vc3_hw_data clk_mux[] = {
911
911
.offs = VC3_SE2_CTRL_REG0 ,
912
912
.bitmsk = VC3_SE2_CTRL_REG0_SE2_CLK_SEL
913
913
},
914
- .hw .init = & (struct clk_init_data ){
914
+ .hw .init = & (struct clk_init_data ) {
915
915
.name = "se2_mux" ,
916
916
.ops = & vc3_clk_mux_ops ,
917
917
.parent_hws = (const struct clk_hw * []) {
@@ -927,7 +927,7 @@ static struct vc3_hw_data clk_mux[] = {
927
927
.offs = VC3_SE3_DIFF1_CTRL_REG ,
928
928
.bitmsk = VC3_SE3_DIFF1_CTRL_REG_SE3_CLK_SEL
929
929
},
930
- .hw .init = & (struct clk_init_data ){
930
+ .hw .init = & (struct clk_init_data ) {
931
931
.name = "se3_mux" ,
932
932
.ops = & vc3_clk_mux_ops ,
933
933
.parent_hws = (const struct clk_hw * []) {
@@ -943,7 +943,7 @@ static struct vc3_hw_data clk_mux[] = {
943
943
.offs = VC3_DIFF1_CTRL_REG ,
944
944
.bitmsk = VC3_DIFF1_CTRL_REG_DIFF1_CLK_SEL
945
945
},
946
- .hw .init = & (struct clk_init_data ){
946
+ .hw .init = & (struct clk_init_data ) {
947
947
.name = "diff1_mux" ,
948
948
.ops = & vc3_clk_mux_ops ,
949
949
.parent_hws = (const struct clk_hw * []) {
@@ -959,7 +959,7 @@ static struct vc3_hw_data clk_mux[] = {
959
959
.offs = VC3_DIFF2_CTRL_REG ,
960
960
.bitmsk = VC3_DIFF2_CTRL_REG_DIFF2_CLK_SEL
961
961
},
962
- .hw .init = & (struct clk_init_data ){
962
+ .hw .init = & (struct clk_init_data ) {
963
963
.name = "diff2_mux" ,
964
964
.ops = & vc3_clk_mux_ops ,
965
965
.parent_hws = (const struct clk_hw * []) {
0 commit comments