Re: [PATCH v1 5/9] firmware: keembay: Add support for Trusted Firmware Service call

From: Sudeep Holla
Date: Tue Jan 19 2021 - 12:23:01 EST


On Tue, Jan 19, 2021 at 02:38:32AM +0000, Zulkifli, Muhammad Husaini wrote:

[...]

>
> I try to hook up the DT last night. Seems like the SCMI Protocol 17 is not
> implemented at ATF side.

I had guessed that.

> Double check with ATF Team, currently we don't have SCMI voltage domain
> control in ARM Trusted Firmware yet as of now, that is why even if I map the
> function to scmi, my call will be fail.

Correct, but if you already have this custom SMCCC for voltage already
implemented in TF-A, I don't see it is a big deal to support voltage
protocol there.

>
> [ 2.648989] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
> [ 2.656157] arm-scmi firmware:scmi: SCMI Protocol v1.0 'INTEL:KMB' Firmware version 0x1
> [ 2.664513] arm-scmi firmware:scmi: SCMI protocol 23 not implemented
> [ 2.675898] arm-scmi firmware:scmi: SCMI protocol 17 not implemented
>
> Any possibilities that for UHS patch we go with my current regulator driver
> implementation?

Sorry absolutely no. If this platform was not using SCMI, I wouldn't have
pushed back hard on this custom SMCCC. Please update TF-A to add this support.
There is no point in having custom interface just for this when everything
else is already using SCMI on this platform.

--
Regards,
Sudeep