[PATCH] PCI: rcar (usb): DT can override default window settings

2015-11-03 Thread Phil Edworthy
If the dtb specifies dma-ranges, we use those values. Otherwise, we default to the values that were previously hardcoded into the driver. Signed-off-by: Phil Edworthy <phil.edwor...@renesas.com> --- .../devicetree/bindings/pci/pci-rcar-gen2.txt | 6 ++ drivers/pci/host/pci-rcar-

[PATCH 3/3] PCI: pcie-rcar: Add support for R-Car H3.

2015-11-02 Thread Phil Edworthy
From: Harunobu Kurokawa R-Car H3 device is r8a7795 Signed-off-by: Harunobu Kurokawa --- Documentation/devicetree/bindings/pci/rcar-pci.txt | 3 ++- drivers/pci/host/pcie-rcar.c | 1 + 2 files changed, 3

RE: [PATCH v3] phy: rcar-gen2 usb: Add Host/Function switching for USB0

2015-07-13 Thread Phil Edworthy
Hi Sergei, On 10 July 2015 17:36, Sergei wrote: Hello. On 07/07/2015 02:55 PM, Phil Edworthy wrote: Instead of statically selecting the PHY connection to either the USBHS (Function) or PCI0 (Host) IP blocks, this change allows the dts to specifiy gpio pins for the vbus and id signals

RE: [PATCH v3] phy: rcar-gen2 usb: Add Host/Function switching for USB0

2015-07-13 Thread Phil Edworthy
Hi Sergei, On 13 July 2015 11:17, Sergei wrote: Hello. On 7/13/2015 12:04 PM, Phil Edworthy wrote: Instead of statically selecting the PHY connection to either the USBHS (Function) or PCI0 (Host) IP blocks, this change allows the dts to specifiy gpio pins for the vbus and id signals

RE: [PATCH v3] phy: rcar-gen2 usb: Add Host/Function switching for USB0

2015-07-13 Thread Phil Edworthy
Hi Sergei, On 13 July 2015 17:37, Sergei wrote: On 07/13/2015 06:02 PM, Phil Edworthy wrote: Instead of statically selecting the PHY connection to either the USBHS (Function) or PCI0 (Host) IP blocks, this change allows the dts to specifiy gpio pins for the vbus and id signals

RE: [PATCH v3] phy: rcar-gen2 usb: Add Host/Function switching for USB0

2015-07-13 Thread Phil Edworthy
Hi Sergei, On 13 July 2015 18:10, Sergei wrote: On 07/13/2015 07:55 PM, Phil Edworthy wrote: Instead of statically selecting the PHY connection to either the USBHS (Function) or PCI0 (Host) IP blocks, this change allows the dts to specifiy gpio pins for the vbus and id signals

RE: [PATCH v2] phy: rcar-gen2 usb: Add Host/Function switching for USB0

2015-07-07 Thread Phil Edworthy
Hi Shimoda-san, On 06 July 2015 08:18, Shimoda-san wrote: Hi Phil-san, Thank you very much for the patch! Sent: Thursday, July 02, 2015 5:06 PM snip +/* VBUS change IRQ handler */ +static irqreturn_t gpio_vbus_irq(int irq, void *data) +{ + struct rcar_gen2_channel *channel =

[PATCH v3] phy: rcar-gen2 usb: Add Host/Function switching for USB0

2015-07-07 Thread Phil Edworthy
. Note: the R-Car USB PHY only allows this Host/Function switching on channel 0. This has been tested on a r8a7791 based Koelsch board, which uses a MAX3355 device to supply vbus power when needed. Signed-off-by: Phil Edworthy phil.edwor...@renesas.com --- v3: - Do not call

[PATCH v4] ARM: shmobile: koelsch: make USB0 perform Host/Function switching

2015-07-07 Thread Phil Edworthy
Both USB Host (pci0) and Function (USBHS) drivers are enabled. The USB PHY driver determines which IP block should be connected based on vbus and id signals read via gpios. Note that switch SW5 and SW6 on Koelsch board needs to be set to position 3 for this to work. Signed-off-by: Phil Edworthy

[PATCH v2] phy: rcar-gen2 usb: Add Host/Function switching for USB0

2015-07-02 Thread Phil Edworthy
. Note: the R-Car USB PHY only allows this Host/Function switching on channel 0. This has been tested on a r8a7791 based Koelsch board, which uses a MAX3355 device to supply vbus power when needed. Signed-off-by: Phil Edworthy phil.edwor...@renesas.com --- Tested with patch usb: renesas_usbhs: Allow

RE: [PATCH v2] arm: koelsch: make USB0 perform Host/Function switching

2015-07-02 Thread Phil Edworthy
Hi Sergei. On 02 July 2015 12:32, Sergei wrote: Hello. On 7/2/2015 11:14 AM, Phil Edworthy wrote: Both USB Host (pci0) and Function (USBHS) drivers are enabled. The USB PHY driver determines which IP block should be connected based on vbus and id signals read via gpios. Note

RE: [PATCH v10 07/10] OF: Introduce helper function for getting PCI domain_nr

2014-09-11 Thread Phil Edworthy
Hi, On 10 September 2014 19:20, Arnd wrote: On Tuesday 09 September 2014 12:20:54 Catalin Marinas wrote: We can assume that if a domain is not specified and there is a single top level PCIe node, the domain defaults to 0. Are there any arm32 platforms that require multiple domains (and

[PATCH v8 3/3] dt-bindings: pci: rcar pcie device tree bindings

2014-05-12 Thread Phil Edworthy
This patch adds the bindings for the R-Car PCIe driver. The driver resides under drivers/pci/host/pcie-rcar.c Signed-off-by: Phil Edworthy phil.edwor...@renesas.com Reviewed-by: Lucas Stach l.st...@pengutronix.de v8: - Split interrupt bindings into separate cells - Add explicit bus number

RE: [PATCH v2] mmc: add a driver for the Renesas usdhi6rol0 SD/SDIO host controller

2014-05-06 Thread Phil Edworthy
Hi Guennadi, On 03 May 2014 10:09, Guennadi wrote: On Mon, 28 Apr 2014, Phil Edworthy wrote: Hi Guennadi, On 26 April 2014 13:06, Guennadi wrote: Subject: [PATCH v2] mmc: add a driver for the Renesas usdhi6rol0 SD/SDIO host controller This patch adds a driver for the Renesas

RE: [PATCH v2] mmc: add a driver for the Renesas usdhi6rol0 SD/SDIO host controller

2014-04-28 Thread Phil Edworthy
Hi Guennadi, On 26 April 2014 13:06, Guennadi wrote: Subject: [PATCH v2] mmc: add a driver for the Renesas usdhi6rol0 SD/SDIO host controller This patch adds a driver for the Renesas usdhi6rol0 SD/SDIO host controller in both PIO and DMA modes. ... +static void

[PATCH v7 05/10] dt-bindings: pci: rcar pcie device tree bindings

2014-03-31 Thread Phil Edworthy
This patch adds the bindings for the R-Car PCIe driver. The driver resides under drivers/pci/host/pcie-rcar.c Signed-off-by: Phil Edworthy phil.edwor...@renesas.com v7: - Change binding description of clocks to 'clock specifiers' v6: - Correct DT bindings description for reg and clocks v5

Re: [PATCH v6 05/10] dt-bindings: pci: rcar pcie device tree bindings

2014-03-27 Thread Phil . Edworthy
Hi Sergei, On: 27/03/2014 11:08, Sergei wrote: Subject: Re: [PATCH v6 05/10] dt-bindings: pci: rcar pcie device tree bindings Hello. On 27-03-2014 13:26, Phil Edworthy wrote: This patch adds the bindings for the R-Car PCIe driver. The driver resides under drivers/pci/host/pcie

[PATCH v6 05/10] dt-bindings: pci: rcar pcie device tree bindings

2014-03-27 Thread Phil Edworthy
This patch adds the bindings for the R-Car PCIe driver. The driver resides under drivers/pci/host/pcie-rcar.c Signed-off-by: Phil Edworthy phil.edwor...@renesas.com v6: - Correct DT bindings description for reg and clocks v5: - Add PCIe bus clock reference - Add additional interrupt bindings

Re: [PATCH v5 5/9] dt-bindings: pci: rcar pcie device tree bindings

2014-03-26 Thread Phil . Edworthy
Hi Sergei, On: 25/03/2014 19:22, Sergei wrote: Subject: Re: [PATCH v5 5/9] dt-bindings: pci: rcar pcie device tree bindings Hello. On 03/25/2014 07:56 PM, Phil Edworthy wrote: This patch adds the bindings for the R-Car PCIe driver. The driver resides under drivers/pci/host/pcie

Re: [PATCH v5 1/4] pci: APM X-Gene PCIe controller driver

2014-03-25 Thread Phil . Edworthy
Hi Tanmay, On: 19/03/2014 23:15, Tanmay wrote: Subject: [PATCH v5 1/4] pci: APM X-Gene PCIe controller driver Sent by: linux-pci-ow...@vger.kernel.org This patch adds the AppliedMicro X-Gene SOC PCIe controller driver. X-Gene PCIe controller supports maximum up to 8 lanes and GEN3 speed.

[PATCH v5 5/9] dt-bindings: pci: rcar pcie device tree bindings

2014-03-25 Thread Phil Edworthy
This patch adds the bindings for the R-Car PCIe driver. The driver resides under drivers/pci/host/pcie-rcar.c Signed-off-by: Phil Edworthy phil.edwor...@renesas.com --- v5: - Add PCIe bus clock reference - Add additional interrupt bindings - Use dma-ranges property to specify inbound memory

Re: [PATCH v4 5/9] dt-bindings: pci: rcar pcie device tree bindings

2014-03-24 Thread Phil . Edworthy
+ schrieb phil.edwor...@renesas.com: Hi Lucas, On 21/03/2014 11:24, Lucas wrote: Subject: Re: [PATCH v4 5/9] dt-bindings: pci: rcar pcie device tree bindings Am Freitag, den 21.03.2014, 10:32 + schrieb Phil Edworthy: This patch adds the bindings for the rcar

Re: [PATCH v4 5/9] dt-bindings: pci: rcar pcie device tree bindings

2014-03-24 Thread Phil . Edworthy
/9] dt-bindings: pci: rcar pcie device tree bindings Am Freitag, den 21.03.2014, 10:32 + schrieb Phil Edworthy: This patch adds the bindings for the rcar PCIE driver. The driver resides under drivers/pci/host/pcie-rcar.c Signed-off-by: Phil Edworthy phil.edwor...@renesas.com

Re: [PATCH v4 5/9] dt-bindings: pci: rcar pcie device tree bindings

2014-03-24 Thread Phil . Edworthy
Freitag, den 21.03.2014, 14:18 + schrieb phil.edwor...@renesas.com: Hi Lucas, On 21/03/2014 11:24, Lucas wrote: Subject: Re: [PATCH v4 5/9] dt-bindings: pci: rcar pcie device tree bindings Am Freitag, den 21.03.2014, 10:32 + schrieb Phil Edworthy: This patch adds

[PATCH v4 5/9] dt-bindings: pci: rcar pcie device tree bindings

2014-03-21 Thread Phil Edworthy
This patch adds the bindings for the rcar PCIE driver. The driver resides under drivers/pci/host/pcie-rcar.c Signed-off-by: Phil Edworthy phil.edwor...@renesas.com --- Documentation/devicetree/bindings/pci/rcar-pci.txt | 40 ++ 1 file changed, 40 insertions(+) create mode

Re: [PATCH v4 5/9] dt-bindings: pci: rcar pcie device tree bindings

2014-03-21 Thread Phil . Edworthy
Hi Lucas, On 21/03/2014 11:24, Lucas wrote: Subject: Re: [PATCH v4 5/9] dt-bindings: pci: rcar pcie device tree bindings Am Freitag, den 21.03.2014, 10:32 + schrieb Phil Edworthy: This patch adds the bindings for the rcar PCIE driver. The driver resides under drivers/pci/host/pcie

Re: [PATCH v4 5/9] dt-bindings: pci: rcar pcie device tree bindings

2014-03-21 Thread Phil . Edworthy
: pci: rcar pcie device tree bindings Am Freitag, den 21.03.2014, 10:32 + schrieb Phil Edworthy: This patch adds the bindings for the rcar PCIE driver. The driver resides under drivers/pci/host/pcie-rcar.c Signed-off-by: Phil Edworthy phil.edwor...@renesas.com I

[PATCH 5/9] dt-bindings: pci: rcar pcie device tree bindings

2014-03-13 Thread Phil Edworthy
This patch adds the bindings for the rcar PCIE driver. The driver resides under drivers/pci/host/pcie-rcar.c Signed-off-by: Phil Edworthy phil.edwor...@renesas.com --- Documentation/devicetree/bindings/pci/rcar-pci.txt | 40 ++ 1 file changed, 40 insertions(+) create mode

Re: [PATCH 5/9] dt-bindings: pci: rcar pcie device tree bindings

2014-03-13 Thread Phil . Edworthy
Hi Arnd, Thanks for your review. On 13/03/2014 10:00, Arnd wrote: On Thursday 13 March 2014 09:50:04 Phil Edworthy wrote: This patch adds the bindings for the rcar PCIE driver. The driver resides under drivers/pci/host/pcie-rcar.c Signed-off-by: Phil Edworthy phil.edwor...@renesas.com