Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: nvmem: mediatek: efuse: split MT8186/MT8188 from base version

On MT8186 and MT8188 one of the NVMEM cells contains the GPU speed bin
value. In combination with the GPU OPP bindings, on these two platforms
there is an implied scheme of converting the cell value to what the GPU
OPP "opp-supported-hw" property matches. This does not apply to the base
mediatek,efuse hardware, nor does it apply to any of the other platforms
that do not have the GPU speed bin cell. The platform maintainer argues
that this makes the compatibles incompatible with the base
"mediatek,efuse" compatible, as shown in the link given.

Deprecate the MT8186/MT8188 + "mediatek,efuse" combination, and add
new entries with MT8186 being the base model and MT8188 falling back
to MT8186.

Link: https://lore.kernel.org/all/11028242-afe4-474a-9d76-cd1bd9208987@collabora.com/
Fixes: ff1df1886f43 ("dt-bindings: nvmem: mediatek: efuse: Add support for MT8188")
Cc: Johnson Wang <johnson.wang@mediatek.com>
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
Link: https://lore.kernel.org/r/20250712181905.6738-8-srini@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Chen-Yu Tsai and committed by
Greg Kroah-Hartman
657339fd b45f8ad2

+15 -2
+15 -2
Documentation/devicetree/bindings/nvmem/mediatek,efuse.yaml
··· 25 25 compatible: 26 26 oneOf: 27 27 - items: 28 + - const: mediatek,mt8188-efuse 29 + - const: mediatek,mt8186-efuse 30 + - const: mediatek,mt8186-efuse 31 + 32 + - items: 33 + - enum: 34 + - mediatek,mt8186-efuse 35 + - mediatek,mt8188-efuse 36 + - const: mediatek,efuse 37 + deprecated: true 38 + description: Some compatibles also imply a decoding scheme for the 39 + "gpu-speedbin" cell, and thus are not backward compatible to the 40 + generic "mediatek,efuse" compatible. 41 + 42 + - items: 28 43 - enum: 29 44 - mediatek,mt7622-efuse 30 45 - mediatek,mt7623-efuse ··· 48 33 - mediatek,mt7988-efuse 49 34 - mediatek,mt8173-efuse 50 35 - mediatek,mt8183-efuse 51 - - mediatek,mt8186-efuse 52 - - mediatek,mt8188-efuse 53 36 - mediatek,mt8192-efuse 54 37 - mediatek,mt8195-efuse 55 38 - mediatek,mt8516-efuse