All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: imx6: add pci config space as platform resource
@ 2014-08-07 10:58 Lucas Stach
  2014-08-07 11:53 ` Fabio Estevam
  0 siblings, 1 reply; 5+ messages in thread
From: Lucas Stach @ 2014-08-07 10:58 UTC (permalink / raw)
  To: linux-arm-kernel

Fixes "imx6q-pcie 1ffc000.pcie: missing *config* reg space"
error exposed by new versions of the designware pcie driver.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boot/dts/imx6qdl.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index ce0599134a69..6b5da2a98aaf 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -133,7 +133,9 @@
 
 		pcie: pcie at 0x01000000 {
 			compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
-			reg = <0x01ffc000 0x4000>; /* DBI */
+			reg = <0x01ffc000 0x04000>,
+			      <0x01f00000 0x80000>;
+			reg-names = "dbi", "config";
 			#address-cells = <3>;
 			#size-cells = <2>;
 			device_type = "pci";
-- 
2.0.1

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

* [PATCH] ARM: imx6: add pci config space as platform resource
  2014-08-07 10:58 [PATCH] ARM: imx6: add pci config space as platform resource Lucas Stach
@ 2014-08-07 11:53 ` Fabio Estevam
  2014-08-07 12:19   ` Lucas Stach
  0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2014-08-07 11:53 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Aug 7, 2014 at 7:58 AM, Lucas Stach <l.stach@pengutronix.de> wrote:
> Fixes "imx6q-pcie 1ffc000.pcie: missing *config* reg space"
> error exposed by new versions of the designware pcie driver.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  arch/arm/boot/dts/imx6qdl.dtsi | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
> index ce0599134a69..6b5da2a98aaf 100644
> --- a/arch/arm/boot/dts/imx6qdl.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl.dtsi
> @@ -133,7 +133,9 @@
>
>                 pcie: pcie at 0x01000000 {
>                         compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
> -                       reg = <0x01ffc000 0x4000>; /* DBI */
> +                       reg = <0x01ffc000 0x04000>,
> +                             <0x01f00000 0x80000>;
> +                       reg-names = "dbi", "config";


Please update Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt as well.

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

* [PATCH] ARM: imx6: add pci config space as platform resource
  2014-08-07 11:53 ` Fabio Estevam
@ 2014-08-07 12:19   ` Lucas Stach
  2014-08-07 12:29     ` Fabio Estevam
  0 siblings, 1 reply; 5+ messages in thread
From: Lucas Stach @ 2014-08-07 12:19 UTC (permalink / raw)
  To: linux-arm-kernel

Am Donnerstag, den 07.08.2014, 08:53 -0300 schrieb Fabio Estevam:
> On Thu, Aug 7, 2014 at 7:58 AM, Lucas Stach <l.stach@pengutronix.de> wrote:
> > Fixes "imx6q-pcie 1ffc000.pcie: missing *config* reg space"
> > error exposed by new versions of the designware pcie driver.
> >
> > Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> > ---
> >  arch/arm/boot/dts/imx6qdl.dtsi | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
> > index ce0599134a69..6b5da2a98aaf 100644
> > --- a/arch/arm/boot/dts/imx6qdl.dtsi
> > +++ b/arch/arm/boot/dts/imx6qdl.dtsi
> > @@ -133,7 +133,9 @@
> >
> >                 pcie: pcie at 0x01000000 {
> >                         compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
> > -                       reg = <0x01ffc000 0x4000>; /* DBI */
> > +                       reg = <0x01ffc000 0x04000>,
> > +                             <0x01f00000 0x80000>;
> > +                       reg-names = "dbi", "config";
> 
> 
> Please update Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt as well.

The binding for this is part of the common designware binding. See
Documentation/devicetree/bindings/pci/designware-pcie.txt

Regards,
Lucas
-- 
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |

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

* [PATCH] ARM: imx6: add pci config space as platform resource
  2014-08-07 12:19   ` Lucas Stach
@ 2014-08-07 12:29     ` Fabio Estevam
  2014-08-07 13:14       ` Lucas Stach
  0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2014-08-07 12:29 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Aug 7, 2014 at 9:19 AM, Lucas Stach <l.stach@pengutronix.de> wrote:

> The binding for this is part of the common designware binding. See
> Documentation/devicetree/bindings/pci/designware-pcie.txt

The example section in imx6q-pcie.txt should be in sync with the pci
node from imx6qdl.dtsi, right?

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

* [PATCH] ARM: imx6: add pci config space as platform resource
  2014-08-07 12:29     ` Fabio Estevam
@ 2014-08-07 13:14       ` Lucas Stach
  0 siblings, 0 replies; 5+ messages in thread
From: Lucas Stach @ 2014-08-07 13:14 UTC (permalink / raw)
  To: linux-arm-kernel

Am Donnerstag, den 07.08.2014, 09:29 -0300 schrieb Fabio Estevam:
> On Thu, Aug 7, 2014 at 9:19 AM, Lucas Stach <l.stach@pengutronix.de> wrote:
> 
> > The binding for this is part of the common designware binding. See
> > Documentation/devicetree/bindings/pci/designware-pcie.txt
> 
> The example section in imx6q-pcie.txt should be in sync with the pci
> node from imx6qdl.dtsi, right?
> 
Right, will fix this.

Regards,
Lucas
-- 
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |

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

end of thread, other threads:[~2014-08-07 13:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-07 10:58 [PATCH] ARM: imx6: add pci config space as platform resource Lucas Stach
2014-08-07 11:53 ` Fabio Estevam
2014-08-07 12:19   ` Lucas Stach
2014-08-07 12:29     ` Fabio Estevam
2014-08-07 13:14       ` Lucas Stach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.