interconnect: qcom: osm-l3: Add per-core EPSS L3 support
authorBjorn Andersson <quic_bjorande@quicinc.com>
Fri, 11 Nov 2022 03:25:08 +0000 (19:25 -0800)
committerGeorgi Djakov <djakov@kernel.org>
Mon, 14 Nov 2022 13:05:30 +0000 (15:05 +0200)
commit9235253ec73dfd71cc83d154693476930fc8dd77
tree3842d2f01c1c747140230864fc214c81c62f7011
parentd623264f62d40ca2d2380437f8a6318a2a9e4c66
interconnect: qcom: osm-l3: Add per-core EPSS L3 support

The EPSS instance in e.g. SM8350 and SC8280XP has per-core L3 voting
enabled. In this configuration, the "shared" vote is done using the
REG_L3_VOTE register instead of PERF_STATE.

Rename epss_l3 to clarify that it's affecting the PERF_STATE register
and add a new L3_VOTE description. Given platform lineage it's assumed
that the L3_VOTE-based case will be the predominant one, so use this for
a new generic qcom,epss-l3 compatible.

While adding the EPSS generic, also add qcom,osm-l3.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Tested-by: Steev Klimaszewski <steev@kali.org>
Reviewed-by: Sibi Sankar <quic_sibis@quicinc.com>
Link: https://lore.kernel.org/r/20221111032515.3460-4-quic_bjorande@quicinc.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/osm-l3.c