Skip to content

Commit 657339f

Browse files
wensgregkh
authored andcommitted
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/[email protected]/ Fixes: ff1df18 ("dt-bindings: nvmem: mediatek: efuse: Add support for MT8188") Cc: Johnson Wang <[email protected]> Signed-off-by: Chen-Yu Tsai <[email protected]> Acked-by: Conor Dooley <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b45f8ad commit 657339f

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

Documentation/devicetree/bindings/nvmem/mediatek,efuse.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@ properties:
2424

2525
compatible:
2626
oneOf:
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+
2742
- items:
2843
- enum:
2944
- mediatek,mt7622-efuse
@@ -33,8 +48,6 @@ properties:
3348
- mediatek,mt7988-efuse
3449
- mediatek,mt8173-efuse
3550
- mediatek,mt8183-efuse
36-
- mediatek,mt8186-efuse
37-
- mediatek,mt8188-efuse
3851
- mediatek,mt8192-efuse
3952
- mediatek,mt8195-efuse
4053
- mediatek,mt8516-efuse

0 commit comments

Comments
 (0)