The Arm part is supposed to hold an permanent, active-only vote on the XO resource to prevent the RPM algorithms from deciding that its main clock source should be cut off. Guarantee this by marking XO_A critical. These patches are extracted from a broader series at Stephen's request: https://lore.kernel.org/linux-arm-msm/3040c836-4db8-7e7b-3ed4-6d71f0496cc5@xxxxxxxxxx/ Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> --- Konrad Dybcio (3): clk: qcom: smd-rpm_ Make __DEFINE_CLK_SMD_RPM_BRANCH_PREFIX accept flags clk: qcom: smd-rpm: Make DEFINE_CLK_SMD_RPM_BRANCH_A accept flags clk: qcom: smd-rpm: Make BI_TCXO_AO critical drivers/clk/qcom/clk-smd-rpm.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) --- base-commit: 92e815cf07ed24ee1c51b122f24ffcf2964b4b13 change-id: 20230501-topic-rpmcc_xo_a-2caec8c8dad5 Best regards, -- Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>