Re: [PATCH 3/3] interconnect: qcom: Add EPSS L3 support on SA8775P

From: Raviteja Laggyshetty
Date: Fri Oct 25 2024 - 11:38:25 EST




On 9/6/2024 10:00 PM, Krzysztof Kozlowski wrote:
> On 06/09/2024 17:32, Raviteja Laggyshetty wrote:
>>
>> On 9/4/2024 11:52 PM, Krzysztof Kozlowski wrote:
>>> On 04/09/2024 19:12, Raviteja Laggyshetty wrote:
>>>> +
>>>> static const struct qcom_osm_l3_desc epss_l3_l3_vote = {
>>>> .nodes = epss_l3_nodes,
>>>> .num_nodes = ARRAY_SIZE(epss_l3_nodes),
>>>> @@ -284,6 +307,10 @@ static const struct of_device_id osm_l3_of_match[] = {
>>>> { .compatible = "qcom,sm8150-osm-l3", .data = &osm_l3 },
>>>> { .compatible = "qcom,sc8180x-osm-l3", .data = &osm_l3 },
>>>> { .compatible = "qcom,sm8250-epss-l3", .data = &epss_l3_perf_state },
>>>> + { .compatible = "qcom,sa8775p-epss-l3-cl0",
>>>> + .data = &epss_l3_perf_state },
>>> Don't grow it but express compatibility.
>> ok. Will rename compatible from "qcom,sa8775p-epss-l3-cl0" to "qcom,sa8775p-epss-l3".
>
> This won't solve the problem. You still grow the table, right?

Falling back to "qcom,epss-l3" won't work because we need to vote into perf state register.
I am introducing a new fallback compatible "qcom,epss-l3-perf" for perf voting, which can be used for upcoming qcs8300.

epss_l3_cl0: interconnect@18590000 {
compatible = "qcom,sa8775p-epss-l3", "qcom,epss-l3-perf";
};

>
> Best regards,
> Krzysztof
>