RE: [PATCH] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy

2021-04-13 Thread Richard Zhu
-git-send-email-hongxing@nxp.com/ https://patchwork.kernel.org/project/linux-pci/patch/1617091701-6444-2-git-send-email-hongxing@nxp.com/ Best Regards Richard Zhu > -Original Message- > From: Richard Zhu > Sent: Wednesday, April 14, 2021 10:26 AM > To: shawn...@kernel.or

[PATCH] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy

2021-04-13 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu Reviewed-by: Lucas Stach --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq

[PATCH] arm64: dts: imx8mq-evk: add one regulator used to power up

2021-04-13 Thread Richard Zhu
The other two patches are accepted into PCIe tree. It's time to post it for Shawn to pick up into the imx DT tree. https://patchwork.kernel.org/project/linux-pci/patch/1616661882-26487-3-git-send-email-hongxing@nxp.com/ arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 1 file changed, 1

RE: Re: [PATCH] clk: imx8mp: Remove the none exist pcie clocks

2021-03-31 Thread Richard Zhu
> -Original Message- > From: Stephen Boyd > Sent: Wednesday, March 31, 2021 10:17 AM > To: Richard Zhu ; Abel Vesa ; > Jacky Bai ; shawn...@kernel.org > Cc: dl-linux-imx ; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org; linux-...@vger.ke

[RESEND v4 2/2] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-30 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu Reviewed-by: Lucas Stach --- drivers/pci/controller/dwc/pci-imx6.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc

[RESEND v4 0/2] add one regulator used to power up pcie phy

2021-03-30 Thread Richard Zhu
Changes: Only add "Reviewed-by: Lucas Stach " in the first patch. No other changes. Make it easier to be integrated later. [RESEND v4 1/2] dt-bindings: imx6q-pcie: add one regulator used to [RESEND v4 2/2] PCI: imx: clear vreg bypass when pcie vph voltage is

[RESEND v4 1/2] dt-bindings: imx6q-pcie: add one regulator used to power up pcie phy

2021-03-30 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu Reviewed-by: Lucas Stach --- Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b

[PATCH v4 0/2] add one regulator used to power up pcie phy

2021-03-29 Thread Richard Zhu
Changes: v3 -> v4 Split the DTS changes to a standalone patch from this patch-set. And would post to Shawn to take it, after the other two are accepted by PCIe tree. Refine the DT binding descriptions refer to Lucas' suggestion. Use "Regarding" to replace the "Regarding to" in the comments refer

[PATCH] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy

2021-03-29 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu Reviewed-by: Lucas Stach --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq

[PATCH v4 2/2] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-29 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu Reviewed-by: Lucas Stach --- drivers/pci/controller/dwc/pci-imx6.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc

[PATCH v4 1/2] dt-bindings: imx6q-pcie: add one regulator used to power up pcie phy

2021-03-29 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu --- Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree/bindings

RE: Re: [PATCH v3 2/3] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy

2021-03-28 Thread Richard Zhu
> -Original Message- > From: Lucas Stach > Sent: Friday, March 26, 2021 5:40 PM > To: Richard Zhu ; andrew.smir...@gmail.com; > shawn...@kernel.org; k...@linux.com; bhelg...@google.com; > ste...@agner.ch; lorenzo.pieral...@arm.com > Cc: linux-...@vger.kernel.org; d

RE:Re: [PATCH v3 1/3] dt-bindings: imx6q-pcie: add one regulator used to power up pcie phy

2021-03-28 Thread Richard Zhu
> -Original Message- > From: Lucas Stach > Sent: Friday, March 26, 2021 5:38 PM > To: Richard Zhu ; andrew.smir...@gmail.com; > shawn...@kernel.org; k...@linux.com; bhelg...@google.com; > ste...@agner.ch; lorenzo.pieral...@arm.com > Cc: linux-...@vger.kernel.org; d

RE: Re: [PATCH v3 3/3] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-26 Thread Richard Zhu
> -Original Message- > From: Krzysztof Wilczyński > Sent: Friday, March 26, 2021 3:46 PM > To: Richard Zhu > Cc: l.st...@pengutronix.de; andrew.smir...@gmail.com; > shawn...@kernel.org; bhelg...@google.com; ste...@agner.ch; > lorenzo.pieral...@arm.com; linux-...@vger

[PATCH v3 0/3] add one regulator used to power up pcie phy

2021-03-25 Thread Richard Zhu
Changes: v2 -> v3: Refine the DT binding descriptions, and the condition adjustment in the codes. v1 -> v2: Don't use the boolean property to specify the different power supply of PCIe PHY. Use one regulator as a supply to the PCIe controller node, and the regulator APIs to get the voltage of

[PATCH v3 1/3] dt-bindings: imx6q-pcie: add one regulator used to power up pcie phy

2021-03-25 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu --- Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree/bindings

[PATCH v3 2/3] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy

2021-03-25 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index

[PATCH v3 3/3] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-25 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu --- drivers/pci/controller/dwc/pci-imx6.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index

RE: Re: [PATCH v2 1/3] dt-bindings: imx6q-pcie: add one regulator used to power up pcie phy

2021-03-24 Thread Richard Zhu
> -Original Message- > From: Lucas Stach > Sent: Wednesday, March 24, 2021 5:27 PM > To: Richard Zhu ; andrew.smir...@gmail.com; > shawn...@kernel.org; k...@linux.com; bhelg...@google.com; > ste...@agner.ch; lorenzo.pieral...@arm.com > Cc: linux-...@vger.ker

RE: [EXT] Re: [PATCH v2 3/3] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-24 Thread Richard Zhu
> -Original Message- > From: Lucas Stach > Sent: Wednesday, March 24, 2021 5:30 PM > To: Richard Zhu ; andrew.smir...@gmail.com; > shawn...@kernel.org; k...@linux.com; bhelg...@google.com; > ste...@agner.ch; lorenzo.pieral...@arm.com > Cc: linux-...@vger.ker

[PATCH v2 2/3] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy

2021-03-23 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index

[PATCH v2 0/3] add one regulator used to power up pcie phy

2021-03-23 Thread Richard Zhu
Changes: v1 --> v2: Suggested by Lucas, don't use the boolean property to specify the different power supplies to PCIe PHY. Use one regulator to power up PCIe PHY, and the regulator APIs to get the voltage of it. [PATCH v2 1/3] dt-bindings: imx6q-pcie: add one regulator used to [PATCH v2 2/3]

[PATCH v2 3/3] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-23 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu --- drivers/pci/controller/dwc/pci-imx6.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index

[PATCH v2 1/3] dt-bindings: imx6q-pcie: add one regulator used to power up pcie phy

2021-03-23 Thread Richard Zhu
. Thus, the internal 3v3 to 1v8 translator would be turned on. Signed-off-by: Richard Zhu --- Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree

RE: Re: Re: [PATCH 1/3] dt-bindings: imx6q-pcie: specify the imx8mq pcie phy voltage

2021-03-23 Thread Richard Zhu
> -Original Message- > From: Lucas Stach > Sent: Monday, March 22, 2021 8:15 PM > To: Richard Zhu ; andrew.smir...@gmail.com; > shawn...@kernel.org; k...@linux.com; bhelg...@google.com; > ste...@agner.ch; lorenzo.pieral...@arm.com > Cc: linux-...@vger.kernel.org; d

RE: Re: [PATCH 1/3] dt-bindings: imx6q-pcie: specify the imx8mq pcie phy voltage

2021-03-22 Thread Richard Zhu
> -Original Message- > From: Lucas Stach > Sent: Friday, March 19, 2021 5:49 PM > To: Richard Zhu ; andrew.smir...@gmail.com; > shawn...@kernel.org; k...@linux.com; bhelg...@google.com; > ste...@agner.ch; lorenzo.pieral...@arm.com > Cc: linux-...@vger.kernel.org; d

[PATCH 2/3] arm64: dts: add one property to specify the imx8mq pcie phy voltage

2021-03-19 Thread Richard Zhu
. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 85b045253a0e..30bcf5f583e0 100644 --- a/arch/arm64/boot/dts/freescale

[PATCH 3/3] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-19 Thread Richard Zhu
. Signed-off-by: Richard Zhu --- drivers/pci/controller/dwc/pci-imx6.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 853ea8e82952..c35d5511b55b 100644 --- a/drivers/pci/controller/dwc/pci

[PATCH 1/3] dt-bindings: imx6q-pcie: specify the imx8mq pcie phy voltage

2021-03-19 Thread Richard Zhu
. Signed-off-by: Richard Zhu --- Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt index de4b2baf91e8..23efbad9e804

[PATCH] clk: imx8mq: Correct the pcie1 sels

2021-03-15 Thread Richard Zhu
- The sys2_pll_50m should be one of the clock sels of PCIE_AUX clock. Change the sys2_pll_500m to sys2_pll_50m. - Correct one mis-spell of the imx8mq_pcie1_ctrl_sels definition, from "sys2_pll_250m" to "sys2_pll_333m". Signed-off-by: Richard Zhu --- drivers/clk/imx/clk-imx8m

[PATCH] clk: imx8mp: Remove the none exist pcie clocks

2021-03-15 Thread Richard Zhu
the none exist second PCIe related clocks. Remove the none exsits clocks IDs together. Signed-off-by: Richard Zhu Reviewed-by: Jason Liu --- drivers/clk/imx/clk-imx8mp.c | 15 --- include/dt-bindings/clock/imx8mp-clock.h | 3 --- 2 files changed, 18 deletions(-) diff

[PATCH] clk: imx8mp: Remove the none exist pcie clocks

2021-03-15 Thread Richard Zhu
the none exist second PCIe related clocks. Remove the none exsits clocks IDs together. Signed-off-by: Richard Zhu Reviewed-by: Jason Liu --- drivers/clk/imx/clk-imx8mp.c | 15 --- include/dt-bindings/clock/imx8mp-clock.h | 3 --- 2 files changed, 18 deletions(-) diff

[PATCH] clk: imx8mq: Correct the pcie1 sels

2021-03-15 Thread Richard Zhu
- The sys2_pll_50m should be one of the clock sels of PCIE_AUX clock, Change the sys2_pll_500m to sys2_pll_50m. - Correct one mis-spell of the imx8mq_pcie1_ctrl_sels definition, from "sys2_pll_250m" to "sys2_pll_333m". Signed-off-by: Richard Zhu --- drivers/clk/imx/clk-imx8m

[PATCH v2] PCI: imx6: Limit DBI register length for imx6qp PCIe

2021-02-19 Thread Richard Zhu
t resolves a similar issue on the i.MX 6Quad PCIe. Signed-off-by: Richard Zhu Reviewed-by: Lucas Stach Reviewed-by: Krzysztof Wilczyński --- drivers/pci/controller/dwc/pci-imx6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/

[PATCH] PCI: imx6: Limit DBI register length for imx6qp PCIe

2021-02-19 Thread Richard Zhu
Changes from v1 to v2: - Add reviewed by Lucas and Krzysztof. - Refine the subject and commit refer to Krzysztof comments. drivers/pci/controller/dwc/pci-imx6.c | 1 + 1 file changed, 1 insertion(+) [PATCH v2] PCI: imx6: Limit DBI register length for imx6qp PCIe

RE: [EXT] Re: [PATCH] PCI: imx6: Limit DBI register length for imx6qp pcie

2021-02-19 Thread Richard Zhu
> -Original Message- > From: Krzysztof Wilczyński > Sent: Friday, February 19, 2021 1:34 AM > To: Richard Zhu > Cc: l.st...@pengutronix.de; helg...@kernel.org; ste...@agner.ch; > lorenzo.pieral...@arm.com; linux-...@vger.kernel.org; dl-linux-imx > ; linux-arm-ker..

clk: imx8mp: Remove the none exist pcie clocks

2021-02-18 Thread Richard Zhu
[PATCH v2] clk: imx8mp: Remove the none exist pcie clocks

[PATCH v2] clk: imx8mp: Remove the none exist pcie clocks

2021-02-18 Thread Richard Zhu
the none exist second PCIe related clocks. Remove the none exsits clocks IDs together. Signed-off-by: Richard Zhu Reviewed-by: Jason Liu --- drivers/clk/imx/clk-imx8mp.c | 15 --- include/dt-bindings/clock/imx8mp-clock.h | 3 --- 2 files changed, 18 deletions(-) diff

[PATCH] clk: imx8mq: Correct the pcie aux sels

2021-02-18 Thread Richard Zhu
The sys2_pll_50m should be one of the clock sels of PCIE_AUX clock, Change the sys2_pll_500m to sys2_pll_50m. Signed-off-by: Richard Zhu --- drivers/clk/imx/clk-imx8mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk

RE: [PATCH] clk: imx8mp: Remove the none exist pcie clocks

2021-02-17 Thread Richard Zhu
> -Original Message- > From: Jacky Bai > Sent: Thursday, February 18, 2021 2:11 PM > To: Richard Zhu ; shawn...@kernel.org > Cc: dl-linux-imx ; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org; Richard Zhu > Subject: RE: [PATCH] clk: imx8mp:

[PATCH] clk: imx8mp: Remove the none exist pcie clocks

2021-02-17 Thread Richard Zhu
the none exist second PCIe related clocks. Signed-off-by: Richard Zhu Reviewed-by: Jason Liu --- drivers/clk/imx/clk-imx8mp.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c index 2f4e1d674e1c..afbeb6bf1909 100644

[PATCH] PCI: imx6: Limit DBI register length for imx6qp pcie

2021-02-17 Thread Richard Zhu
Refer to commit 075af61c19cd ("PCI: imx6: Limit DBI register length"), i.MX6QP PCIe has the similar issue. Define the length of the DBI registers and limit config space to its length for i.MX6QP PCIe too. Signed-off-by: Richard Zhu --- drivers/pci/controller/dwc/pci-imx6.c | 1 + 1 fi

RE: [PATCH] PCI: dwc: Added link up check in map_bus of dw_child_pcie_ops

2020-10-22 Thread Richard Zhu
> -Original Message- > From: Z.q. Hou > Sent: Wednesday, October 21, 2020 4:48 PM > To: Lorenzo Pieralisi ; Richard Zhu > > Cc: Kishon Vijay Abraham I ; Bjorn Helgaas > ; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; > r...@kernel.org; bhelg...@g

[PATCH] ARM: dts: imx6qp-sabresd: enable pcie

2020-08-31 Thread Richard Zhu
Set vgen3 regulator always on to power up the external oscillator, and enable PCIe on iMX6QP SABRESD board. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 1 + arch/arm/boot/dts/imx6qp-sabresd.dts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git

RE: Re: [PATCH 1/2] ARM: dts: imx6qp-sabresd: enable pcie

2020-08-31 Thread Richard Zhu
> -Original Message- > From: Lucas Stach > Sent: 2020年7月21日 16:16 > To: Richard Zhu ; bhelg...@google.com; > shawn...@kernel.org; feste...@gmail.com > Cc: linux-...@vger.kernel.org; dl-linux-imx ; > linux-arm-ker...@lists.infradead.org; linux-kernel@v

RE: [PATCH] PCI: imx6: Do not output error message when devm_clk_get() failed with -EPROBE_DEFER

2020-08-04 Thread Richard Zhu
> -Original Message- > From: Anson Huang > Sent: 2020年8月4日 13:38 > To: Richard Zhu ; l.st...@pengutronix.de; > lorenzo.pieral...@arm.com; r...@kernel.org; bhelg...@google.com; > shawn...@kernel.org; s.ha...@pengutronix.de; ker...@pengutronix.de; > fest

RE: [EXT] Re: [PATCH V3 3/3] pci: imx: Select RESET_IMX7 by default

2020-07-30 Thread Richard Zhu
> -Original Message- > From: Lorenzo Pieralisi > Sent: 2020年7月28日 18:51 > To: Anson Huang ; Richard Zhu > ; Lucas Stach > Cc: catalin.mari...@arm.com; w...@kernel.org; r...@kernel.org; > bhelg...@google.com; p.za...@pengutronix.de; shawn...@kernel.org; > s.h

RE: [EXT] Re: [PATCH 1/2] ARM: dts: imx6qp-sabresd: enable pcie

2020-07-21 Thread Richard Zhu
> -Original Message- > From: Lucas Stach > Sent: 2020年7月21日 16:16 > To: Richard Zhu ; bhelg...@google.com; > shawn...@kernel.org; feste...@gmail.com > Cc: linux-...@vger.kernel.org; dl-linux-imx ; > linux-arm-ker...@lists.infradead.org; linux-kernel@v

[PATCH 2/2] PCI: imx: add another regulator for imx pcie

2020-07-21 Thread Richard Zhu
One more regulator is required to turn on the external oscillator populated on the iMX6QP SABRESD board. Add another regulator to enable PCIe on iMX6QP SABRESD board. Signed-off-by: Richard Zhu --- drivers/pci/controller/dwc/pci-imx6.c | 22 ++ 1 file changed, 22 insertions

[PATCH 1/2] ARM: dts: imx6qp-sabresd: enable pcie

2020-07-21 Thread Richard Zhu
Add one regulator, used to power up the external oscillator, and enable PCIe on iMX6QP SABRESD board. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/imx6qp-sabresd.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qp-sabresd.dts b/arch/arm/boot

[PATCH] ARM: dts: imx6qp-sabreauto: enable pcie

2020-07-21 Thread Richard Zhu
Add the reset-gpio property, and enable PCIe on iMX6QP SABREAUTO board. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/imx6qp-sabreauto.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qp-sabreauto.dts b/arch/arm/boot/dts/imx6qp-sabreauto.dts

[PATCH] ARM: dts: imx6qp-sabreauto: enable sata

2020-07-10 Thread Richard Zhu
Enable SATA on iMX6QP SABREAUTO board. Signed-off-by: Richard Zhu Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx6qp-sabreauto.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx6qp-sabreauto.dts b/arch/arm/boot/dts/imx6qp-sabreauto.dts index d4caeeb0af70

[PATCH] ARM: dts: imx6qp-sabresd: enable sata

2020-07-10 Thread Richard Zhu
Enable SATA on iMX6QP SABRESD board. Signed-off-by: Richard Zhu Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx6qp-sabresd.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx6qp-sabresd.dts b/arch/arm/boot/dts/imx6qp-sabresd.dts index f1b9cb104fdd

RE: [EXT] Re: [PATCH] ARM: dts: imx6qp-sabreauto: enable sata on imx6qp sabreauto board

2020-07-10 Thread Richard Zhu
> -Original Message- > From: Fabio Estevam > Sent: 2020年7月9日 1:41 > To: Richard Zhu > Cc: Shawn Guo ; dl-linux-imx ; > moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE > ; linux-kernel > > Subject: [EXT] Re: [PATCH] ARM: dts: imx6qp-sabreauto: enable

RE: [EXT] Re: [PATCH] ARM: dts: imx6qdl: only enable pcie in the pcie dts file

2020-07-08 Thread Richard Zhu
> -Original Message- > From: Fabio Estevam > Sent: 2020年7月9日 1:49 > To: Richard Zhu > Cc: Shawn Guo ; dl-linux-imx ; > moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE > ; linux-kernel > > Subject: Re: [PATCH] ARM: dts: imx6qdl: only enable pcie in

[PATCH] ARM: dts: imx6qdl: only enable pcie in the pcie dts file

2020-07-06 Thread Richard Zhu
uto boards. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/Makefile | 4 arch/arm/boot/dts/imx6dl-sabreauto-pcie.dts | 12 arch/arm/boot/dts/imx6dl-sabresd-pcie.dts | 12 arch/arm/boot/dts/imx6q-sabreauto-pcie.dts | 12 arch/arm/boot

[PATCH] ARM: dts: imx6qp-sabreauto: enable sata on imx6qp sabreauto board

2020-07-03 Thread Richard Zhu
Enable SATA on iMX6QP SABREAUTO board. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/imx6qp-sabreauto.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx6qp-sabreauto.dts b/arch/arm/boot/dts/imx6qp-sabreauto.dts index d4caeeb0af70..639d9dd35377 100644

[PATCH] ARM: dts: imx6qp-sabresd: enable sata on imx6qp sabresd board

2020-07-03 Thread Richard Zhu
Enable SATA on iMX6QP SABRESD board. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/imx6qp-sabresd.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6qp-sabresd.dts b/arch/arm/boot/dts/imx6qp-sabresd.dts index f1b9cb104fdd..7e1e0aa0a475 100644 --- a/arch/arm

RE: [EXT] Re: [RESEND PATCH v5 4/4] mailbox: imx: add support for imx v1 mu

2019-10-11 Thread Richard Zhu
Hi Daniel: New version patch-set had been sent out on Oct9. https://patchwork.kernel.org/cover/11180683/ Best Regards Richard Zhu > -Original Message- > From: Richard Zhu > Sent: 2019年10月9日 9:48 > To: Daniel Baluta > Cc: jassisinghb...@gmail.com; Oleksij Rempel ;

[PATCH v6 3/4] dt-bindings: mailbox: imx-mu: add imx7ulp MU support

2019-10-09 Thread Richard Zhu
There is a version 1.0 MU on imx7ulp, use "fsl,imx7ulp-mu" compatible to support it. Signed-off-by: Richard Zhu Reviewed-by: Dong Aisheng --- Documentation/devicetree/bindings/mailbox/fsl,mu.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/m

[PATCH v6 4/4] mailbox: imx: add support for imx v1 mu

2019-10-09 Thread Richard Zhu
-off-by: Richard Zhu Suggested-by: Oleksij Rempel Reviewed-by: Dong Aisheng Reviewed-by: Oleksij Rempel Reviewed-by: Daniel Baluta --- drivers/mailbox/imx-mailbox.c | 55 ++- 1 file changed, 38 insertions(+), 17 deletions(-) diff --git a/drivers/mailbox

[PATCH v6 2/4] mailbox: imx: Clear the right interrupts at shutdown

2019-10-09 Thread Richard Zhu
From: Daniel Baluta Make sure to only clear enabled interrupts keeping count of the connection type. Suggested-by: Oleksij Rempel Signed-off-by: Daniel Baluta Signed-off-by: Richard Zhu Reviewed-by: Dong Aisheng --- drivers/mailbox/imx-mailbox.c | 15 +-- 1 file changed, 13

[PATCH v6 1/4] mailbox: imx: Fix Tx doorbell shutdown path

2019-10-09 Thread Richard Zhu
] mbox_free_channel.part.2+0x24/0xb8 [2.116453] mbox_free_channel+0x18/0x28 This bug is present from the beginning of times. Cc: Oleksij Rempel Signed-off-by: Daniel Baluta Signed-off-by: Richard Zhu Reviewed-by: Dong Aisheng --- drivers/mailbox/imx-mailbox.c | 4 +++- 1 file changed, 3

[PATCH v6 0/4] mailbox: imx: bug fix and add support for imx v1 mu

2019-10-09 Thread Richard Zhu
d-by: Oleksij Rempel tag. v1 --> v2: - Use to have the register layout linked on probe, suggested by Oleksij Rempel . - Add Reviewed-by: Dong Aisheng tag. Daniel Baluta (2): mailbox: imx: Fix Tx doorbell shutdown path mailbox: imx: Clear the right interrupts at shutdown Richard Zhu

RE: [EXT] Re: [RESEND PATCH v5 4/4] mailbox: imx: add support for imx v1 mu

2019-10-08 Thread Richard Zhu
Hi Daniel: > -Original Message- > From: Daniel Baluta > Sent: 2019年10月8日 15:26 > To: Richard Zhu > Cc: jassisinghb...@gmail.com; Oleksij Rempel ; > Daniel Baluta ; Aisheng Dong > ; dl-linux-imx ; Linux Kernel > Mailing List ; linux-arm-kernel > > Subject

[RESEND PATCH v5 2/4] mailbox: imx: Clear the right interrupts at shutdown

2019-08-04 Thread Richard Zhu
From: Daniel Baluta Make sure to only clear enabled interrupts keeping count of the connection type. Suggested-by: Oleksij Rempel Signed-off-by: Daniel Baluta Signed-off-by: Richard Zhu Reviewed-by: Dong Aisheng --- drivers/mailbox/imx-mailbox.c | 15 +-- 1 file changed, 13

[RESEND PATCH v5 3/4] dt-bindings: mailbox: imx-mu: add imx7ulp MU support

2019-08-04 Thread Richard Zhu
There is a version 1.0 MU on imx7ulp, use "fsl,imx7ulp-mu" compatible to support it. Signed-off-by: Richard Zhu Reviewed-by: Dong Aisheng --- Documentation/devicetree/bindings/mailbox/fsl,mu.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/m

[RESEND PATCH v5 4/4] mailbox: imx: add support for imx v1 mu

2019-08-04 Thread Richard Zhu
-off-by: Richard Zhu Suggested-by: Oleksij Rempel Reviewed-by: Dong Aisheng Reviewed-by: Oleksij Rempel --- drivers/mailbox/imx-mailbox.c | 55 ++- 1 file changed, 38 insertions(+), 17 deletions(-) diff --git a/drivers/mailbox/imx-mailbox.c b/drivers

[RESEND PATCH v5 1/4] mailbox: imx: Fix Tx doorbell shutdown path

2019-08-04 Thread Richard Zhu
] mbox_free_channel.part.2+0x24/0xb8 [2.116453] mbox_free_channel+0x18/0x28 This bug is present from the beginning of times. Cc: Oleksij Rempel Signed-off-by: Daniel Baluta Signed-off-by: Richard Zhu Reviewed-by: Dong Aisheng --- drivers/mailbox/imx-mailbox.c | 4 +++- 1 file changed, 3

[PATCH v5 0/4] mailbox: imx: bug fix and add support for imx v1 mu

2019-08-04 Thread Richard Zhu
e the register layout linked on probe, suggested by Oleksij Rempel . - Add Reviewed-by: Dong Aisheng tag. Daniel Baluta (2): mailbox: imx: Fix Tx doorbell shutdown path mailbox: imx: Clear the right interrupts at shutdown Richard Zhu (2): dt-bindings: mailbox: imx-mu: add imx7ulp MU support

RE: [PATCH v5 1/4] mailbox: imx: Fix Tx doorbell shutdown path

2019-08-04 Thread Richard Zhu
> -Original Message- > From: Aisheng Dong > Sent: 2019年8月5日 12:38 > To: Richard Zhu ; jassisinghb...@gmail.com; > o.rem...@pengutronix.de; Daniel Baluta > Cc: dl-linux-imx ; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; Richard Zhu > Su

[PATCH v5 0/4] mailbox: imx: bug fix and add support for imx v1 mu

2019-08-04 Thread Richard Zhu
e the register layout linked on probe, suggested by Oleksij Rempel . - Add Reviewed-by: Dong Aisheng tag. Richard Zhu (4): mailbox: imx: Fix Tx doorbell shutdown path mailbox: imx: Clear the right interrupts at shutdown dt-bindings: mailbox: imx-mu: add imx7ulp MU support mailbox: imx: add s

[PATCH v5 4/4] mailbox: imx: add support for imx v1 mu

2019-08-04 Thread Richard Zhu
-off-by: Richard Zhu Suggested-by: Oleksij Rempel Reviewed-by: Dong Aisheng Reviewed-by: Oleksij Rempel --- drivers/mailbox/imx-mailbox.c | 55 ++- 1 file changed, 38 insertions(+), 17 deletions(-) diff --git a/drivers/mailbox/imx-mailbox.c b/drivers

[PATCH v5 3/4] dt-bindings: mailbox: imx-mu: add imx7ulp MU support

2019-08-04 Thread Richard Zhu
There is a version 1.0 MU on imx7ulp, use "fsl,imx7ulp-mu" compatible to support it. Signed-off-by: Richard Zhu --- Documentation/devicetree/bindings/mailbox/fsl,mu.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.txt b/Doc

[PATCH v5 2/4] mailbox: imx: Clear the right interrupts at shutdown

2019-08-04 Thread Richard Zhu
Make sure to only clear enabled interrupts keeping count of the connection type. Suggested-by: Oleksij Rempel Signed-off-by: Daniel Baluta Signed-off-by: Richard Zhu --- drivers/mailbox/imx-mailbox.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH v5 1/4] mailbox: imx: Fix Tx doorbell shutdown path

2019-08-04 Thread Richard Zhu
.2+0x24/0xb8 [2.116453] mbox_free_channel+0x18/0x28 This bug is present from the beginning of times. Cc: Oleksij Rempel Signed-off-by: Daniel Baluta Signed-off-by: Richard Zhu --- drivers/mailbox/imx-mailbox.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v4 1/2] dt-bindings: mailbox: imx-mu: add imx7ulp MU support

2019-08-02 Thread Richard Zhu
There is a version 1.0 MU on imx7ulp, use "fsl,imx7ulp-mu" compatible to support it. Signed-off-by: Richard Zhu --- Documentation/devicetree/bindings/mailbox/fsl,mu.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.txt b/Doc

[PATCH v4 2/2] mailbox: imx: add support for imx v1 mu

2019-08-02 Thread Richard Zhu
-off-by: Richard Zhu Suggested-by: Oleksij Rempel Reviewed-by: Dong Aisheng Reviewed-by: Oleksij Rempel --- drivers/mailbox/imx-mailbox.c | 55 ++- 1 file changed, 38 insertions(+), 17 deletions(-) diff --git a/drivers/mailbox/imx-mailbox.c b/drivers

[PATCH v4 0/2] mailbox: imx: add support for imx v1 mu

2019-08-02 Thread Richard Zhu
Rempel . - Add Reviewed-by: Dong Aisheng tag. Richard Zhu (2): dt-bindings: mailbox: imx-mu: add imx7ulp MU support mailbox: imx: add support for imx v1 mu .../devicetree/bindings/mailbox/fsl,mu.txt | 2 + drivers/mailbox/imx-mailbox.c | 55 +++-

RE: [EXT] Re: [PATCH v3] mailbox: imx: add support for imx v1 mu

2019-08-01 Thread Richard Zhu
> -Original Message- > From: Daniel Baluta > Sent: 2019年8月1日 22:47 > To: Richard Zhu > Cc: jassisinghb...@gmail.com; Oleksij Rempel ; > Aisheng Dong ; Linux Kernel Mailing List > ; linux-arm-kernel > ; dl-linux-imx > Subject: [EXT] Re: [PATCH v3] mailbox: imx

[PATCH v3] mailbox: imx: add support for imx v1 mu

2019-07-31 Thread Richard Zhu
-off-by: Richard Zhu Suggested-by: Oleksij Rempel Reviewed-by: Dong Aisheng Reviewed-by: Oleksij Rempel --- Change logs: v2 --> v3: - Format the patch-set refer to Oleksij's guidance. - Init the register array by a simple way recommended by Oleksij. - Add Reviewed-by: Oleksij Rempel

[PATCH v3] mailbox: imx: add support for imx v1 mu

2019-07-29 Thread Richard Zhu
-off-by: Richard Zhu Suggested-by: Oleksij Rempel Reviewed-by: Dong Aisheng Reviewed-by: Oleksij Rempel --- drivers/mailbox/imx-mailbox.c | 55 ++- 1 file changed, 38 insertions(+), 17 deletions(-) diff --git a/drivers/mailbox/imx-mailbox.c b/drivers

[PATCH v3] mailbox: imx: add support for imx v1 mu

2019-07-29 Thread Richard Zhu
- Add Reviewed-by: Dong Aisheng tag. Richard Zhu (1): mailbox: imx: add support for imx v1 mu drivers/mailbox/imx-mailbox.c | 55 ++- 1 file changed, 38 insertions(+), 17 deletions(-) -- 2.7.4

RE: [EXT] Re: [PATCH] mailbox: imx: add support for imx v1 mu

2019-07-29 Thread Richard Zhu
> -Original Message- > From: Oleksij Rempel > Sent: 2019年7月29日 16:38 > To: Richard Zhu > Cc: jassisinghb...@gmail.com; Aisheng Dong ; > linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: [EXT] Re: [PATCH] mailbox: imx: add support for imx

[v2] mailbox: imx: add support for imx v1 mu

2019-07-28 Thread Richard Zhu
-off-by: Richard Zhu Suggested-by: Oleksij Rempel Reviewed-by: Dong Aisheng --- drivers/mailbox/imx-mailbox.c | 67 --- 1 file changed, 50 insertions(+), 17 deletions(-) diff --git a/drivers/mailbox/imx-mailbox.c b/drivers/mailbox/imx-mailbox.c index

[v2] mailbox: imx: add support for imx v1 mu

2019-07-28 Thread Richard Zhu
Changes: v1 --> v2: - Use to have the register layout linked on probe, suggested by Oleksij Rempel . - Add the Reviewed-by: Dong Aisheng tag. [v2] mailbox: imx: add support for imx v1 mu --- drivers/mailbox/imx-mailbox.c | 67 --- 1 file changed, 50

RE: [EXT] Re: [PATCH] mailbox: imx: add support for imx v1 mu

2019-07-28 Thread Richard Zhu
> -Original Message- > From: Dong Aisheng > Sent: 2019年7月29日 11:11 > To: Richard Zhu > Cc: jassisinghb...@gmail.com; Oleksij Rempel ; > Aisheng Dong ; open list > ; moderated list:ARM/FREESCALE IMX / MXC > ARM ARCHITECTURE > Subject: Re: [EXT] Re: [PATCH

RE: [EXT] Re: [PATCH] mailbox: imx: add support for imx v1 mu

2019-07-28 Thread Richard Zhu
Hi Aisheng: Thanks for your comments. > -Original Message- > From: Dong Aisheng > Sent: 2019年7月29日 10:35 > To: Richard Zhu > Cc: jassisinghb...@gmail.com; Oleksij Rempel ; > Aisheng Dong ; open list > ; moderated list:ARM/FREESCALE IMX / MXC > ARM ARCHITECT

[PATCH] mailbox: imx: add support for imx v1 mu

2019-07-28 Thread Richard Zhu
-off-by: Richard Zhu --- drivers/mailbox/imx-mailbox.c | 67 --- 1 file changed, 50 insertions(+), 17 deletions(-) diff --git a/drivers/mailbox/imx-mailbox.c b/drivers/mailbox/imx-mailbox.c index 25be8bb..8423a38 100644 --- a/drivers/mailbox/imx-mailbox.c

RE: [EXT] Re: [RFC] mailbox: imx: Add support for i.MX v1 messaging unit

2019-07-26 Thread Richard Zhu
Hi Oleksij: Thanks for your comments. > -Original Message- > From: Oleksij Rempel > Sent: 2019年7月26日 17:17 > To: Richard Zhu > Cc: jassisinghb...@gmail.com; Aisheng Dong ; > linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [RFC] mail

[RFC] mailbox: imx: Add support for i.MX v1 messaging unit

2019-07-26 Thread Richard Zhu
-off-by: Richard Zhu --- drivers/mailbox/imx-mailbox.c | 45 +-- 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/drivers/mailbox/imx-mailbox.c b/drivers/mailbox/imx-mailbox.c index 25be8bb..eb55bbe 100644 --- a/drivers/mailbox/imx-mailbox.c

RE: [RFC 0/7] cpuidle: Add poking mechanism to support non-IPI wakeup

2019-03-29 Thread Richard Zhu
> -Original Message- > From: Aisheng Dong > Sent: 2019年3月28日 19:21 > To: Marc Zyngier ; Leonard Crestez > ; l.st...@pengutronix.de; Richard Zhu > ; Jacky Bai > Cc: Fabio Estevam ; Cosmin Samoila > ; Robin Gong ; Mircea Pop > ; Daniel Baluta ; >

RE: [RFC 2/2] PCI: imx6: Add support for i.MX8QM/QXP PCIe

2019-03-15 Thread Richard Zhu
Hi Andrey: > -Original Message- > From: Andrey Smirnov [mailto:andrew.smir...@gmail.com] > Sent: 2019年3月15日 10:18 > To: Richard Zhu > Cc: bhelg...@google.com; lorenzo.pieral...@arm.com; > l.st...@pengutronix.de; linux-...@vger.kernel.org; > linux-arm-ker...@lists

RE: [RFC 1/2] dt-bindings: imx6q-pcie: Add support for i.MX8QM/QXP PCIe

2019-03-14 Thread Richard Zhu
Hi Lucas: Thanks for your reivew. > -Original Message- > From: Lucas Stach [mailto:l.st...@pengutronix.de] > Sent: 2019年3月14日 17:31 > To: Richard Zhu ; bhelg...@google.com; > lorenzo.pieral...@arm.com; andrew.smir...@gmail.com > Cc: linux-...@vger.kernel.

RE: [RFC 2/2] PCI: imx6: Add support for i.MX8QM/QXP PCIe

2019-03-14 Thread Richard Zhu
Hi Andrey: Thanks a lot for your review comments. Best Regards Richard Zhu Office: 86-21-28937189 Mobile: 86-13386059786 > -Original Message- > From: Andrey Smirnov [mailto:andrew.smir...@gmail.com] > Sent: 2019年3月14日 4:20 > To: Richard Zhu > Cc: bhelg...@google.com;

[RFC 2/2] PCI: imx6: Add support for i.MX8QM/QXP PCIe

2019-03-13 Thread Richard Zhu
can be used as PCIe reference clock. - clock request GPIO for controlling the PCI reference clock request signal. And should be configure OD when L1SS maybe enabled later. - One more power domain HSIO_GPIO and clock PCIE_PER are required by i.MX8QM/QXP PCIe. Signed-off-by: Richard Zhu

[RFC 1/2] dt-bindings: imx6q-pcie: Add support for i.MX8QM/QXP PCIe

2019-03-13 Thread Richard Zhu
HSIO_GPIO and clock PCIE_PER are required by i.MX8QM/QXP PCIe. Add these specific properties to enable i.MX8QM/QXP PCIe. Signed-off-by: Richard Zhu --- .../devicetree/bindings/pci/fsl,imx6q-pcie.txt | 21 + 1 file changed, 21 insertions(+) diff --git a/Documentation

[v6] PCI: imx: make msi work without CONFIG_PCIEPORTBUS=y

2018-12-20 Thread Richard Zhu
ts use MSI. Fixes: f3fdfc4ac3a2 ("PCI: Remove host driver Kconfig selection of CONFIG_PCIEPORTBUS") Signed-off-by: Richard Zhu Reviewed-by: Lucas Stach Tested-by: Sven Van Asbroeck Acked-by: Lorenzo Pieralisi --- Changes v1 -> v2: * Assert the MSI_EN unconditionally when MSI i

RE: [v5] PCI: imx: make msi work without CONFIG_PCIEPORTBUS=y

2018-12-20 Thread Richard Zhu
Hi Lorenzo: > -Original Message- > From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] > Sent: 2018年12月20日 22:50 > To: Richard Zhu > Cc: bhelg...@google.com; l.st...@pengutronix.de; > andrew.smir...@gmail.com; linux-...@vger.kernel.org; > linux-arm-ker..

RE: [v4] PCI: imx: make msi work without CONFIG_PCIEPORTBUS=y

2018-12-19 Thread Richard Zhu
Hi Bjorn: > -Original Message- > From: Lucas Stach [mailto:l.st...@pengutronix.de] > Sent: 2018年12月19日 23:52 > To: Bjorn Helgaas ; Richard Zhu > > Cc: Lorenzo Pieralisi ; Andrew Smirnov > ; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; linux-arm-ke

  1   2   >