Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-17 Thread Cyrille Pitchen
Hi Yogesh, Tudor, Le 17/10/2018 à 04:07, Yogesh Narayan Gaur a écrit : > Hi Tudor, > >> -Original Message----- >> From: Cyrille Pitchen [mailto:cyrille.pitc...@wedev4u.fr] >> Sent: Tuesday, October 16, 2018 10:04 PM >> To: Tudor Ambarus ; Yogesh Narayan Gaur >

Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-17 Thread Cyrille Pitchen
Hi Yogesh, Tudor, Le 17/10/2018 à 04:07, Yogesh Narayan Gaur a écrit : > Hi Tudor, > >> -Original Message----- >> From: Cyrille Pitchen [mailto:cyrille.pitc...@wedev4u.fr] >> Sent: Tuesday, October 16, 2018 10:04 PM >> To: Tudor Ambarus ; Yogesh Narayan Gaur >

Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-16 Thread Cyrille Pitchen
Hi Tudor, Le 16/10/2018 à 17:14, Tudor Ambarus a écrit : > Hi, Yogesh, > > On 10/16/2018 12:51 PM, Yogesh Narayan Gaur wrote: >> Hi Tudor, >> >> This patch is breaking the 1-4-4 Read protocol for the spansion flash >> "s25fl512s". >> >> Without this patch read request command for Quad mode,

Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-16 Thread Cyrille Pitchen
Hi Tudor, Le 16/10/2018 à 17:14, Tudor Ambarus a écrit : > Hi, Yogesh, > > On 10/16/2018 12:51 PM, Yogesh Narayan Gaur wrote: >> Hi Tudor, >> >> This patch is breaking the 1-4-4 Read protocol for the spansion flash >> "s25fl512s". >> >> Without this patch read request command for Quad mode,

Re: [RFC/RFT PATCH v1 9/9] mtd: spi: Skip reading the Serial Flash Discoverable Parameters

2018-09-28 Thread Cyrille Pitchen
Hi Lukasz, Le 27/09/2018 à 00:07, Lukasz Majewski a écrit : > The fsl-quadspi.c driver is not supporting SPINOR_OP_RDSFDP (0x5a) > read opcode - in the legacy driver we do read some garbage > data from AHB mapped area and then return on the first check If your controller reads garbage then

Re: [RFC/RFT PATCH v1 9/9] mtd: spi: Skip reading the Serial Flash Discoverable Parameters

2018-09-28 Thread Cyrille Pitchen
Hi Lukasz, Le 27/09/2018 à 00:07, Lukasz Majewski a écrit : > The fsl-quadspi.c driver is not supporting SPINOR_OP_RDSFDP (0x5a) > read opcode - in the legacy driver we do read some garbage > data from AHB mapped area and then return on the first check If your controller reads garbage then

Re: [PATCH 1/3] mtd: spi-nor: add Global Block Unlock support

2018-07-25 Thread Cyrille Pitchen
by Anurag Kumar Vulisha: > https://patchwork.kernel.org/patch/7611271/ > > Signed-off-by: Tudor Ambarus Reviewed-by: Cyrille Pitchen Best regards, Cyrille > --- > drivers/mtd/spi-nor/spi-nor.c | 21 + > include/linux/mtd/spi-nor.h | 1 + > 2 files c

Re: [PATCH 1/3] mtd: spi-nor: add Global Block Unlock support

2018-07-25 Thread Cyrille Pitchen
by Anurag Kumar Vulisha: > https://patchwork.kernel.org/patch/7611271/ > > Signed-off-by: Tudor Ambarus Reviewed-by: Cyrille Pitchen Best regards, Cyrille > --- > drivers/mtd/spi-nor/spi-nor.c | 21 + > include/linux/mtd/spi-nor.h | 1 + > 2 files c

Re: [PATCH] add support to non-uniform SFDP SPI NOR flash memories

2018-06-08 Thread Cyrille Pitchen
Hi Tudor, Le 08/06/2018 à 15:48, Tudor Ambarus a écrit : > The commit message became wall-of-text, my feeling is that I heavily > reworked the code so I changed the author. If someone thinks differently, > please say and I'll change back to the initial authorship. What I've done: It's obvious

Re: [PATCH] add support to non-uniform SFDP SPI NOR flash memories

2018-06-08 Thread Cyrille Pitchen
Hi Tudor, Le 08/06/2018 à 15:48, Tudor Ambarus a écrit : > The commit message became wall-of-text, my feeling is that I heavily > reworked the code so I changed the author. If someone thinks differently, > please say and I'll change back to the initial authorship. What I've done: It's obvious

Re: [PATCH] MAINTAINERS: update maintainers for MTD and SPI NOR subsystems

2018-03-18 Thread Cyrille Pitchen
Hi Marek, Le 18/03/2018 à 00:41, Marek Vasut a écrit : > On 03/15/2018 08:04 PM, Cyrille Pitchen wrote: >> remove myself as MTD and SPI NOR maintainer. >> >> Signed-off-by: Cyrille Pitchen <cyrille.pitc...@wedev4u.fr> > > What happened ? > Nothing to worry. S

Re: [PATCH] MAINTAINERS: update maintainers for MTD and SPI NOR subsystems

2018-03-18 Thread Cyrille Pitchen
Hi Marek, Le 18/03/2018 à 00:41, Marek Vasut a écrit : > On 03/15/2018 08:04 PM, Cyrille Pitchen wrote: >> remove myself as MTD and SPI NOR maintainer. >> >> Signed-off-by: Cyrille Pitchen > > What happened ? > Nothing to worry. Since I was hired for a new job,

[PATCH] MAINTAINERS: update maintainers for MTD and SPI NOR subsystems

2018-03-15 Thread Cyrille Pitchen
remove myself as MTD and SPI NOR maintainer. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@wedev4u.fr> --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3bdc260e36b7..7892db9a9494 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9037,7 +

[PATCH] MAINTAINERS: update maintainers for MTD and SPI NOR subsystems

2018-03-15 Thread Cyrille Pitchen
remove myself as MTD and SPI NOR maintainer. Signed-off-by: Cyrille Pitchen --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3bdc260e36b7..7892db9a9494 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9037,7 +9037,6 @@ M:Brian Norris M

[PATCH v6 00/11] PCI: Add support to the Cadence PCIe controller

2018-01-30 Thread Cyrille Pitchen
- remove cdns_pcie_ep_stop() function and rework cdns_pcie_ep_start() function Cyrille Pitchen (10): PCI: Regroup all PCI related entries into drivers/pci/Makefile PCI: OF: Add generic function to parse and allocate PCI resources PCI: generic: fix missing call of pci_free_resource_list

[PATCH v6 00/11] PCI: Add support to the Cadence PCIe controller

2018-01-30 Thread Cyrille Pitchen
- remove cdns_pcie_ep_stop() function and rework cdns_pcie_ep_start() function Cyrille Pitchen (10): PCI: Regroup all PCI related entries into drivers/pci/Makefile PCI: OF: Add generic function to parse and allocate PCI resources PCI: generic: fix missing call of pci_free_resource_list

[PATCH v6 08/11] PCI: endpoint: Add the function number as argument to EPC ops

2018-01-30 Thread Cyrille Pitchen
This patch updates the prototype of most handlers from 'struct pci_epc_ops' so the EPC library can now support multi-function devices. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/dwc/pcie-designware-ep.c | 20 + drivers/pci/en

[PATCH v6 08/11] PCI: endpoint: Add the function number as argument to EPC ops

2018-01-30 Thread Cyrille Pitchen
This patch updates the prototype of most handlers from 'struct pci_epc_ops' so the EPC library can now support multi-function devices. Signed-off-by: Cyrille Pitchen --- drivers/pci/dwc/pcie-designware-ep.c | 20 + drivers/pci/endpoint/functions/pci-epf-test.c | 41

Re: [PATCH v5 00/11] PCI: Add support to the Cadence PCIe controller

2018-01-30 Thread Cyrille Pitchen
Hi Lorenzo, Bjorn, Le 30/01/2018 à 12:41, Lorenzo Pieralisi a écrit : > On Sun, Jan 28, 2018 at 03:47:41PM -0600, Bjorn Helgaas wrote: >> On Sun, Jan 28, 2018 at 09:40:14PM +0100, Cyrille Pitchen wrote: >>> Hi all, >>> >>> this series of patches adds su

Re: [PATCH v5 00/11] PCI: Add support to the Cadence PCIe controller

2018-01-30 Thread Cyrille Pitchen
Hi Lorenzo, Bjorn, Le 30/01/2018 à 12:41, Lorenzo Pieralisi a écrit : > On Sun, Jan 28, 2018 at 03:47:41PM -0600, Bjorn Helgaas wrote: >> On Sun, Jan 28, 2018 at 09:40:14PM +0100, Cyrille Pitchen wrote: >>> Hi all, >>> >>> this series of patches adds su

[PATCH v6 11/11] PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller

2018-01-30 Thread Cyrille Pitchen
-cadence.c and used by both the host and endpoint controller drivers. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- MAINTAINERS | 2 +- drivers/pci/Kconfig | 1 + drivers/pci/Ma

[PATCH v6 11/11] PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller

2018-01-30 Thread Cyrille Pitchen
-cadence.c and used by both the host and endpoint controller drivers. Signed-off-by: Cyrille Pitchen --- MAINTAINERS | 2 +- drivers/pci/Kconfig | 1 + drivers/pci/Makefile | 1 + drivers/pci

[PATCH v6 02/11] PCI: OF: Add generic function to parse and allocate PCI resources

2018-01-30 Thread Cyrille Pitchen
The patch moves the gen_pci_parse_request_of_pci_ranges() function from drivers/pci/host/pci-host-common.c into drivers/pci/of.c to easily share common source code between PCI host drivers. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/host/pci-host-co

[PATCH v6 02/11] PCI: OF: Add generic function to parse and allocate PCI resources

2018-01-30 Thread Cyrille Pitchen
The patch moves the gen_pci_parse_request_of_pci_ranges() function from drivers/pci/host/pci-host-common.c into drivers/pci/of.c to easily share common source code between PCI host drivers. Signed-off-by: Cyrille Pitchen --- drivers/pci/host/pci-host-common.c | 49

[PATCH v6 01/11] PCI: Regroup all PCI related entries into drivers/pci/Makefile

2018-01-30 Thread Cyrille Pitchen
add another comment to explain why obj-y has been chosen instead of obj-$(CONFIG_PCIE_DW) to parse the dwc/ sub-folder. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/Makefile | 5 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile

[PATCH v6 01/11] PCI: Regroup all PCI related entries into drivers/pci/Makefile

2018-01-30 Thread Cyrille Pitchen
add another comment to explain why obj-y has been chosen instead of obj-$(CONFIG_PCIE_DW) to parse the dwc/ sub-folder. Signed-off-by: Cyrille Pitchen --- drivers/Makefile | 5 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile | 13 ++--- drivers/pci/dwc/Makefile

[PATCH v6 03/11] PCI: generic: fix missing call of pci_free_resource_list()

2018-01-30 Thread Cyrille Pitchen
Call pci_free_resource_list() from pci_host_common_probe() when probing fails, as done inside gen_pci_init() when this later function fails. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/host/pci-host-common.c | 1 + 1 file changed, 1 insertion(+)

[PATCH v6 03/11] PCI: generic: fix missing call of pci_free_resource_list()

2018-01-30 Thread Cyrille Pitchen
Call pci_free_resource_list() from pci_host_common_probe() when probing fails, as done inside gen_pci_init() when this later function fails. Signed-off-by: Cyrille Pitchen --- drivers/pci/host/pci-host-common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/host/pci-host

[PATCH v6 04/11] PCI: Add generic function to probe PCI host controllers

2018-01-30 Thread Cyrille Pitchen
a useless dependency to PCI_HOST_COMMON, which selects PCI_ECAM when not needed by most host controller drivers. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/host/pci-host-common.c | 22 +- drivers/pci/probe.c

[PATCH v6 04/11] PCI: Add generic function to probe PCI host controllers

2018-01-30 Thread Cyrille Pitchen
a useless dependency to PCI_HOST_COMMON, which selects PCI_ECAM when not needed by most host controller drivers. Signed-off-by: Cyrille Pitchen --- drivers/pci/host/pci-host-common.c | 22 +- drivers/pci/probe.c| 33 + include/linux

[PATCH v6 10/11] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe endpoint controller

2018-01-30 Thread Cyrille Pitchen
This patch documents the DT bindings for the Cadence PCIe controller when configured in endpoint mode. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> Reviewed-by: Rob Herring <r...@kernel.org> --- .../devicetree/bindings/pci/cdns,cdns-pcie-

[PATCH v6 10/11] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe endpoint controller

2018-01-30 Thread Cyrille Pitchen
This patch documents the DT bindings for the Cadence PCIe controller when configured in endpoint mode. Signed-off-by: Cyrille Pitchen Reviewed-by: Rob Herring --- .../devicetree/bindings/pci/cdns,cdns-pcie-ep.txt | 22 ++ 1 file changed, 22 insertions(+) create mode

[PATCH v6 09/11] PCI: endpoint: Fix EPF device name to support multi-function devices

2018-01-30 Thread Cyrille Pitchen
Fix the pci_epf_make() function so it can now bind many EPF devices to the same EPF driver. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/endpoint/pci-ep-cfs.c | 46 +-- 1 file changed, 44 insertions(+), 2 del

[PATCH v6 09/11] PCI: endpoint: Fix EPF device name to support multi-function devices

2018-01-30 Thread Cyrille Pitchen
Fix the pci_epf_make() function so it can now bind many EPF devices to the same EPF driver. Signed-off-by: Cyrille Pitchen --- drivers/pci/endpoint/pci-ep-cfs.c | 46 +-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/drivers/pci/endpoint/pci

[PATCH v6 07/11] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-30 Thread Cyrille Pitchen
This patch adds support to the Cadence PCIe controller in host mode. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- MAINTAINERS | 7 + drivers/pci/host/Kconfig | 10 + drivers/pci/host/Makefile| 1 + drivers/pc

[PATCH v6 07/11] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-30 Thread Cyrille Pitchen
This patch adds support to the Cadence PCIe controller in host mode. Signed-off-by: Cyrille Pitchen --- MAINTAINERS | 7 + drivers/pci/host/Kconfig | 10 + drivers/pci/host/Makefile| 1 + drivers/pci/host/pcie-cadence-host.c | 397

[PATCH v6 06/11] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe host controller

2018-01-30 Thread Cyrille Pitchen
From: Scott Telford <stelf...@cadence.com> This patch adds documentation for the DT bindings of the Cadence PCIe controller when configured in host (Root Complex) mode. Signed-off-by: Scott Telford <stelf...@cadence.com> Signed-off-by: Cyrille Pitchen <cyrille.pitc...@fre

[PATCH v6 06/11] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe host controller

2018-01-30 Thread Cyrille Pitchen
From: Scott Telford This patch adds documentation for the DT bindings of the Cadence PCIe controller when configured in host (Root Complex) mode. Signed-off-by: Scott Telford Signed-off-by: Cyrille Pitchen Reviewed-by: Rob Herring --- .../bindings/pci/cdns,cdns-pcie-host.txt | 60

[PATCH v6 05/11] PCI: Add vendor ID for Cadence

2018-01-30 Thread Cyrille Pitchen
This patch adds a new PCI vendor ID for Cadence. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index ab20dc5db423..eb13e84e1fef

[PATCH v6 05/11] PCI: Add vendor ID for Cadence

2018-01-30 Thread Cyrille Pitchen
This patch adds a new PCI vendor ID for Cadence. Signed-off-by: Cyrille Pitchen --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index ab20dc5db423..eb13e84e1fef 100644 --- a/include/linux/pci_ids.h +++ b/include

[PATCH v5 05/11] PCI: Add vendor ID for Cadence

2018-01-28 Thread Cyrille Pitchen
This patch adds a new PCI vendor ID for Cadence. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index ab20dc5db423..eb13e84e1fef

[PATCH v5 05/11] PCI: Add vendor ID for Cadence

2018-01-28 Thread Cyrille Pitchen
This patch adds a new PCI vendor ID for Cadence. Signed-off-by: Cyrille Pitchen --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index ab20dc5db423..eb13e84e1fef 100644 --- a/include/linux/pci_ids.h +++ b/include

[PATCH v5 01/11] PCI: Regroup all PCI related entries into drivers/pci/Makefile

2018-01-28 Thread Cyrille Pitchen
add another comment to explain why obj-y has been chosen instead of obj-$(CONFIG_PCIE_DW) to parse the dwc/ sub-folder. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/Makefile | 5 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile

[PATCH v5 01/11] PCI: Regroup all PCI related entries into drivers/pci/Makefile

2018-01-28 Thread Cyrille Pitchen
add another comment to explain why obj-y has been chosen instead of obj-$(CONFIG_PCIE_DW) to parse the dwc/ sub-folder. Signed-off-by: Cyrille Pitchen --- drivers/Makefile | 5 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile | 13 ++--- drivers/pci/dwc/Makefile

[PATCH v5 04/11] PCI: Add generic function to probe PCI host controllers

2018-01-28 Thread Cyrille Pitchen
a useless dependency to PCI_HOST_COMMON, which selects PCI_ECAM when not needed by most host controller drivers. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/host/pci-host-common.c | 22 +- drivers/pci/probe.c

[PATCH v5 00/11] PCI: Add support to the Cadence PCIe controller

2018-01-28 Thread Cyrille Pitchen
rivers. - fix DT bindings examples - remove useless init of the primary, secondary and sub-ordinate bus numbers in the PCI configuration space of the root port. - remove cdns_pcie_ep_stop() function and rework cdns_pcie_ep_start() function Cyrille Pitchen (10): PCI: Regroup all PCI related

[PATCH v5 04/11] PCI: Add generic function to probe PCI host controllers

2018-01-28 Thread Cyrille Pitchen
a useless dependency to PCI_HOST_COMMON, which selects PCI_ECAM when not needed by most host controller drivers. Signed-off-by: Cyrille Pitchen --- drivers/pci/host/pci-host-common.c | 22 +- drivers/pci/probe.c| 33 + include/linux

[PATCH v5 00/11] PCI: Add support to the Cadence PCIe controller

2018-01-28 Thread Cyrille Pitchen
rivers. - fix DT bindings examples - remove useless init of the primary, secondary and sub-ordinate bus numbers in the PCI configuration space of the root port. - remove cdns_pcie_ep_stop() function and rework cdns_pcie_ep_start() function Cyrille Pitchen (10): PCI: Regroup all PCI related

[PATCH v5 03/11] PCI: generic: fix missing call of pci_free_resource_list()

2018-01-28 Thread Cyrille Pitchen
Call pci_free_resource_list() from pci_host_common_probe() when probing fails, as done inside gen_pci_init() when this later function fails. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/host/pci-host-common.c | 1 + 1 file changed, 1 insertion(+)

[PATCH v5 03/11] PCI: generic: fix missing call of pci_free_resource_list()

2018-01-28 Thread Cyrille Pitchen
Call pci_free_resource_list() from pci_host_common_probe() when probing fails, as done inside gen_pci_init() when this later function fails. Signed-off-by: Cyrille Pitchen --- drivers/pci/host/pci-host-common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/host/pci-host

[PATCH v5 09/11] PCI: endpoint: Fix EPF device name to support multi-function devices

2018-01-28 Thread Cyrille Pitchen
Fix the pci_epf_make() function so it can now bind many EPF devices to the same EPF driver. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/endpoint/pci-ep-cfs.c | 46 +-- 1 file changed, 44 insertions(+), 2 del

[PATCH v5 11/11] PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller

2018-01-28 Thread Cyrille Pitchen
-cadence.c and used by both the host and endpoint controller drivers. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- MAINTAINERS | 2 +- drivers/pci/Kconfig | 1 + drivers/pci/Ma

[PATCH v5 09/11] PCI: endpoint: Fix EPF device name to support multi-function devices

2018-01-28 Thread Cyrille Pitchen
Fix the pci_epf_make() function so it can now bind many EPF devices to the same EPF driver. Signed-off-by: Cyrille Pitchen --- drivers/pci/endpoint/pci-ep-cfs.c | 46 +-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/drivers/pci/endpoint/pci

[PATCH v5 11/11] PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller

2018-01-28 Thread Cyrille Pitchen
-cadence.c and used by both the host and endpoint controller drivers. Signed-off-by: Cyrille Pitchen --- MAINTAINERS | 2 +- drivers/pci/Kconfig | 1 + drivers/pci/Makefile | 1 + drivers/pci

[PATCH v5 06/11] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe host controller

2018-01-28 Thread Cyrille Pitchen
From: Scott Telford <stelf...@cadence.com> This patch adds documentation for the DT bindings of the Cadence PCIe controller when configured in host (Root Complex) mode. Signed-off-by: Scott Telford <stelf...@cadence.com> Signed-off-by: Cyrille Pitchen <cyrille.pitc...@fre

[PATCH v5 06/11] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe host controller

2018-01-28 Thread Cyrille Pitchen
From: Scott Telford This patch adds documentation for the DT bindings of the Cadence PCIe controller when configured in host (Root Complex) mode. Signed-off-by: Scott Telford Signed-off-by: Cyrille Pitchen Reviewed-by: Rob Herring --- .../bindings/pci/cdns,cdns-pcie-host.txt | 60

[PATCH v5 02/11] PCI: OF: Add generic function to parse and allocate PCI resources

2018-01-28 Thread Cyrille Pitchen
The patch moves the gen_pci_parse_request_of_pci_ranges() function from drivers/pci/host/pci-host-common.c into drivers/pci/of.c to easily share common source code between PCI host drivers. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/host/pci-host-co

[PATCH v5 08/11] PCI: endpoint: Add the function number as argument to EPC ops

2018-01-28 Thread Cyrille Pitchen
This patch updates the prototype of most handlers from 'struct pci_epc_ops' so the EPC library can now support multi-function devices. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/dwc/pcie-designware-ep.c | 20 + drivers/pci/en

[PATCH v5 02/11] PCI: OF: Add generic function to parse and allocate PCI resources

2018-01-28 Thread Cyrille Pitchen
The patch moves the gen_pci_parse_request_of_pci_ranges() function from drivers/pci/host/pci-host-common.c into drivers/pci/of.c to easily share common source code between PCI host drivers. Signed-off-by: Cyrille Pitchen --- drivers/pci/host/pci-host-common.c | 49

[PATCH v5 08/11] PCI: endpoint: Add the function number as argument to EPC ops

2018-01-28 Thread Cyrille Pitchen
This patch updates the prototype of most handlers from 'struct pci_epc_ops' so the EPC library can now support multi-function devices. Signed-off-by: Cyrille Pitchen --- drivers/pci/dwc/pcie-designware-ep.c | 20 + drivers/pci/endpoint/functions/pci-epf-test.c | 41

[PATCH v5 10/11] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe endpoint controller

2018-01-28 Thread Cyrille Pitchen
This patch documents the DT bindings for the Cadence PCIe controller when configured in endpoint mode. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> Reviewed-by: Rob Herring <r...@kernel.org> --- .../devicetree/bindings/pci/cdns,cdns-pcie-

[PATCH v5 10/11] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe endpoint controller

2018-01-28 Thread Cyrille Pitchen
This patch documents the DT bindings for the Cadence PCIe controller when configured in endpoint mode. Signed-off-by: Cyrille Pitchen Reviewed-by: Rob Herring --- .../devicetree/bindings/pci/cdns,cdns-pcie-ep.txt | 22 ++ 1 file changed, 22 insertions(+) create mode

[PATCH v5 07/11] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-28 Thread Cyrille Pitchen
This patch adds support to the Cadence PCIe controller in host mode. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- MAINTAINERS | 7 + drivers/pci/host/Kconfig | 10 + drivers/pci/host/Makefile| 1 + drivers/pc

[PATCH v5 07/11] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-28 Thread Cyrille Pitchen
This patch adds support to the Cadence PCIe controller in host mode. Signed-off-by: Cyrille Pitchen --- MAINTAINERS | 7 + drivers/pci/host/Kconfig | 10 + drivers/pci/host/Makefile| 1 + drivers/pci/host/pcie-cadence-host.c | 397

Re: [PATCH v4 0/7] PCI: Add support to the Cadence PCIe controller

2018-01-21 Thread Cyrille Pitchen
Le 18/01/2018 à 23:52, Cyrille Pitchen a écrit : > Hi all, > > this series of patches adds support to the Cadence PCIe controller. > It was tested on a ARM64 platform emulated by a Palladium running the > pci-next kernel. > > The host mode was tested with some P

Re: [PATCH v4 0/7] PCI: Add support to the Cadence PCIe controller

2018-01-21 Thread Cyrille Pitchen
Le 18/01/2018 à 23:52, Cyrille Pitchen a écrit : > Hi all, > > this series of patches adds support to the Cadence PCIe controller. > It was tested on a ARM64 platform emulated by a Palladium running the > pci-next kernel. > > The host mode was tested with some P

Re: [PATCH v3 6/6] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-18 Thread Cyrille Pitchen
Hi Lorenzo Le 16/01/2018 à 17:07, Lorenzo Pieralisi a écrit : > On Wed, Jan 10, 2018 at 11:47:35PM +0100, Cyrille Pitchen wrote: >> This patch adds support to the Cadence PCIe controller in host mode. >> >> Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com

Re: [PATCH v3 6/6] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-18 Thread Cyrille Pitchen
Hi Lorenzo Le 16/01/2018 à 17:07, Lorenzo Pieralisi a écrit : > On Wed, Jan 10, 2018 at 11:47:35PM +0100, Cyrille Pitchen wrote: >> This patch adds support to the Cadence PCIe controller in host mode. >> >> Signed-off-by: Cyrille Pitchen >> --- >> MAINTAINERS

Re: [PATCH v3 6/6] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-18 Thread Cyrille Pitchen
Hi Kishon, Le 16/01/2018 à 12:16, Kishon Vijay Abraham I a écrit : > Hi Cyrille, > > On Thursday 11 January 2018 04:17 AM, Cyrille Pitchen wrote: >> This patch adds support to the Cadence PCIe controller in host mode. >> >> Signed-off-by: Cyrille Pitchen <cyri

Re: [PATCH v3 6/6] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-18 Thread Cyrille Pitchen
Hi Kishon, Le 16/01/2018 à 12:16, Kishon Vijay Abraham I a écrit : > Hi Cyrille, > > On Thursday 11 January 2018 04:17 AM, Cyrille Pitchen wrote: >> This patch adds support to the Cadence PCIe controller in host mode. >> >> Signed-off-by: Cyrille Pitc

[PATCH v4 0/7] PCI: Add support to the Cadence PCIe controller

2018-01-18 Thread Cyrille Pitchen
ate bus numbers in the PCI configuration space of the root port. - remove cdns_pcie_ep_stop() function and rework cdns_pcie_ep_start() function Cyrille Pitchen (6): PCI: Regroup all PCI related entries into drivers/pci/Makefile PCI: OF: Add generic function to parse and allocate PCI resources PC

[PATCH v4 0/7] PCI: Add support to the Cadence PCIe controller

2018-01-18 Thread Cyrille Pitchen
ate bus numbers in the PCI configuration space of the root port. - remove cdns_pcie_ep_stop() function and rework cdns_pcie_ep_start() function Cyrille Pitchen (6): PCI: Regroup all PCI related entries into drivers/pci/Makefile PCI: OF: Add generic function to parse and allocate PCI resources PC

[PATCH v4 7/7] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-18 Thread Cyrille Pitchen
This patch adds support to the Cadence PCIe controller in host mode. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- MAINTAINERS | 7 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile| 1 + d

[PATCH v4 7/7] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-18 Thread Cyrille Pitchen
This patch adds support to the Cadence PCIe controller in host mode. Signed-off-by: Cyrille Pitchen --- MAINTAINERS | 7 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile| 1 + drivers/pci/cadence/Kconfig

[PATCH v4 4/7] PCI: Add generic function to probe PCI host controllers

2018-01-18 Thread Cyrille Pitchen
a useless dependency to PCI_HOST_COMMON, which selects PCI_ECAM when not needed by most host controller drivers. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/host/pci-host-common.c | 22 +- drivers/pci/probe.c

[PATCH v4 4/7] PCI: Add generic function to probe PCI host controllers

2018-01-18 Thread Cyrille Pitchen
a useless dependency to PCI_HOST_COMMON, which selects PCI_ECAM when not needed by most host controller drivers. Signed-off-by: Cyrille Pitchen --- drivers/pci/host/pci-host-common.c | 22 +- drivers/pci/probe.c| 33 + include/linux

[PATCH v4 3/7] PCI: generic: fix missing call of pci_free_resource_list()

2018-01-18 Thread Cyrille Pitchen
Call pci_free_resource_list() from pci_host_common_probe() when probing fails, as done inside gen_pci_init() when this later function fails. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/host/pci-host-common.c | 1 + 1 file changed, 1 insertion(+)

[PATCH v4 5/7] PCI: Add vendor ID for Cadence

2018-01-18 Thread Cyrille Pitchen
This patch adds a new PCI vendor ID for Cadence. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index ab20dc5db423..eb13e84e1fef

[PATCH v4 3/7] PCI: generic: fix missing call of pci_free_resource_list()

2018-01-18 Thread Cyrille Pitchen
Call pci_free_resource_list() from pci_host_common_probe() when probing fails, as done inside gen_pci_init() when this later function fails. Signed-off-by: Cyrille Pitchen --- drivers/pci/host/pci-host-common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/host/pci-host

[PATCH v4 5/7] PCI: Add vendor ID for Cadence

2018-01-18 Thread Cyrille Pitchen
This patch adds a new PCI vendor ID for Cadence. Signed-off-by: Cyrille Pitchen --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index ab20dc5db423..eb13e84e1fef 100644 --- a/include/linux/pci_ids.h +++ b/include

[PATCH v4 2/7] PCI: OF: Add generic function to parse and allocate PCI resources

2018-01-18 Thread Cyrille Pitchen
The patch moves the gen_pci_parse_request_of_pci_ranges() function from drivers/pci/host/pci-host-common.c into drivers/pci/of.c to easily share common source code between PCI host drivers. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/pci/host/pci-host-co

[PATCH v4 2/7] PCI: OF: Add generic function to parse and allocate PCI resources

2018-01-18 Thread Cyrille Pitchen
The patch moves the gen_pci_parse_request_of_pci_ranges() function from drivers/pci/host/pci-host-common.c into drivers/pci/of.c to easily share common source code between PCI host drivers. Signed-off-by: Cyrille Pitchen --- drivers/pci/host/pci-host-common.c | 49

[PATCH v4 6/7] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe host controller

2018-01-18 Thread Cyrille Pitchen
From: Scott Telford <stelf...@cadence.com> This patch adds documentation for the DT bindings of the Cadence PCIe controller when configured in host (Root Complex) mode. Signed-off-by: Scott Telford <stelf...@cadence.com> Signed-off-by: Cyrille Pitchen <cyrille.pitc...@fre

[PATCH v4 6/7] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe host controller

2018-01-18 Thread Cyrille Pitchen
From: Scott Telford This patch adds documentation for the DT bindings of the Cadence PCIe controller when configured in host (Root Complex) mode. Signed-off-by: Scott Telford Signed-off-by: Cyrille Pitchen Reviewed-by: Rob Herring --- .../bindings/pci/cdns,cdns-pcie-host.txt | 60

[PATCH v4 1/7] PCI: Regroup all PCI related entries into drivers/pci/Makefile

2018-01-18 Thread Cyrille Pitchen
add another comment to explain why obj-y has been chosen instead of obj-$(CONFIG_PCIE_DW) to parse the dwc/ sub-folder. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/Makefile | 5 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile

[PATCH v4 1/7] PCI: Regroup all PCI related entries into drivers/pci/Makefile

2018-01-18 Thread Cyrille Pitchen
add another comment to explain why obj-y has been chosen instead of obj-$(CONFIG_PCIE_DW) to parse the dwc/ sub-folder. Signed-off-by: Cyrille Pitchen --- drivers/Makefile | 5 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile | 13 ++--- drivers/pci/dwc/Makefile

Re: [PATCH v3 3/6] PCI: Add generic function to probe PCI host controllers

2018-01-18 Thread Cyrille Pitchen
Hi Lorenzo, Le 16/01/2018 à 16:25, Lorenzo Pieralisi a écrit : > On Wed, Jan 10, 2018 at 11:47:32PM +0100, Cyrille Pitchen wrote: >> This patchs moves generic source code from >> drivers/pci/host/pci-host-common.c into drivers/pci/probe.c. >> >> Indeed the extracted li

Re: [PATCH v3 3/6] PCI: Add generic function to probe PCI host controllers

2018-01-18 Thread Cyrille Pitchen
Hi Lorenzo, Le 16/01/2018 à 16:25, Lorenzo Pieralisi a écrit : > On Wed, Jan 10, 2018 at 11:47:32PM +0100, Cyrille Pitchen wrote: >> This patchs moves generic source code from >> drivers/pci/host/pci-host-common.c into drivers/pci/probe.c. >> >> Indeed the extracted li

Re: [PATCH] mtd: mtk-nor: modify functions' name more generally

2018-01-14 Thread Cyrille Pitchen
Le 18/12/2017 à 02:47, Guochun Mao a écrit : > Since more and more Mediatek's SoC can use this driver to > control spi-nor flash, functions' name with "mt8173_" is > no longer properly. Replacing "mt8173_" with "mtk_" will > be more accurate to describe these functions' usable scope. > >

Re: [PATCH] mtd: mtk-nor: modify functions' name more generally

2018-01-14 Thread Cyrille Pitchen
Le 18/12/2017 à 02:47, Guochun Mao a écrit : > Since more and more Mediatek's SoC can use this driver to > control spi-nor flash, functions' name with "mt8173_" is > no longer properly. Replacing "mt8173_" with "mtk_" will > be more accurate to describe these functions' usable scope. > >

[PATCH v3 4/6] PCI: Add vendor ID for Cadence

2018-01-10 Thread Cyrille Pitchen
This patch adds a new PCI vendor ID for Cadence. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index ab20dc5db423..eb13e84e1fef

[PATCH v3 4/6] PCI: Add vendor ID for Cadence

2018-01-10 Thread Cyrille Pitchen
This patch adds a new PCI vendor ID for Cadence. Signed-off-by: Cyrille Pitchen --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index ab20dc5db423..eb13e84e1fef 100644 --- a/include/linux/pci_ids.h +++ b/include

[PATCH v3 1/6] PCI: Regroup all PCI related entries into drivers/pci/Makefile

2018-01-10 Thread Cyrille Pitchen
add another comment to explain why obj-y has been chosen instead of obj-$(CONFIG_PCIE_DW) to parse the dwc/ sub-folder. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- drivers/Makefile | 5 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile

[PATCH v3 1/6] PCI: Regroup all PCI related entries into drivers/pci/Makefile

2018-01-10 Thread Cyrille Pitchen
add another comment to explain why obj-y has been chosen instead of obj-$(CONFIG_PCIE_DW) to parse the dwc/ sub-folder. Signed-off-by: Cyrille Pitchen --- drivers/Makefile | 5 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile | 13 ++--- drivers/pci/dwc/Makefile

[PATCH v3 6/6] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-10 Thread Cyrille Pitchen
This patch adds support to the Cadence PCIe controller in host mode. Signed-off-by: Cyrille Pitchen <cyrille.pitc...@free-electrons.com> --- MAINTAINERS | 7 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile| 1 + d

[PATCH v3 3/6] PCI: Add generic function to probe PCI host controllers

2018-01-10 Thread Cyrille Pitchen
a useless dependency to PCI_HOST_COMMON, which selects PCI_ECAM when not needed by most host controller drivers. We also add a missing call of pci_free_resource_list() from pci_host_common_probe() when probing fails, as done inside gen_pci_init() when this later function fails. Signed-off-by: Cyrille

[PATCH v3 6/6] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-10 Thread Cyrille Pitchen
This patch adds support to the Cadence PCIe controller in host mode. Signed-off-by: Cyrille Pitchen --- MAINTAINERS | 7 + drivers/pci/Kconfig | 1 + drivers/pci/Makefile| 1 + drivers/pci/cadence/Kconfig

[PATCH v3 3/6] PCI: Add generic function to probe PCI host controllers

2018-01-10 Thread Cyrille Pitchen
a useless dependency to PCI_HOST_COMMON, which selects PCI_ECAM when not needed by most host controller drivers. We also add a missing call of pci_free_resource_list() from pci_host_common_probe() when probing fails, as done inside gen_pci_init() when this later function fails. Signed-off-by: Cyrille

[PATCH v3 5/6] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe host controller

2018-01-10 Thread Cyrille Pitchen
From: Scott Telford <stelf...@cadence.com> This patch adds documentation for the DT bindings of the Cadence PCIe controller when configured in host (Root Complex) mode. Signed-off-by: Scott Telford <stelf...@cadence.com> Signed-off-by: Cyrille Pitchen <cyrille.pitc...@fre

[PATCH v3 0/6] PCI: Add support to the Cadence PCIe controller

2018-01-10 Thread Cyrille Pitchen
s - add more comments in both drivers. - fix DT bindings examples - remove useless init of the primary, secondary and sub-ordinate bus numbers in the PCI configuration space of the root port. - remove cdns_pcie_ep_stop() function and rework cdns_pcie_ep_start() function Cyrille Pitchen (5): PCI: Reg

  1   2   3   4   5   6   7   8   9   10   >