[PATCH v2] ARM: imx6: add pci config space as platform resource
Fabio Estevam
festevam at gmail.com
Thu Aug 7 11:12:24 PDT 2014
On Thu, Aug 7, 2014 at 2:39 PM, Lucas Stach <l.stach at 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 at pengutronix.de>
> ---
> v2: also fix documentation example
> ---
> Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 4 +++-
> arch/arm/boot/dts/imx6qdl.dtsi | 4 +++-
> 2 files changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
> index 9455fd0ec830..6fbba53a309b 100644
> --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
> +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
> @@ -17,7 +17,9 @@ Example:
>
> pcie at 0x01000000 {
> compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
> - reg = <0x01ffc000 0x4000>;
> + reg = <0x01ffc000 0x04000>,
> + <0x01f00000 0x80000>;
> + reg-names = "dbi", "config";
It would be nice to update the 'reg' description and add the
'reg-names' entry in the 'Required properties' section.
Currently we have the following description:
"reg: base addresse (---> typo here) and length of the pcie
controller" ,which does not match the provided example after your
patch.
More information about the linux-arm-kernel
mailing list