Skip to content

Commit

Permalink
dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx…
Browse files Browse the repository at this point in the history
…8 pcie phy

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>
  • Loading branch information
Richard Zhu authored and Vinod Koul committed Dec 14, 2021
1 parent b156117 commit f6f7878
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions include/dt-bindings/phy/phy-imx8-pcie.h
Original file line number Diff line number Diff line change
@@ -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 */

0 comments on commit f6f7878

Please sign in to comment.