public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx8 pcie phy
@ 2022-01-28  3:41 Marek Vasut
  2022-01-28  3:41 ` [PATCH 2/3] arm64: dts: imx8mm: Add the pcie phy support Marek Vasut
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Marek Vasut @ 2022-01-28  3:41 UTC (permalink / raw)
  To: u-boot
  Cc: sbabic, Richard Zhu, Marcel Ziswiler, Tim Harvey, Rob Herring,
	Vinod Koul, Marek Vasut

From: Richard Zhu <hongxing.zhu@nxp.com>

Add binding for reference clock PAD modes of the i.MX8 PCIe PHY.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Tim Harvey <tharvey@gateworks.com>
Tested-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1638432158-4119-2-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Marek Vasut <marex@denx.de> # Pick from Linux f6f787874aa5 ("dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx8 pcie phy")
---
 include/dt-bindings/phy/phy-imx8-pcie.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 include/dt-bindings/phy/phy-imx8-pcie.h

diff --git a/include/dt-bindings/phy/phy-imx8-pcie.h b/include/dt-bindings/phy/phy-imx8-pcie.h
new file mode 100644
index 00000000000..8bbe2d6538d
--- /dev/null
+++ b/include/dt-bindings/phy/phy-imx8-pcie.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
+/*
+ * This header provides constants for i.MX8 PCIe.
+ */
+
+#ifndef _DT_BINDINGS_IMX8_PCIE_H
+#define _DT_BINDINGS_IMX8_PCIE_H
+
+/* Reference clock PAD mode */
+#define IMX8_PCIE_REFCLK_PAD_UNUSED	0
+#define IMX8_PCIE_REFCLK_PAD_INPUT	1
+#define IMX8_PCIE_REFCLK_PAD_OUTPUT	2
+
+#endif /* _DT_BINDINGS_IMX8_PCIE_H */
-- 
2.34.1


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

end of thread, other threads:[~2022-02-05 16:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-28  3:41 [PATCH 1/3] dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx8 pcie phy Marek Vasut
2022-01-28  3:41 ` [PATCH 2/3] arm64: dts: imx8mm: Add the pcie phy support Marek Vasut
2022-02-05 16:40   ` sbabic
2022-01-28  3:41 ` [PATCH 3/3] arm64: dts: imx8mm: Add the pcie support Marek Vasut
2022-02-05 16:41   ` sbabic
2022-02-05 16:39 ` [PATCH 1/3] dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx8 pcie phy sbabic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox