Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD557C433F5 for ; Fri, 28 Jan 2022 03:41:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A29F483831; Fri, 28 Jan 2022 04:41:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1643341271; bh=XNnSn3WRv4H237verzZbhLLsOnQU8C+pqem89NehtdA=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=hHZcvzy3CFjxIapYol4vvRQB8a1QCw2GxIDT1exw1U+c5ECxgM62pdK3KZZ2MBQsE 7hkdgDCLXx8TqJT/qMfkPB0vnEFdjJlbrXcKdn1TYt6URUtBQdV89FBypeXTRhTouK nwwr/Hyb8d8JBn2bK+EZXnFTMDM0vIdKO8t4XeLYaaH6u9vejRu3fRILsR7/D0nE3O 4SXWrUuRtNkyIMwwFpYYQMkysW+y0spDzHofpy2Lr5likKvPIoWK8V/mKvwDrXZOtU aVia/LZfmeGRxW1ddNUoA7QguIAvu/rhd41Oe2EXLe0Ico0C//f0I3CeZoItYUpZpn rRmEFzpyhQlvA== Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id DFE9F837E7; Fri, 28 Jan 2022 04:41:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1643341270; bh=XNnSn3WRv4H237verzZbhLLsOnQU8C+pqem89NehtdA=; h=From:To:Cc:Subject:Date:From; b=Mvw6UDB5Jf2ryX0P3X4gOJKA/aqgobPbWbZsLOKbK6iOQHMQv7OJhXBX6AY12exRh KNqPLBD+d2Teszz2TcQHsYHgISQJgVLVLCsSo1JTrZfFoZAXV2YZ4uoyT3EH7TO4SH 2rnt2+Kp+5dj/+Wl2BTAlLyc5eexiwo+as36ouNCkSZEYjZutHrBBLuHlPlN0kYUFy yjKsKP0mGgP8oHcT2RjDWD2L9CtEIMWf+NEsOmnys+LwqnyovDMTp8+VKKzDzyISgL 5QB2vUefUq2F/4hQa4WPiEz+arU7cgZ+41WYdGOPuzfX/m8jZj9yF708WKe75WWFor kt14kXPUWNh2w== From: Marek Vasut To: u-boot@lists.denx.de Cc: sbabic@denx.de, Richard Zhu , Marcel Ziswiler , Tim Harvey , Rob Herring , Vinod Koul , Marek Vasut Subject: [PATCH 1/3] dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx8 pcie phy Date: Fri, 28 Jan 2022 04:41:02 +0100 Message-Id: <20220128034104.1410830-1-marex@denx.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean From: Richard Zhu Add binding for reference clock PAD modes of the i.MX8 PCIe PHY. Signed-off-by: Richard Zhu Tested-by: Marcel Ziswiler Reviewed-by: Tim Harvey Tested-by: Tim Harvey Reviewed-by: Rob Herring Link: https://lore.kernel.org/r/1638432158-4119-2-git-send-email-hongxing.zhu@nxp.com Signed-off-by: Vinod Koul Signed-off-by: Marek Vasut # 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