Skip to contentSkip to conversation

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

PATCH Applied Macpaul Lin 5 participants 11 messages Oct 1, 2024 – Oct 16, 2024

Subsystems (16)
lore
Share & tools
lore

Macpaul Lin

author maintainer
#0 lore raw

PATCH v8 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  | 119 +++++++++
 .../bindings/regulator/mt6323-regulator.txt   | 237 ------------------
 3 files changed, 121 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.

Changes for v5:
- Add "Reviewed-by" in commit message. Thanks for the review!
- Remove a blank line at EOF whcih causes whitespace warning when 'git am' the patch.

Changes for v6:
- No change.

Changes for v7:
- Add "Acked-by" tag, Thanks for the review.

Changes for v8:
- No change

Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +2 -2
index ea979bcae1d6..413db386f090 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 +119 -0

119 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
author maintainer
#1 lore raw

PATCH v8 2/3 ASoC: dt-bindings: mt6358: Convert to DT Schema

Convert the MediaTek MT6358 Audio CODEC bindings to DT schema.

This change implements the following updates:
1. Compatible property: Added the const 'mediatek,mt6358-sound' to ensure alignment with the schema in the actual (DTS) file "mt8186-corsola.dtsi" with 'mediatek,mt6366-sound'.
2. Example: Removed the example section, as it should be relocated to the MT6397 PMIC file 'mfd/mediatek,mt6397.yaml'.
3. Use filename 'mediatek,mt6358-sound.yaml' to align the compatible name.

---
 .../bindings/sound/mediatek,mt6358-sound.yaml | 44 +++++++++++++++++++
 .../devicetree/bindings/sound/mt6358.txt      | 26 -----------
 2 files changed, 44 insertions(+), 26 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt6358-sound.yaml
 delete mode 100644 Documentation/devicetree/bindings/sound/mt6358.txt

Changess for v1~v6:
- It was not in the origin patch set.

Changes for v7:
- It is seperated from the origin patch set (2/2, v6). It could simplifies the audio-codec node in next patch (3/3, v7) of 'mfd/mediatek,mt6397.yaml'

Changes for v8:
- Update compatible property with 'oneOf:' and 'items' syntax. Thanks for the suggestion.
- Replace 'mt6358.yaml' with 'mediatek,mt6358-sound.yaml' to align the compatible name.

Documentation/devicetree/bindings/sound/mediatek,mt6358-sound.yaml new file +44 -0
new file mode 100644
index 000000000000..36eb111f5746
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/mediatek,mt6358-sound.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Mediatek MT6358 Audio Codec
+
+maintainers:
+  - Jiaxin Yu <[email protected]>
+  - Macpaul Lin <[email protected]>
+
+description: |
+  The communication between MT6358 and SoC is through Mediatek PMIC wrapper.
+  For more detail, please visit Mediatek PMIC wrapper documentation.
+  Must be a child node of PMIC wrapper.
+
+properties:
+  compatible:
+    oneOf:
+      - enum:
+          - mediatek,mt6358-sound
+      - items:
+          - enum:
+              - mediatek,mt6366-sound
+          - const: mediatek,mt6358-sound
+
+  Avdd-supply:
+    description: Power source of AVDD
+
+  mediatek,dmic-mode:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    description: |
+      Indicates how many data pins are used to transmit two channels of PDM
+      signal. 0 means two wires, 1 means one wire. Default value is 0.
+    enum:
+      - 0 # two wires
+      - 1 # one wire
+
+required:
+  - compatible
+  - Avdd-supply
+
+additionalProperties: false
Documentation/devicetree/bindings/sound/mt6358.txt deleted +0 -26
deleted file mode 100644
index fbe9e55c68f5..000000000000
@@ -1,26 +0,0 @@
-Mediatek MT6358 Audio Codec
-
-The communication between MT6358 and SoC is through Mediatek PMIC wrapper.
-For more detail, please visit Mediatek PMIC wrapper documentation.
-
-Must be a child node of PMIC wrapper.
-
-Required properties:
-
-- compatible - "string" - One of:
-    "mediatek,mt6358-sound"
-    "mediatek,mt6366-sound"
-- Avdd-supply : power source of AVDD
-
-Optional properties:
-- mediatek,dmic-mode : Indicates how many data pins are used to transmit two
-	channels of PDM signal. 0 means two wires, 1 means one wire. Default
-	value is 0.
-
-Example:
-
-mt6358_snd {
-	compatible = "mediatek,mt6358-sound";
-	Avdd-supply = <&mt6358_vaud28_reg>;
-	mediatek,dmic-mode = <0>;
-};
Signature · 1 line
2.45.2
Reviewed-by on v8 2/3
#2 lore raw

Re: [PATCH v8 2/3] ASoC: dt-bindings: mt6358: Convert to DT Schema

Quoted 11 lines · Macpaul Lin

Convert the MediaTek MT6358 Audio CODEC bindings to DT schema.

This change implements the following updates:
1. Compatible property: Added the const 'mediatek,mt6358-sound' to ensure alignment with the schema in the actual (DTS) file "mt8186-corsola.dtsi" with 'mediatek,mt6366-sound'.
2. Example: Removed the example section, as it should be relocated to the MT6397 PMIC file 'mfd/mediatek,mt6397.yaml'.
3. Use filename 'mediatek,mt6358-sound.yaml' to align the compatible name.

Quoted 1 line

Best regards,
Krzysztof

author maintainer
#3 lore raw

PATCH v8 3/3 dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format

In reply to Macpaul Lin

Convert the mfd: mediatek: mt6397 binding to DT schema format.

MT6323, MT6358, and MT6397 are PMIC devices with multiple function subdevices. They share a common PMIC design but have variations in subdevice combinations.

Key updates in this conversion:

1. RTC:
- Convert rtc-mt6397.txt and merge into parent MT6397 PMIC DT schema.

2. Regulators:
- Align to generic name "regulators".
- Update references from .txt to .yaml for mt6323, mt6358, and mt6397 regulators.
- Simplify regulator name labels in device tree examples.

3. Audio Codec:
- Simplify Audio Codec part with updating compatible items.
- Align to generic name "audio-codec" for codec and sound subdevices.

4. Clocks:
- Align to generic name "clocks" for clockbuffer subdevices.

5. LEDs:
- Convert leds-mt6323.txt and merge into parent MT6397 PMIC DT schema.
- Update LED binding.

6. Keys:
- Add detailed descriptions for power and home keys.
- Add compatible: mediatek,mt6358-keys.

7. Power Controller:
- Convert mt6323-poweroff.txt and merge into parent MT6397 PMIC DT schema.
- Add #power-domain-cells property to fix dt-binding check error.
- Clarify "BBPU" as "Baseband power up".

8. Pinctrl:
- Align to generic name "pinctrl" instead of "pin-controller".

9. Compatible:
- Drop "mediatek,mt6357" since there is a separated DT Schema

     for PMIC MT6357.

10. Examples:
- MT6323: Retain complete examples for this PMIC.
- MT6358 and MT6397: simplify settings in regulators.
- Preserve "audio-codec", "clocks", "pinctrl", "rtc", and "keys" sections as they contain typical settings for different PMICs.

Additional updates:
- MAINTAINERS: Add co-maintainers and reference to mfd/mediatek,mt6397.yaml for LED and power-controller drivers.
- input/mediatek,pmic-keys.yaml: Update reference to mfd/mediatek,mt6397.yaml.

---
 .../bindings/input/mediatek,pmic-keys.yaml    |   2 +-
 .../devicetree/bindings/leds/leds-mt6323.txt  |  63 --
 .../bindings/mfd/mediatek,mt6397.yaml         | 588 ++++++++++++++++++
 .../devicetree/bindings/mfd/mt6397.txt        | 110 ----
 .../bindings/power/reset/mt6323-poweroff.txt  |  20 -
 .../devicetree/bindings/rtc/rtc-mt6397.txt    |  31 -
 MAINTAINERS                                   |   8 +-
 7 files changed, 595 insertions(+), 227 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/leds/leds-mt6323.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
 delete mode 100644 Documentation/devicetree/bindings/mfd/mt6397.txt
 delete mode 100644 Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt
 delete mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt6397.txt

Changes for v1:
- This patch depends on conversion of mediatek,mt6397-regulator.yaml
[1] https://lore.kernel.org/lkml/[email protected]/T/

Changes for v2:
- This patch has been made base on linux-next/master git repo.
- Keep the parent and child relationship with mediatek,pwrap in description.
[2] https://lore.kernel.org/all/20240826-slurp-earphone-0d5173923ae8@spud/
- Keep the $ref for regulators since dt_binding_check didn't report any issue based on linux-next/master repo.
- Fix description of mt6397/mt6323 devices, use "power management chip" instead of "multifunction device"
- Drop unnecessary comments or description according to the review.
- Convert sub-modules to DT Schema:
- RTC, LEDs, power-controllers, regulators
- Drop duplicate sub node name and description for sub-modules
- RTC, Keys
- examples:
- drop parent pwrap node
- Add examples from mediatek,mt6323-regulator.yaml
- Add examples from mediatek,mt6358-regulator.yaml
- Add examples from mediatek,mt6397-regulator.yaml
- Complete the examples as could as possible.

Changes for v3:
- Rebased on linux-next/master git repo near next-20240906.
- Revise commit message.
- Regulators:
- Use "additionalProperties: true" and add "contains" for matching $ref DT bindings.
- Simplify regulator name labels in device tree examples.
- LEDs:
- Use LED bindings.
- Squash following patches in v2 for removing old text format DT bindings into this patch, includes:
- leds-mt6323.txt, mt6323-poweroff.txt, rtc-mt6397.txt, sound/mt6358.txt.
- Fix file format of DT schemas, add blank between properties.
- Fix 'make checkrefdoc' errors, update reference in mediatek,pmic-keys.yaml.

Changes for v4:
- Remove "mediatek,mt6357" from PMIC's compatible string since there is a seperated DT schema for PMIC mt6357.

Changes for v5:
- Rebase to next-20240913 (linux-next/master).
- Fix the "title" (device type) of mfd/mediatek,mt6397.yaml to "PMIC".
- RTC:
- Drop "start-year"
- Regulators:
- Add blank lines between description and properties.
- Drop allOf for the $ref section on property.
- clocks:
- Fix no need '|' in descriptoin.
- Add blank lines between description and properties.
- Keys:
- Drop compatible since these enums are already in $ref.
- pinctrl:
- Drop compatible since it is already in $ref.
- examples:
- Fix indentations for leds and keys.

Changes for v6:
- Commit message:
- Add note for simplifying examples of mt6358 and mt6397.
- examples:
- Fix indentations for mt6323-keys.
- MT6358 and MT6397: simplify settings in regulators.
- Preserve "audio-codec", "clocks", "pinctrl", "rtc", and "keys" sections as they contain typical settings for different PMICs.

Changes for v7:
- Add reference patch in commit message
- https://lore.kernel.org/all/[email protected]/
- adc:
- Merge adc property from patch [1], which is newly added and was not in the origin text format bindings.
- Re-order items in commit messages.
- regulators:
- Merge new compatible 'mt6359-regulator' from patch [1], which is newly added and was not in the origin text format bindings.
- audio-codec:
- Simplify Audio Codec part with updating compatible items.
- Add 'mt6359-codec' to the compatible.
- Depends on the newly added mt6358.yaml (2/3 of v7) in this v7 patch set.

Changes for v8:
- Keep this patch as simple as the DT schema conversion.
- Drop adc node and newly added 'mt6359-regulator' and 'mt6359-codec'.

Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml +1 -1
index 70567d92c746..466566ae7f10 100644
@@ -19,7 +19,7 @@ description: |
   by the PMIC that is defined as a Multi-Function Device (MFD).
 
   For MediaTek MT6323/MT6397 PMIC bindings see
-  Documentation/devicetree/bindings/mfd/mt6397.txt
+  Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
 
 properties:
   compatible:
Documentation/devicetree/bindings/leds/leds-mt6323.txt deleted +0 -63

63 lines not on this page · raw message

Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml new file +588 -0

588 lines not on this page · raw message

Documentation/devicetree/bindings/mfd/mt6397.txt deleted +0 -110

110 lines not on this page · raw message

Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt deleted +0 -20
deleted file mode 100644
index 933f0c48e887..000000000000
@@ -1,20 +0,0 @@
-Device Tree Bindings for Power Controller on MediaTek PMIC
-
-The power controller which could be found on PMIC is responsible for externally
-powering off or on the remote MediaTek SoC through the circuit BBPU.
-
-Required properties:
-- compatible: Should be one of follows
-       "mediatek,mt6323-pwrc": for MT6323 PMIC
-
-Example:
-
-       pmic {
-               compatible = "mediatek,mt6323";
-
-               ...
-
-               power-controller {
-                       compatible = "mediatek,mt6323-pwrc";
-               };
-       }
Documentation/devicetree/bindings/rtc/rtc-mt6397.txt deleted +0 -31
deleted file mode 100644
index 7212076a8f1b..000000000000
@@ -1,31 +0,0 @@
-Device-Tree bindings for MediaTek PMIC based RTC
-
-MediaTek PMIC based RTC is an independent function of MediaTek PMIC that works
-as a type of multi-function device (MFD). The RTC can be configured and set up
-with PMIC wrapper bus which is a common resource shared with the other
-functions found on the same PMIC.
-
-For MediaTek PMIC MFD bindings, see:
-../mfd/mt6397.txt
-
-For MediaTek PMIC wrapper bus bindings, see:
-../soc/mediatek/pwrap.txt
-
-Required properties:
-- compatible: Should be one of follows
-       "mediatek,mt6323-rtc": for MT6323 PMIC
-       "mediatek,mt6358-rtc": for MT6358 PMIC
-       "mediatek,mt6366-rtc", "mediatek,mt6358-rtc": for MT6366 PMIC
-       "mediatek,mt6397-rtc": for MT6397 PMIC
-
-Example:
-
-       pmic {
-               compatible = "mediatek,mt6323";
-
-               ...
-
-               rtc {
-                       compatible = "mediatek,mt6323-rtc";
-               };
-       };
MAINTAINERS +6 -2
index a77770cd96b8..258892b1810c 100644
@@ -14430,10 +14430,12 @@ F:	Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7921s-bluetooth.ya
 F:	drivers/bluetooth/btmtkuart.c
 
 MEDIATEK BOARD LEVEL SHUTDOWN DRIVERS
+M:	Sen Chu <[email protected]>
 M:	Sean Wang <[email protected]>
+M:	Macpaul Lin <[email protected]>
 L:	[email protected]
 S:	Maintained
-F:	Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt
+F:	Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
 F:	drivers/power/reset/mt6323-poweroff.c
 
 MEDIATEK CIR DRIVER
@@ -14594,9 +14596,11 @@ F:	Documentation/devicetree/bindings/mtd/mediatek,mtk-nfc.yaml
 F:	drivers/mtd/nand/raw/mtk_*
 
 MEDIATEK PMIC LED DRIVER
+M:	Sen Chu <[email protected]>
 M:	Sean Wang <[email protected]>
+M:	Macpaul Lin <[email protected]>
 S:	Maintained
-F:	Documentation/devicetree/bindings/leds/leds-mt6323.txt
+F:	Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
 F:	drivers/leds/leds-mt6323.c
 
 MEDIATEK RANDOM NUMBER GENERATOR SUPPORT
Signature · 1 line
2.45.2
Reviewed-by on v8 3/3
#4 lore raw

Re: [PATCH v8 3/3] dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format

Quoted 10 lines · Macpaul Lin

Convert the mfd: mediatek: mt6397 binding to DT schema format.

MT6323, MT6358, and MT6397 are PMIC devices with multiple function subdevices. They share a common PMIC design but have variations in subdevice combinations.

Key updates in this conversion:

1. RTC:
- Convert rtc-mt6397.txt and merge into parent MT6397 PMIC DT schema.

Best regards,
Krzysztof

maintainer
#5 lore raw

Re: [PATCH v8 3/3] dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format

Quoted 7 lines · Krzysztof Kozlowski
Quoted 6 lines · Macpaul Lin

Convert the mfd: mediatek: mt6397 binding to DT schema format.

MT6323, MT6358, and MT6397 are PMIC devices with multiple function subdevices. They share a common PMIC design but have variations in subdevice combinations.

Quoted 6 lines
Quoted 4 lines

Key updates in this conversion:

1. RTC:
- Convert rtc-mt6397.txt and merge into parent MT6397 PMIC DT schema.

Everyone okay with me taking this without a pull-request?

Signature · 1 line
Lee Jones [李琼斯]
#6 lore raw

Re: [PATCH v8 3/3] dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format

Hi,

Quoted 9 lines · Lee Jones
Quoted 7 lines · Krzysztof Kozlowski
Quoted 6 lines · Macpaul Lin

Convert the mfd: mediatek: mt6397 binding to DT schema format.

MT6323, MT6358, and MT6397 are PMIC devices with multiple function subdevices. They share a common PMIC design but have variations in subdevice combinations.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Key updates in this conversion:

1. RTC:
- Convert rtc-mt6397.txt and merge into parent MT6397 PMIC DT schema.

Everyone okay with me taking this without a pull-request?

-- Sebastian

maintainer
#7 lore raw

Re: [PATCH v8 3/3] dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format

Quoted 14 lines · Sebastian Reichel

Hi,

Quoted 11 lines · Lee Jones
Quoted 9 lines · Krzysztof Kozlowski
Quoted 8 lines · Macpaul Lin

Convert the mfd: mediatek: mt6397 binding to DT schema format.

MT6323, MT6358, and MT6397 are PMIC devices with multiple function subdevices. They share a common PMIC design but have variations in subdevice combinations.

Key updates in this conversion:

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

1. RTC:
- Convert rtc-mt6397.txt and merge into parent MT6397 PMIC DT schema.

Everyone okay with me taking this without a pull-request?

Thanks Sebastian.

I have a bunch of things that depend on this, so I'm going to whip it in.

Signature · 1 line
Lee Jones [李琼斯]
maintainer Applied
#8 lore raw

Re: (subset) [PATCH v8 3/3] dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format

In reply to Macpaul Lin
Quoted 9 lines · Macpaul Lin

Convert the mfd: mediatek: mt6397 binding to DT schema format.

MT6323, MT6358, and MT6397 are PMIC devices with multiple function subdevices. They share a common PMIC design but have variations in subdevice combinations.

Key updates in this conversion:

[...]

Applied, thanks!

[3/3] dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format

      commit: 6e357f572638547e9c9e8d8abb7dc572c12032f3

--
Lee Jones [李琼斯]

maintainer
#9 lore raw

Re: [PATCH v8 3/3] dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format

In reply to Macpaul Lin

Argh, I couldn't bring myself to do it! Here's a PR instead:

The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:

Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)

are available in the Git repository at:

ssh://[email protected]/pub/scm/linux/kernel/git/lee/mfd.git tags/ib-dt-mfd-input-leds-power-rtc-v6.13

for you to fetch changes up to 6e357f572638547e9c9e8d8abb7dc572c12032f3:

dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format (2024-10-16 09:00:38 +0100)

----------------------------------------------------------------
Immutable branch between DT, MFD, Input, LEDs Power and RTC due for the v6.13 merge window

----------------------------------------------------------------
Macpaul Lin (1):
dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format

 .../bindings/input/mediatek,pmic-keys.yaml         |   2 +-
 .../devicetree/bindings/leds/leds-mt6323.txt       |  63 ---
 .../devicetree/bindings/mfd/mediatek,mt6397.yaml   | 588 +++++++++++++++++++++
 Documentation/devicetree/bindings/mfd/mt6397.txt   | 110 ----
 .../bindings/power/reset/mt6323-poweroff.txt       |  20 -
 .../devicetree/bindings/rtc/rtc-mt6397.txt         |  31 --
 MAINTAINERS                                        |   8 +-
 7 files changed, 595 insertions(+), 227 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/leds/leds-mt6323.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
 delete mode 100644 Documentation/devicetree/bindings/mfd/mt6397.txt
 delete mode 100644 Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt
 delete mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt6397.txtThe following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:

Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)

are available in the Git repository at:

ssh://[email protected]/pub/scm/linux/kernel/git/lee/mfd.git tags/ib-dt-mfd-input-leds-power-rtc-v6.13

for you to fetch changes up to 6e357f572638547e9c9e8d8abb7dc572c12032f3:

dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format (2024-10-16 09:00:38 +0100)

----------------------------------------------------------------
Immutable branch between DT, MFD, Input, LEDs Power and RTC due for the v6.13 merge window

----------------------------------------------------------------
Macpaul Lin (1):
dt-bindings: mfd: mediatek: mt6397: Convert to DT schema format

 .../bindings/input/mediatek,pmic-keys.yaml         |   2 +-
 .../devicetree/bindings/leds/leds-mt6323.txt       |  63 ---
 .../devicetree/bindings/mfd/mediatek,mt6397.yaml   | 588 +++++++++++++++++++++
 Documentation/devicetree/bindings/mfd/mt6397.txt   | 110 ----
 .../bindings/power/reset/mt6323-poweroff.txt       |  20 -
 .../devicetree/bindings/rtc/rtc-mt6397.txt         |  31 --
 MAINTAINERS                                        |   8 +-
 7 files changed, 595 insertions(+), 227 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/leds/leds-mt6323.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
 delete mode 100644 Documentation/devicetree/bindings/mfd/mt6397.txt
 delete mode 100644 Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt
 delete mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
Signature · 1 line
Lee Jones [李琼斯]
maintainer Reviewed-by on v8 1/3
#10 lore raw
In reply to Macpaul Lin

Il 01/10/24 12:41, Macpaul Lin ha scritto:

Quoted 9 lines

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.

Quoted 7 lines

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