* [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning
@ 2021-03-16 9:22 Chunfeng Yun
2021-03-16 9:22 ` [PATCH v5 02/13] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence Chunfeng Yun
` (12 more replies)
0 siblings, 13 replies; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
Fix warning: "missing starting space in comment"
Fixes: 23bf6fc7046c ("dt-bindings: usb: convert usb-device.txt to YAML schema")
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v5: add Fixes tag suggested by Greg
v2~v4: no changes
---
Documentation/devicetree/bindings/usb/usb-device.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/usb-device.yaml b/Documentation/devicetree/bindings/usb/usb-device.yaml
index d4c99809ee9a..b77960a7a37b 100644
--- a/Documentation/devicetree/bindings/usb/usb-device.yaml
+++ b/Documentation/devicetree/bindings/usb/usb-device.yaml
@@ -82,9 +82,9 @@ required:
additionalProperties: true
examples:
- #hub connected to port 1
- #device connected to port 2
- #device connected to port 3
+ # hub connected to port 1
+ # device connected to port 2
+ # device connected to port 3
# interface 0 of configuration 1
# interface 0 of configuration 2
- |
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 02/13] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-18 2:43 ` Chunfeng Yun
2021-03-25 7:19 ` Vinod Koul
2021-03-16 9:22 ` [PATCH v5 03/13] dt-bindings: phy: mediatek: hdmi-phy: modify compatible items Chunfeng Yun
` (11 subsequent siblings)
12 siblings, 2 replies; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
mt7623-mipi-tx is compatible to mt2701-mipi-tx, and use
"mediatek,mt2701-mipi-tx" instead on MT7623, so modify
the compatible items to make dependence clear.
Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v5: no changes
v4: add acked-by CK, and reviewed-by Rob
v3: modify commit message suggested by CK
v2: separate two patches suggested by CK
---
.../devicetree/bindings/phy/mediatek,dsi-phy.yaml | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
index 71d4acea1f66..6e4d795f9b02 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
@@ -19,11 +19,14 @@ properties:
pattern: "^dsi-phy@[0-9a-f]+$"
compatible:
- enum:
- - mediatek,mt2701-mipi-tx
- - mediatek,mt7623-mipi-tx
- - mediatek,mt8173-mipi-tx
- - mediatek,mt8183-mipi-tx
+ oneOf:
+ - items:
+ - enum:
+ - mediatek,mt7623-mipi-tx
+ - const: mediatek,mt2701-mipi-tx
+ - const: mediatek,mt2701-mipi-tx
+ - const: mediatek,mt8173-mipi-tx
+ - const: mediatek,mt8183-mipi-tx
reg:
maxItems: 1
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 03/13] dt-bindings: phy: mediatek: hdmi-phy: modify compatible items
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
2021-03-16 9:22 ` [PATCH v5 02/13] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-25 7:20 ` Vinod Koul
2021-03-16 9:22 ` [PATCH v5 04/13] dt-bindings: phy: mediatek: tphy: change patternProperties Chunfeng Yun
` (10 subsequent siblings)
12 siblings, 1 reply; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
mt7623-hdmi-tx is compatible to mt2701-hdmi-tx, and the compatible
"mediatek,mt7623-hdmi-tx" is not supported in driver, in fact uses
"mediatek,mt2701-hdmi-tx" instead on MT7623, so changes the
compatible items to make dependence clear.
Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v5: no changes
v4: add acked-by CK and Reviewed-by Rob
v3: modify commit message
v2: no changes
---
.../devicetree/bindings/phy/mediatek,hdmi-phy.yaml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml
index 4752517a1446..0d94950b84ca 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml
@@ -21,10 +21,13 @@ properties:
pattern: "^hdmi-phy@[0-9a-f]+$"
compatible:
- enum:
- - mediatek,mt2701-hdmi-phy
- - mediatek,mt7623-hdmi-phy
- - mediatek,mt8173-hdmi-phy
+ oneOf:
+ - items:
+ - enum:
+ - mediatek,mt7623-hdmi-phy
+ - const: mediatek,mt2701-hdmi-phy
+ - const: mediatek,mt2701-hdmi-phy
+ - const: mediatek,mt8173-hdmi-phy
reg:
maxItems: 1
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 04/13] dt-bindings: phy: mediatek: tphy: change patternProperties
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
2021-03-16 9:22 ` [PATCH v5 02/13] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence Chunfeng Yun
2021-03-16 9:22 ` [PATCH v5 03/13] dt-bindings: phy: mediatek: hdmi-phy: modify compatible items Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-25 7:20 ` Vinod Koul
2021-03-16 9:22 ` [PATCH v5 05/13] arm64: dts: mt8173: fix property typo of 'phys' in dsi node Chunfeng Yun
` (9 subsequent siblings)
12 siblings, 1 reply; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
The phy may be named as pcie-phy when the T-PHY only supports
PCIe mode, it's also the similar case for SATA, named as
sata-phy.
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v5: no changes
v4: add reviewed-by Rob
v2~v3: no changes
---
Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
index 602e6ff45785..4f1733fd9a55 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
@@ -117,7 +117,7 @@ properties:
# Required child node:
patternProperties:
- "^usb-phy@[0-9a-f]+$":
+ "^(usb|pcie|sata)-phy@[0-9a-f]+$":
type: object
description:
A sub-node is required for each port the controller provides.
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 05/13] arm64: dts: mt8173: fix property typo of 'phys' in dsi node
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
` (2 preceding siblings ...)
2021-03-16 9:22 ` [PATCH v5 04/13] dt-bindings: phy: mediatek: tphy: change patternProperties Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-29 13:46 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 06/13] arm64: dts: mediatek: mt8173: fix dtbs_check warning Chunfeng Yun
` (8 subsequent siblings)
12 siblings, 1 reply; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb, stable
Use 'phys' instead of 'phy'.
Fixes: 81ad4dbaf7af ("arm64: dts: mt8173: Add display subsystem related nodes")
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v5: merged into this series, add Reviewed-by CK
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 7fa870e4386a..ecb37a7e6870 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -1235,7 +1235,7 @@
<&mmsys CLK_MM_DSI1_DIGITAL>,
<&mipi_tx1>;
clock-names = "engine", "digital", "hs";
- phy = <&mipi_tx1>;
+ phys = <&mipi_tx1>;
phy-names = "dphy";
status = "disabled";
};
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 06/13] arm64: dts: mediatek: mt8173: fix dtbs_check warning
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
` (3 preceding siblings ...)
2021-03-16 9:22 ` [PATCH v5 05/13] arm64: dts: mt8173: fix property typo of 'phys' in dsi node Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-29 13:46 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 07/13] arm64: dts: mediatek: mt2712: harmonize node names Chunfeng Yun
` (7 subsequent siblings)
12 siblings, 1 reply; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
Harmonize nodes names, compatibles and remove unused property.
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2~v5: no changes
---
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 4 +---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 13 +++++++------
2 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
index 6dffada2e66b..0ce81c4fe81e 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
@@ -516,10 +516,8 @@
extcon = <&extcon_usb>;
dr_mode = "otg";
wakeup-source;
- pinctrl-names = "default", "id_float", "id_ground";
+ pinctrl-names = "default";
pinctrl-0 = <&usb_id_pins_float>;
- pinctrl-1 = <&usb_id_pins_float>;
- pinctrl-2 = <&usb_id_pins_ground>;
status = "okay";
};
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index ecb37a7e6870..003a5653c505 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -631,7 +631,7 @@
#mbox-cells = <2>;
};
- mipi_tx0: mipi-dphy@10215000 {
+ mipi_tx0: dsi-phy@10215000 {
compatible = "mediatek,mt8173-mipi-tx";
reg = <0 0x10215000 0 0x1000>;
clocks = <&clk26m>;
@@ -641,7 +641,7 @@
status = "disabled";
};
- mipi_tx1: mipi-dphy@10216000 {
+ mipi_tx1: dsi-phy@10216000 {
compatible = "mediatek,mt8173-mipi-tx";
reg = <0 0x10216000 0 0x1000>;
clocks = <&clk26m>;
@@ -926,7 +926,7 @@
};
ssusb: usb@11271000 {
- compatible = "mediatek,mt8173-mtu3";
+ compatible = "mediatek,mt8173-mtu3", "mediatek,mtu3";
reg = <0 0x11271000 0 0x3000>,
<0 0x11280700 0 0x0100>;
reg-names = "mac", "ippc";
@@ -943,8 +943,9 @@
ranges;
status = "disabled";
- usb_host: xhci@11270000 {
- compatible = "mediatek,mt8173-xhci";
+ usb_host: usb@11270000 {
+ compatible = "mediatek,mt8173-xhci",
+ "mediatek,mtk-xhci";
reg = <0 0x11270000 0 0x1000>;
reg-names = "mac";
interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>;
@@ -955,7 +956,7 @@
};
};
- u3phy: usb-phy@11290000 {
+ u3phy: t-phy@11290000 {
compatible = "mediatek,mt8173-u3phy";
reg = <0 0x11290000 0 0x800>;
#address-cells = <2>;
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 07/13] arm64: dts: mediatek: mt2712: harmonize node names
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
` (4 preceding siblings ...)
2021-03-16 9:22 ` [PATCH v5 06/13] arm64: dts: mediatek: mt8173: fix dtbs_check warning Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-29 13:46 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 08/13] arm64: dts: mediatek: mt8516: harmonize node names and compatibles Chunfeng Yun
` (6 subsequent siblings)
12 siblings, 1 reply; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
This is used to fix dtbs_check warning.
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2~v5: no changes
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
index db17d0a4ed57..a9cca9c146fd 100644
--- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
@@ -805,7 +805,7 @@
ranges;
status = "disabled";
- usb_host0: xhci@11270000 {
+ usb_host0: usb@11270000 {
compatible = "mediatek,mt2712-xhci",
"mediatek,mtk-xhci";
reg = <0 0x11270000 0 0x1000>;
@@ -818,7 +818,7 @@
};
};
- u3phy0: usb-phy@11290000 {
+ u3phy0: t-phy@11290000 {
compatible = "mediatek,mt2712-tphy",
"mediatek,generic-tphy-v2";
#address-cells = <1>;
@@ -869,7 +869,7 @@
ranges;
status = "disabled";
- usb_host1: xhci@112c0000 {
+ usb_host1: usb@112c0000 {
compatible = "mediatek,mt2712-xhci",
"mediatek,mtk-xhci";
reg = <0 0x112c0000 0 0x1000>;
@@ -882,7 +882,7 @@
};
};
- u3phy1: usb-phy@112e0000 {
+ u3phy1: t-phy@112e0000 {
compatible = "mediatek,mt2712-tphy",
"mediatek,generic-tphy-v2";
#address-cells = <1>;
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 08/13] arm64: dts: mediatek: mt8516: harmonize node names and compatibles
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
` (5 preceding siblings ...)
2021-03-16 9:22 ` [PATCH v5 07/13] arm64: dts: mediatek: mt2712: harmonize node names Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-29 13:46 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 09/13] arm64: dts: mediatek: mt7622: " Chunfeng Yun
` (5 subsequent siblings)
12 siblings, 1 reply; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
This is used to fix dtbs_check warning:
harmonize node names and compatibles;
add property "usb-role-switch" for connector dependence.
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2~v5: no changes
---
arch/arm64/boot/dts/mediatek/mt8516.dtsi | 9 +++++----
arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi b/arch/arm64/boot/dts/mediatek/mt8516.dtsi
index b80e95574bef..bbe5a1419eff 100644
--- a/arch/arm64/boot/dts/mediatek/mt8516.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8516.dtsi
@@ -480,7 +480,7 @@
};
usb0: usb@11100000 {
- compatible = "mediatek,mtk-musb";
+ compatible = "mediatek,mt8516-musb", "mediatek,mtk-musb";
reg = <0 0x11100000 0 0x1000>;
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "mc";
@@ -493,7 +493,7 @@
};
usb1: usb@11190000 {
- compatible = "mediatek,mtk-musb";
+ compatible = "mediatek,mt8516-musb", "mediatek,mtk-musb";
reg = <0 0x11190000 0 0x1000>;
interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "mc";
@@ -506,8 +506,9 @@
status = "disabled";
};
- usb_phy: usb@11110000 {
- compatible = "mediatek,generic-tphy-v1";
+ usb_phy: t-phy@11110000 {
+ compatible = "mediatek,mt8516-tphy",
+ "mediatek,generic-tphy-v1";
reg = <0 0x11110000 0 0x800>;
#address-cells = <2>;
#size-cells = <2>;
diff --git a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi
index 63fd70086bb8..7d738f01cf8d 100644
--- a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi
+++ b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi
@@ -188,6 +188,7 @@
&usb0 {
status = "okay";
dr_mode = "peripheral";
+ usb-role-switch;
usb_con: connector {
compatible = "usb-c-connector";
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 09/13] arm64: dts: mediatek: mt7622: harmonize node names and compatibles
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
` (6 preceding siblings ...)
2021-03-16 9:22 ` [PATCH v5 08/13] arm64: dts: mediatek: mt8516: harmonize node names and compatibles Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-29 13:47 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 10/13] arm64: dts: mediatek: mt8183: fix dtbs_check warning Chunfeng Yun
` (4 subsequent siblings)
12 siblings, 1 reply; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
This is used to fix dtbs_check warning
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2~v5: no changes
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index 7c6d871538a6..890a942ec608 100644
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
@@ -742,8 +742,8 @@
status = "disabled";
};
- u3phy: usb-phy@1a0c4000 {
- compatible = "mediatek,mt7622-u3phy",
+ u3phy: t-phy@1a0c4000 {
+ compatible = "mediatek,mt7622-tphy",
"mediatek,generic-tphy-v1";
reg = <0 0x1a0c4000 0 0x700>;
#address-cells = <2>;
@@ -877,8 +877,9 @@
status = "disabled";
};
- sata_phy: sata-phy@1a243000 {
- compatible = "mediatek,generic-tphy-v1";
+ sata_phy: t-phy@1a243000 {
+ compatible = "mediatek,mt7622-tphy",
+ "mediatek,generic-tphy-v1";
#address-cells = <2>;
#size-cells = <2>;
ranges;
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 10/13] arm64: dts: mediatek: mt8183: fix dtbs_check warning
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
` (7 preceding siblings ...)
2021-03-16 9:22 ` [PATCH v5 09/13] arm64: dts: mediatek: mt7622: " Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-29 13:47 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 11/13] arm: dts: mt7629: harmonize node names and compatibles Chunfeng Yun
` (3 subsequent siblings)
12 siblings, 1 reply; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
Harmonize node names, compatibles and properties.
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v4~v5: no changes
v3: remove property clock-names suggested by CK
v2: no changes
---
arch/arm64/boot/dts/mediatek/mt8183.dtsi | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
index 80519a145f13..8882d35ac6ab 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
@@ -880,7 +880,7 @@
ranges;
status = "disabled";
- usb_host: xhci@11200000 {
+ usb_host: usb@11200000 {
compatible = "mediatek,mt8183-xhci",
"mediatek,mtk-xhci";
reg = <0 0x11200000 0 0x1000>;
@@ -923,11 +923,10 @@
status = "disabled";
};
- mipi_tx0: mipi-dphy@11e50000 {
+ mipi_tx0: dsi-phy@11e50000 {
compatible = "mediatek,mt8183-mipi-tx";
reg = <0 0x11e50000 0 0x1000>;
clocks = <&apmixedsys CLK_APMIXED_MIPID0_26M>;
- clock-names = "ref_clk";
#clock-cells = <0>;
#phy-cells = <0>;
clock-output-names = "mipi_tx0_pll";
@@ -946,11 +945,10 @@
};
};
- u3phy: usb-phy@11f40000 {
+ u3phy: t-phy@11f40000 {
compatible = "mediatek,mt8183-tphy",
"mediatek,generic-tphy-v2";
#address-cells = <1>;
- #phy-cells = <1>;
#size-cells = <1>;
ranges = <0 0 0x11f40000 0x1000>;
status = "okay";
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 11/13] arm: dts: mt7629: harmonize node names and compatibles
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
` (8 preceding siblings ...)
2021-03-16 9:22 ` [PATCH v5 10/13] arm64: dts: mediatek: mt8183: fix dtbs_check warning Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-29 13:47 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 12/13] arm: dts: mt7623: " Chunfeng Yun
` (2 subsequent siblings)
12 siblings, 1 reply; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
This is used to fix dtbs_check warning
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2~v5: no changes
---
arch/arm/boot/dts/mt7629.dtsi | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/mt7629.dtsi b/arch/arm/boot/dts/mt7629.dtsi
index 5cbb3d244c75..874043f0490d 100644
--- a/arch/arm/boot/dts/mt7629.dtsi
+++ b/arch/arm/boot/dts/mt7629.dtsi
@@ -329,8 +329,9 @@
status = "disabled";
};
- u3phy0: usb-phy@1a0c4000 {
- compatible = "mediatek,generic-tphy-v2";
+ u3phy0: t-phy@1a0c4000 {
+ compatible = "mediatek,mt7629-tphy",
+ "mediatek,generic-tphy-v2";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x1a0c4000 0xe00>;
@@ -413,14 +414,15 @@
};
};
- pciephy1: pcie-phy@1a14a000 {
- compatible = "mediatek,generic-tphy-v2";
+ pciephy1: t-phy@1a14a000 {
+ compatible = "mediatek,mt7629-tphy",
+ "mediatek,generic-tphy-v2";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x1a14a000 0x1000>;
status = "disabled";
- pcieport1: port1phy@0 {
+ pcieport1: pcie-phy@0 {
reg = <0 0x1000>;
clocks = <&clk20m>;
clock-names = "ref";
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 12/13] arm: dts: mt7623: harmonize node names and compatibles
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
` (9 preceding siblings ...)
2021-03-16 9:22 ` [PATCH v5 11/13] arm: dts: mt7629: harmonize node names and compatibles Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-29 13:47 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 13/13] arm: dts: mt2701: " Chunfeng Yun
2021-03-23 22:44 ` [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Rob Herring
12 siblings, 1 reply; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
This is used to fix dtbs_check warning
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2~v5: no changes
---
arch/arm/boot/dts/mt7623.dtsi | 26 ++++++++++++++------------
arch/arm/boot/dts/mt7623n.dtsi | 4 ++--
2 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index aea6809500d7..3c11f7cfcc40 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -787,8 +787,9 @@
};
};
- pcie0_phy: pcie-phy@1a149000 {
- compatible = "mediatek,generic-tphy-v1";
+ pcie0_phy: t-phy@1a149000 {
+ compatible = "mediatek,mt7623-tphy",
+ "mediatek,generic-tphy-v1";
reg = <0 0x1a149000 0 0x0700>;
#address-cells = <2>;
#size-cells = <2>;
@@ -804,8 +805,9 @@
};
};
- pcie1_phy: pcie-phy@1a14a000 {
- compatible = "mediatek,generic-tphy-v1";
+ pcie1_phy: t-phy@1a14a000 {
+ compatible = "mediatek,mt7623-tphy",
+ "mediatek,generic-tphy-v1";
reg = <0 0x1a14a000 0 0x0700>;
#address-cells = <2>;
#size-cells = <2>;
@@ -823,7 +825,7 @@
usb1: usb@1a1c0000 {
compatible = "mediatek,mt7623-xhci",
- "mediatek,mt8173-xhci";
+ "mediatek,mtk-xhci";
reg = <0 0x1a1c0000 0 0x1000>,
<0 0x1a1c4700 0 0x0100>;
reg-names = "mac", "ippc";
@@ -836,9 +838,9 @@
status = "disabled";
};
- u3phy1: usb-phy@1a1c4000 {
- compatible = "mediatek,mt7623-u3phy",
- "mediatek,mt2701-u3phy";
+ u3phy1: t-phy@1a1c4000 {
+ compatible = "mediatek,mt7623-tphy",
+ "mediatek,generic-tphy-v1";
reg = <0 0x1a1c4000 0 0x0700>;
#address-cells = <2>;
#size-cells = <2>;
@@ -864,7 +866,7 @@
usb2: usb@1a240000 {
compatible = "mediatek,mt7623-xhci",
- "mediatek,mt8173-xhci";
+ "mediatek,mtk-xhci";
reg = <0 0x1a240000 0 0x1000>,
<0 0x1a244700 0 0x0100>;
reg-names = "mac", "ippc";
@@ -877,9 +879,9 @@
status = "disabled";
};
- u3phy2: usb-phy@1a244000 {
- compatible = "mediatek,mt7623-u3phy",
- "mediatek,mt2701-u3phy";
+ u3phy2: t-phy@1a244000 {
+ compatible = "mediatek,mt7623-tphy",
+ "mediatek,generic-tphy-v1";
reg = <0 0x1a244000 0 0x0700>;
#address-cells = <2>;
#size-cells = <2>;
diff --git a/arch/arm/boot/dts/mt7623n.dtsi b/arch/arm/boot/dts/mt7623n.dtsi
index 1880ac9e32cf..bcb0846e29fd 100644
--- a/arch/arm/boot/dts/mt7623n.dtsi
+++ b/arch/arm/boot/dts/mt7623n.dtsi
@@ -246,7 +246,7 @@
status = "disabled";
};
- mipi_tx0: mipi-dphy@10010000 {
+ mipi_tx0: dsi-phy@10010000 {
compatible = "mediatek,mt7623-mipi-tx",
"mediatek,mt2701-mipi-tx";
reg = <0 0x10010000 0 0x90>;
@@ -265,7 +265,7 @@
status = "disabled";
};
- hdmi_phy: phy@10209100 {
+ hdmi_phy: hdmi-phy@10209100 {
compatible = "mediatek,mt7623-hdmi-phy",
"mediatek,mt2701-hdmi-phy";
reg = <0 0x10209100 0 0x24>;
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH v5 13/13] arm: dts: mt2701: harmonize node names and compatibles
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
` (10 preceding siblings ...)
2021-03-16 9:22 ` [PATCH v5 12/13] arm: dts: mt7623: " Chunfeng Yun
@ 2021-03-16 9:22 ` Chunfeng Yun
2021-03-29 13:47 ` Matthias Brugger
2021-03-23 22:44 ` [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Rob Herring
12 siblings, 1 reply; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-16 9:22 UTC (permalink / raw)
To: Vinod Koul, Rob Herring, Matthias Brugger
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Greg Kroah-Hartman,
Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng,
linux-arm-kernel, linux-mediatek, linux-kernel, devicetree,
linux-usb
This is used to fix dtbs_check warning
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2~v5: no changes
---
arch/arm/boot/dts/mt2701.dtsi | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index fade14284017..4776f85d6d5b 100644
--- a/arch/arm/boot/dts/mt2701.dtsi
+++ b/arch/arm/boot/dts/mt2701.dtsi
@@ -607,7 +607,7 @@
};
usb0: usb@1a1c0000 {
- compatible = "mediatek,mt8173-xhci";
+ compatible = "mediatek,mt2701-xhci", "mediatek,mtk-xhci";
reg = <0 0x1a1c0000 0 0x1000>,
<0 0x1a1c4700 0 0x0100>;
reg-names = "mac", "ippc";
@@ -620,8 +620,9 @@
status = "disabled";
};
- u3phy0: usb-phy@1a1c4000 {
- compatible = "mediatek,mt2701-u3phy";
+ u3phy0: t-phy@1a1c4000 {
+ compatible = "mediatek,mt2701-tphy",
+ "mediatek,generic-tphy-v1";
reg = <0 0x1a1c4000 0 0x0700>;
#address-cells = <2>;
#size-cells = <2>;
@@ -646,7 +647,7 @@
};
usb1: usb@1a240000 {
- compatible = "mediatek,mt8173-xhci";
+ compatible = "mediatek,mt2701-xhci", "mediatek,mtk-xhci";
reg = <0 0x1a240000 0 0x1000>,
<0 0x1a244700 0 0x0100>;
reg-names = "mac", "ippc";
@@ -659,8 +660,9 @@
status = "disabled";
};
- u3phy1: usb-phy@1a244000 {
- compatible = "mediatek,mt2701-u3phy";
+ u3phy1: t-phy@1a244000 {
+ compatible = "mediatek,mt2701-tphy",
+ "mediatek,generic-tphy-v1";
reg = <0 0x1a244000 0 0x0700>;
#address-cells = <2>;
#size-cells = <2>;
@@ -700,8 +702,9 @@
status = "disabled";
};
- u2phy0: usb-phy@11210000 {
- compatible = "mediatek,generic-tphy-v1";
+ u2phy0: t-phy@11210000 {
+ compatible = "mediatek,mt2701-tphy",
+ "mediatek,generic-tphy-v1";
reg = <0 0x11210000 0 0x0800>;
#address-cells = <2>;
#size-cells = <2>;
--
2.18.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* Re: [PATCH v5 02/13] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence
2021-03-16 9:22 ` [PATCH v5 02/13] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence Chunfeng Yun
@ 2021-03-18 2:43 ` Chunfeng Yun
2021-03-25 7:19 ` Vinod Koul
1 sibling, 0 replies; 27+ messages in thread
From: Chunfeng Yun @ 2021-03-18 2:43 UTC (permalink / raw)
To: Vinod Koul
Cc: Rob Herring, Matthias Brugger, Kishon Vijay Abraham I,
Greg Kroah-Hartman, Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu,
Cawa Cheng, linux-arm-kernel, linux-mediatek, linux-kernel,
devicetree, linux-usb
Hi Vinod,
Could you please help to apply patches [02/13] [03/13] [04/13] of the
series?
Thanks a lot
On Tue, 2021-03-16 at 17:22 +0800, Chunfeng Yun wrote:
> mt7623-mipi-tx is compatible to mt2701-mipi-tx, and use
> "mediatek,mt2701-mipi-tx" instead on MT7623, so modify
> the compatible items to make dependence clear.
>
> Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org>
> Cc: Philipp Zabel <p.zabel@pengutronix.de>
> Acked-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
> Reviewed-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> ---
> v5: no changes
> v4: add acked-by CK, and reviewed-by Rob
> v3: modify commit message suggested by CK
> v2: separate two patches suggested by CK
> ---
> .../devicetree/bindings/phy/mediatek,dsi-phy.yaml | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
> index 71d4acea1f66..6e4d795f9b02 100644
> --- a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
> @@ -19,11 +19,14 @@ properties:
> pattern: "^dsi-phy@[0-9a-f]+$"
>
> compatible:
> - enum:
> - - mediatek,mt2701-mipi-tx
> - - mediatek,mt7623-mipi-tx
> - - mediatek,mt8173-mipi-tx
> - - mediatek,mt8183-mipi-tx
> + oneOf:
> + - items:
> + - enum:
> + - mediatek,mt7623-mipi-tx
> + - const: mediatek,mt2701-mipi-tx
> + - const: mediatek,mt2701-mipi-tx
> + - const: mediatek,mt8173-mipi-tx
> + - const: mediatek,mt8183-mipi-tx
>
> reg:
> maxItems: 1
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
` (11 preceding siblings ...)
2021-03-16 9:22 ` [PATCH v5 13/13] arm: dts: mt2701: " Chunfeng Yun
@ 2021-03-23 22:44 ` Rob Herring
12 siblings, 0 replies; 27+ messages in thread
From: Rob Herring @ 2021-03-23 22:44 UTC (permalink / raw)
To: Chunfeng Yun
Cc: CK Hu, linux-usb, Greg Kroah-Hartman, linux-mediatek,
Kishon Vijay Abraham I, Chun-Kuang Hu, Rob Herring,
Philipp Zabel, Matthias Brugger, Jie Qiu, linux-arm-kernel,
linux-kernel, devicetree, Vinod Koul, Cawa Cheng
On Tue, 16 Mar 2021 17:22:20 +0800, Chunfeng Yun wrote:
> Fix warning: "missing starting space in comment"
>
> Fixes: 23bf6fc7046c ("dt-bindings: usb: convert usb-device.txt to YAML schema")
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> ---
> v5: add Fixes tag suggested by Greg
> v2~v4: no changes
> ---
> Documentation/devicetree/bindings/usb/usb-device.yaml | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 02/13] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence
2021-03-16 9:22 ` [PATCH v5 02/13] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence Chunfeng Yun
2021-03-18 2:43 ` Chunfeng Yun
@ 2021-03-25 7:19 ` Vinod Koul
1 sibling, 0 replies; 27+ messages in thread
From: Vinod Koul @ 2021-03-25 7:19 UTC (permalink / raw)
To: Chunfeng Yun
Cc: Rob Herring, Matthias Brugger, Kishon Vijay Abraham I,
Greg Kroah-Hartman, Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu,
Cawa Cheng, linux-arm-kernel, linux-mediatek, linux-kernel,
devicetree, linux-usb
On 16-03-21, 17:22, Chunfeng Yun wrote:
> mt7623-mipi-tx is compatible to mt2701-mipi-tx, and use
> "mediatek,mt2701-mipi-tx" instead on MT7623, so modify
> the compatible items to make dependence clear.
Applied, thanks
--
~Vinod
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 03/13] dt-bindings: phy: mediatek: hdmi-phy: modify compatible items
2021-03-16 9:22 ` [PATCH v5 03/13] dt-bindings: phy: mediatek: hdmi-phy: modify compatible items Chunfeng Yun
@ 2021-03-25 7:20 ` Vinod Koul
0 siblings, 0 replies; 27+ messages in thread
From: Vinod Koul @ 2021-03-25 7:20 UTC (permalink / raw)
To: Chunfeng Yun
Cc: Rob Herring, Matthias Brugger, Kishon Vijay Abraham I,
Greg Kroah-Hartman, Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu,
Cawa Cheng, linux-arm-kernel, linux-mediatek, linux-kernel,
devicetree, linux-usb
On 16-03-21, 17:22, Chunfeng Yun wrote:
> mt7623-hdmi-tx is compatible to mt2701-hdmi-tx, and the compatible
> "mediatek,mt7623-hdmi-tx" is not supported in driver, in fact uses
> "mediatek,mt2701-hdmi-tx" instead on MT7623, so changes the
> compatible items to make dependence clear.
Applied, thanks
--
~Vinod
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 04/13] dt-bindings: phy: mediatek: tphy: change patternProperties
2021-03-16 9:22 ` [PATCH v5 04/13] dt-bindings: phy: mediatek: tphy: change patternProperties Chunfeng Yun
@ 2021-03-25 7:20 ` Vinod Koul
0 siblings, 0 replies; 27+ messages in thread
From: Vinod Koul @ 2021-03-25 7:20 UTC (permalink / raw)
To: Chunfeng Yun
Cc: Rob Herring, Matthias Brugger, Kishon Vijay Abraham I,
Greg Kroah-Hartman, Chun-Kuang Hu, Philipp Zabel, Jie Qiu, CK Hu,
Cawa Cheng, linux-arm-kernel, linux-mediatek, linux-kernel,
devicetree, linux-usb
On 16-03-21, 17:22, Chunfeng Yun wrote:
> The phy may be named as pcie-phy when the T-PHY only supports
> PCIe mode, it's also the similar case for SATA, named as
> sata-phy.
Applied, thanks
--
~Vinod
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 05/13] arm64: dts: mt8173: fix property typo of 'phys' in dsi node
2021-03-16 9:22 ` [PATCH v5 05/13] arm64: dts: mt8173: fix property typo of 'phys' in dsi node Chunfeng Yun
@ 2021-03-29 13:46 ` Matthias Brugger
0 siblings, 0 replies; 27+ messages in thread
From: Matthias Brugger @ 2021-03-29 13:46 UTC (permalink / raw)
To: Chunfeng Yun, Vinod Koul, Rob Herring
Cc: Kishon Vijay Abraham I, Greg Kroah-Hartman, Chun-Kuang Hu,
Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng, linux-arm-kernel,
linux-mediatek, linux-kernel, devicetree, linux-usb, stable
On 16/03/2021 10:22, Chunfeng Yun wrote:
> Use 'phys' instead of 'phy'.
>
> Fixes: 81ad4dbaf7af ("arm64: dts: mt8173: Add display subsystem related nodes")
> Cc: stable <stable@vger.kernel.org>
> Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Applied now to v5.12-next/dts64
> ---
> v5: merged into this series, add Reviewed-by CK
> ---
> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> index 7fa870e4386a..ecb37a7e6870 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> @@ -1235,7 +1235,7 @@
> <&mmsys CLK_MM_DSI1_DIGITAL>,
> <&mipi_tx1>;
> clock-names = "engine", "digital", "hs";
> - phy = <&mipi_tx1>;
> + phys = <&mipi_tx1>;
> phy-names = "dphy";
> status = "disabled";
> };
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 06/13] arm64: dts: mediatek: mt8173: fix dtbs_check warning
2021-03-16 9:22 ` [PATCH v5 06/13] arm64: dts: mediatek: mt8173: fix dtbs_check warning Chunfeng Yun
@ 2021-03-29 13:46 ` Matthias Brugger
0 siblings, 0 replies; 27+ messages in thread
From: Matthias Brugger @ 2021-03-29 13:46 UTC (permalink / raw)
To: Chunfeng Yun, Vinod Koul, Rob Herring
Cc: Kishon Vijay Abraham I, Greg Kroah-Hartman, Chun-Kuang Hu,
Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng, linux-arm-kernel,
linux-mediatek, linux-kernel, devicetree, linux-usb
On 16/03/2021 10:22, Chunfeng Yun wrote:
> Harmonize nodes names, compatibles and remove unused property.
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Applied now to v5.12-next/dts64
> ---
> v2~v5: no changes
> ---
> arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 4 +---
> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 13 +++++++------
> 2 files changed, 8 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> index 6dffada2e66b..0ce81c4fe81e 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> @@ -516,10 +516,8 @@
> extcon = <&extcon_usb>;
> dr_mode = "otg";
> wakeup-source;
> - pinctrl-names = "default", "id_float", "id_ground";
> + pinctrl-names = "default";
> pinctrl-0 = <&usb_id_pins_float>;
> - pinctrl-1 = <&usb_id_pins_float>;
> - pinctrl-2 = <&usb_id_pins_ground>;
> status = "okay";
> };
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> index ecb37a7e6870..003a5653c505 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> @@ -631,7 +631,7 @@
> #mbox-cells = <2>;
> };
>
> - mipi_tx0: mipi-dphy@10215000 {
> + mipi_tx0: dsi-phy@10215000 {
> compatible = "mediatek,mt8173-mipi-tx";
> reg = <0 0x10215000 0 0x1000>;
> clocks = <&clk26m>;
> @@ -641,7 +641,7 @@
> status = "disabled";
> };
>
> - mipi_tx1: mipi-dphy@10216000 {
> + mipi_tx1: dsi-phy@10216000 {
> compatible = "mediatek,mt8173-mipi-tx";
> reg = <0 0x10216000 0 0x1000>;
> clocks = <&clk26m>;
> @@ -926,7 +926,7 @@
> };
>
> ssusb: usb@11271000 {
> - compatible = "mediatek,mt8173-mtu3";
> + compatible = "mediatek,mt8173-mtu3", "mediatek,mtu3";
> reg = <0 0x11271000 0 0x3000>,
> <0 0x11280700 0 0x0100>;
> reg-names = "mac", "ippc";
> @@ -943,8 +943,9 @@
> ranges;
> status = "disabled";
>
> - usb_host: xhci@11270000 {
> - compatible = "mediatek,mt8173-xhci";
> + usb_host: usb@11270000 {
> + compatible = "mediatek,mt8173-xhci",
> + "mediatek,mtk-xhci";
> reg = <0 0x11270000 0 0x1000>;
> reg-names = "mac";
> interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>;
> @@ -955,7 +956,7 @@
> };
> };
>
> - u3phy: usb-phy@11290000 {
> + u3phy: t-phy@11290000 {
> compatible = "mediatek,mt8173-u3phy";
> reg = <0 0x11290000 0 0x800>;
> #address-cells = <2>;
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 07/13] arm64: dts: mediatek: mt2712: harmonize node names
2021-03-16 9:22 ` [PATCH v5 07/13] arm64: dts: mediatek: mt2712: harmonize node names Chunfeng Yun
@ 2021-03-29 13:46 ` Matthias Brugger
0 siblings, 0 replies; 27+ messages in thread
From: Matthias Brugger @ 2021-03-29 13:46 UTC (permalink / raw)
To: Chunfeng Yun, Vinod Koul, Rob Herring
Cc: Kishon Vijay Abraham I, Greg Kroah-Hartman, Chun-Kuang Hu,
Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng, linux-arm-kernel,
linux-mediatek, linux-kernel, devicetree, linux-usb
On 16/03/2021 10:22, Chunfeng Yun wrote:
> This is used to fix dtbs_check warning.
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Applied now to v5.12-next/dts64
> ---
> v2~v5: no changes
> ---
> arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
> index db17d0a4ed57..a9cca9c146fd 100644
> --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
> @@ -805,7 +805,7 @@
> ranges;
> status = "disabled";
>
> - usb_host0: xhci@11270000 {
> + usb_host0: usb@11270000 {
> compatible = "mediatek,mt2712-xhci",
> "mediatek,mtk-xhci";
> reg = <0 0x11270000 0 0x1000>;
> @@ -818,7 +818,7 @@
> };
> };
>
> - u3phy0: usb-phy@11290000 {
> + u3phy0: t-phy@11290000 {
> compatible = "mediatek,mt2712-tphy",
> "mediatek,generic-tphy-v2";
> #address-cells = <1>;
> @@ -869,7 +869,7 @@
> ranges;
> status = "disabled";
>
> - usb_host1: xhci@112c0000 {
> + usb_host1: usb@112c0000 {
> compatible = "mediatek,mt2712-xhci",
> "mediatek,mtk-xhci";
> reg = <0 0x112c0000 0 0x1000>;
> @@ -882,7 +882,7 @@
> };
> };
>
> - u3phy1: usb-phy@112e0000 {
> + u3phy1: t-phy@112e0000 {
> compatible = "mediatek,mt2712-tphy",
> "mediatek,generic-tphy-v2";
> #address-cells = <1>;
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 08/13] arm64: dts: mediatek: mt8516: harmonize node names and compatibles
2021-03-16 9:22 ` [PATCH v5 08/13] arm64: dts: mediatek: mt8516: harmonize node names and compatibles Chunfeng Yun
@ 2021-03-29 13:46 ` Matthias Brugger
0 siblings, 0 replies; 27+ messages in thread
From: Matthias Brugger @ 2021-03-29 13:46 UTC (permalink / raw)
To: Chunfeng Yun, Vinod Koul, Rob Herring
Cc: Kishon Vijay Abraham I, Greg Kroah-Hartman, Chun-Kuang Hu,
Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng, linux-arm-kernel,
linux-mediatek, linux-kernel, devicetree, linux-usb
On 16/03/2021 10:22, Chunfeng Yun wrote:
> This is used to fix dtbs_check warning:
> harmonize node names and compatibles;
> add property "usb-role-switch" for connector dependence.
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Applied now to v5.12-next/dts64
> ---
> v2~v5: no changes
> ---
> arch/arm64/boot/dts/mediatek/mt8516.dtsi | 9 +++++----
> arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi | 1 +
> 2 files changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi b/arch/arm64/boot/dts/mediatek/mt8516.dtsi
> index b80e95574bef..bbe5a1419eff 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8516.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8516.dtsi
> @@ -480,7 +480,7 @@
> };
>
> usb0: usb@11100000 {
> - compatible = "mediatek,mtk-musb";
> + compatible = "mediatek,mt8516-musb", "mediatek,mtk-musb";
> reg = <0 0x11100000 0 0x1000>;
> interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_LOW>;
> interrupt-names = "mc";
> @@ -493,7 +493,7 @@
> };
>
> usb1: usb@11190000 {
> - compatible = "mediatek,mtk-musb";
> + compatible = "mediatek,mt8516-musb", "mediatek,mtk-musb";
> reg = <0 0x11190000 0 0x1000>;
> interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_LOW>;
> interrupt-names = "mc";
> @@ -506,8 +506,9 @@
> status = "disabled";
> };
>
> - usb_phy: usb@11110000 {
> - compatible = "mediatek,generic-tphy-v1";
> + usb_phy: t-phy@11110000 {
> + compatible = "mediatek,mt8516-tphy",
> + "mediatek,generic-tphy-v1";
> reg = <0 0x11110000 0 0x800>;
> #address-cells = <2>;
> #size-cells = <2>;
> diff --git a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi
> index 63fd70086bb8..7d738f01cf8d 100644
> --- a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi
> @@ -188,6 +188,7 @@
> &usb0 {
> status = "okay";
> dr_mode = "peripheral";
> + usb-role-switch;
>
> usb_con: connector {
> compatible = "usb-c-connector";
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 09/13] arm64: dts: mediatek: mt7622: harmonize node names and compatibles
2021-03-16 9:22 ` [PATCH v5 09/13] arm64: dts: mediatek: mt7622: " Chunfeng Yun
@ 2021-03-29 13:47 ` Matthias Brugger
0 siblings, 0 replies; 27+ messages in thread
From: Matthias Brugger @ 2021-03-29 13:47 UTC (permalink / raw)
To: Chunfeng Yun, Vinod Koul, Rob Herring
Cc: Kishon Vijay Abraham I, Greg Kroah-Hartman, Chun-Kuang Hu,
Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng, linux-arm-kernel,
linux-mediatek, linux-kernel, devicetree, linux-usb
On 16/03/2021 10:22, Chunfeng Yun wrote:
> This is used to fix dtbs_check warning
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Applied now to v5.12-next/dts64
> ---
> v2~v5: no changes
> ---
> arch/arm64/boot/dts/mediatek/mt7622.dtsi | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
> index 7c6d871538a6..890a942ec608 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
> @@ -742,8 +742,8 @@
> status = "disabled";
> };
>
> - u3phy: usb-phy@1a0c4000 {
> - compatible = "mediatek,mt7622-u3phy",
> + u3phy: t-phy@1a0c4000 {
> + compatible = "mediatek,mt7622-tphy",
> "mediatek,generic-tphy-v1";
> reg = <0 0x1a0c4000 0 0x700>;
> #address-cells = <2>;
> @@ -877,8 +877,9 @@
> status = "disabled";
> };
>
> - sata_phy: sata-phy@1a243000 {
> - compatible = "mediatek,generic-tphy-v1";
> + sata_phy: t-phy@1a243000 {
> + compatible = "mediatek,mt7622-tphy",
> + "mediatek,generic-tphy-v1";
> #address-cells = <2>;
> #size-cells = <2>;
> ranges;
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 10/13] arm64: dts: mediatek: mt8183: fix dtbs_check warning
2021-03-16 9:22 ` [PATCH v5 10/13] arm64: dts: mediatek: mt8183: fix dtbs_check warning Chunfeng Yun
@ 2021-03-29 13:47 ` Matthias Brugger
0 siblings, 0 replies; 27+ messages in thread
From: Matthias Brugger @ 2021-03-29 13:47 UTC (permalink / raw)
To: Chunfeng Yun, Vinod Koul, Rob Herring
Cc: Kishon Vijay Abraham I, Greg Kroah-Hartman, Chun-Kuang Hu,
Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng, linux-arm-kernel,
linux-mediatek, linux-kernel, devicetree, linux-usb
On 16/03/2021 10:22, Chunfeng Yun wrote:
> Harmonize node names, compatibles and properties.
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Applied now to v5.12-next/dts64
> ---
> v4~v5: no changes
> v3: remove property clock-names suggested by CK
> v2: no changes
> ---
> arch/arm64/boot/dts/mediatek/mt8183.dtsi | 8 +++-----
> 1 file changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> index 80519a145f13..8882d35ac6ab 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> @@ -880,7 +880,7 @@
> ranges;
> status = "disabled";
>
> - usb_host: xhci@11200000 {
> + usb_host: usb@11200000 {
> compatible = "mediatek,mt8183-xhci",
> "mediatek,mtk-xhci";
> reg = <0 0x11200000 0 0x1000>;
> @@ -923,11 +923,10 @@
> status = "disabled";
> };
>
> - mipi_tx0: mipi-dphy@11e50000 {
> + mipi_tx0: dsi-phy@11e50000 {
> compatible = "mediatek,mt8183-mipi-tx";
> reg = <0 0x11e50000 0 0x1000>;
> clocks = <&apmixedsys CLK_APMIXED_MIPID0_26M>;
> - clock-names = "ref_clk";
> #clock-cells = <0>;
> #phy-cells = <0>;
> clock-output-names = "mipi_tx0_pll";
> @@ -946,11 +945,10 @@
> };
> };
>
> - u3phy: usb-phy@11f40000 {
> + u3phy: t-phy@11f40000 {
> compatible = "mediatek,mt8183-tphy",
> "mediatek,generic-tphy-v2";
> #address-cells = <1>;
> - #phy-cells = <1>;
> #size-cells = <1>;
> ranges = <0 0 0x11f40000 0x1000>;
> status = "okay";
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 11/13] arm: dts: mt7629: harmonize node names and compatibles
2021-03-16 9:22 ` [PATCH v5 11/13] arm: dts: mt7629: harmonize node names and compatibles Chunfeng Yun
@ 2021-03-29 13:47 ` Matthias Brugger
0 siblings, 0 replies; 27+ messages in thread
From: Matthias Brugger @ 2021-03-29 13:47 UTC (permalink / raw)
To: Chunfeng Yun, Vinod Koul, Rob Herring
Cc: Kishon Vijay Abraham I, Greg Kroah-Hartman, Chun-Kuang Hu,
Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng, linux-arm-kernel,
linux-mediatek, linux-kernel, devicetree, linux-usb
On 16/03/2021 10:22, Chunfeng Yun wrote:
> This is used to fix dtbs_check warning
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Applied now to v5.12-next/dts32
> ---
> v2~v5: no changes
> ---
> arch/arm/boot/dts/mt7629.dtsi | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/boot/dts/mt7629.dtsi b/arch/arm/boot/dts/mt7629.dtsi
> index 5cbb3d244c75..874043f0490d 100644
> --- a/arch/arm/boot/dts/mt7629.dtsi
> +++ b/arch/arm/boot/dts/mt7629.dtsi
> @@ -329,8 +329,9 @@
> status = "disabled";
> };
>
> - u3phy0: usb-phy@1a0c4000 {
> - compatible = "mediatek,generic-tphy-v2";
> + u3phy0: t-phy@1a0c4000 {
> + compatible = "mediatek,mt7629-tphy",
> + "mediatek,generic-tphy-v2";
> #address-cells = <1>;
> #size-cells = <1>;
> ranges = <0 0x1a0c4000 0xe00>;
> @@ -413,14 +414,15 @@
> };
> };
>
> - pciephy1: pcie-phy@1a14a000 {
> - compatible = "mediatek,generic-tphy-v2";
> + pciephy1: t-phy@1a14a000 {
> + compatible = "mediatek,mt7629-tphy",
> + "mediatek,generic-tphy-v2";
> #address-cells = <1>;
> #size-cells = <1>;
> ranges = <0 0x1a14a000 0x1000>;
> status = "disabled";
>
> - pcieport1: port1phy@0 {
> + pcieport1: pcie-phy@0 {
> reg = <0 0x1000>;
> clocks = <&clk20m>;
> clock-names = "ref";
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 12/13] arm: dts: mt7623: harmonize node names and compatibles
2021-03-16 9:22 ` [PATCH v5 12/13] arm: dts: mt7623: " Chunfeng Yun
@ 2021-03-29 13:47 ` Matthias Brugger
0 siblings, 0 replies; 27+ messages in thread
From: Matthias Brugger @ 2021-03-29 13:47 UTC (permalink / raw)
To: Chunfeng Yun, Vinod Koul, Rob Herring
Cc: Kishon Vijay Abraham I, Greg Kroah-Hartman, Chun-Kuang Hu,
Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng, linux-arm-kernel,
linux-mediatek, linux-kernel, devicetree, linux-usb
On 16/03/2021 10:22, Chunfeng Yun wrote:
> This is used to fix dtbs_check warning
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Applied now to v5.12-next/dts32
> ---
> v2~v5: no changes
> ---
> arch/arm/boot/dts/mt7623.dtsi | 26 ++++++++++++++------------
> arch/arm/boot/dts/mt7623n.dtsi | 4 ++--
> 2 files changed, 16 insertions(+), 14 deletions(-)
>
> diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
> index aea6809500d7..3c11f7cfcc40 100644
> --- a/arch/arm/boot/dts/mt7623.dtsi
> +++ b/arch/arm/boot/dts/mt7623.dtsi
> @@ -787,8 +787,9 @@
> };
> };
>
> - pcie0_phy: pcie-phy@1a149000 {
> - compatible = "mediatek,generic-tphy-v1";
> + pcie0_phy: t-phy@1a149000 {
> + compatible = "mediatek,mt7623-tphy",
> + "mediatek,generic-tphy-v1";
> reg = <0 0x1a149000 0 0x0700>;
> #address-cells = <2>;
> #size-cells = <2>;
> @@ -804,8 +805,9 @@
> };
> };
>
> - pcie1_phy: pcie-phy@1a14a000 {
> - compatible = "mediatek,generic-tphy-v1";
> + pcie1_phy: t-phy@1a14a000 {
> + compatible = "mediatek,mt7623-tphy",
> + "mediatek,generic-tphy-v1";
> reg = <0 0x1a14a000 0 0x0700>;
> #address-cells = <2>;
> #size-cells = <2>;
> @@ -823,7 +825,7 @@
>
> usb1: usb@1a1c0000 {
> compatible = "mediatek,mt7623-xhci",
> - "mediatek,mt8173-xhci";
> + "mediatek,mtk-xhci";
> reg = <0 0x1a1c0000 0 0x1000>,
> <0 0x1a1c4700 0 0x0100>;
> reg-names = "mac", "ippc";
> @@ -836,9 +838,9 @@
> status = "disabled";
> };
>
> - u3phy1: usb-phy@1a1c4000 {
> - compatible = "mediatek,mt7623-u3phy",
> - "mediatek,mt2701-u3phy";
> + u3phy1: t-phy@1a1c4000 {
> + compatible = "mediatek,mt7623-tphy",
> + "mediatek,generic-tphy-v1";
> reg = <0 0x1a1c4000 0 0x0700>;
> #address-cells = <2>;
> #size-cells = <2>;
> @@ -864,7 +866,7 @@
>
> usb2: usb@1a240000 {
> compatible = "mediatek,mt7623-xhci",
> - "mediatek,mt8173-xhci";
> + "mediatek,mtk-xhci";
> reg = <0 0x1a240000 0 0x1000>,
> <0 0x1a244700 0 0x0100>;
> reg-names = "mac", "ippc";
> @@ -877,9 +879,9 @@
> status = "disabled";
> };
>
> - u3phy2: usb-phy@1a244000 {
> - compatible = "mediatek,mt7623-u3phy",
> - "mediatek,mt2701-u3phy";
> + u3phy2: t-phy@1a244000 {
> + compatible = "mediatek,mt7623-tphy",
> + "mediatek,generic-tphy-v1";
> reg = <0 0x1a244000 0 0x0700>;
> #address-cells = <2>;
> #size-cells = <2>;
> diff --git a/arch/arm/boot/dts/mt7623n.dtsi b/arch/arm/boot/dts/mt7623n.dtsi
> index 1880ac9e32cf..bcb0846e29fd 100644
> --- a/arch/arm/boot/dts/mt7623n.dtsi
> +++ b/arch/arm/boot/dts/mt7623n.dtsi
> @@ -246,7 +246,7 @@
> status = "disabled";
> };
>
> - mipi_tx0: mipi-dphy@10010000 {
> + mipi_tx0: dsi-phy@10010000 {
> compatible = "mediatek,mt7623-mipi-tx",
> "mediatek,mt2701-mipi-tx";
> reg = <0 0x10010000 0 0x90>;
> @@ -265,7 +265,7 @@
> status = "disabled";
> };
>
> - hdmi_phy: phy@10209100 {
> + hdmi_phy: hdmi-phy@10209100 {
> compatible = "mediatek,mt7623-hdmi-phy",
> "mediatek,mt2701-hdmi-phy";
> reg = <0 0x10209100 0 0x24>;
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH v5 13/13] arm: dts: mt2701: harmonize node names and compatibles
2021-03-16 9:22 ` [PATCH v5 13/13] arm: dts: mt2701: " Chunfeng Yun
@ 2021-03-29 13:47 ` Matthias Brugger
0 siblings, 0 replies; 27+ messages in thread
From: Matthias Brugger @ 2021-03-29 13:47 UTC (permalink / raw)
To: Chunfeng Yun, Vinod Koul, Rob Herring
Cc: Kishon Vijay Abraham I, Greg Kroah-Hartman, Chun-Kuang Hu,
Philipp Zabel, Jie Qiu, CK Hu, Cawa Cheng, linux-arm-kernel,
linux-mediatek, linux-kernel, devicetree, linux-usb
On 16/03/2021 10:22, Chunfeng Yun wrote:
> This is used to fix dtbs_check warning
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Applied now to v5.12-next/dts32
> ---
> v2~v5: no changes
> ---
> arch/arm/boot/dts/mt2701.dtsi | 19 +++++++++++--------
> 1 file changed, 11 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
> index fade14284017..4776f85d6d5b 100644
> --- a/arch/arm/boot/dts/mt2701.dtsi
> +++ b/arch/arm/boot/dts/mt2701.dtsi
> @@ -607,7 +607,7 @@
> };
>
> usb0: usb@1a1c0000 {
> - compatible = "mediatek,mt8173-xhci";
> + compatible = "mediatek,mt2701-xhci", "mediatek,mtk-xhci";
> reg = <0 0x1a1c0000 0 0x1000>,
> <0 0x1a1c4700 0 0x0100>;
> reg-names = "mac", "ippc";
> @@ -620,8 +620,9 @@
> status = "disabled";
> };
>
> - u3phy0: usb-phy@1a1c4000 {
> - compatible = "mediatek,mt2701-u3phy";
> + u3phy0: t-phy@1a1c4000 {
> + compatible = "mediatek,mt2701-tphy",
> + "mediatek,generic-tphy-v1";
> reg = <0 0x1a1c4000 0 0x0700>;
> #address-cells = <2>;
> #size-cells = <2>;
> @@ -646,7 +647,7 @@
> };
>
> usb1: usb@1a240000 {
> - compatible = "mediatek,mt8173-xhci";
> + compatible = "mediatek,mt2701-xhci", "mediatek,mtk-xhci";
> reg = <0 0x1a240000 0 0x1000>,
> <0 0x1a244700 0 0x0100>;
> reg-names = "mac", "ippc";
> @@ -659,8 +660,9 @@
> status = "disabled";
> };
>
> - u3phy1: usb-phy@1a244000 {
> - compatible = "mediatek,mt2701-u3phy";
> + u3phy1: t-phy@1a244000 {
> + compatible = "mediatek,mt2701-tphy",
> + "mediatek,generic-tphy-v1";
> reg = <0 0x1a244000 0 0x0700>;
> #address-cells = <2>;
> #size-cells = <2>;
> @@ -700,8 +702,9 @@
> status = "disabled";
> };
>
> - u2phy0: usb-phy@11210000 {
> - compatible = "mediatek,generic-tphy-v1";
> + u2phy0: t-phy@11210000 {
> + compatible = "mediatek,mt2701-tphy",
> + "mediatek,generic-tphy-v1";
> reg = <0 0x11210000 0 0x0800>;
> #address-cells = <2>;
> #size-cells = <2>;
>
^ permalink raw reply [flat|nested] 27+ messages in thread
end of thread, other threads:[~2021-03-29 13:48 UTC | newest]
Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 9:22 [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Chunfeng Yun
2021-03-16 9:22 ` [PATCH v5 02/13] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence Chunfeng Yun
2021-03-18 2:43 ` Chunfeng Yun
2021-03-25 7:19 ` Vinod Koul
2021-03-16 9:22 ` [PATCH v5 03/13] dt-bindings: phy: mediatek: hdmi-phy: modify compatible items Chunfeng Yun
2021-03-25 7:20 ` Vinod Koul
2021-03-16 9:22 ` [PATCH v5 04/13] dt-bindings: phy: mediatek: tphy: change patternProperties Chunfeng Yun
2021-03-25 7:20 ` Vinod Koul
2021-03-16 9:22 ` [PATCH v5 05/13] arm64: dts: mt8173: fix property typo of 'phys' in dsi node Chunfeng Yun
2021-03-29 13:46 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 06/13] arm64: dts: mediatek: mt8173: fix dtbs_check warning Chunfeng Yun
2021-03-29 13:46 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 07/13] arm64: dts: mediatek: mt2712: harmonize node names Chunfeng Yun
2021-03-29 13:46 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 08/13] arm64: dts: mediatek: mt8516: harmonize node names and compatibles Chunfeng Yun
2021-03-29 13:46 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 09/13] arm64: dts: mediatek: mt7622: " Chunfeng Yun
2021-03-29 13:47 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 10/13] arm64: dts: mediatek: mt8183: fix dtbs_check warning Chunfeng Yun
2021-03-29 13:47 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 11/13] arm: dts: mt7629: harmonize node names and compatibles Chunfeng Yun
2021-03-29 13:47 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 12/13] arm: dts: mt7623: " Chunfeng Yun
2021-03-29 13:47 ` Matthias Brugger
2021-03-16 9:22 ` [PATCH v5 13/13] arm: dts: mt2701: " Chunfeng Yun
2021-03-29 13:47 ` Matthias Brugger
2021-03-23 22:44 ` [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).