lkml.org 
[lkml]   [2022]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v3 2/3] dt-bindings: nvmem: mediatek: document deprecated efuse property
Date
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 <allen-kh.cheng@mediatek.com>
---
.../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>;
--
2.18.0
\
 
 \ /
  Last update: 2022-04-28 15:27    [W:0.059 / U:1.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site