Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2965539pxb; Sun, 26 Sep 2021 01:05:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwts9M02n0laKTmC+uRyBCZ5F2TAMl7WbJ7sFWOo+51fQSlq5wzpQ/HQG1EjuuD7yRJW+td X-Received: by 2002:a17:906:fcc4:: with SMTP id qx4mr20281358ejb.364.1632643524872; Sun, 26 Sep 2021 01:05:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632643524; cv=none; d=google.com; s=arc-20160816; b=ijNPrvGKx/AgHaPHPPghR1SmvmuOk8U2C2JuelAs8EcjABsbbGXU7XnEYeR5krho3I KazifC3ECD8ePKbVL1HRKVpJSk9X9kOQrkade8kgpHHoEhH6CsYongp579YmCbjJJGZc mdFQi7wMYNHRVt/Urbb7UJ8uSgk2I4j3O041M6Sprnvt7DXC0tdTPaVs5M6fbW3lSBpG SHpTZSouz0n+yZpZAxycwq953p1iR3dq0LpbR5aw4oDbu9UEQgYE3FuxSycXv1KEm7ZP lIfl4rcRwHRDg/0VJ5p61lhCOuYuRJLm3qvqpwcNB4JDB7VVd4XPDKYmR41k+gjuY2yT y7fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=vCnKkAkFCcTV2SlLC6HLg09huqsTYLP3CJbSkH8XeOY=; b=BOTr0kxSpu9EKJ470Ka9B6JllbTle0yjpEDu1EiLFPWjh+znT8S822lyjyeJmbPNRT OeGV7LWLU1KDrmgQaI+M4h1xMCjgh4nFs+C4DFOj9EsVZwyW6i0Fu2WagrV3qz0xo6kx c7dEHuH1MCw8hVcMnt8GPjWAyRjhGbxnq6wIieAz2h3sLBxBFUmOEJ83BUDTbpO5Gqis 1MV7TVTB9a4cau3kROdeqKCt9MG8orWbqjZjvBTxTim8aSaYwZYf0XSIZ0Nn3ktEQ/EX IiwRBBdES1tXDnAThGhF73ZVsv1rw1qxjXudswsEgAeEhJ+eswZFjkOMfDn5Jq8WyK3Q 9o0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si12704284edt.213.2021.09.26.01.05.01; Sun, 26 Sep 2021 01:05:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231321AbhIZIFQ (ORCPT + 99 others); Sun, 26 Sep 2021 04:05:16 -0400 Received: from inva021.nxp.com ([92.121.34.21]:50540 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231240AbhIZIFP (ORCPT ); Sun, 26 Sep 2021 04:05:15 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6F2A8200F61; Sun, 26 Sep 2021 10:03:38 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 370EA200342; Sun, 26 Sep 2021 10:03:38 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 8FADB183AD07; Sun, 26 Sep 2021 16:03:36 +0800 (+08) From: Richard Zhu To: l.stach@pengutronix.de, kishon@ti.com, vkoul@kernel.org, robh@kernel.org, galak@kernel.crashing.org, shawnguo@kernel.org Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com, Richard Zhu Subject: [PATCH v2 1/4] dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx8 pcie phy Date: Sun, 26 Sep 2021 15:39:40 +0800 Message-Id: <1632641983-1455-2-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1632641983-1455-1-git-send-email-hongxing.zhu@nxp.com> References: <1632641983-1455-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add binding for reference clock PAD modes of the i.MX8 PCIe PHY. Signed-off-by: Richard Zhu --- 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 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 +#define IMX8_PCIE_REFCLK_PAD_INPUT 1 +#define IMX8_PCIE_REFCLK_PAD_OUTPUT 2 + +#endif /* _DT_BINDINGS_IMX8_PCIE_H */ -- 2.25.1