[PATCH v5 3/3] regulator: dt-bindings: mt6397: move examples to parent PMIC mt6397
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Tue Sep 17 02:04:33 PDT 2024
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
More information about the Linux-mediatek
mailing list