All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: Simon Horman <horms+renesas@verge.net.au>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-pci@vger.kernel.org, linux-sh@vger.kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/4] PCI: rcar-gen2: add gen2 fallback compatibility string
Date: Mon, 7 Dec 2015 09:40:59 -0600	[thread overview]
Message-ID: <20151207154059.GD7994@localhost> (raw)
In-Reply-To: <1449096700-23304-2-git-send-email-horms+renesas@verge.net.au>

On Thu, Dec 03, 2015 at 07:51:37AM +0900, Simon Horman wrote:
> Add fallback compatibility string for R-Car Gen 2 family.
> This is in keeping with the fallback scheme being adopted wherever
> appropriate for drivers for Renesas SoCs.
> 
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

Acked-by: Bjorn Helgaas <bhelgaas@google.com>

> 
> ---
> v2
> * Include "rcar-" in new compatibility string
> ---
>  Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt | 11 +++++++++--
>  drivers/pci/host/pci-rcar-gen2.c                        |  1 +
>  2 files changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
> index 891463cb09c2..089a99dcdf10 100644
> --- a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
> +++ b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
> @@ -8,7 +8,14 @@ OHCI and EHCI controllers.
>  Required properties:
>  - compatible: "renesas,pci-r8a7790" for the R8A7790 SoC;
>  	      "renesas,pci-r8a7791" for the R8A7791 SoC;
> -	      "renesas,pci-r8a7794" for the R8A7794 SoC.
> +	      "renesas,pci-r8a7794" for the R8A7794 SoC;
> +	      "renesas,pci-rcar-gen2" for a generic R-Car Gen2 compatible device.
> +
> +
> +	      When compatible with the generic version, nodes must list the
> +	      SoC-specific version corresponding to the platform first
> +	      followed by the generic version.
> +
>  - reg:	A list of physical regions to access the device: the first is
>  	the operational registers for the OHCI/EHCI controllers and the
>  	second is for the bridge configuration and control registers.
> @@ -32,7 +39,7 @@ Optional properties:
>  Example SoC configuration:
>  
>  	pci0: pci@ee090000  {
> -		compatible = "renesas,pci-r8a7790";
> +		compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
>  		clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
>  		reg = <0x0 0xee090000 0x0 0xc00>,
>  		      <0x0 0xee080000 0x0 0x1100>;
> diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c
> index 62951165dcbb..9980a4bdae7e 100644
> --- a/drivers/pci/host/pci-rcar-gen2.c
> +++ b/drivers/pci/host/pci-rcar-gen2.c
> @@ -430,6 +430,7 @@ static int rcar_pci_probe(struct platform_device *pdev)
>  }
>  
>  static struct of_device_id rcar_pci_of_match[] = {
> +	{ .compatible = "renesas,pci-rcar-gen2", },
>  	{ .compatible = "renesas,pci-r8a7790", },
>  	{ .compatible = "renesas,pci-r8a7791", },
>  	{ .compatible = "renesas,pci-r8a7794", },
> -- 
> 2.1.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Bjorn Helgaas <helgaas@kernel.org>
To: Simon Horman <horms+renesas@verge.net.au>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-pci@vger.kernel.org, linux-sh@vger.kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/4] PCI: rcar-gen2: add gen2 fallback compatibility string
Date: Mon, 07 Dec 2015 15:40:59 +0000	[thread overview]
Message-ID: <20151207154059.GD7994@localhost> (raw)
In-Reply-To: <1449096700-23304-2-git-send-email-horms+renesas@verge.net.au>

On Thu, Dec 03, 2015 at 07:51:37AM +0900, Simon Horman wrote:
> Add fallback compatibility string for R-Car Gen 2 family.
> This is in keeping with the fallback scheme being adopted wherever
> appropriate for drivers for Renesas SoCs.
> 
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

Acked-by: Bjorn Helgaas <bhelgaas@google.com>

> 
> ---
> v2
> * Include "rcar-" in new compatibility string
> ---
>  Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt | 11 +++++++++--
>  drivers/pci/host/pci-rcar-gen2.c                        |  1 +
>  2 files changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
> index 891463cb09c2..089a99dcdf10 100644
> --- a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
> +++ b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
> @@ -8,7 +8,14 @@ OHCI and EHCI controllers.
>  Required properties:
>  - compatible: "renesas,pci-r8a7790" for the R8A7790 SoC;
>  	      "renesas,pci-r8a7791" for the R8A7791 SoC;
> -	      "renesas,pci-r8a7794" for the R8A7794 SoC.
> +	      "renesas,pci-r8a7794" for the R8A7794 SoC;
> +	      "renesas,pci-rcar-gen2" for a generic R-Car Gen2 compatible device.
> +
> +
> +	      When compatible with the generic version, nodes must list the
> +	      SoC-specific version corresponding to the platform first
> +	      followed by the generic version.
> +
>  - reg:	A list of physical regions to access the device: the first is
>  	the operational registers for the OHCI/EHCI controllers and the
>  	second is for the bridge configuration and control registers.
> @@ -32,7 +39,7 @@ Optional properties:
>  Example SoC configuration:
>  
>  	pci0: pci@ee090000  {
> -		compatible = "renesas,pci-r8a7790";
> +		compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
>  		clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
>  		reg = <0x0 0xee090000 0x0 0xc00>,
>  		      <0x0 0xee080000 0x0 0x1100>;
> diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c
> index 62951165dcbb..9980a4bdae7e 100644
> --- a/drivers/pci/host/pci-rcar-gen2.c
> +++ b/drivers/pci/host/pci-rcar-gen2.c
> @@ -430,6 +430,7 @@ static int rcar_pci_probe(struct platform_device *pdev)
>  }
>  
>  static struct of_device_id rcar_pci_of_match[] = {
> +	{ .compatible = "renesas,pci-rcar-gen2", },
>  	{ .compatible = "renesas,pci-r8a7790", },
>  	{ .compatible = "renesas,pci-r8a7791", },
>  	{ .compatible = "renesas,pci-r8a7794", },
> -- 
> 2.1.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-12-07 15:41 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02 22:51 [PATCH v2 0/4] PCI: rcar, rcar-gen2: More Gen2 compatibility strings Simon Horman
2015-12-02 22:51 ` Simon Horman
2015-12-02 22:51 ` [PATCH v2 1/4] PCI: rcar-gen2: add gen2 fallback compatibility string Simon Horman
2015-12-02 22:51   ` Simon Horman
2015-12-04 15:00   ` Rob Herring
2015-12-04 15:00     ` Rob Herring
2015-12-07 15:40   ` Bjorn Helgaas [this message]
2015-12-07 15:40     ` Bjorn Helgaas
2015-12-02 22:51 ` [PATCH v2 2/4] PCI: rcar-gen2: add device tree support for r8a7793 Simon Horman
2015-12-02 22:51   ` Simon Horman
2015-12-02 22:51   ` Simon Horman
2015-12-04 15:01   ` Rob Herring
2015-12-04 15:01     ` Rob Herring
2015-12-02 22:51 ` [PATCH v2 3/4] PCI: rcar: add gen2 fallback compatibility string Simon Horman
2015-12-02 22:51   ` Simon Horman
2015-12-04 15:02   ` Rob Herring
2015-12-04 15:02     ` Rob Herring
2015-12-07 15:41   ` Bjorn Helgaas
2015-12-07 15:41     ` Bjorn Helgaas
2015-12-02 22:51 ` [PATCH v2 4/4] PCI: rcar: add device tree support for r8a7793 Simon Horman
2015-12-02 22:51   ` Simon Horman
2015-12-04 15:05   ` Rob Herring
2015-12-04 15:05     ` Rob Herring
2015-12-09 18:37 ` [PATCH v2 0/4] PCI: rcar, rcar-gen2: More Gen2 compatibility strings Bjorn Helgaas
2015-12-09 18:37   ` Bjorn Helgaas
2015-12-11  2:14   ` Simon Horman
2015-12-11  2:14     ` Simon Horman
2015-12-11 14:59     ` Bjorn Helgaas
2015-12-11 14:59       ` Bjorn Helgaas
2015-12-11 15:58       ` Geert Uytterhoeven
2015-12-11 15:58         ` Geert Uytterhoeven
2015-12-11 15:58         ` Geert Uytterhoeven
2016-02-04 22:01         ` Bjorn Helgaas
2016-02-04 22:01           ` Bjorn Helgaas
2016-02-05  7:43           ` Geert Uytterhoeven
2016-02-05  7:43             ` Geert Uytterhoeven
2016-02-05 16:10             ` Bjorn Helgaas
2016-02-05 16:10               ` Bjorn Helgaas
2016-02-05 16:26               ` Geert Uytterhoeven
2016-02-05 16:26                 ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151207154059.GD7994@localhost \
    --to=helgaas@kernel.org \
    --cc=bhelgaas@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=horms+renesas@verge.net.au \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.