2022-06-23 20:05:50

by Nícolas F. R. A. Prado

[permalink] [raw]
Subject: [PATCH v2 0/4] Fixes for dtbs_check warnings on Mediatek XHCI nodes


The two first patches fix inconsistencies in the mtk-xhci dt-binding,
while the last two tweak the Mediatek devicetrees to fill in the missing
XHCI fixed clocks.

This series gets rid of a couple dtbs_check warnings on mt8192.dtsi and
another on mt8195.dtsi.

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

Changes in v2:
- Made all clocks required in the binding
- Instead of simply reordering the clocks on mt8192, added missing fixed
clocks for all arm64 dts
- Added missing fixed clocks for all arm dts

Nícolas F. R. A. Prado (4):
dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be
optional
dt-bindings: usb: mtk-xhci: Make all clocks required
arm64: dts: mediatek: Set fixed-clock for missing XHCI clocks
arm: dts: mediatek: Set fixed-clock for missing XHCI clocks

.../bindings/usb/mediatek,mtk-xhci.yaml | 5 ++---
arch/arm/boot/dts/mt2701.dtsi | 14 ++++++++++----
arch/arm/boot/dts/mt7623.dtsi | 14 ++++++++++----
arch/arm/boot/dts/mt7629.dtsi | 6 ++++--
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 18 ++++++++++++++----
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 5 +++--
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++--
arch/arm64/boot/dts/mediatek/mt8183.dtsi | 8 ++++++--
arch/arm64/boot/dts/mediatek/mt8192.dtsi | 9 ++++++---
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 18 ++++++++++++++----
10 files changed, 76 insertions(+), 30 deletions(-)

--
2.36.1


2022-06-23 20:12:41

by Nícolas F. R. A. Prado

[permalink] [raw]
Subject: [PATCH v2 1/4] dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be optional

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

Fixes: fe8e488058c4 ("dt-bindings: usb: mtk-xhci: add wakeup interrupt")
Signed-off-by: Nícolas F. R. A. Prado <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Chunfeng Yun <[email protected]>

---

(no changes since v1)

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

diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
index 892718459d25..63cbc2b62d18 100644
--- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
+++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
@@ -57,6 +57,7 @@ properties:
- description: optional, wakeup interrupt used to support runtime PM

interrupt-names:
+ minItems: 1
items:
- const: host
- const: wakeup
--
2.36.1