Skip to contentSkip to conversation

regulator: dt-bindings: mt6323: Convert to DT schema

PATCH Superseded Macpaul Lin 2 participants 2 messages Sep 14, 2024 – Sep 16, 2024

Subsystems (6)

v4 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/3 regulator: dt-bindings: mt6323: Convert to DT schema

Convert the MT6323 regulator binding from the old text-based format to the new DT schema style. The property "regulator-name" has been added as required property to reflect current usage in mt6323.dtsi.

Examples have been streamlined and relocated to the parent schema file:
mfd/mediatek,mt6397.yaml.

Update maintainer and submitter information with new entries from MediaTek.

The reference document cited in "mediatek,mt7530.yaml" has been updated to point to this new DT schema file

---
 .../bindings/net/dsa/mediatek,mt7530.yaml     |   4 +-
 .../regulator/mediatek,mt6323-regulator.yaml  | 120 +++++++++
 .../bindings/regulator/mt6323-regulator.txt   | 237 ------------------
 3 files changed, 122 insertions(+), 239 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/mediatek,mt6323-regulator.yaml
 delete mode 100644 Documentation/devicetree/bindings/regulator/mt6323-regulator.txt

Changes for v1 and v2:
- This is the first version of converting mt6323-regulator. This is because converting mt6323-regulator together with mfd/mediatek,mt6397.yaml, so we've create a patch set instead of single patch for each skydives.
- This patch has been made base on linux-next/master git repo.

Changes for v3:
- Rebased on linux-next/master git repo near next-20240906.
- Added 'regulator-name' to 'requried' property to reflect current usage.
- replace ^(buck_)? and ^(ldo_)? to ^buck_ and ^ldo_ prefix.
- Update file name of 'mediatek,mt6323-regulator.yaml' in 'mediatek,mt7530.yaml'

Changes for v4:
- No change.

Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +2 -2
index ea979bc..413db38 100644
@@ -129,8 +129,8 @@ properties:
   io-supply:
     description: |
       Phandle to the regulator node necessary for the I/O power.
-      See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt for
-      details for the regulator setup on these boards.
+      See Documentation/devicetree/bindings/regulator/mediatek,mt6323-regulator.yaml
+      for details for the regulator setup on these boards.
 
   mediatek,mcm:
     type: boolean
Documentation/devicetree/bindings/regulator/mediatek,mt6323-regulator.yaml new file +120 -0

120 lines not on this page · raw message

Documentation/devicetree/bindings/regulator/mt6323-regulator.txt deleted +0 -237

237 lines not on this page · raw message

Signature · 1 line
2.45.2
Reviewed-by on v4 1/3
#1 lore raw
Quoted 7 lines · Macpaul Lin

Convert the MT6323 regulator binding from the old text-based format to the new DT schema style. The property "regulator-name" has been added as required property to reflect current usage in mt6323.dtsi.

Examples have been streamlined and relocated to the parent schema file:
mfd/mediatek,mt6397.yaml.

Quoted 7 lines

Update maintainer and submitter information with new entries from MediaTek.

The reference document cited in "mediatek,mt7530.yaml" has been updated to point to this new DT schema file

Best regards,
Krzysztof