# Re: \[PATCH v5 3/3\] regulator: dt-bindings: mt6397: move examples to parent PMIC mt6397

- From: AngeloGioacchino Del Regno \<angelogioacchino.delregno@collabora.com\>
- Date: 2024-09-17 09:04:39 
- List: netdev
- Page: https://ratatoskr.run/netdev/2024/09/2750708
- Thread: https://ratatoskr.run/netdev/2024/09/2750094/t.md

```text
Il 16/09/24 17:11, Macpaul Lin ha scritto:
> Since the DT schema of multiple function PMIC mt6397 has been converted,
> move the examples in "mediatek,mt6397-regulator.yaml" to the parent schema
> "mediatek,mt6397.yaml".
>

You can instead just keep a reference to mediatek,mt6397-regulator.yaml in the
"MFD" (pmic) schema instead.

It's true that for MT6397 you can possibly have only MT6397's regulator and not
others, but still, the logic is to:
 - Say that MT6397 supports regulator subnode(s) in mediatek,mt6397.yaml
   - Refer to the regulator schema (mediatek,mt6397-regulator.yaml)
 - Keep the regulator schema (providing only regulator HW specific info)
   in the regulator folder.

Besides that, this also makes the main mediatek,mt6397.yaml schema a bit more
human readable... :-)

Cheers,
Angelo


```
