From patchwork Thu Apr 28 13:25:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 12830723 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D93EC433F5 for ; Thu, 28 Apr 2022 13:35:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7sHkfGVJ38nmHgjxJL27ILikSuhanN7LduYZowbxu/Y=; b=Qt6Uk6hM03p2/I QHjoap1A98MC98SwVq/vPkIoZXMP7ZYMtTGJMcdWfDLyqANG5C9OjrHB8nSoirJox0f5AQQSW7vY6 Ns/Xmvp0r9M43pIZ+BrhelznPtrNrjEaZO+97yThBxM/janx5EkoxmuxD+KldZccdu/5K/xVyBH7A JIj7Xk+ITzAOMSwOhI4QlbamRcU5ptOz0SQTj/XWhS8SMrxMVtlmu7ByCce7qwoU568r3JPO4gUh7 fWaKjlgTU6r5yEQtQb+dUl6riEE3+LcQq0UhwIkhqFDQusn78oVPIeNfA32WhfeteO+ER9zb9Pm4b gTCOqI/p1spWLgku/Myg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk4Il-00761W-I1; Thu, 28 Apr 2022 13:35:23 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk49H-0071Rt-Pr; Thu, 28 Apr 2022 13:25:38 +0000 X-UUID: c48a2a3b4d1c46d0af24e94a0a5f1ec5-20220428 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.4, REQID:e0776214-9199-4f3e-8ff1-605162e49c70, OB:0, LO B:0,IP:0,URL:25,TC:0,Content:-20,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,A CTION:release,TS:5 X-CID-META: VersionHash:faefae9, CLOUDID:610b0e2f-6199-437e-8ab4-9920b4bc5b76, C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,File:nil,QS:0,BEC:nil X-UUID: c48a2a3b4d1c46d0af24e94a0a5f1ec5-20220428 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1210413453; Thu, 28 Apr 2022 06:25:25 -0700 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 28 Apr 2022 06:25:24 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Thu, 28 Apr 2022 21:25:22 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 28 Apr 2022 21:25:22 +0800 From: Allen-KH Cheng To: Srinivas Kandagatla , Matthias Brugger , Rob Herring , "Krzysztof Kozlowski" CC: Lala Lin , , , , , , Chen-Yu Tsai , Ryder Lee , Allen-KH Cheng Subject: [PATCH v3 1/3] dt-bindings: nvmem: mediatek: Convert efuse binding to YAML Date: Thu, 28 Apr 2022 21:25:18 +0800 Message-ID: <20220428132520.2033-2-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220428132520.2033-1-allen-kh.cheng@mediatek.com> References: <20220428132520.2033-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220428_062535_909860_E3B91531 X-CRM114-Status: GOOD ( 14.83 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Convert MediaTek eFuse devicetree binding to YAML. Signed-off-by: Allen-KH Cheng --- .../devicetree/bindings/nvmem/mtk,efuse.yaml | 57 +++++++++++++++++++ .../devicetree/bindings/nvmem/mtk-efuse.txt | 43 -------------- 2 files changed, 57 insertions(+), 43 deletions(-) create mode 100644 Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml delete mode 100644 Documentation/devicetree/bindings/nvmem/mtk-efuse.txt diff --git a/Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml b/Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml new file mode 100644 index 000000000000..bb3c6c4b9fe5 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/mtk,efuse.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek eFuse + +maintainers: + - Lala Lin + - Allen-KH Cheng + +allOf: + - $ref: "nvmem.yaml#" + +properties: + compatible: + oneOf: + - enum: + - mediatek,mt8173-efuse + - mediatek,efuse + description: + Only mt8173 SoC-specific compatible with generic fallback should be + used + - items: + - enum: + - mediatek,mt7622-efuse + - mediatek,mt7623-efuse + - mediatek,mt8183-efuse + - mediatek,mt8192-efuse + - mediatek,mt8195-efuse + - mediatek,mt8516-efuse + - const: mediatek,efuse + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + efuse: efuse@10206000 { + compatible = "mediatek,mt8173-efuse"; + reg = <0x10206000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + + /* Data cells */ + thermal_calibration: calib@528 { + reg = <0x528 0xc>; + }; + }; +... diff --git a/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt b/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt deleted file mode 100644 index 39d529599444..000000000000 --- a/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt +++ /dev/null @@ -1,43 +0,0 @@ -= Mediatek MTK-EFUSE device tree bindings = - -This binding is intended to represent MTK-EFUSE which is found in most Mediatek SOCs. - -Required properties: -- compatible: should be - "mediatek,mt7622-efuse", "mediatek,efuse": for MT7622 - "mediatek,mt7623-efuse", "mediatek,efuse": for MT7623 - "mediatek,mt8173-efuse" or "mediatek,efuse": for MT8173 - "mediatek,mt8192-efuse", "mediatek,efuse": for MT8192 - "mediatek,mt8195-efuse", "mediatek,efuse": for MT8195 - "mediatek,mt8516-efuse", "mediatek,efuse": for MT8516 -- reg: Should contain registers location and length -- bits: contain the bits range by offset and size - -= Data cells = -Are child nodes of MTK-EFUSE, bindings of which as described in -bindings/nvmem/nvmem.txt - -Example: - - efuse: efuse@10206000 { - compatible = "mediatek,mt8173-efuse"; - reg = <0 0x10206000 0 0x1000>; - #address-cells = <1>; - #size-cells = <1>; - - /* Data cells */ - thermal_calibration: calib@528 { - reg = <0x528 0xc>; - }; - }; - -= Data consumers = -Are device nodes which consume nvmem data cells. - -For example: - - thermal { - ... - nvmem-cells = <&thermal_calibration>; - nvmem-cell-names = "calibration"; - }; From patchwork Thu Apr 28 13:25:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 12830711 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC551C433FE for ; Thu, 28 Apr 2022 13:32:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=a3UBOA0QhDl8ceupCph6NiP3JZYeXjKFkAfddgFnBZc=; b=qVsWl9W79NK6Ws OyQYwOgx0j9wy1V9iVduL27maawoD6+WT3/Fve3T+oVC16hpI3B7vBxNK0cz1/kdaQAr+dqoSJuAv vSDwNEr0Di0Te8Fbv7DqHRsZcwW08EYFq8G0Ez6IXD9UytOkkg4JltoWs2QNnASSdmGsJo2Tc4TxE pxBF1AzmCCVjeg9Pj7lmpZoBl7jV4w5I6i2LXOT8pAVIN8qx9XBqWmNbSxYwPFQ8lMVwo9Qd5Irhp KCmE08a6qk3PE8psSdEinaCarX8i0th/zXx/WXIcsUm4b9bqkSqPeLtZhd+hB9X0ZViYYu0ihsvPB aS69bEaf+z5dg/fakoaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk4Fr-0074dg-Oy; Thu, 28 Apr 2022 13:32:23 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk49H-0071RP-Pw; Thu, 28 Apr 2022 13:25:37 +0000 X-UUID: 581a10dc8d7a41baab624735d223fd6c-20220428 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.4, REQID:2315e0c5-6f6b-40b3-9718-c9345e0ac7e2, OB:0, LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:faefae9, CLOUDID:c817d6c6-85ee-4ac1-ac05-bd3f1e72e732, C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,File:nil,QS:0,BEC:nil X-UUID: 581a10dc8d7a41baab624735d223fd6c-20220428 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 893400185; Thu, 28 Apr 2022 06:25:25 -0700 Received: from MTKMBS07N2.mediatek.inc (172.21.101.141) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 28 Apr 2022 06:25:24 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 28 Apr 2022 21:25:23 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 28 Apr 2022 21:25:23 +0800 From: Allen-KH Cheng To: Srinivas Kandagatla , Matthias Brugger , Rob Herring , "Krzysztof Kozlowski" CC: Lala Lin , , , , , , "Chen-Yu Tsai" , Ryder Lee , Allen-KH Cheng Subject: [PATCH v3 2/3] dt-bindings: nvmem: mediatek: document deprecated efuse property Date: Thu, 28 Apr 2022 21:25:19 +0800 Message-ID: <20220428132520.2033-3-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220428132520.2033-1-allen-kh.cheng@mediatek.com> References: <20220428132520.2033-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220428_062535_894630_C44F913B X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org We mark mediatek,mt8173-efuse and mediatek,efuse as deprecated to prevent them from being the single compatible in the future. The mediatek,efuse compatible should be used as generic fallback for all MediaTek chipsets. Signed-off-by: Allen-KH Cheng --- .../devicetree/bindings/nvmem/mtk,efuse.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml b/Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml index bb3c6c4b9fe5..f12a283d5421 100644 --- a/Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml +++ b/Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml @@ -16,16 +16,18 @@ allOf: properties: compatible: oneOf: - - enum: - - mediatek,mt8173-efuse - - mediatek,efuse + - const: mediatek,mt8173-efuse # Don't use this in new dts files + deprecated: true + - const: mediatek,efuse + deprecated: true description: - Only mt8173 SoC-specific compatible with generic fallback should be - used + Please use mediatek,efuse as generic fallback to enable the MediaTek + eFuse support. - items: - enum: - mediatek,mt7622-efuse - mediatek,mt7623-efuse + - mediatek,mt8173-efuse - mediatek,mt8183-efuse - mediatek,mt8192-efuse - mediatek,mt8195-efuse @@ -44,7 +46,8 @@ unevaluatedProperties: false examples: - | efuse: efuse@10206000 { - compatible = "mediatek,mt8173-efuse"; + compatible = "mediatek,mt8173-efuse", + "mediatek,efuse"; reg = <0x10206000 0x1000>; #address-cells = <1>; #size-cells = <1>; From patchwork Thu Apr 28 13:25:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 12830737 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 654A6C433EF for ; Thu, 28 Apr 2022 13:45:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ADHvKeYNv7SNLbuGc9wlV/r8JaLKraFRDwKxmfP3ocY=; b=0U9iOJsLtAGloJ wvMDoYwKmbYRtzkuTdXxmhKnGHAulRYSStJ9/CIO5BkNnESJWk7RQyGhVqFQV3IT+In8+Zc0Y7VjZ dLNU59wnsQDhiIkI3deDoTgrVIY0ceSgKlolzMdTnNLvoEVbokJWmuzpfjwFWjPUu7N1fD0/Ld8vL QcWhLk6ypAKAFigzVSWjb/7qU6toWHTxyy8czGONDsQfAJDGkn9RYm+c6MKeO+BWHOaXB/YSpYlGd zeDbOWc1/dof/CLkEPvJajDAqcZoUSTqbiZWFAcphbkkPjC6JsDSUfKebGJEWGuUkSzW1Y2bgxI/e 6OzGskn+JatVN9styZAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk4SZ-007AX0-CG; Thu, 28 Apr 2022 13:45:31 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk4J0-00767h-Fa; Thu, 28 Apr 2022 13:35:39 +0000 X-UUID: 4d626e10464942e28c844b19ad3b987f-20220428 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.4, REQID:ebbf9189-2078-4083-b5cf-89fc9bf145ef, OB:0, LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:faefae9, CLOUDID:2047d6c6-85ee-4ac1-ac05-bd3f1e72e732, C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,File:nil,QS:0,BEC:nil X-UUID: 4d626e10464942e28c844b19ad3b987f-20220428 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1207219475; Thu, 28 Apr 2022 06:35:29 -0700 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 28 Apr 2022 06:25:26 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Thu, 28 Apr 2022 21:25:24 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 28 Apr 2022 21:25:24 +0800 From: Allen-KH Cheng To: Srinivas Kandagatla , Matthias Brugger , Rob Herring , "Krzysztof Kozlowski" CC: Lala Lin , , , , , , Chen-Yu Tsai , Ryder Lee , Allen-KH Cheng Subject: [PATCH v3 3/3] arm64: dts: mediatek: update efuse compatible fallbacks Date: Thu, 28 Apr 2022 21:25:20 +0800 Message-ID: <20220428132520.2033-4-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220428132520.2033-1-allen-kh.cheng@mediatek.com> References: <20220428132520.2033-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220428_063538_548692_0E99671F X-CRM114-Status: GOOD ( 10.28 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org dtschema expects mediatek,efuse to be a generic fallback. We add mediatek,efuse fallback for mt8173 and mt8192 SoC. Signed-off-by: Allen-KH Cheng --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 3 ++- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 40d7b47fc52e..a62fb810d2a0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -594,7 +594,8 @@ }; efuse: efuse@10206000 { - compatible = "mediatek,mt8173-efuse"; + compatible = "mediatek,mt8173-efuse", + "mediatek,efuse"; reg = <0 0x10206000 0 0x1000>; #address-cells = <1>; #size-cells = <1>; diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi index 26dbe9ecc528..4a5af1ed3abf 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi @@ -911,7 +911,8 @@ }; efuse: efuse@11c10000 { - compatible = "mediatek,efuse"; + compatible = "mediatek,mt8192-efuse", + "mediatek,efuse"; reg = <0 0x11c10000 0 0x1000>; #address-cells = <1>; #size-cells = <1>;