Skip to contentSkip to conversation

Fixes for Mediatek dt-bindings

PATCH Applied Nícolas F. R. A. Prado 4 participants 11 messages Feb 25, 2022 – Apr 22, 2022

Subsystems (7)
lore
Share & tools
lore
#0 lore raw

cover Fixes for Mediatek dt-bindings

This series has some fixes for Mediatek dt-bindings. It solves some warnings printed by dtbs_check, both for already merged Devicetrees, as well as some that would be introduced by the changes to mt8192.dtsi in [1].

[1] https://lore.kernel.org/all/[email protected]/

Nícolas F. R. A. Prado (3):
dt-bindings: remoteproc: mediatek: Add interrupts property to mtk,scp
dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be
optional
media: dt-bindings: mtk-vcodec-encoder: Add power-domains property

 .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml     | 3 +++
 Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml      | 3 +++
 Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml   | 1 +
 3 files changed, 7 insertions(+)
Signature · 1 line
2.35.1
#1 lore raw

PATCH 1/3 dt-bindings: remoteproc: mediatek: Add interrupts property to mtk,scp

The SCP node can have an associated interrupt. Add a property for it.

---

 Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml +3 -0
index d21a25ee96e6..103ccea462f8 100644
@@ -41,6 +41,9 @@ properties:
   clock-names:
     const: main
 
+  interrupts:
+    maxItems: 1
+
 required:
   - compatible
   - reg
Signature · 1 line
2.35.1
#3 lore raw

Re: (subset) [PATCH v1 1/3] dt-bindings: remoteproc: mediatek: Add interrupts property to mtk,scp

In reply to Nícolas F. R. A. Prado
Quoted 3 lines · Nícolas F. R. A. Prado

The SCP node can have an associated interrupt. Add a property for it.

Applied, thanks!

[1/3] dt-bindings: remoteproc: mediatek: Add interrupts property to mtk,scp

      commit: b7da6f517214c307efece604ac9dc58dc6123c07

Best regards,

Signature · 6 lines
Bjorn Andersson <[email protected]>

_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
#4 lore raw

PATCH 2/3 dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be optional

In reply to Nícolas F. R. A. Prado

Add missing 'minItems: 1' to the interrupt-names property to allow the second interrupt-names, 'wakeup', to be optional.

---

 Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml +1 -0
index 41efb51638d1..f069c1d77e62 100644
@@ -56,6 +56,7 @@ properties:
       - description: optional, wakeup interrupt used to support runtime PM
 
   interrupt-names:
+    minItems: 1
     items:
       - const: host
       - const: wakeup
Signature · 1 line
2.35.1
maintainer Acked-by on v1 2/3
#5 lore raw

Re: [PATCH v1 2/3] dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be optional

Quoted 9 lines · Nícolas F. R. A. Prado

Add missing 'minItems: 1' to the interrupt-names property to allow the second interrupt-names, 'wakeup', to be optional.

---

 Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 1 +
 1 file changed, 1 insertion(+)
#6 lore raw

PATCH 3/3 media: dt-bindings: mtk-vcodec-encoder: Add power-domains property

In reply to Nícolas F. R. A. Prado

The encoder node may be dependent on a power-domain. Add a property for it.

---

 .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml     | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +3 -0
index e7b65a91c92c..c288913e5666 100644
@@ -65,6 +65,9 @@ properties:
     description:
       Describes point to scp.
 
+  power-domains:
+    maxItems: 1
+
 required:
   - compatible
   - reg
Signature · 1 line
2.35.1
maintainer Acked-by on v1 3/3
#7 lore raw

Re: [PATCH v1 3/3] media: dt-bindings: mtk-vcodec-encoder: Add power-domains property

Quoted 9 lines · Nícolas F. R. A. Prado

The encoder node may be dependent on a power-domain. Add a property for it.

---

 .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml     | 3 +++
 1 file changed, 3 insertions(+)
#8 lore raw
In reply to Nícolas F. R. A. Prado

Hi Matthias,

Maybe you could pick this series through your tree? It addresses some dtc warnings that are introduced with the new nodes in mt8192.dtsi that you just picked up on your v5.18-next/dts64 branch.

Thanks,
Nícolas

Quoted 22 lines · Nícolas F. R. A. Prado

This series has some fixes for Mediatek dt-bindings. It solves some warnings printed by dtbs_check, both for already merged Devicetrees, as well as some that would be introduced by the changes to mt8192.dtsi in [1].

[1] https://lore.kernel.org/all/[email protected]/

Nícolas F. R. A. Prado (3):
dt-bindings: remoteproc: mediatek: Add interrupts property to mtk,scp
dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be
optional
media: dt-bindings: mtk-vcodec-encoder: Add power-domains property

 .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml     | 3 +++
 Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml      | 3 +++
 Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml   | 1 +
 3 files changed, 7 insertions(+)
Signature · 1 line
2.35.1
#9 lore raw
Quoted 6 lines · N?colas F. R. A. Prado

Hi Matthias,

Maybe you could pick this series through your tree? It addresses some dtc warnings that are introduced with the new nodes in mt8192.dtsi that you just picked up on your v5.18-next/dts64 branch.

I don't see a reply from Matthias, so I've picked up this (the remoteproc) fix in our tree.

Thanks,
Bjorn

Quoted 26 lines

Thanks,
Nícolas

Quoted 22 lines · Nícolas F. R. A. Prado

This series has some fixes for Mediatek dt-bindings. It solves some warnings printed by dtbs_check, both for already merged Devicetrees, as well as some that would be introduced by the changes to mt8192.dtsi in [1].

[1] https://lore.kernel.org/all/[email protected]/

Nícolas F. R. A. Prado (3):
dt-bindings: remoteproc: mediatek: Add interrupts property to mtk,scp
dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be
optional
media: dt-bindings: mtk-vcodec-encoder: Add power-domains property

 .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml     | 3 +++
 Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml      | 3 +++
 Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml   | 1 +
 3 files changed, 7 insertions(+)
Signature · 1 line
2.35.1
maintainer
#10 lore raw
Quoted 4 lines · Bjorn Andersson
Quoted 2 lines · N?colas F. R. A. Prado

Hi Matthias,

Quoted 8 lines
Quoted 4 lines

Maybe you could pick this series through your tree? It addresses some dtc warnings that are introduced with the new nodes in mt8192.dtsi that you just picked up on your v5.18-next/dts64 branch.

I don't see a reply from Matthias, so I've picked up this (the remoteproc) fix in our tree.

That's totally fine. I'm reluctant to take random dt-binding patches as it can provoke merge conflicts when there are other patches on the same binding taken by the driver maintainer. Normally I leave it to the driver maintainer to take such kind of patches.

Regards,
Matthias

Quoted 29 lines

Thanks,
Bjorn

Quoted 26 lines

Thanks,
Nícolas

Quoted 22 lines · Nícolas F. R. A. Prado

This series has some fixes for Mediatek dt-bindings. It solves some warnings printed by dtbs_check, both for already merged Devicetrees, as well as some that would be introduced by the changes to mt8192.dtsi in [1].

[1] https://lore.kernel.org/all/[email protected]/

Nícolas F. R. A. Prado (3):
dt-bindings: remoteproc: mediatek: Add interrupts property to mtk,scp
dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be
optional
media: dt-bindings: mtk-vcodec-encoder: Add power-domains property

  .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml     | 3 +++
  Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml      | 3 +++
  Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml   | 1 +
  3 files changed, 7 insertions(+)
Signature · 1 line
2.35.1