From: William-tw Lin <william-tw.lin@mediatek.com>
To: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Kevin Hilman <khilman@kernel.org>
Cc: <Project_Global_Chrome_Upstream_Group@mediatek.com>,
<devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>,
William-tw Lin <william-tw.lin@mediatek.com>
Subject: [PATCH 2/3] dt-bindings: soc: mediatek: Add mtk-socinfo driver
Date: Tue, 18 Jul 2023 19:21:42 +0800 [thread overview]
Message-ID: <20230718112143.14036-3-william-tw.lin@mediatek.com> (raw)
In-Reply-To: <20230718112143.14036-1-william-tw.lin@mediatek.com>
dt-binding documentation for mtk-socinfo driver.
mtk-socinfo driver provides SoC-related information.
Such information includes manufacturer information, SoC name,
SoC segment name, and SoC marketing name.
Signed-off-by: William-tw Lin <william-tw.lin@mediatek.com>
---
.../bindings/soc/mediatek/mtk-socinfo.yaml | 58 +++++++++++++++++++
1 file changed, 58 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mtk-socinfo.yaml
diff --git a/Documentation/devicetree/bindings/soc/mediatek/mtk-socinfo.yaml b/Documentation/devicetree/bindings/soc/mediatek/mtk-socinfo.yaml
new file mode 100644
index 000000000000..4420430a9bca
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/mediatek/mtk-socinfo.yaml
@@ -0,0 +1,58 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/mediatek/mtk-socinfo.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MediaTek SOC information
+
+maintainers:
+ - William Lin <william-tw.lin@mediatek.com>
+ - Matthias Brugger <matthias.bgg@gmail.com>
+ - Kevin Hilman <khilman@kernel.org>
+
+description:
+ The MTK socinfo driver can retrieve several
+ SoC related information based on settings in eFuse.
+ Such information include manufacturer information, SoC name,
+ SoC segment name, and SoC marketing name.
+
+
+properties:
+ compatible:
+ enum:
+ - mediatek,mt8173-socinfo
+ - mediatek,mt8183-socinfo
+ - mediatek,mt8186-socinfo
+ - mediatek,mt8188-socinfo
+ - mediatek,mt8192-socinfo
+ - mediatek,mt8195-socinfo
+
+
+ nvmem-cells:
+ description:
+ Phandle to the eFuse data for SoC differentiation.
+ items:
+ - description: eFuse data that mtk-socinfo driver uses for SoC differentiation
+
+ nvmem-cell-names:
+ minItems: 1
+ items:
+ - const: socinfo-data1
+ - const: socinfo-data2
+
+required:
+ - compatible
+ - nvmem-cells
+ - nvmem-cell-names
+
+additionalProperties: false
+
+examples:
+ - |
+ mtk_socinfo: socinfo {
+ compatible = "mediatek,mt8186-socinfo";
+ nvmem-cells = <&socinfo_data1>;
+ nvmem-cell-names = "socinfo-data1";
+ };
+
--
2.18.0
next prev parent reply other threads:[~2023-07-18 11:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-18 11:21 [PATCH 0/3] mtk-socinfo driver implementation William-tw Lin
2023-07-18 11:21 ` [PATCH 1/3] soc: mediatek: mtk-socinfo: Add driver for getting chip information William-tw Lin
2023-07-18 11:46 ` Krzysztof Kozlowski
2023-07-19 7:20 ` AngeloGioacchino Del Regno
2023-07-18 11:21 ` William-tw Lin [this message]
2023-07-18 11:42 ` [PATCH 2/3] dt-bindings: soc: mediatek: Add mtk-socinfo driver Krzysztof Kozlowski
2023-07-18 11:21 ` [PATCH 3/3] arm64: dts: Add node for chip info driver William-tw Lin
2023-07-18 11:47 ` Krzysztof Kozlowski
2023-07-18 11:51 ` Krzysztof Kozlowski
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=20230718112143.14036-3-william-tw.lin@mediatek.com \
--to=william-tw.lin@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=khilman@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®