linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/4] dt-bindings: usb: mtk-xhci: add support ip-sleep for mt8195
@ 2022-01-28  6:28 Chunfeng Yun
  2022-01-28  6:29 ` [PATCH v2 2/4] usb: xhci-mtk: add support ip-sleep wakeup " Chunfeng Yun
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Chunfeng Yun @ 2022-01-28  6:28 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Matthias Brugger
  Cc: Chunfeng Yun, Rob Herring, Mathias Nyman, linux-usb,
	linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	Tianping Fang, Eddie Hung, AngeloGioacchino Del Regno

There are 4 USB controllers on MT8195, each controller's wakeup control is
different, add some specific versions for them.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
v2:
  1. fix typo 'specific' suggested by Rob
  2. add acked-by AngeloGioacchino
---
 .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml          | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
index 11f7bacd4e2b..41efb51638d1 100644
--- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
+++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
@@ -146,7 +146,11 @@ properties:
             2 - used by mt2712 etc, revision 2 following IPM rule;
             101 - used by mt8183, specific 1.01;
             102 - used by mt8192, specific 1.02;
-          enum: [1, 2, 101, 102]
+            103 - used by mt8195, IP0, specific 1.03;
+            104 - used by mt8195, IP1, specific 1.04;
+            105 - used by mt8195, IP2, specific 1.05;
+            106 - used by mt8195, IP3, specific 1.06;
+          enum: [1, 2, 101, 102, 103, 104, 105, 106]
 
   mediatek,u3p-dis-msk:
     $ref: /schemas/types.yaml#/definitions/uint32
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 2/4] usb: xhci-mtk: add support ip-sleep wakeup for mt8195
  2022-01-28  6:28 [PATCH v2 1/4] dt-bindings: usb: mtk-xhci: add support ip-sleep for mt8195 Chunfeng Yun
@ 2022-01-28  6:29 ` Chunfeng Yun
  2022-01-28  6:29 ` [PATCH v2 3/4] arm64: dts: mediatek: mt8195: add efuse node and cells Chunfeng Yun
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: Chunfeng Yun @ 2022-01-28  6:29 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Matthias Brugger
  Cc: Chunfeng Yun, Rob Herring, Mathias Nyman, linux-usb,
	linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	Tianping Fang, Eddie Hung, AngeloGioacchino Del Regno

Add support ip-sleep wakeup for mt8195, it's a specific revision for
each USB controller, and not following IPM rule.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2: add reviewed-by Matthias & AngeloGioacchino
---
 drivers/usb/host/xhci-mtk.c | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
index 91738af0ab14..96a0ff0bb11e 100644
--- a/drivers/usb/host/xhci-mtk.c
+++ b/drivers/usb/host/xhci-mtk.c
@@ -95,6 +95,19 @@
 #define WC0_SSUSB0_CDEN		BIT(6)
 #define WC0_IS_SPM_EN		BIT(1)
 
+/* mt8195 */
+#define PERI_WK_CTRL0_8195	0x04
+#define WC0_IS_P_95		BIT(30)	/* polarity */
+#define WC0_IS_C_95(x)		((u32)(((x) & 0x7) << 27))
+#define WC0_IS_EN_P3_95		BIT(26)
+#define WC0_IS_EN_P2_95		BIT(25)
+#define WC0_IS_EN_P1_95		BIT(24)
+
+#define PERI_WK_CTRL1_8195	0x20
+#define WC1_IS_C_95(x)		((u32)(((x) & 0xf) << 28))
+#define WC1_IS_P_95		BIT(12)
+#define WC1_IS_EN_P0_95		BIT(6)
+
 /* mt2712 etc */
 #define PERI_SSUSB_SPM_CTRL	0x0
 #define SSC_IP_SLEEP_EN	BIT(4)
@@ -105,6 +118,10 @@ enum ssusb_uwk_vers {
 	SSUSB_UWK_V2,
 	SSUSB_UWK_V1_1 = 101,	/* specific revision 1.01 */
 	SSUSB_UWK_V1_2,		/* specific revision 1.2 */
+	SSUSB_UWK_V1_3,		/* mt8195 IP0 */
+	SSUSB_UWK_V1_4,		/* mt8195 IP1 */
+	SSUSB_UWK_V1_5,		/* mt8195 IP2 */
+	SSUSB_UWK_V1_6,		/* mt8195 IP3 */
 };
 
 /*
@@ -308,6 +325,26 @@ static void usb_wakeup_ip_sleep_set(struct xhci_hcd_mtk *mtk, bool enable)
 		msk = WC0_SSUSB0_CDEN | WC0_IS_SPM_EN;
 		val = enable ? msk : 0;
 		break;
+	case SSUSB_UWK_V1_3:
+		reg = mtk->uwk_reg_base + PERI_WK_CTRL1_8195;
+		msk = WC1_IS_EN_P0_95 | WC1_IS_C_95(0xf) | WC1_IS_P_95;
+		val = enable ? (WC1_IS_EN_P0_95 | WC1_IS_C_95(0x1)) : 0;
+		break;
+	case SSUSB_UWK_V1_4:
+		reg = mtk->uwk_reg_base + PERI_WK_CTRL0_8195;
+		msk = WC0_IS_EN_P1_95 | WC0_IS_C_95(0x7) | WC0_IS_P_95;
+		val = enable ? (WC0_IS_EN_P1_95 | WC0_IS_C_95(0x1)) : 0;
+		break;
+	case SSUSB_UWK_V1_5:
+		reg = mtk->uwk_reg_base + PERI_WK_CTRL0_8195;
+		msk = WC0_IS_EN_P2_95 | WC0_IS_C_95(0x7) | WC0_IS_P_95;
+		val = enable ? (WC0_IS_EN_P2_95 | WC0_IS_C_95(0x1)) : 0;
+		break;
+	case SSUSB_UWK_V1_6:
+		reg = mtk->uwk_reg_base + PERI_WK_CTRL0_8195;
+		msk = WC0_IS_EN_P3_95 | WC0_IS_C_95(0x7) | WC0_IS_P_95;
+		val = enable ? (WC0_IS_EN_P3_95 | WC0_IS_C_95(0x1)) : 0;
+		break;
 	case SSUSB_UWK_V2:
 		reg = mtk->uwk_reg_base + PERI_SSUSB_SPM_CTRL;
 		msk = SSC_IP_SLEEP_EN | SSC_SPM_INT_EN;
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 3/4] arm64: dts: mediatek: mt8195: add efuse node and cells
  2022-01-28  6:28 [PATCH v2 1/4] dt-bindings: usb: mtk-xhci: add support ip-sleep for mt8195 Chunfeng Yun
  2022-01-28  6:29 ` [PATCH v2 2/4] usb: xhci-mtk: add support ip-sleep wakeup " Chunfeng Yun
@ 2022-01-28  6:29 ` Chunfeng Yun
  2022-01-31  9:57   ` AngeloGioacchino Del Regno
  2022-02-11 10:17   ` Greg Kroah-Hartman
  2022-01-28  6:29 ` [PATCH v2 4/4] arm64: dts: mediatek: mt8195: enable usb remote wakeup Chunfeng Yun
  2022-02-09 20:45 ` [PATCH v2 1/4] dt-bindings: usb: mtk-xhci: add support ip-sleep for mt8195 Rob Herring
  3 siblings, 2 replies; 12+ messages in thread
From: Chunfeng Yun @ 2022-01-28  6:29 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Matthias Brugger
  Cc: Chunfeng Yun, Rob Herring, Mathias Nyman, linux-usb,
	linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	Tianping Fang, Eddie Hung

Add efuse node and cells used by t-phy to fix the bit shift issue

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2: use hw auto load for u2phy which has no this issue

Note:

 depend on the reviewing patch:

[v9,3/3] arm64: dts: Add mediatek SoC mt8195 and evaluation board
https://patchwork.kernel.org/patch/12711296
---
 arch/arm64/boot/dts/mediatek/mt8195.dtsi | 55 ++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
index a363e82f6988..240a21708806 100644
--- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
@@ -695,6 +695,53 @@
 			status = "disabled";
 		};
 
+		efuse: efuse@11c10000 {
+			compatible = "mediatek,mt8195-efuse", "mediatek,efuse";
+			reg = <0 0x11c10000 0 0x1000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+			u3_tx_imp_p0: usb3-tx-imp@184 {
+				reg = <0x184 0x1>;
+				bits = <0 5>;
+			};
+			u3_rx_imp_p0: usb3-rx-imp@184 {
+				reg = <0x184 0x2>;
+				bits = <5 5>;
+			};
+			u3_intr_p0: usb3-intr@185 {
+				reg = <0x185 0x1>;
+				bits = <2 6>;
+			};
+			comb_tx_imp_p1: usb3-tx-imp@186 {
+				reg = <0x186 0x1>;
+				bits = <0 5>;
+			};
+			comb_rx_imp_p1: usb3-rx-imp@186 {
+				reg = <0x186 0x2>;
+				bits = <5 5>;
+			};
+			comb_intr_p1: usb3-intr@187 {
+				reg = <0x187 0x1>;
+				bits = <2 6>;
+			};
+			u2_intr_p0: usb2-intr-p0@188 {
+				reg = <0x188 0x1>;
+				bits = <0 5>;
+			};
+			u2_intr_p1: usb2-intr-p1@188 {
+				reg = <0x188 0x2>;
+				bits = <5 5>;
+			};
+			u2_intr_p2: usb2-intr-p2@189 {
+				reg = <0x189 0x1>;
+				bits = <2 5>;
+			};
+			u2_intr_p3: usb2-intr-p3@189 {
+				reg = <0x189 0x2>;
+				bits = <7 5>;
+			};
+		};
+
 		u3phy2: t-phy@11c40000 {
 			compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3";
 			#address-cells = <1>;
@@ -877,6 +924,10 @@
 				clocks = <&apmixedsys CLK_APMIXED_PLL_SSUSB26M>,
 					 <&topckgen CLK_TOP_SSUSB_PHY_P1_REF>;
 				clock-names = "ref", "da_ref";
+				nvmem-cells = <&comb_intr_p1>,
+					      <&comb_rx_imp_p1>,
+					      <&comb_tx_imp_p1>;
+				nvmem-cell-names = "intr", "rx_imp", "tx_imp";
 				#phy-cells = <1>;
 			};
 		};
@@ -901,6 +952,10 @@
 				clocks = <&apmixedsys CLK_APMIXED_PLL_SSUSB26M>,
 					 <&topckgen CLK_TOP_SSUSB_PHY_REF>;
 				clock-names = "ref", "da_ref";
+				nvmem-cells = <&u3_intr_p0>,
+					      <&u3_rx_imp_p0>,
+					      <&u3_tx_imp_p0>;
+				nvmem-cell-names = "intr", "rx_imp", "tx_imp";
 				#phy-cells = <1>;
 			};
 		};
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 4/4] arm64: dts: mediatek: mt8195: enable usb remote wakeup
  2022-01-28  6:28 [PATCH v2 1/4] dt-bindings: usb: mtk-xhci: add support ip-sleep for mt8195 Chunfeng Yun
  2022-01-28  6:29 ` [PATCH v2 2/4] usb: xhci-mtk: add support ip-sleep wakeup " Chunfeng Yun
  2022-01-28  6:29 ` [PATCH v2 3/4] arm64: dts: mediatek: mt8195: add efuse node and cells Chunfeng Yun
@ 2022-01-28  6:29 ` Chunfeng Yun
  2022-01-31  9:59   ` AngeloGioacchino Del Regno
  2022-02-09 20:45 ` [PATCH v2 1/4] dt-bindings: usb: mtk-xhci: add support ip-sleep for mt8195 Rob Herring
  3 siblings, 1 reply; 12+ messages in thread
From: Chunfeng Yun @ 2022-01-28  6:29 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Matthias Brugger
  Cc: Chunfeng Yun, Rob Herring, Mathias Nyman, linux-usb,
	linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	Tianping Fang, Eddie Hung

Enable USB remote wakeup of all four xHCI controllers

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2: based on new mt8195 base dts, no need add usb nodes

Note:

 depend on the reviewing patch:

[v9,3/3] arm64: dts: Add mediatek SoC mt8195 and evaluation board
https://patchwork.kernel.org/patch/12711296

---
 arch/arm64/boot/dts/mediatek/mt8195.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
index 240a21708806..444e5448c9b1 100644
--- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
@@ -573,6 +573,8 @@
 				 <&apmixedsys CLK_APMIXED_USB1PLL>,
 				 <&infracfg_ao CLK_INFRA_AO_SSUSB_XHCI>;
 			clock-names = "sys_ck", "ref_ck", "mcu_ck", "xhci_ck";
+			mediatek,syscon-wakeup = <&pericfg 0x400 103>;
+			wakeup-source;
 			status = "disabled";
 		};
 
@@ -636,6 +638,8 @@
 				 <&apmixedsys CLK_APMIXED_USB1PLL>,
 				 <&pericfg_ao CLK_PERI_AO_SSUSB_1P_XHCI>;
 			clock-names = "sys_ck", "ref_ck", "mcu_ck","xhci_ck";
+			mediatek,syscon-wakeup = <&pericfg 0x400 104>;
+			wakeup-source;
 			status = "disabled";
 		};
 
@@ -655,6 +659,8 @@
 				 <&topckgen CLK_TOP_SSUSB_P2_REF>,
 				 <&pericfg_ao CLK_PERI_AO_SSUSB_2P_XHCI>;
 			clock-names = "sys_ck", "ref_ck", "xhci_ck";
+			mediatek,syscon-wakeup = <&pericfg 0x400 105>;
+			wakeup-source;
 			status = "disabled";
 		};
 
@@ -674,6 +680,8 @@
 				 <&topckgen CLK_TOP_SSUSB_P3_REF>,
 				 <&pericfg_ao CLK_PERI_AO_SSUSB_3P_XHCI>;
 			clock-names = "sys_ck", "ref_ck", "xhci_ck";
+			mediatek,syscon-wakeup = <&pericfg 0x400 106>;
+			wakeup-source;
 			/* This controller is connected with a BT device.
 			 * Disable usb2 lpm to prevent konwn issues.
 			 */
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH v2 3/4] arm64: dts: mediatek: mt8195: add efuse node and cells
  2022-01-28  6:29 ` [PATCH v2 3/4] arm64: dts: mediatek: mt8195: add efuse node and cells Chunfeng Yun
@ 2022-01-31  9:57   ` AngeloGioacchino Del Regno
  2022-02-11 10:17   ` Greg Kroah-Hartman
  1 sibling, 0 replies; 12+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-31  9:57 UTC (permalink / raw)
  To: Chunfeng Yun, Greg Kroah-Hartman, Matthias Brugger
  Cc: Rob Herring, Mathias Nyman, linux-usb, linux-arm-kernel,
	linux-mediatek, devicetree, linux-kernel, Tianping Fang,
	Eddie Hung

Il 28/01/22 07:29, Chunfeng Yun ha scritto:
> Add efuse node and cells used by t-phy to fix the bit shift issue
> 
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2 4/4] arm64: dts: mediatek: mt8195: enable usb remote wakeup
  2022-01-28  6:29 ` [PATCH v2 4/4] arm64: dts: mediatek: mt8195: enable usb remote wakeup Chunfeng Yun
@ 2022-01-31  9:59   ` AngeloGioacchino Del Regno
  2022-05-10  3:47     ` Macpaul Lin
  0 siblings, 1 reply; 12+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-31  9:59 UTC (permalink / raw)
  To: Chunfeng Yun, Greg Kroah-Hartman, Matthias Brugger
  Cc: Rob Herring, Mathias Nyman, linux-usb, linux-arm-kernel,
	linux-mediatek, devicetree, linux-kernel, Tianping Fang,
	Eddie Hung

Il 28/01/22 07:29, Chunfeng Yun ha scritto:
> Enable USB remote wakeup of all four xHCI controllers
> 
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2 1/4] dt-bindings: usb: mtk-xhci: add support ip-sleep for mt8195
  2022-01-28  6:28 [PATCH v2 1/4] dt-bindings: usb: mtk-xhci: add support ip-sleep for mt8195 Chunfeng Yun
                   ` (2 preceding siblings ...)
  2022-01-28  6:29 ` [PATCH v2 4/4] arm64: dts: mediatek: mt8195: enable usb remote wakeup Chunfeng Yun
@ 2022-02-09 20:45 ` Rob Herring
  3 siblings, 0 replies; 12+ messages in thread
From: Rob Herring @ 2022-02-09 20:45 UTC (permalink / raw)
  To: Chunfeng Yun
  Cc: Matthias Brugger, linux-kernel, AngeloGioacchino Del Regno,
	devicetree, linux-mediatek, Eddie Hung, Greg Kroah-Hartman,
	linux-arm-kernel, Tianping Fang, Mathias Nyman, linux-usb,
	Rob Herring

On Fri, 28 Jan 2022 14:28:59 +0800, Chunfeng Yun wrote:
> There are 4 USB controllers on MT8195, each controller's wakeup control is
> different, add some specific versions for them.
> 
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
> v2:
>   1. fix typo 'specific' suggested by Rob
>   2. add acked-by AngeloGioacchino
> ---
>  .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml          | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2 3/4] arm64: dts: mediatek: mt8195: add efuse node and cells
  2022-01-28  6:29 ` [PATCH v2 3/4] arm64: dts: mediatek: mt8195: add efuse node and cells Chunfeng Yun
  2022-01-31  9:57   ` AngeloGioacchino Del Regno
@ 2022-02-11 10:17   ` Greg Kroah-Hartman
  2022-02-16  9:38     ` Macpaul Lin
  1 sibling, 1 reply; 12+ messages in thread
From: Greg Kroah-Hartman @ 2022-02-11 10:17 UTC (permalink / raw)
  To: Chunfeng Yun
  Cc: Matthias Brugger, Rob Herring, Mathias Nyman, linux-usb,
	linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	Tianping Fang, Eddie Hung

On Fri, Jan 28, 2022 at 02:29:01PM +0800, Chunfeng Yun wrote:
> Add efuse node and cells used by t-phy to fix the bit shift issue
> 
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> ---
> v2: use hw auto load for u2phy which has no this issue
> 
> Note:
> 
>  depend on the reviewing patch:
> 
> [v9,3/3] arm64: dts: Add mediatek SoC mt8195 and evaluation board
> https://patchwork.kernel.org/patch/12711296

As I don't have that in my tree, I can only take the first 2 patches
here now, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2 3/4] arm64: dts: mediatek: mt8195: add efuse node and cells
  2022-02-11 10:17   ` Greg Kroah-Hartman
@ 2022-02-16  9:38     ` Macpaul Lin
  2022-05-10  3:36       ` Macpaul Lin
  0 siblings, 1 reply; 12+ messages in thread
From: Macpaul Lin @ 2022-02-16  9:38 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Chunfeng Yun
  Cc: Matthias Brugger, Rob Herring, Mathias Nyman, linux-usb,
	linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	Tianping Fang, Eddie Hung, Linus Walleij



On 2/11/22 6:17 PM, Greg Kroah-Hartman wrote:
> On Fri, Jan 28, 2022 at 02:29:01PM +0800, Chunfeng Yun wrote:
>> Add efuse node and cells used by t-phy to fix the bit shift issue
>>
>> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
>> ---
>> v2: use hw auto load for u2phy which has no this issue
>>
>> Note:
>>
>>   depend on the reviewing patch:
>>
>> [v9,3/3] arm64: dts: Add mediatek SoC mt8195 and evaluation board
>> https://urldefense.com/v3/__https://patchwork.kernel.org/patch/12711296__;!!CTRNKA9wMg0ARbw!0Jg8kLN4kBw0LcbiAH1HYTq2uQ5VwiD-CE8yoFBD7oApn8YNSdmVpwSdY1q2C7LvY6c$
> 
> As I don't have that in my tree, I can only take the first 2 patches
> here now, thanks.
> 
> greg k-h
> 
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek@lists.infradead.org
> https://urldefense.com/v3/__http://lists.infradead.org/mailman/listinfo/linux-mediatek__;!!CTRNKA9wMg0ARbw!0Jg8kLN4kBw0LcbiAH1HYTq2uQ5VwiD-CE8yoFBD7oApn8YNSdmVpwSdY1q2ZMDXmG4$
> 

Just a gentle reminder that there is new v10 version

[1] [PATCH v10 3/3] arm64: dts: Add mediatek SoC mt8195 and evaluation 
board
https://lore.kernel.org/lkml/20220130023209.16275-4-tinghan.shen@mediatek.com/T/#mae7fce60ae5402e7a5d044fb27ce07d9f0db03ce

Come along with this patch set is still under reviewing.
[2] [PATCH v10 0/3] Add basic SoC support for mediatek mt8195
https://lore.kernel.org/lkml/20220130023209.16275-4-tinghan.shen@mediatek.com/T/

While the v10 [PATCH 2/3] included in v10 patchset [2] is required for 
this review feedback.
[3] https://lkml.org/lkml/2022/1/29/401

Thanks!
Macpaul Lin

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2 3/4] arm64: dts: mediatek: mt8195: add efuse node and cells
  2022-02-16  9:38     ` Macpaul Lin
@ 2022-05-10  3:36       ` Macpaul Lin
  0 siblings, 0 replies; 12+ messages in thread
From: Macpaul Lin @ 2022-05-10  3:36 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Chunfeng Yun, Matthias Brugger
  Cc: Fabien Parent, Matthias Brugger, Rob Herring, Mathias Nyman,
	linux-usb, linux-arm-kernel, linux-mediatek, devicetree,
	linux-kernel, Tianping Fang, Eddie Hung, Linus Walleij,
	Macpaul Lin

On Wed, 2022-02-16 at 17:38 +0800, Macpaul Lin wrote:
> 
> On 2/11/22 6:17 PM, Greg Kroah-Hartman wrote:
> > On Fri, Jan 28, 2022 at 02:29:01PM +0800, Chunfeng Yun wrote:
> > > Add efuse node and cells used by t-phy to fix the bit shift issue
> > > 
> > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> > > ---
> > > v2: use hw auto load for u2phy which has no this issue
> > > 
> > > Note:
> > > 
> > >   depend on the reviewing patch:
> > > 
> > > [v9,3/3] arm64: dts: Add mediatek SoC mt8195 and evaluation board
> > > 
https://urldefense.com/v3/__https://patchwork.kernel.org/patch/12711296__;!!CTRNKA9wMg0ARbw!0Jg8kLN4kBw0LcbiAH1HYTq2uQ5VwiD-CE8yoFBD7oApn8YNSdmVpwSdY1q2C7LvY6c$
> > 
> > As I don't have that in my tree, I can only take the first 2
> > patches
> > here now, thanks.
> > 
> > greg k-h
> > 
> > _______________________________________________
> > Linux-mediatek mailing list
> > Linux-mediatek@lists.infradead.org
> > 

Tested-by: Macpaul Lin <macpaul.lin@mediatek.com>

This patch has been
tested with:
 - "for-next" branch in MediaTek tree [1].

https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git 
 - added more debug log to confirm efuse probing status at my local.
  -
If probe success, it won't show any log.

Thanks
Macpaul Lin


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2 4/4] arm64: dts: mediatek: mt8195: enable usb remote wakeup
  2022-01-31  9:59   ` AngeloGioacchino Del Regno
@ 2022-05-10  3:47     ` Macpaul Lin
  2022-05-10 11:03       ` Chunfeng Yun
  0 siblings, 1 reply; 12+ messages in thread
From: Macpaul Lin @ 2022-05-10  3:47 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, Chunfeng Yun, Greg Kroah-Hartman,
	Matthias Brugger
  Cc: Rob Herring, Mathias Nyman, linux-usb, linux-arm-kernel,
	linux-mediatek, devicetree, linux-kernel, Tianping Fang,
	Eddie Hung, Fabien Parent, Matthias Brugger

On Mon, 2022-01-31 at 10:59 +0100, AngeloGioacchino Del Regno wrote:
> Il 28/01/22 07:29, Chunfeng Yun ha scritto:
> > Enable USB remote wakeup of all four xHCI controllers
> > 
> > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> 
> Reviewed-by: AngeloGioacchino Del Regno <
> angelogioacchino.delregno@collabora.com>
> 

This patch doesn't apply to 'for-next' branch to MediaTek's repo.

https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git

Dear Chunfeng, could
 you please update a new version?

Thanks
Macpaul Lin


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2 4/4] arm64: dts: mediatek: mt8195: enable usb remote wakeup
  2022-05-10  3:47     ` Macpaul Lin
@ 2022-05-10 11:03       ` Chunfeng Yun
  0 siblings, 0 replies; 12+ messages in thread
From: Chunfeng Yun @ 2022-05-10 11:03 UTC (permalink / raw)
  To: Macpaul Lin, AngeloGioacchino Del Regno, Greg Kroah-Hartman,
	Matthias Brugger
  Cc: Rob Herring, Mathias Nyman, linux-usb, linux-arm-kernel,
	linux-mediatek, devicetree, linux-kernel, Tianping Fang,
	Eddie Hung, Fabien Parent

On Tue, 2022-05-10 at 11:47 +0800, Macpaul Lin wrote:
> On Mon, 2022-01-31 at 10:59 +0100, AngeloGioacchino Del Regno wrote:
> > Il 28/01/22 07:29, Chunfeng Yun ha scritto:
> > > Enable USB remote wakeup of all four xHCI controllers
> > > 
> > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> > 
> > Reviewed-by: AngeloGioacchino Del Regno <
> > angelogioacchino.delregno@collabora.com>
> > 
> 
> This patch doesn't apply to 'for-next' branch to MediaTek's repo.
> 
> 
https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git
> 
> Dear Chunfeng, could
>  you please update a new version?
Ok, I'll send it out this week.

> 
> Thanks
> Macpaul Lin
> 


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-05-10 11:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28  6:28 [PATCH v2 1/4] dt-bindings: usb: mtk-xhci: add support ip-sleep for mt8195 Chunfeng Yun
2022-01-28  6:29 ` [PATCH v2 2/4] usb: xhci-mtk: add support ip-sleep wakeup " Chunfeng Yun
2022-01-28  6:29 ` [PATCH v2 3/4] arm64: dts: mediatek: mt8195: add efuse node and cells Chunfeng Yun
2022-01-31  9:57   ` AngeloGioacchino Del Regno
2022-02-11 10:17   ` Greg Kroah-Hartman
2022-02-16  9:38     ` Macpaul Lin
2022-05-10  3:36       ` Macpaul Lin
2022-01-28  6:29 ` [PATCH v2 4/4] arm64: dts: mediatek: mt8195: enable usb remote wakeup Chunfeng Yun
2022-01-31  9:59   ` AngeloGioacchino Del Regno
2022-05-10  3:47     ` Macpaul Lin
2022-05-10 11:03       ` Chunfeng Yun
2022-02-09 20:45 ` [PATCH v2 1/4] dt-bindings: usb: mtk-xhci: add support ip-sleep for mt8195 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).