From: srini@kernel.org
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, Chen-Yu Tsai <wenst@chromium.org>,
Johnson Wang <johnson.wang@mediatek.com>,
Conor Dooley <conor.dooley@microchip.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Srinivas Kandagatla <srini@kernel.org>
Subject: [PATCH 7/8] dt-bindings: nvmem: mediatek: efuse: split MT8186/MT8188 from base version
Date: Sat, 12 Jul 2025 19:19:03 +0100 [thread overview]
Message-ID: <20250712181905.6738-8-srini@kernel.org> (raw)
In-Reply-To: <20250712181905.6738-1-srini@kernel.org>
From: Chen-Yu Tsai <wenst@chromium.org>
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>
---
.../bindings/nvmem/mediatek,efuse.yaml | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/nvmem/mediatek,efuse.yaml b/Documentation/devicetree/bindings/nvmem/mediatek,efuse.yaml
index 32b8c1eb4e80..4dc0d42df3e6 100644
--- a/Documentation/devicetree/bindings/nvmem/mediatek,efuse.yaml
+++ b/Documentation/devicetree/bindings/nvmem/mediatek,efuse.yaml
@@ -24,6 +24,21 @@ properties:
compatible:
oneOf:
+ - items:
+ - const: mediatek,mt8188-efuse
+ - const: mediatek,mt8186-efuse
+ - const: mediatek,mt8186-efuse
+
+ - items:
+ - enum:
+ - mediatek,mt8186-efuse
+ - mediatek,mt8188-efuse
+ - const: mediatek,efuse
+ deprecated: true
+ description: Some compatibles also imply a decoding scheme for the
+ "gpu-speedbin" cell, and thus are not backward compatible to the
+ generic "mediatek,efuse" compatible.
+
- items:
- enum:
- mediatek,mt7622-efuse
@@ -33,8 +48,6 @@ properties:
- mediatek,mt7988-efuse
- mediatek,mt8173-efuse
- mediatek,mt8183-efuse
- - mediatek,mt8186-efuse
- - mediatek,mt8188-efuse
- mediatek,mt8192-efuse
- mediatek,mt8195-efuse
- mediatek,mt8516-efuse
--
2.43.0
next prev parent reply other threads:[~2025-07-12 18:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-12 18:18 [PATCH 0/8] nvmem: patches (set 1) for 6.17 srini
2025-07-12 18:18 ` [PATCH 1/8] nvmem: apple: drop default ARCH_APPLE in Kconfig srini
2025-07-12 18:18 ` [PATCH 2/8] dt-bindings: nvmem: fixed-layout: Allow optional bit positions srini
2025-07-12 18:18 ` [PATCH 3/8] nvmem: core: Fix typos in comments and MODULE_AUTHOR strings srini
2025-07-12 18:19 ` [PATCH 4/8] dt-bindings: nvmem: convert lpc1857-eeprom.txt to yaml format srini
2025-07-12 18:19 ` [PATCH 5/8] nvmem: make nvmem_bus_type constant srini
2025-07-12 18:19 ` [PATCH 6/8] dt-bindings: nvmem: SID: Add binding for A523 SID controller srini
2025-07-12 18:19 ` srini [this message]
2025-07-12 18:19 ` [PATCH 8/8] dt-bindings: nvmem: convert vf610-ocotp.txt to yaml format srini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250712181905.6738-8-srini@kernel.org \
--to=srini@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor.dooley@microchip.com \
--cc=gregkh@linuxfoundation.org \
--cc=johnson.wang@mediatek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=wenst@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.