All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: pci-rt2880: set pci controller of_node
@ 2018-09-05  6:51 Mathias Kresin
  2018-09-05 14:26 ` John Crispin
  2018-09-06 21:18 ` Paul Burton
  0 siblings, 2 replies; 3+ messages in thread
From: Mathias Kresin @ 2018-09-05  6:51 UTC (permalink / raw)
  To: Ralf Baechle, Paul Burton, James Hogan, linux-mips
  Cc: linux-kernel, Tobias Wolf

From: Tobias Wolf <dev-NTEO@vplace.de>

Set the PCI controller of_node such that PCI devices can be
instantiated via device tree.

Signed-off-by: Tobias Wolf <dev-NTEO@vplace.de>
Signed-off-by: Mathias Kresin <dev@kresin.me>
---
 arch/mips/pci/pci-rt2880.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/pci/pci-rt2880.c b/arch/mips/pci/pci-rt2880.c
index 711cdcc..f376a1d 100644
--- a/arch/mips/pci/pci-rt2880.c
+++ b/arch/mips/pci/pci-rt2880.c
@@ -246,6 +246,8 @@ static int rt288x_pci_probe(struct platform_device *pdev)
 	rt2880_pci_write_u32(PCI_BASE_ADDRESS_0, 0x08000000);
 	(void) rt2880_pci_read_u32(PCI_BASE_ADDRESS_0);
 
+	rt2880_pci_controller.of_node = pdev->dev.of_node;
+
 	register_pci_controller(&rt2880_pci_controller);
 	return 0;
 }
-- 
2.7.4


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

* Re: [PATCH] MIPS: pci-rt2880: set pci controller of_node
  2018-09-05  6:51 [PATCH] MIPS: pci-rt2880: set pci controller of_node Mathias Kresin
@ 2018-09-05 14:26 ` John Crispin
  2018-09-06 21:18 ` Paul Burton
  1 sibling, 0 replies; 3+ messages in thread
From: John Crispin @ 2018-09-05 14:26 UTC (permalink / raw)
  To: Mathias Kresin, Ralf Baechle, Paul Burton, James Hogan, linux-mips
  Cc: linux-kernel, Tobias Wolf



On 05/09/18 08:51, Mathias Kresin wrote:
> From: Tobias Wolf <dev-NTEO@vplace.de>
>
> Set the PCI controller of_node such that PCI devices can be
> instantiated via device tree.
>
> Signed-off-by: Tobias Wolf <dev-NTEO@vplace.de>
> Signed-off-by: Mathias Kresin <dev@kresin.me>
Acked-by: John Crispin <john@phrozen.org>

> ---
>   arch/mips/pci/pci-rt2880.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/arch/mips/pci/pci-rt2880.c b/arch/mips/pci/pci-rt2880.c
> index 711cdcc..f376a1d 100644
> --- a/arch/mips/pci/pci-rt2880.c
> +++ b/arch/mips/pci/pci-rt2880.c
> @@ -246,6 +246,8 @@ static int rt288x_pci_probe(struct platform_device *pdev)
>   	rt2880_pci_write_u32(PCI_BASE_ADDRESS_0, 0x08000000);
>   	(void) rt2880_pci_read_u32(PCI_BASE_ADDRESS_0);
>   
> +	rt2880_pci_controller.of_node = pdev->dev.of_node;
> +
>   	register_pci_controller(&rt2880_pci_controller);
>   	return 0;
>   }


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

* Re: [PATCH] MIPS: pci-rt2880: set pci controller of_node
  2018-09-05  6:51 [PATCH] MIPS: pci-rt2880: set pci controller of_node Mathias Kresin
  2018-09-05 14:26 ` John Crispin
@ 2018-09-06 21:18 ` Paul Burton
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Burton @ 2018-09-06 21:18 UTC (permalink / raw)
  To: Mathias Kresin
  Cc: Ralf Baechle, James Hogan, linux-mips, linux-kernel, Tobias Wolf

Hi Matthias,

On Wed, Sep 05, 2018 at 08:51:26AM +0200, Mathias Kresin wrote:
> From: Tobias Wolf <dev-NTEO@vplace.de>
> 
> Set the PCI controller of_node such that PCI devices can be
> instantiated via device tree.
> 
> Signed-off-by: Tobias Wolf <dev-NTEO@vplace.de>
> Signed-off-by: Mathias Kresin <dev@kresin.me>
> ---
>  arch/mips/pci/pci-rt2880.c | 2 ++
>  1 file changed, 2 insertions(+)

Thanks - applied to mips-next for 4.20.

Paul

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

end of thread, other threads:[~2018-09-06 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-05  6:51 [PATCH] MIPS: pci-rt2880: set pci controller of_node Mathias Kresin
2018-09-05 14:26 ` John Crispin
2018-09-06 21:18 ` Paul Burton

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.