[PATCH v2] ARM: imx6q-pcie doc: Update the clocks descriptions to use defines

Subsystems: open firmware and flattened device tree bindings, pci native host bridge and endpoint drivers, pci subsystem, the rest

STALE4304d

2 messages, 2 authors, 2014-10-19 · open the first message on its own page

[PATCH v2] ARM: imx6q-pcie doc: Update the clocks descriptions to use defines

From: festevam@gmail.com (Fabio Estevam)
Date: 2014-10-15 17:03:32

From: Fabio Estevam <redacted>

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 <redacted>
---
Changes since v1:
- Adjust the Subject and send it to Shawn

 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

[PATCH v2] ARM: imx6q-pcie doc: Update the clocks descriptions to use defines

From: Shawn Guo <hidden>
Date: 2014-10-19 02:39:16

On Wed, Oct 15, 2014 at 02:03:32PM -0300, Fabio Estevam wrote:
From: Fabio Estevam <redacted>

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 <redacted>
---
Changes since v1:
- Adjust the Subject and send it to Shawn
Sorry. I do not think it's a really necessary change.

Shawn
quoted hunk
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help