[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c653181970092c27fc98fbb5dcebe21ebf29d887.camel@pengutronix.de>
Date: Mon, 27 Sep 2021 10:27:10 +0200
From: Lucas Stach <l.stach@...gutronix.de>
To: Richard Zhu <hongxing.zhu@....com>, kishon@...com,
vkoul@...nel.org, robh@...nel.org, galak@...nel.crashing.org,
shawnguo@...nel.org
Cc: linux-phy@...ts.infradead.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel@...gutronix.de, linux-imx@....com
Subject: Re: [PATCH v2 1/4] dt-bindings: phy: phy-imx8-pcie: Add binding for
the pad modes of imx8 pcie phy
Am Sonntag, dem 26.09.2021 um 15:39 +0800 schrieb Richard Zhu:
> Add binding for reference clock PAD modes of the i.MX8 PCIe PHY.
>
> Signed-off-by: Richard Zhu <hongxing.zhu@....com>
> ---
> 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 000000000000..59ed322f8d6c
> --- /dev/null
> +++ b/include/dt-bindings/phy/phy-imx8-pcie.h
> @@ -0,0 +1,14 @@
> +/* SPDX-License-Identifier: GPL-2.0+ */
This should be (GPL-2.0+ OR MIT) to be compatible with the license of
the DTSI file it is included in.
> +/*
> + * 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_NO_USED 0
I think _UNUSED would be the more idiomatic way to call this.
> +#define IMX8_PCIE_REFCLK_PAD_INPUT 1
> +#define IMX8_PCIE_REFCLK_PAD_OUTPUT 2
> +
> +#endif /* _DT_BINDINGS_IMX8_PCIE_H */
Powered by blists - more mailing lists