[PATCH v6 1/2] dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller

2021-01-14 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe bindings for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Reviewed-by: Rob Herring Signed-off-by: Hongtao Wu --- .../devicetree/bindings/pci/sprd-pcie.yaml | 93 ++ 1 file changed, 93 insertions(+) create

[PATCH v6 0/2] PCI: Add new Unisoc PCIe driver

2021-01-14 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Changes from v1: 1) Test this patch on top of Rob Herring's 40 part series of DWC clean-ups: https://lore.kernel.org/linux-pci/20200821035420.380495-1-r...@kernel.org/ 2

[PATCH v6 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2021-01-14 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Hongtao Wu --- drivers/pci/controller/dwc/Kconfig | 12 ++ drivers/pci/controller/dwc/Makefile| 1 + drivers/pci/controller/dwc/pcie-sprd.c | 293

Re: [RESEND PATCH v5 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2021-01-14 Thread Hongtao Wu
On Thu, Jan 14, 2021 at 9:06 PM Leon Romanovsky wrote: > > On Thu, Jan 14, 2021 at 08:00:50PM +0800, Hongtao Wu wrote: > > On Thu, Jan 14, 2021 at 4:52 PM Leon Romanovsky wrote: > > > > > > On Thu, Jan 14, 2021 at 04:29:28PM +0800, Hongtao Wu w

Re: [RESEND PATCH v5 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2021-01-14 Thread Hongtao Wu
On Thu, Jan 14, 2021 at 4:52 PM Leon Romanovsky wrote: > > On Thu, Jan 14, 2021 at 04:29:28PM +0800, Hongtao Wu wrote: > > From: Hongtao Wu > > > > This series adds PCIe controller driver for Unisoc SoCs. > > This controller is based on DesignWare PCIe IP. >

Re: [RESEND PATCH v5 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2021-01-14 Thread Hongtao Wu
On Thu, Jan 14, 2021 at 4:52 PM Leon Romanovsky wrote: > > On Thu, Jan 14, 2021 at 04:29:28PM +0800, Hongtao Wu wrote: > > From: Hongtao Wu > > > > This series adds PCIe controller driver for Unisoc SoCs. > > This controller is based on DesignWare PCIe IP. >

[RESEND PATCH v5 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2021-01-14 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Hongtao Wu --- drivers/pci/controller/dwc/Kconfig | 12 ++ drivers/pci/controller/dwc/Makefile| 1 + drivers/pci/controller/dwc/pcie-sprd.c | 293

[RESEND PATCH v5 1/2] dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller

2021-01-14 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe bindings for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Reviewed-by: Rob Herring Signed-off-by: Hongtao Wu --- .../devicetree/bindings/pci/sprd-pcie.yaml | 93 ++ 1 file changed, 93 insertions(+) create

[RESEND PATCH v5 0/2] PCI: Add new Unisoc PCIe driver

2021-01-14 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Changes from v1: 1) Test this patch on top of Rob Herring's 40 part series of DWC clean-ups: https://lore.kernel.org/linux-pci/20200821035420.380495-1-r...@kernel.org/ 2

[PATCH v5 1/2] dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller

2020-12-31 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe bindings for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Hongtao Wu --- .../devicetree/bindings/pci/sprd-pcie.yaml | 93 ++ 1 file changed, 93 insertions(+) create mode 100644 Documentation

[PATCH v5 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2020-12-31 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Hongtao Wu --- drivers/pci/controller/dwc/Kconfig | 12 ++ drivers/pci/controller/dwc/Makefile| 1 + drivers/pci/controller/dwc/pcie-sprd.c | 293

[PATCH v5 0/2] PCI: Add new Unisoc PCIe driver

2020-12-31 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Changes from v1: 1) Test this patch on top of Rob Herring's 40 part series of DWC clean-ups: https://lore.kernel.org/linux-pci/20200821035420.380495-1-r...@kernel.org/ 2

[PATCH v4 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2020-12-27 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Hongtao Wu --- drivers/pci/controller/dwc/Kconfig | 12 ++ drivers/pci/controller/dwc/Makefile| 1 + drivers/pci/controller/dwc/pcie-sprd.c | 293

[PATCH v4 1/2] dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller

2020-12-27 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe bindings for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Hongtao Wu --- .../devicetree/bindings/pci/sprd-pcie.yaml | 91 ++ 1 file changed, 91 insertions(+) create mode 100644 Documentation

[PATCH v4 0/2] PCI: Add new Unisoc PCIe driver

2020-12-27 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Changes from v1: 1) Test this patch on top of Rob Herring's 40 part series of DWC clean-ups: https://lore.kernel.org/linux-pci/20200821035420.380495-1-r...@kernel.org/ 2

Re: [PATCH v3 1/2] dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller

2020-09-17 Thread Hongtao Wu
On Wed, Sep 16, 2020 at 1:25 AM Rob Herring wrote: > > On Wed, Sep 09, 2020 at 05:48:31PM +0800, Hongtao Wu wrote: > > From: Hongtao Wu > > > > This series adds PCIe bindings for Unisoc SoCs. > > This controller is based on DesignWare PCIe IP. >

Re: [PATCH v3 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2020-09-17 Thread Hongtao Wu
Hi Bob, Thanks for the review. On Wed, Sep 16, 2020 at 1:31 AM Rob Herring wrote: > > On Wed, Sep 09, 2020 at 05:48:32PM +0800, Hongtao Wu wrote: > > From: Hongtao Wu > > > > This series adds PCIe controller driver for Unisoc SoCs. > > This controller

[PATCH v3 0/2] PCI: Add new Unisoc PCIe driver

2020-09-09 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Changes from v1: 1) Test this patch on top of Rob Herring's 40 part series of DWC clean-ups: https://lore.kernel.org/linux-pci/20200821035420.380495-1-r...@kernel.org/ 2

[PATCH v3 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2020-09-09 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Hongtao Wu --- drivers/pci/controller/dwc/Kconfig | 13 ++ drivers/pci/controller/dwc/Makefile| 1 + drivers/pci/controller/dwc/pcie-sprd.c | 231

[PATCH v3 1/2] dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller

2020-09-09 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe bindings for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Hongtao Wu --- .../devicetree/bindings/pci/sprd-pcie.yaml | 101 + 1 file changed, 101 insertions(+) create mode 100644 Documentation

[PATCH v2 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2020-09-08 Thread Hongtao Wu
From: Billows Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Billows Wu --- drivers/pci/controller/dwc/Kconfig | 13 ++ drivers/pci/controller/dwc/Makefile| 1 + drivers/pci/controller/dwc/pcie-sprd.c | 231

[PATCH v2 1/2] dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller

2020-09-08 Thread Hongtao Wu
From: Billows Wu This series adds PCIe bindings for Unisoc SoCs. This controller is based on Designware PCIe IP. Signed-off-by: Billows Wu --- .../devicetree/bindings/pci/sprd-pcie.yaml | 101 + 1 file changed, 101 insertions(+) create mode 100644

[PATCH v2 0/2] PCI: Add new Unisoc PCIe driver

2020-09-08 Thread Hongtao Wu
From: Billows Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Changes from v1: 1) Test this patch on top of Rob Herring's 40 part series of DWC clean-ups: https://lore.kernel.org/linux-pci/20200821035420.380495-1-r...@kernel.org/

[PATCH 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2020-08-21 Thread Hongtao Wu
From: Billows Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Billows Wu --- drivers/pci/controller/dwc/Kconfig | 12 ++ drivers/pci/controller/dwc/Makefile| 1 + drivers/pci/controller/dwc/pcie-sprd.c | 256

[PATCH 0/2] PCI: Add new Unisoc PCIe driver

2020-08-21 Thread Hongtao Wu
From: Billows Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Billows Wu (2): dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller PCI: sprd: Add support for Unisoc SoCs' PCIe controller

[PATCH 1/2] dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller

2020-08-21 Thread Hongtao Wu
From: Billows Wu This series adds PCIe bindings for Uisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Billows Wu --- .../devicetree/bindings/pci/sprd-pcie.yaml | 88 ++ 1 file changed, 88 insertions(+) create mode 100644

Re: [RFC PATCH v3 1/3] mmc: sprd: Add MMC host driver for Spreadtrum SoC

2015-10-09 Thread Hongtao Wu
On Thu, Oct 8, 2015 at 9:54 PM, Ulf Hansson wrote: > [...] > >>> Thanks for clarifying! >>> >>> You have some differences towards the "standard" sdhci variant, but >>> that doesn't mean you should go off and implement a new driver from >>> scratch, instead you should create a new sdhci variant

Re: [RFC PATCH v3 1/3] mmc: sprd: Add MMC host driver for Spreadtrum SoC

2015-10-09 Thread Hongtao Wu
On Thu, Oct 8, 2015 at 9:54 PM, Ulf Hansson wrote: > [...] > >>> Thanks for clarifying! >>> >>> You have some differences towards the "standard" sdhci variant, but >>> that doesn't mean you should go off and implement a new driver from >>> scratch, instead you should

Re: [RFC PATCH v3 1/3] mmc: sprd: Add MMC host driver for Spreadtrum SoC

2015-10-08 Thread Hongtao Wu
On Tue, Oct 6, 2015 at 5:18 PM, Ulf Hansson wrote: > +Russell > > On 28 September 2015 at 09:18, Hongtao Wu wrote: >>>> >> >> On Thu, Sep 10, 2015 at 9:28 PM, Ulf Hansson wrote: >>> >>> On 14 August 2015 at 18:55, Hongtao Wu wrote: >>

Re: [RFC PATCH v3 1/3] mmc: sprd: Add MMC host driver for Spreadtrum SoC

2015-10-08 Thread Hongtao Wu
On Tue, Oct 6, 2015 at 5:18 PM, Ulf Hansson <ulf.hans...@linaro.org> wrote: > +Russell > > On 28 September 2015 at 09:18, Hongtao Wu <wuh...@gmail.com> wrote: >>>> >> >> On Thu, Sep 10, 2015 at 9:28 PM, Ulf Hansson <ulf.hans...@linaro.org> wrote:

[RFC PATCH v3 0/3] Add MMC host driver for Spreadtrum SoC

2015-08-14 Thread Hongtao Wu
This patch adds MMC host driver for Spreadtrum SoC. The following coding style may be not meet kernel coding style. I am not sure this kind of coding style is better or worse. 1) A macro that represent some bits of a register is added a prefix "__", for example: #define

[RFC PATCH v3 1/3] mmc: sprd: Add MMC host driver for Spreadtrum SoC

2015-08-14 Thread Hongtao Wu
the Spreadtrum MMC host driver is used to supply EMMC, SD, and SDIO types of memory cards Signed-off-by: Billows Wu(WuHongtao) --- drivers/mmc/host/Kconfig |6 + drivers/mmc/host/Makefile |1 + drivers/mmc/host/sprd_sdhost.c | 1202

[RFC PATCH v3 3/3] DT: Add MMC nodes in Spreadtrum DT files.

2015-08-14 Thread Hongtao Wu
The MMC nodes is used to supply device nodes for Spreadtrum MMC driver. Signed-off-by: Billows Wu(WuHongtao) --- arch/arm64/boot/dts/sprd/sc9836-openphone.dts | 24 ++ arch/arm64/boot/dts/sprd/sharkl64.dtsi| 44 + 2 files changed, 68 insertions(+)

[RFC PATCH v3 2/3] Documentation: Add Spreadtrum MMC DT bindings.

2015-08-14 Thread Hongtao Wu
The bindings is used to interpret Spreadtrum MMC dts file. Signed-off-by: Billows Wu(WuHongtao) --- Documentation/devicetree/bindings/mmc/sprd-mmc.txt | 46 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sprd-mmc.txt diff --git

[RFC PATCH v3 1/3] mmc: sprd: Add MMC host driver for Spreadtrum SoC

2015-08-14 Thread Hongtao Wu
the Spreadtrum MMC host driver is used to supply EMMC, SD, and SDIO types of memory cards Signed-off-by: Billows Wu(WuHongtao) wuh...@gmail.com --- drivers/mmc/host/Kconfig |6 + drivers/mmc/host/Makefile |1 + drivers/mmc/host/sprd_sdhost.c | 1202

[RFC PATCH v3 0/3] Add MMC host driver for Spreadtrum SoC

2015-08-14 Thread Hongtao Wu
This patch adds MMC host driver for Spreadtrum SoC. The following coding style may be not meet kernel coding style. I am not sure this kind of coding style is better or worse. 1) A macro that represent some bits of a register is added a prefix __, for example: #define SDHOST_16_HOST_CTRL_2

[RFC PATCH v3 2/3] Documentation: Add Spreadtrum MMC DT bindings.

2015-08-14 Thread Hongtao Wu
The bindings is used to interpret Spreadtrum MMC dts file. Signed-off-by: Billows Wu(WuHongtao) wuh...@gmail.com --- Documentation/devicetree/bindings/mmc/sprd-mmc.txt | 46 1 file changed, 46 insertions(+) create mode 100644

[RFC PATCH v3 3/3] DT: Add MMC nodes in Spreadtrum DT files.

2015-08-14 Thread Hongtao Wu
The MMC nodes is used to supply device nodes for Spreadtrum MMC driver. Signed-off-by: Billows Wu(WuHongtao) wuh...@gmail.com --- arch/arm64/boot/dts/sprd/sc9836-openphone.dts | 24 ++ arch/arm64/boot/dts/sprd/sharkl64.dtsi| 44 + 2 files changed,