]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: power: mt8196-gpufreq: Describe nvmem provider ability
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>
Sat, 20 Dec 2025 18:49:53 +0000 (19:49 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Feb 2026 10:55:42 +0000 (11:55 +0100)
commit425fec07d42954a7eb4d0694dc33be4991d67420
tree0622fd0f354d07bc6bfe410af56f4f06754b4565
parentd28cb72e07b21acb90204be201966b9e92eca75a
dt-bindings: power: mt8196-gpufreq: Describe nvmem provider ability

On the MediaTek MT8196 SoC, the Mali GPU's "shader_present" hardware
register may also include a non-functional shader core, along with the
present shader cores. An efuse elsewhere in the SoC provides the
shader_present mask with the fused off core omitted.

However, the efuse address is not publicly disclosed. What is known
though is that the GPUEB MCU reads this efuse, and exposes its contents
in the memory it shares with the application processor.

We can therefore describe the mediatek,mt8196-gpufreq device as being an
nvmem provider for this purpose, as it does provide nvmem access in an
indirect way.

The shader-present child node is left out of the list of required
properties as we may one day be able to describe the actual efuse region
this value comes from, so the gpufreq device isn't necessarily the only
device that can provide this cell, and implementations shouldn't need to
implement this functionality once this is the case.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/power/mediatek,mt8196-gpufreq.yaml