]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: qcom: clk_mem_branch: add enable mask and invert flags
authorTaniya Das <taniya.das@oss.qualcomm.com>
Tue, 18 Nov 2025 07:17:05 +0000 (12:47 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 18 Nov 2025 16:30:43 +0000 (10:30 -0600)
commit165d0b6dd248b939fb0d31a00687e6ef672b3b3c
tree9d46e34e2fe8454eb5cbc8d416033c286691f450
parent0a0ea5541d30c0fbb3dac975bd1983f299cd6948
clk: qcom: clk_mem_branch: add enable mask and invert flags

Introduce mem_enable_mask and mem_enable_invert in clk_mem_branch to
describe memory gating implementations that use a separate mask and/or
inverted enable logic. This documents hardware behavior in data instead
of code and will be used by upcoming platform descriptions.

Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com>
Reviewed-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251118-sm8750-videocc-v2-v4-1-049882a70c9f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/clk-branch.h