[PATCH v3 0/6] MediaTek devicetree/bindings warnings sanitization second round

Julien Massot posted 6 patches 1 month, 1 week ago
.../bindings/arm/mediatek/mediatek,audsys.yaml     |  16 +-
.../devicetree/bindings/clock/mediatek,syscon.yaml |  15 ++
.../bindings/sound/mediatek,mt8183-audio.yaml      | 228 +++++++++++++++++++++
.../bindings/sound/mediatek,mt8183_da7219.yaml     |  49 +++++
.../sound/mediatek,mt8183_mt6358_ts3a227.yaml      |  59 ++++++
.../devicetree/bindings/sound/mt8183-afe-pcm.txt   |  42 ----
.../bindings/sound/mt8183-da7219-max98357.txt      |  21 --
.../sound/mt8183-mt6358-ts3a227-max98357.txt       |  25 ---
arch/arm64/boot/dts/mediatek/mt8183.dtsi           |   4 +-
9 files changed, 368 insertions(+), 91 deletions(-)
[PATCH v3 0/6] MediaTek devicetree/bindings warnings sanitization second round
Posted by Julien Massot 1 month, 1 week ago
This patch series continues the effort to address Device Tree validation
warnings for MediaTek platforms, with a focus on MT8183. It follows the
initial cleanup series by Angelo
(https://www.spinics.net/lists/kernel/msg5780177.html).

The patches in this set eliminate several of the remaining warnings by
improving or converting DT bindings to DT schema, adding missing properties,
and updating device tree files accordingly.

Signed-off-by: Julien Massot <julien.massot@collabora.com>
---
Changes in v3:
- Mostly cosmetic updates.
- Patch 1/6: fixed the commit reference in the 'Fixes' tag.
- Patch 1/6: not mentioned in v2, but this patch changed quite a lot
  since v1 after applying Angelo's suggestions, so I dropped Rob's
  'Acked-by' tag.
- Renamed commits from "YAML" to "DT schema", and avoided repetition
  of "bindings".
- Patch 2/6: switched to the generic node name "audio-controller".
- Link to v2:
  https://lore.kernel.org/r/20250820-mtk-dtb-warnings-v2-0-cf4721e58f4e@collabora.com

Merge strategy:
- Patch 1/6 can be picked up independently.
- Patch 2/6 is standalone.
- Patch 3/6 depends on 2/6.
- Patch 4/6 fixes the DTS node name as expected by 3/6.
- Patches 5/6 and 6/6 are independent.

Changes in v2:

- Restrict power-domain usage to mediatek,mt8183-mfgcfg only
- Add the MT8183 AFE binding before audiosys (it is referenced in the example)
  and include the memory-region property
- Rename binding files to align with the compatible name
- Drop former patch 7/9 (already applied via the pinctrl tree)
- Drop patches 8/9 and 9/9 until we decide how to represent R0 and R1 values

---
Julien Massot (6):
      dt-bindings: clock: mediatek: Add power-domains property
      ASoC: dt-binding: Convert mt8183-afe-pcm to dt-schema
      dt-bindings: arm: mediatek: Support mt8183-audiosys variant
      arm64: dts: mt8183: Rename nodes to match audiosys DT schema
      dt-bindings: sound: Convert MT8183 DA7219 sound card to DT schema
      ASoC: dt-binding: Convert MediaTek mt8183-mt6358 to DT schema

 .../bindings/arm/mediatek/mediatek,audsys.yaml     |  16 +-
 .../devicetree/bindings/clock/mediatek,syscon.yaml |  15 ++
 .../bindings/sound/mediatek,mt8183-audio.yaml      | 228 +++++++++++++++++++++
 .../bindings/sound/mediatek,mt8183_da7219.yaml     |  49 +++++
 .../sound/mediatek,mt8183_mt6358_ts3a227.yaml      |  59 ++++++
 .../devicetree/bindings/sound/mt8183-afe-pcm.txt   |  42 ----
 .../bindings/sound/mt8183-da7219-max98357.txt      |  21 --
 .../sound/mt8183-mt6358-ts3a227-max98357.txt       |  25 ---
 arch/arm64/boot/dts/mediatek/mt8183.dtsi           |   4 +-
 9 files changed, 368 insertions(+), 91 deletions(-)
---
base-commit: 9df95ca9b379cb29aa0f75c4ca86d7b2293d8bf9
change-id: 20250801-mtk-dtb-warnings-157d4fc10f77

Best regards,
-- 
Julien Massot <julien.massot@collabora.com>
Re: (subset) [PATCH v3 0/6] MediaTek devicetree/bindings warnings sanitization second round
Posted by Mark Brown 1 week, 2 days ago
On Tue, 26 Aug 2025 09:39:33 +0200, Julien Massot wrote:
> This patch series continues the effort to address Device Tree validation
> warnings for MediaTek platforms, with a focus on MT8183. It follows the
> initial cleanup series by Angelo
> (https://www.spinics.net/lists/kernel/msg5780177.html).
> 
> The patches in this set eliminate several of the remaining warnings by
> improving or converting DT bindings to DT schema, adding missing properties,
> and updating device tree files accordingly.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[2/6] ASoC: dt-binding: Convert mt8183-afe-pcm to dt-schema
      commit: 52aefc1e3c5fbdfdd216796fbe78443ae67e447f
[5/6] dt-bindings: sound: Convert MT8183 DA7219 sound card to DT schema
      commit: cf5be90ee4dfa3c38dc64fbcc4fb70fa0180b7b7
[6/6] ASoC: dt-binding: Convert MediaTek mt8183-mt6358 to DT schema
      commit: 82fd5dc99d63f948c59ac3b08137ef49125938bc

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark