Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6695800rwp; Tue, 18 Jul 2023 04:42:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlFLxs/AD72LKqXLm5kEwEvj5PTlV5iHW5FVOaAS6pxqnIDdtbSfiMGdnQ2/hGiZ6n5swToP X-Received: by 2002:a05:6a20:4314:b0:12f:dc31:a71e with SMTP id h20-20020a056a20431400b0012fdc31a71emr16983422pzk.56.1689680571161; Tue, 18 Jul 2023 04:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689680571; cv=none; d=google.com; s=arc-20160816; b=UG0W7JZv7NNVDTTxqLhpyTPMBJyrIltCsl1jkuwzq54cyqP5sFCS4rZ8d0iDX/ueq2 DEPCW7oOfUGve2ybzdyZH03LSm6eH7CkM+2C8Ui2usrzOzezcPq6m3y17W1TV4sJUOjk qowx0YkPDXPDIQGalWN5KDuzwEdzekocFYb2J8YmUTzw/hnQKMyDEgJERBe2B/AcWCiS aROnmpmPMEZjKiJ5cjc0v7ZuUXBuvotWJ3+qs3sfQHa2rOyhi9lTEpST4JkJjXI4z1k2 37j5TNPxampDSCBQEGcsvNStH+yR/P6KPw7wkfEsFxKgIHgBmzIALiyziMZv6LUYO2Jj O1zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=FFdnLI10SYOIFcwMRjs55L6+be52n5AbFQ2Gw8StAjo=; fh=gOAx18p9D/CbixCqzs58blMzJ5JeyNMufE78Q8dAnWE=; b=aN4NAhZqVIoGEWl2BLxMRp5uwJqjCaaW8lJ5lGNij9Zqm7vyHEvU7AZ9PpH2SnlL7+ Qzje/qDXhmuiAGSFviiuU6FvC//q5kynOWpM4w5ZDdzZwLowzysm+yH7Mpfxc6jAiLDT zI4wdiFe+YyIr8D6kNQ07sUY5joXrqTNSRxq10ujOnD/GDmf71Kt/xZQtE/9IicZ8hAe ymGJgXvG4VuI61+BGwuGA0mhbGRPo2TBXmEILKgtVOylHi5eGHUc+1Xqr/30INmZPEAS U2opGxDFQ+w5aySMiyZky0GxN6gzpqcZSVh9ZmhGfzx+lYycQIZhzWtthXh7nbi1ofds fBRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=dmYK94FF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e3-20020a635443000000b0051b9a71329fsi1420433pgm.360.2023.07.18.04.42.39; Tue, 18 Jul 2023 04:42:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=dmYK94FF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231503AbjGRLWC (ORCPT + 99 others); Tue, 18 Jul 2023 07:22:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231460AbjGRLV7 (ORCPT ); Tue, 18 Jul 2023 07:21:59 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B04BE8; Tue, 18 Jul 2023 04:21:58 -0700 (PDT) X-UUID: 4c2ae040255d11eeb20a276fd37b9834-20230718 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=FFdnLI10SYOIFcwMRjs55L6+be52n5AbFQ2Gw8StAjo=; b=dmYK94FF1qR+OYgKdQ8eqN8D/9eqc5ky4Unz/8QwqA4+pCw27PccyLPpPH7q5YMoCuEjvcXF2vtKuy/MuTcEgvggLhI/rIs+Jur8PJIBg/LqpBINT3iFSBfdn8z/NU+ed9P7HBLs1LVf0kyeKBy+Ca6/H2RQUNyjDJ0wLUHBQ5M=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.28,REQID:7f57e5f7-1434-4081-8217-d25933b47e95,IP:0,U RL:25,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:20 X-CID-META: VersionHash:176cd25,CLOUDID:6f6ecc8e-7caa-48c2-8dbb-206f0389473c,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR: NO,DKR:0,DKP:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULN X-UUID: 4c2ae040255d11eeb20a276fd37b9834-20230718 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1268309920; Tue, 18 Jul 2023 19:21:53 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 18 Jul 2023 19:21:52 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 18 Jul 2023 19:21:52 +0800 From: William-tw Lin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Kevin Hilman CC: , , , , , William-tw Lin Subject: [PATCH 2/3] dt-bindings: soc: mediatek: Add mtk-socinfo driver Date: Tue, 18 Jul 2023 19:21:42 +0800 Message-ID: <20230718112143.14036-3-william-tw.lin@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230718112143.14036-1-william-tw.lin@mediatek.com> References: <20230718112143.14036-1-william-tw.lin@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- .../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 + - Matthias Brugger + - Kevin Hilman + +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