Lines Matching full:rpmh
13 #include <soc/qcom/rpmh.h>
16 #include <dt-bindings/clock/qcom,rpmh.h>
23 * @unit: divisor used to convert Hz value to an RPMh msg
24 * @width: multiplier used to convert Hz value to an RPMh msg
36 * struct clk_rpmh - individual rpmh clock data structure
38 * @res_name: resource name for the rpmh clock
40 * @res_addr: base address of the rpmh resource within the RPMh
41 * @res_on_val: rpmh clock enable value
42 * @state: rpmh clock requested state
43 * @aggr_state: rpmh clock aggregated state
44 * @last_sent_aggr_state: rpmh clock last aggr state sent to RPMh
45 * @valid_state_mask: mask to determine the state of the rpmh clock
46 * @unit: divisor to convert rate to rpmh msg in magnitudes of Khz
48 * @peer: pointer to the clock rpmh sibling
240 * RPMh clocks have a fixed rate. Return static rate. in clk_rpmh_recalc_rate()
273 * Send only an active only state request. RPMh continues to in clk_rpmh_bcm_send_cmd()
652 * The clka3 RPMh resource is missing in cmd-db
801 struct clk_rpmh_desc *rpmh = data; in of_clk_rpmh_hw_get() local
804 if (idx >= rpmh->num_clks) { in of_clk_rpmh_hw_get()
809 return rpmh->clks[idx]; in of_clk_rpmh_hw_get()
839 dev_err(&pdev->dev, "missing RPMh resource address for %s\n", in clk_rpmh_probe()
848 "error reading RPMh aux data for %s (%d)\n", in clk_rpmh_probe()
875 dev_dbg(&pdev->dev, "Registered RPMh clocks\n"); in clk_rpmh_probe()
881 { .compatible = "qcom,qdu1000-rpmh-clk", .data = &clk_rpmh_qdu1000},
882 { .compatible = "qcom,sa8775p-rpmh-clk", .data = &clk_rpmh_sa8775p},
883 { .compatible = "qcom,sc7180-rpmh-clk", .data = &clk_rpmh_sc7180},
884 { .compatible = "qcom,sc8180x-rpmh-clk", .data = &clk_rpmh_sc8180x},
885 { .compatible = "qcom,sc8280xp-rpmh-clk", .data = &clk_rpmh_sc8280xp},
886 { .compatible = "qcom,sdm845-rpmh-clk", .data = &clk_rpmh_sdm845},
887 { .compatible = "qcom,sdm670-rpmh-clk", .data = &clk_rpmh_sdm670},
888 { .compatible = "qcom,sdx55-rpmh-clk", .data = &clk_rpmh_sdx55},
889 { .compatible = "qcom,sdx65-rpmh-clk", .data = &clk_rpmh_sdx65},
890 { .compatible = "qcom,sdx75-rpmh-clk", .data = &clk_rpmh_sdx75},
891 { .compatible = "qcom,sm4450-rpmh-clk", .data = &clk_rpmh_sm4450},
892 { .compatible = "qcom,sm6350-rpmh-clk", .data = &clk_rpmh_sm6350},
893 { .compatible = "qcom,sm8150-rpmh-clk", .data = &clk_rpmh_sm8150},
894 { .compatible = "qcom,sm8250-rpmh-clk", .data = &clk_rpmh_sm8250},
895 { .compatible = "qcom,sm8350-rpmh-clk", .data = &clk_rpmh_sm8350},
896 { .compatible = "qcom,sm8450-rpmh-clk", .data = &clk_rpmh_sm8450},
897 { .compatible = "qcom,sm8550-rpmh-clk", .data = &clk_rpmh_sm8550},
898 { .compatible = "qcom,sm8650-rpmh-clk", .data = &clk_rpmh_sm8650},
899 { .compatible = "qcom,sc7280-rpmh-clk", .data = &clk_rpmh_sc7280},
900 { .compatible = "qcom,x1e80100-rpmh-clk", .data = &clk_rpmh_x1e80100},
908 .name = "clk-rpmh",
925 MODULE_DESCRIPTION("QCOM RPMh Clock Driver");