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()
737 struct clk_rpmh_desc *rpmh = data; in of_clk_rpmh_hw_get() local
740 if (idx >= rpmh->num_clks) { in of_clk_rpmh_hw_get()
745 return rpmh->clks[idx]; in of_clk_rpmh_hw_get()
775 dev_err(&pdev->dev, "missing RPMh resource address for %s\n", in clk_rpmh_probe()
784 "error reading RPMh aux data for %s (%d)\n", in clk_rpmh_probe()
811 dev_dbg(&pdev->dev, "Registered RPMh clocks\n"); in clk_rpmh_probe()
817 { .compatible = "qcom,qdu1000-rpmh-clk", .data = &clk_rpmh_qdu1000},
818 { .compatible = "qcom,sa8775p-rpmh-clk", .data = &clk_rpmh_sa8775p},
819 { .compatible = "qcom,sar2130p-rpmh-clk", .data = &clk_rpmh_sar2130p},
820 { .compatible = "qcom,sc7180-rpmh-clk", .data = &clk_rpmh_sc7180},
821 { .compatible = "qcom,sc8180x-rpmh-clk", .data = &clk_rpmh_sc8180x},
822 { .compatible = "qcom,sc8280xp-rpmh-clk", .data = &clk_rpmh_sc8280xp},
823 { .compatible = "qcom,sdm845-rpmh-clk", .data = &clk_rpmh_sdm845},
824 { .compatible = "qcom,sdm670-rpmh-clk", .data = &clk_rpmh_sdm670},
825 { .compatible = "qcom,sdx55-rpmh-clk", .data = &clk_rpmh_sdx55},
826 { .compatible = "qcom,sdx65-rpmh-clk", .data = &clk_rpmh_sdx65},
827 { .compatible = "qcom,sdx75-rpmh-clk", .data = &clk_rpmh_sdx75},
828 { .compatible = "qcom,sm6350-rpmh-clk", .data = &clk_rpmh_sm6350},
829 { .compatible = "qcom,sm8150-rpmh-clk", .data = &clk_rpmh_sm8150},
830 { .compatible = "qcom,sm8250-rpmh-clk", .data = &clk_rpmh_sm8250},
831 { .compatible = "qcom,sm8350-rpmh-clk", .data = &clk_rpmh_sm8350},
832 { .compatible = "qcom,sm8450-rpmh-clk", .data = &clk_rpmh_sm8450},
833 { .compatible = "qcom,sm8550-rpmh-clk", .data = &clk_rpmh_sm8550},
834 { .compatible = "qcom,sc7280-rpmh-clk", .data = &clk_rpmh_sc7280},
842 .name = "clk-rpmh",
859 MODULE_DESCRIPTION("QCOM RPMh Clock Driver");