AngeloGioacchino Del Regno de6e05097f nvmem: mtk-efuse: Support postprocessing for GPU speed binning data
On some MediaTek SoCs GPU speed binning data is available for read
in the SoC's eFuse array but it has a format that is incompatible
with what the OPP API expects, as we read a number from 0 to 7 but
opp-supported-hw is expecting a bitmask to enable an OPP entry:
being what we read limited to 0-7, it's straightforward to simply
convert the value to BIT(value) as a post-processing action.

So, introduce post-processing support and enable it by evaluating
the newly introduced platform data's `uses_post_processing` member,
currently enabled only for MT8186.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230404172148.82422-28-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-05 19:41:12 +02:00
..
2022-05-09 15:44:21 +02:00
2023-04-05 19:41:11 +02:00
2023-04-05 19:41:11 +02:00
2019-11-05 18:35:33 +01:00
2021-04-02 16:26:33 +02:00
2021-05-14 13:39:50 +02:00