Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2206350pxb; Fri, 17 Sep 2021 04:53:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5IeAPLTnSWX1l3C04qA5wjAlcu7CFRG5GZcRftbQhAQOe3pSEa6Et8NDmmjwQohxScwgR X-Received: by 2002:a92:c26c:: with SMTP id h12mr3768510ild.241.1631879635547; Fri, 17 Sep 2021 04:53:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631879635; cv=none; d=google.com; s=arc-20160816; b=P299OemlHOW0Ly0pEnr+dlCP7k6kQeHua0WZeyzKiqVPZIXcmx+iI/00gmSu3EFCio e3Bcksms8Qce7L9spXeHOVFe4o1Hs+yOJDM+XcB9Qn8i4/c9VmzS1RMudSgCn3HcjAdk zTqM7A/+FMfgvkaY2ZlAHmppkwIzKUg4f/JGapi/DcmY5AWNYNx7n0lcNu6T8d95ptrP WKHDlgXI2QdE50qR6suuaehRxVLh+GkipdqGf6GSWaUbPAjau7ezA7He1m+YPjKFKqT8 b+K25RGQlN5GZXBaxprWZXatVzjoOKFRJEtW3XhcCASuab8rzJ3w9HmmvloUFuo1BWd3 9oQw== 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=X4H1mtC1LDI9NCi88uCrRfbHNvDBSQ7Y+QpB95OLJsY=; b=R0hFSbxUBxczPdLMp4f2zBrt40et2EEXGdctWngA0n9Y1B79wtV4PCh4evVvhFlV// u+2IeGnw8iNyX25HYMMbbQgX6YJcS0gxERwM3QJfhn7T8vUJoeNGTLhBq1ydzVIxAsYb ltxT606nXqk4MlzRRi3Cc8Wn+z9m9wfuLaOIzGGiY8v0opz4qzJaSa23hQoIbeI76YuC 9QRN2kAvk75BvuhibmsBuCadPpoRsn09USoZpIPvxhbTwepUwhCiFy0VTCrMA7RTWMuH mFJx0Uva0hmWXWCjenW7SWO7y0tXssZPnrSDJhnHl8tEzCu8UtzyTw4Bb1VTEEW0j6Fb 4+FQ== 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 z7si7401343ilu.143.2021.09.17.04.53.43; Fri, 17 Sep 2021 04:53:55 -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 S242516AbhIQCzv (ORCPT + 99 others); Thu, 16 Sep 2021 22:55:51 -0400 Received: from inva021.nxp.com ([92.121.34.21]:45004 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234959AbhIQCzt (ORCPT ); Thu, 16 Sep 2021 22:55:49 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 1B91B2012CD; Fri, 17 Sep 2021 04:54:27 +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 D7E762012FC; Fri, 17 Sep 2021 04:54:26 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 3CA2A183AC4C; Fri, 17 Sep 2021 10:54:25 +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 1/4] dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx8 pcie phy Date: Fri, 17 Sep 2021 10:31:00 +0800 Message-Id: <1631845863-24249-2-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1631845863-24249-1-git-send-email-hongxing.zhu@nxp.com> References: <1631845863-24249-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..fe198a0cc12c --- /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