Skip to contentSkip to conversation

ARM: imx6q-pcie doc: Update the clocks descriptions to use defines

PATCH New Fabio Estevam 2 participants 2 messages Oct 15, 2014 – Oct 19, 2014

Subsystems (4)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v2 1/1 ARM: imx6q-pcie doc: Update the clocks descriptions to use defines

From: Fabio Estevam <[email protected]>

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.

---
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(-)
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt +3 -1
index 6fbba53..0b28b52 100644
@@ -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";
 	};
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 ARM: imx6q-pcie doc: Update the clocks descriptions to use defines

Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

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.

---
Changes since v1:
- Adjust the Subject and send it to Shawn

Sorry. I do not think it's a really necessary change.

Shawn

Quoted 21 lines
 Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt +3 -1
index 6fbba53..0b28b52 100644
@@ -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";
 	};
Signature · 1 line
1.9.1