File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
drivers/interconnect/qcom Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,16 @@ static const struct clk_bulk_data bus_mm_clocks[] = {
173
173
{ .id = "iface" },
174
174
};
175
175
176
+ static const struct clk_bulk_data bus_a2noc_clocks [] = {
177
+ { .id = "bus" },
178
+ { .id = "bus_a" },
179
+ { .id = "ipa" },
180
+ { .id = "ufs_axi" },
181
+ { .id = "aggre2_ufs_axi" },
182
+ { .id = "aggre2_usb3_axi" },
183
+ { .id = "cfg_noc_usb2_axi" },
184
+ };
185
+
176
186
/**
177
187
* struct qcom_icc_provider - Qualcomm specific interconnect provider
178
188
* @provider: generic interconnect provider
@@ -809,6 +819,10 @@ static int qnoc_probe(struct platform_device *pdev)
809
819
qp -> bus_clks = devm_kmemdup (dev , bus_mm_clocks ,
810
820
sizeof (bus_mm_clocks ), GFP_KERNEL );
811
821
qp -> num_clks = ARRAY_SIZE (bus_mm_clocks );
822
+ } else if (of_device_is_compatible (dev -> of_node , "qcom,sdm660-a2noc" )) {
823
+ qp -> bus_clks = devm_kmemdup (dev , bus_a2noc_clocks ,
824
+ sizeof (bus_a2noc_clocks ), GFP_KERNEL );
825
+ qp -> num_clks = ARRAY_SIZE (bus_a2noc_clocks );
812
826
} else {
813
827
if (of_device_is_compatible (dev -> of_node , "qcom,sdm660-bimc" ))
814
828
qp -> is_bimc_node = true;
You can’t perform that action at this time.
0 commit comments