mbox series

[v3,0/3] dt-bindings: nvmem: mediatek: Convert efuse binding to YAML

Message ID 20220428132520.2033-1-allen-kh.cheng@mediatek.com (mailing list archive)
Headers show
Series dt-bindings: nvmem: mediatek: Convert efuse binding to YAML | expand

Message

Allen-KH Cheng April 28, 2022, 1:25 p.m. UTC
Convert MediaTek eFuse devicetree binding to YAML.

Based on tag: next-20220422, linux-next/master

Run cmds as following:
make DT_CHECKER_FLAGS=-m dt_binding_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml

make ARCH=arm64
dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml

We mark the mediatek,mt8173-efuse and mediatek,efuse as deprecated to indicate
not use a signle compatible and should always use mediatek,efuse as generic
fallback.

changes since v2:
 - document deprecated efuse property
 - update efuse compatible fallbacks
 - add two PATCHs into series

changes since v1:
- change file name from mtk,efuse-yaml to mtk,efuse.yaml
- add efuse in commit title
- change compatible entries from const to enum

Allen-KH Cheng (3):
  dt-bindings: nvmem: mediatek: Convert efuse binding to YAML
  dt-bindings: nvmem: mediatek: document deprecated efuse property
  arm64: dts: mediatek: update efuse compatible fallbacks

 .../devicetree/bindings/nvmem/mtk,efuse.yaml  | 60 +++++++++++++++++++
 .../devicetree/bindings/nvmem/mtk-efuse.txt   | 43 -------------
 arch/arm64/boot/dts/mediatek/mt8173.dtsi      |  3 +-
 arch/arm64/boot/dts/mediatek/mt8192.dtsi      |  3 +-
 4 files changed, 64 insertions(+), 45 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml
 delete mode 100644 Documentation/devicetree/bindings/nvmem/mtk-efuse.txt