[PATCH v2 00/12] MediaTek dt-bindings sanitization (MT8173)

Ariel D'Alessandro posted 12 patches 3 weeks ago
.../display/mediatek/mediatek,od.yaml         |  14 ++
.../display/mediatek/mediatek,ufoe.yaml       |  15 ++
.../input/touchscreen/melfas,mip4_ts.yaml     |  56 +++++
.../input/touchscreen/melfas_mip4.txt         |  20 --
.../bindings/media/mediatek,mt8173-mdp.yaml   | 169 +++++++++++++++
.../bindings/media/mediatek,mt8173-vpu.yaml   |  74 +++++++
.../bindings/media/mediatek-mdp.txt           |  95 --------
.../bindings/media/mediatek-vpu.txt           |  31 ---
.../net/bluetooth/marvell,sd8897-bt.yaml      |  79 +++++++
.../devicetree/bindings/net/btusb.txt         |   2 +-
.../bindings/net/marvell-bt-8xxx.txt          |  83 -------
.../pinctrl/mediatek,mt65xx-pinctrl.yaml      |   2 +
.../devicetree/bindings/regulator/da9211.txt  | 205 ------------------
.../bindings/regulator/dlg,da9211.yaml        | 104 +++++++++
.../bindings/soc/mediatek/mediatek,pwrap.yaml |  15 ++
.../sound/mediatek,mt8173-rt5650.yaml         |  73 +++++++
.../bindings/sound/mt8173-rt5650.txt          |  31 ---
.../dts/rockchip/rk3288-veyron-fievel.dts     |   2 +-
.../boot/dts/rockchip/rk3288-veyron-jaq.dts   |   2 +-
.../boot/dts/mediatek/mt8173-elm-hana.dtsi    |   2 +-
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi  |  33 ++-
arch/arm64/boot/dts/mediatek/mt8173-evb.dts   |  14 +-
arch/arm64/boot/dts/mediatek/mt8173.dtsi      |  14 +-
23 files changed, 633 insertions(+), 502 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml
delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt
create mode 100644 Documentation/devicetree/bindings/media/mediatek,mt8173-mdp.yaml
create mode 100644 Documentation/devicetree/bindings/media/mediatek,mt8173-vpu.yaml
delete mode 100644 Documentation/devicetree/bindings/media/mediatek-mdp.txt
delete mode 100644 Documentation/devicetree/bindings/media/mediatek-vpu.txt
create mode 100644 Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml
delete mode 100644 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt
delete mode 100644 Documentation/devicetree/bindings/regulator/da9211.txt
create mode 100644 Documentation/devicetree/bindings/regulator/dlg,da9211.yaml
create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt8173-rt5650.yaml
delete mode 100644 Documentation/devicetree/bindings/sound/mt8173-rt5650.txt
[PATCH v2 00/12] MediaTek dt-bindings sanitization (MT8173)
Posted by Ariel D'Alessandro 3 weeks ago
This patch series continues the effort to address Device Tree validation
warnings for MediaTek platforms, with a focus on MT8173. It follows the
initial cleanup series by Angelo [0].

Similarly to the ongoing MT8183 work done by Julien Massot, this patchset
eliminates several of the remaining warnings by improving or converting DT
bindings to YAML, adding missing properties, and updating device tree files
accordingly.

[0] https://www.spinics.net/lists/kernel/msg5780177.html

Changes in v2:
* Wrapped commit messages to 75 columns line wrap.
* Replaced "YAML" by "DT schema" in patches subject and content.
* mt8173-mdp: Fixed properties: compatible, clocks, iommus and
  mediatek,vpu.
* mt8173-vpu: Fixed line wrap. Dropped memory-region property description.
* mediatek,mmsys: Dropped patch as it's not a binding issue.
* mediatek,od: Rewrote commit log with details on DT schema users missing
  the related property. Rewrote mediatek,gce-client-reg property.
* mediatek,ufoe: Rewrote commit log with details on DT schema users missing
  the related property. Rewrote mediatek,gce-client-reg property.
* marvell,sd8897-bt: Moved to net/bluetooth/. Added missing ref to
  bluetooth-controller.yaml. Dropped example. Updated reference in another
  file. Minor fixes in properties.
* mediatek,mt8173-rt5650: Dropped unnecessary quotes and unused label.
* dlg,da9211: Dropped enable-gpios description. Rewrote generic example
  node names. Minor fixes in properties.
* melfas,mip4_ts: Dropped unnecessary quotes. Added "active high" to
  ce-gpios property description.
* mediatek,jpeg: Dropped patch as it doesn't apply.

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>

Ariel D'Alessandro (12):
  dt-bindings: media: Convert MediaTek mt8173-mdp bindings to DT schema
  dt-bindings: media: Convert MediaTek mt8173-vpu bindings to DT schema
  dt-bindings: net: Convert Marvell 8897/8997 bindings to DT schema
  dt-bindings: ASoC: Convert MediaTek RT5650 codecs bindings to DT
    schema
  dt-bindings: display: mediatek,od: Add mediatek,gce-client-reg
    property
  dt-bindings: display: mediatek,ufoe: Add mediatek,gce-client-reg
    property
  arm64: dts: mediatek: mt8173: Fix mt8173-pinctrl node names
  dt-bindings: pinctrl: mt65xx: Allow gpio-line-names
  dt-bindings: regulator: Convert Dialog DA9211 Regulators to DT schema
  arm64: dts: mediatek: mt8173-elm: Drop unused bank supply
  dt-bindings: soc: mediatek: pwrap: Add power-domains property
  dt-bindings: input: Convert MELFAS MIP4 Touchscreen to DT schema

 .../display/mediatek/mediatek,od.yaml         |  14 ++
 .../display/mediatek/mediatek,ufoe.yaml       |  15 ++
 .../input/touchscreen/melfas,mip4_ts.yaml     |  56 +++++
 .../input/touchscreen/melfas_mip4.txt         |  20 --
 .../bindings/media/mediatek,mt8173-mdp.yaml   | 169 +++++++++++++++
 .../bindings/media/mediatek,mt8173-vpu.yaml   |  74 +++++++
 .../bindings/media/mediatek-mdp.txt           |  95 --------
 .../bindings/media/mediatek-vpu.txt           |  31 ---
 .../net/bluetooth/marvell,sd8897-bt.yaml      |  79 +++++++
 .../devicetree/bindings/net/btusb.txt         |   2 +-
 .../bindings/net/marvell-bt-8xxx.txt          |  83 -------
 .../pinctrl/mediatek,mt65xx-pinctrl.yaml      |   2 +
 .../devicetree/bindings/regulator/da9211.txt  | 205 ------------------
 .../bindings/regulator/dlg,da9211.yaml        | 104 +++++++++
 .../bindings/soc/mediatek/mediatek,pwrap.yaml |  15 ++
 .../sound/mediatek,mt8173-rt5650.yaml         |  73 +++++++
 .../bindings/sound/mt8173-rt5650.txt          |  31 ---
 .../dts/rockchip/rk3288-veyron-fievel.dts     |   2 +-
 .../boot/dts/rockchip/rk3288-veyron-jaq.dts   |   2 +-
 .../boot/dts/mediatek/mt8173-elm-hana.dtsi    |   2 +-
 arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi  |  33 ++-
 arch/arm64/boot/dts/mediatek/mt8173-evb.dts   |  14 +-
 arch/arm64/boot/dts/mediatek/mt8173.dtsi      |  14 +-
 23 files changed, 633 insertions(+), 502 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml
 delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mt8173-mdp.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mt8173-vpu.yaml
 delete mode 100644 Documentation/devicetree/bindings/media/mediatek-mdp.txt
 delete mode 100644 Documentation/devicetree/bindings/media/mediatek-vpu.txt
 create mode 100644 Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml
 delete mode 100644 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt
 delete mode 100644 Documentation/devicetree/bindings/regulator/da9211.txt
 create mode 100644 Documentation/devicetree/bindings/regulator/dlg,da9211.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt8173-rt5650.yaml
 delete mode 100644 Documentation/devicetree/bindings/sound/mt8173-rt5650.txt

-- 
2.50.1
Re: [PATCH v2 00/12] MediaTek dt-bindings sanitization (MT8173)
Posted by Rob Herring 1 week, 1 day ago
On Thu, Sep 11, 2025 at 12:09:49PM -0300, Ariel D'Alessandro wrote:
> This patch series continues the effort to address Device Tree validation
> warnings for MediaTek platforms, with a focus on MT8173. It follows the
> initial cleanup series by Angelo [0].
> 
> Similarly to the ongoing MT8183 work done by Julien Massot, this patchset
> eliminates several of the remaining warnings by improving or converting DT
> bindings to YAML, adding missing properties, and updating device tree files
> accordingly.
> 
> [0] https://www.spinics.net/lists/kernel/msg5780177.html
> 
> Changes in v2:
> * Wrapped commit messages to 75 columns line wrap.
> * Replaced "YAML" by "DT schema" in patches subject and content.
> * mt8173-mdp: Fixed properties: compatible, clocks, iommus and
>   mediatek,vpu.
> * mt8173-vpu: Fixed line wrap. Dropped memory-region property description.
> * mediatek,mmsys: Dropped patch as it's not a binding issue.
> * mediatek,od: Rewrote commit log with details on DT schema users missing
>   the related property. Rewrote mediatek,gce-client-reg property.
> * mediatek,ufoe: Rewrote commit log with details on DT schema users missing
>   the related property. Rewrote mediatek,gce-client-reg property.
> * marvell,sd8897-bt: Moved to net/bluetooth/. Added missing ref to
>   bluetooth-controller.yaml. Dropped example. Updated reference in another
>   file. Minor fixes in properties.
> * mediatek,mt8173-rt5650: Dropped unnecessary quotes and unused label.
> * dlg,da9211: Dropped enable-gpios description. Rewrote generic example
>   node names. Minor fixes in properties.
> * melfas,mip4_ts: Dropped unnecessary quotes. Added "active high" to
>   ce-gpios property description.
> * mediatek,jpeg: Dropped patch as it doesn't apply.
> 
> Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
> 
> Ariel D'Alessandro (12):
>   dt-bindings: media: Convert MediaTek mt8173-mdp bindings to DT schema
>   dt-bindings: media: Convert MediaTek mt8173-vpu bindings to DT schema
>   dt-bindings: net: Convert Marvell 8897/8997 bindings to DT schema
>   dt-bindings: ASoC: Convert MediaTek RT5650 codecs bindings to DT
>     schema
>   dt-bindings: display: mediatek,od: Add mediatek,gce-client-reg
>     property
>   dt-bindings: display: mediatek,ufoe: Add mediatek,gce-client-reg
>     property
>   arm64: dts: mediatek: mt8173: Fix mt8173-pinctrl node names
>   dt-bindings: pinctrl: mt65xx: Allow gpio-line-names
>   dt-bindings: regulator: Convert Dialog DA9211 Regulators to DT schema
>   arm64: dts: mediatek: mt8173-elm: Drop unused bank supply
>   dt-bindings: soc: mediatek: pwrap: Add power-domains property
>   dt-bindings: input: Convert MELFAS MIP4 Touchscreen to DT schema

As we're close to the merge window, I applied patches 2, 8, and 11.

Rob
Re: [PATCH v2 00/12] MediaTek dt-bindings sanitization (MT8173)
Posted by Ariel D'Alessandro 1 day, 1 hour ago
Rob,

On 9/23/25 6:48 PM, Rob Herring wrote:
> On Thu, Sep 11, 2025 at 12:09:49PM -0300, Ariel D'Alessandro wrote:
>> This patch series continues the effort to address Device Tree validation
>> warnings for MediaTek platforms, with a focus on MT8173. It follows the
>> initial cleanup series by Angelo [0].
>>
>> Similarly to the ongoing MT8183 work done by Julien Massot, this patchset
>> eliminates several of the remaining warnings by improving or converting DT
>> bindings to YAML, adding missing properties, and updating device tree files
>> accordingly.
>>
>> [0] https://www.spinics.net/lists/kernel/msg5780177.html
>>
>> Changes in v2:
>> * Wrapped commit messages to 75 columns line wrap.
>> * Replaced "YAML" by "DT schema" in patches subject and content.
>> * mt8173-mdp: Fixed properties: compatible, clocks, iommus and
>>    mediatek,vpu.
>> * mt8173-vpu: Fixed line wrap. Dropped memory-region property description.
>> * mediatek,mmsys: Dropped patch as it's not a binding issue.
>> * mediatek,od: Rewrote commit log with details on DT schema users missing
>>    the related property. Rewrote mediatek,gce-client-reg property.
>> * mediatek,ufoe: Rewrote commit log with details on DT schema users missing
>>    the related property. Rewrote mediatek,gce-client-reg property.
>> * marvell,sd8897-bt: Moved to net/bluetooth/. Added missing ref to
>>    bluetooth-controller.yaml. Dropped example. Updated reference in another
>>    file. Minor fixes in properties.
>> * mediatek,mt8173-rt5650: Dropped unnecessary quotes and unused label.
>> * dlg,da9211: Dropped enable-gpios description. Rewrote generic example
>>    node names. Minor fixes in properties.
>> * melfas,mip4_ts: Dropped unnecessary quotes. Added "active high" to
>>    ce-gpios property description.
>> * mediatek,jpeg: Dropped patch as it doesn't apply.
>>
>> Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
>>
>> Ariel D'Alessandro (12):
>>    dt-bindings: media: Convert MediaTek mt8173-mdp bindings to DT schema
>>    dt-bindings: media: Convert MediaTek mt8173-vpu bindings to DT schema
>>    dt-bindings: net: Convert Marvell 8897/8997 bindings to DT schema
>>    dt-bindings: ASoC: Convert MediaTek RT5650 codecs bindings to DT
>>      schema
>>    dt-bindings: display: mediatek,od: Add mediatek,gce-client-reg
>>      property
>>    dt-bindings: display: mediatek,ufoe: Add mediatek,gce-client-reg
>>      property
>>    arm64: dts: mediatek: mt8173: Fix mt8173-pinctrl node names
>>    dt-bindings: pinctrl: mt65xx: Allow gpio-line-names
>>    dt-bindings: regulator: Convert Dialog DA9211 Regulators to DT schema
>>    arm64: dts: mediatek: mt8173-elm: Drop unused bank supply
>>    dt-bindings: soc: mediatek: pwrap: Add power-domains property
>>    dt-bindings: input: Convert MELFAS MIP4 Touchscreen to DT schema
> 
> As we're close to the merge window, I applied patches 2, 8, and 11.

Great, I can see that patches 5 and 6 were also applied (with small 
modifications).

Thanks!

-- 
Ariel D'Alessandro
Software Engineer

Collabora Ltd.
Platinum Building, St John's Innovation Park, Cambridge CB4 0DS, UK 
Registered in England & Wales, no. 5513718