* [PATCH] PCI: imx6q-pcie doc: Update the clocks descriptions to use defines
@ 2014-10-04 14:55 Fabio Estevam
2014-10-15 0:17 ` Bjorn Helgaas
0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2014-10-04 14:55 UTC (permalink / raw)
To: bhelgaas; +Cc: l.stach, Hong-Xing.Zhu, linux-pci, Fabio Estevam
From: Fabio Estevam <fabio.estevam@freescale.com>
Let's make the imx6q-pcie example to actually match the usage on imx6qdl.dtsi
by providing the clock names via defines rather than hardcoded numbers.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
index 6fbba53..0b28b52 100644
--- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
+++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
@@ -35,6 +35,8 @@ Example:
<0 0 0 2 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &intc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &intc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clks 144>, <&clks 206>, <&clks 189>;
+ clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
+ <&clks IMX6QDL_CLK_LVDS1_GATE>,
+ <&clks IMX6QDL_CLK_PCIE_REF_125M>;
clock-names = "pcie", "pcie_bus", "pcie_phy";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] PCI: imx6q-pcie doc: Update the clocks descriptions to use defines
2014-10-04 14:55 [PATCH] PCI: imx6q-pcie doc: Update the clocks descriptions to use defines Fabio Estevam
@ 2014-10-15 0:17 ` Bjorn Helgaas
2014-10-15 8:28 ` Hong-Xing.Zhu
0 siblings, 1 reply; 3+ messages in thread
From: Bjorn Helgaas @ 2014-10-15 0:17 UTC (permalink / raw)
To: Fabio Estevam
Cc: l.stach, Hong-Xing.Zhu, linux-pci, Fabio Estevam, Richard Zhu,
Rob Herring, Arnd Bergmann, linux-arm-kernel
[+cc Rob, Arnd, linux-arm-kernel]
On Sat, Oct 04, 2014 at 11:55:48AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Let's make the imx6q-pcie example to actually match the usage on imx6qdl.dtsi
> by providing the clock names via defines rather than hardcoded numbers.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Is this an arm-soc thing?
If you want me to take it, I'll wait for an ack from the likes of
Richard/Lucas/Rob/Arnd since I can't review this myself.
> ---
> Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
> index 6fbba53..0b28b52 100644
> --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
> +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
> @@ -35,6 +35,8 @@ Example:
> <0 0 0 2 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
> <0 0 0 3 &intc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
> <0 0 0 4 &intc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
> - clocks = <&clks 144>, <&clks 206>, <&clks 189>;
> + clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
> + <&clks IMX6QDL_CLK_LVDS1_GATE>,
> + <&clks IMX6QDL_CLK_PCIE_REF_125M>;
> clock-names = "pcie", "pcie_bus", "pcie_phy";
> };
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] PCI: imx6q-pcie doc: Update the clocks descriptions to use defines
2014-10-15 0:17 ` Bjorn Helgaas
@ 2014-10-15 8:28 ` Hong-Xing.Zhu
0 siblings, 0 replies; 3+ messages in thread
From: Hong-Xing.Zhu @ 2014-10-15 8:28 UTC (permalink / raw)
To: Bjorn Helgaas, Fabio Estevam
Cc: l.stach, linux-pci, Fabio.Estevam, Rob Herring, Arnd Bergmann,
linux-arm-kernel
> -----Original Message-----
> From: Bjorn Helgaas [mailto:bhelgaas@google.com]
> Sent: Wednesday, October 15, 2014 8:18 AM
> To: Fabio Estevam
> Cc: l.stach@pengutronix.de; Zhu Richard-R65037; linux-pci@vger.kernel.org;
> Estevam Fabio-R49496; Zhu Richard-R65037; Rob Herring; Arnd Bergmann; linux-
> arm-kernel@lists.infradead.org
> Subject: Re: [PATCH] PCI: imx6q-pcie doc: Update the clocks descriptions to
> use defines
>
> [+cc Rob, Arnd, linux-arm-kernel]
>
> On Sat, Oct 04, 2014 at 11:55:48AM -0300, Fabio Estevam wrote:
> > From: Fabio Estevam <fabio.estevam@freescale.com>
> >
> > Let's make the imx6q-pcie example to actually match the usage on
> > imx6qdl.dtsi by providing the clock names via defines rather than hardcoded
> numbers.
> >
> > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>
> Is this an arm-soc thing?
>
> If you want me to take it, I'll wait for an ack from the likes of
> Richard/Lucas/Rob/Arnd since I can't review this myself.
>
Hi Bjorn:
yes, this should be an arm-soc stuff.
Hi Fabio:
The prefix of this patch should be ARM: xxxx, and reviewed/merged by shawn.
Best Regards
Richard Zhu
> > ---
> > Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 4 +++-
> > 1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
> > b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
> > index 6fbba53..0b28b52 100644
> > --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
> > +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
> > @@ -35,6 +35,8 @@ Example:
> > <0 0 0 2 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
> > <0 0 0 3 &intc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
> > <0 0 0 4 &intc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
> > - clocks = <&clks 144>, <&clks 206>, <&clks 189>;
> > + clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
> > + <&clks IMX6QDL_CLK_LVDS1_GATE>,
> > + <&clks IMX6QDL_CLK_PCIE_REF_125M>;
> > clock-names = "pcie", "pcie_bus", "pcie_phy";
> > };
> > --
> > 1.9.1
> >
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-15 8:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-04 14:55 [PATCH] PCI: imx6q-pcie doc: Update the clocks descriptions to use defines Fabio Estevam
2014-10-15 0:17 ` Bjorn Helgaas
2014-10-15 8:28 ` Hong-Xing.Zhu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).