From patchwork Tue Jun 29 09:40:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harini Katakam X-Patchwork-Id: 12349585 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04A3BC11F66 for ; Tue, 29 Jun 2021 09:43:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C9718613E7 for ; Tue, 29 Jun 2021 09:43:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9718613E7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Dlgh9vbT1gDjF9yZlcajEbqNLRmkZrtiARWGIHLHRdk=; b=zsaePlVc1Ij5w/ pkGjl4erGLkaGy4p2EIL5arWEaG9H8XhnAges6LRWK7p8yBnM+Ckk0fiO4KRGty63VbitnEUWWFUW /9nvzoTfYJqg9yUTcQIyVQbmRk5aqUD374NpfobyKsV0/x5FQvzEeFi74PCTyHPGWgvQTgBsmfgqf DS1jBJShvikNb78xNpvnNkj2D1ocLPdpO/Crxl0oUrMi/AwqvHB7Bl14W+OFweJKmEB/dcHXJCKNY YF+L+KKfWx1+nzetLjfXeh2o3H3E4oJrqU2gcEXCHqT63dR32EcUmZxDkjZuKTGAeFs6zeHWZGkPx oZowWsRdxBNQlUJctSig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lyAFY-00APVN-G0; Tue, 29 Jun 2021 09:41:48 +0000 Received: from mail-mw2nam12on2076.outbound.protection.outlook.com ([40.107.244.76] helo=NAM12-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lyAFJ-00APJ4-Nm for linux-arm-kernel@lists.infradead.org; Tue, 29 Jun 2021 09:41:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bUKhz2lulfoTI2XLX01Cm49RRg6TT6o76Vy5bvGui8pNIOpz1SCp8hNYVlIZewxFGOQlANjEPzfjG1kHfxi98L9aCrKHca90AMBGODEfRpq3YemywckfccTJDXqHa/j3/8VeHVfeRPmZBRL5/EbasxsiJSrMlTecdb56Ef6zujE75sRkhvYb1aA6Qcxn6KsJGjanzy4peXSXNFCVX8uJquZBuup78yh8Lj0mFr3f1II3ZPz18275sW+v1vWAtnP0Xzz7JqWR2pUlZBZDTUXwDImqOwpIsxsFzuVY8sHpLECla9uXa5tCCBVKRgyj2LpLAOi/jHmEiFkxgdAlR3+R8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0Bg/QQ+pvABWS91zzxrOezwGTu2ohzYofB07oOyazQc=; b=bXtlvmbnPoteqUZ0iLSToDqLtby0fcaHyv2W4l7WvwbxLPZZ0zSIV0sNJxORkawLeNeEJVO+5DqSmMtBQbQVNas7xiqTJVfsF/15/+sdXZ4Db53pc/Swyo0ml++yGse6ZNyfhmuxwutCJvPjtXVROQI1rB+uyWtZrUpaZMsBJNOvhFcU7BDKjpnHKY1w96C7Z5NK3bjZDxy88ne1c0cTF8nZnbQ516fD9iSR6NQNUs0sSZrOa9+T7zp+GDMyu0seJ+B03vjbcfOcIexUj94cN6u80KRphS9y0eoo/yIkytMzeBSMx2n8BMB++fQVWpPAXnHYQqaYQuQUgL7YgsgEOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=kernel.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0Bg/QQ+pvABWS91zzxrOezwGTu2ohzYofB07oOyazQc=; b=sj8VVx62IOQd/qlE4cWuGvQhJHswofifG+E2EMNYYwcc5U7C3kDYX9/g8elA1vlfUMu8Hbzb8pRgYY4MC8o/CzaC9e6mnw7i+QFOQCm7q5RQIsEv/fokczKnRHOhAhVSi6jLy5hG24AuwdvcdlghqQ50UoB5LYtF5PXGDnFPqyk= Received: from SN4PR0801CA0017.namprd08.prod.outlook.com (2603:10b6:803:29::27) by SN6PR02MB5295.namprd02.prod.outlook.com (2603:10b6:805:67::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.23; Tue, 29 Jun 2021 09:41:08 +0000 Received: from SN1NAM02FT0011.eop-nam02.prod.protection.outlook.com (2603:10b6:803:29:cafe::dd) by SN4PR0801CA0017.outlook.office365.com (2603:10b6:803:29::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18 via Frontend Transport; Tue, 29 Jun 2021 09:41:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch02.xlnx.xilinx.com; Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by SN1NAM02FT0011.mail.protection.outlook.com (10.97.5.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4264.18 via Frontend Transport; Tue, 29 Jun 2021 09:41:08 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 29 Jun 2021 02:40:55 -0700 Received: from smtp.xilinx.com (172.19.127.96) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Tue, 29 Jun 2021 02:40:55 -0700 Received: from [10.140.6.13] (port=43732 helo=xhdharinik40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1lyAEZ-0005yU-Mp; Tue, 29 Jun 2021 02:40:48 -0700 From: Harini Katakam To: , , , , , , , , , , CC: , , , , , Subject: [PATCH 1/3] include: dt-bindings: Add mscc-vsc8531 RGMII clock delay definitions Date: Tue, 29 Jun 2021 15:10:36 +0530 Message-ID: <20210629094038.18610-2-harini.katakam@xilinx.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210629094038.18610-1-harini.katakam@xilinx.com> References: <20210629094038.18610-1-harini.katakam@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ba11c726-31a9-45cc-2022-08d93ae205e1 X-MS-TrafficTypeDiagnostic: SN6PR02MB5295: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:269; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GaAMIEIM3Wk2hsQ2Zy/oLCTtaXigTiPQ+pC5nfgOJqRcWn4pyJ2YLqSN55ACNSpB+rXPqffm2n7pw3/LXs+jZ8ouwBH6TWF8Ca0MMcqLPde6kcMhJ77AgQQyy0bPaPQ2I409CMc/2MTYXfX4uYcRlm2dzd+aP8T6VEWTvSZoSUBhq2FRGPt89Tg4vtC8EsIlLkvm7GehGm3IBcCd1HA4MyD+zIbGRp9qiCh116Q+IOPsfjojWlgJgN/E/Bxej4Zl2+SyzGHP1kAsSfhTqlJEfDSClIuvnPA5LaVtWdfIy+PPmRm7Yfbek/3SSLIan9UUQbjPMtAhMZFgLw7BFZS3QqLfsocZ5lRnhuLrdZfbJBZFKgTBXSeXIUck1DSWdYTchMszooeFJwbcloMMkHtvj9VKTclSaATUV7nwRWd31qIA6KKvpBkx9moTEv7YvzddT1vzaRB0tz8gwWtJOVnGAGrUCheLoT1nbaHG2Jck2PeBi0AAFDWFQBv2dRcDVstAd2C7DXtlcyjbLidvGO3KuXtlFP6pNzVli/0MDJsmQFCVqpAWKdR5u8MYHbgc95LLJda2e5edP2TeJkWfZzRam9VnFLUt5EsfYQTwLfybBMdNzzu7EbpGksWUeDjzxKgnNHtG8qG9JuFfOKJKgOC68qcRIMxABk/R1kNl/vIIN1gGUo9+Cy/pKdTcDnaB4xrp101eeaDhuVq17Lu/P61qEISOzLW9WWmd7CTmT3CHkclnemOUNPQ7X/0+dsQ0cPa8 X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch02.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(4636009)(39850400004)(396003)(346002)(136003)(376002)(36840700001)(46966006)(70586007)(47076005)(7696005)(5660300002)(110136005)(8676002)(44832011)(83380400001)(70206006)(4326008)(8936002)(478600001)(82310400003)(336012)(36860700001)(186003)(54906003)(82740400003)(2616005)(7636003)(36756003)(36906005)(6666004)(9786002)(426003)(7416002)(316002)(7049001)(921005)(356005)(107886003)(1076003)(2906002)(26005)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2021 09:41:08.4485 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ba11c726-31a9-45cc-2022-08d93ae205e1 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: SN1NAM02FT0011.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR02MB5295 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210629_024133_862948_F04876AE X-CRM114-Status: UNSURE ( 7.10 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add RGMII clock delay definitions in mscc-phy-vsc8531 header. Signed-off-by: Harini Katakam Signed-off-by: Radhey Shyam Pandey Signed-off-by: Michal Simek --- include/dt-bindings/net/mscc-phy-vsc8531.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/dt-bindings/net/mscc-phy-vsc8531.h b/include/dt-bindings/net/mscc-phy-vsc8531.h index 9eb2ec2b2ea9..242eb4c7ede9 100644 --- a/include/dt-bindings/net/mscc-phy-vsc8531.h +++ b/include/dt-bindings/net/mscc-phy-vsc8531.h @@ -28,4 +28,13 @@ #define VSC8531_FORCE_LED_OFF 14 #define VSC8531_FORCE_LED_ON 15 +#define VSC8531_RGMII_CLK_DELAY_0_2_NS 0 +#define VSC8531_RGMII_CLK_DELAY_0_8_NS 1 +#define VSC8531_RGMII_CLK_DELAY_1_1_NS 2 +#define VSC8531_RGMII_CLK_DELAY_1_7_NS 3 +#define VSC8531_RGMII_CLK_DELAY_2_0_NS 4 +#define VSC8531_RGMII_CLK_DELAY_2_3_NS 5 +#define VSC8531_RGMII_CLK_DELAY_2_6_NS 6 +#define VSC8531_RGMII_CLK_DELAY_3_4_NS 7 + #endif