Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp170647pxf; Wed, 10 Mar 2021 03:32:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwqHkNZaMbD2m5X9s48jdGHL4u7Wg3t3TgppfJTZrR2CAjbRgbRihquROnwVO3cKVY5nx0 X-Received: by 2002:a50:e14d:: with SMTP id i13mr2695906edl.106.1615375945045; Wed, 10 Mar 2021 03:32:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615375945; cv=none; d=google.com; s=arc-20160816; b=lCxCzB2qLp6zw+BoZXgAqW/KDMx2RG6q9z2kBc2Js58pyImbZhDFtVjo/9SSYKjR6i j9SBf1fQhZfbmFIgGAemk6dqZlvuCU2Q4ior/3vCGvYWQyyi5HZtlJm5m6ysUhgleoJQ UhPhHkNz157zdd0OWtfDaIiFZ7bxC1K+5S6E+uGCTQLpdxeRXEmeJH2hguA5eZctPtZr cJz66PkgmN5GjZV4f99uT2tlGa7TstZjWlys8CO9V90FXd9BO7n53Uxa2MO3qBR1cL85 FlOYjjoWFJROzKl2tpQzTPeDp2C7jep6ty1I9tPs8RrH0I/LrTlOkDmwBS/hA9zoCW7u N+vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=txzXDqzah1cXMGc2Vrj1LgAlg8bE2NElSfqfoXqQoAc=; b=ESMHBCY9uBT+qSPEnMJyiyL2TdbuYhtYYQSrVQUljco/k2ZeHxjy6a6uSDD0YmONxh tvhpw3Kp5kO3p9N5JmwQut/JDnd0nV6/zN5s0vzWYGr4B7n7TlY40HDFxV6+aNeTZJrI un8VNlZXnamFSNEm29UdDRa8PlAFTbk3ODfENO3AHXqeQFCZCSDxzQdJPfkjaqKqylOo MrkCW1r+6frjf9iOP2ukROF57rk7IncZ6q1MCN+fUnLo9+le/ROCM7TFwEeZ/YAlia9y dlVq3wIpwYeksUs0+1Jq0Blu9n/U6lH/Nfhd86SQ/tw5L0T4ox4lMfeb+VJjL9fDnRBY B9iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RkuSJsA5; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb35si8199983ejc.351.2021.03.10.03.32.01; Wed, 10 Mar 2021 03:32:25 -0800 (PST) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RkuSJsA5; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232801AbhCJL2Q (ORCPT + 99 others); Wed, 10 Mar 2021 06:28:16 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:36358 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbhCJL2D (ORCPT ); Wed, 10 Mar 2021 06:28:03 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12ABRuiM017775; Wed, 10 Mar 2021 05:27:56 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615375676; bh=txzXDqzah1cXMGc2Vrj1LgAlg8bE2NElSfqfoXqQoAc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=RkuSJsA5JOjvz7Miv035Tt4Vf1IXG3FghStn5qsldS6NPvvCWNAJO2gOBEn7jF33n kLjNDR0Lo1Z0T0E3ImZd4WJyqtw3xHJ0o3U/hnYuX5ZbZG24Yk/hEB0x0NYhNzmXZw s6F1Ot5ugoUhB9eJmwkavpm4KRwYHSuZ3msqVlpw= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12ABRuUJ049371 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Mar 2021 05:27:56 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 10 Mar 2021 05:27:55 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Wed, 10 Mar 2021 05:27:55 -0600 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 12ABRkvX075949; Wed, 10 Mar 2021 05:27:52 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Peter Rosin , Swapnil Jakhade CC: , , Aswath Govindraju , Nishanth Menon , Lokesh Vutla Subject: [PATCH 1/3] dt-bindings: phy: ti,phy-j721e-wiz: Add bindings for AM64 SERDES Wrapper Date: Wed, 10 Mar 2021 16:57:43 +0530 Message-ID: <20210310112745.3445-2-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210310112745.3445-1-kishon@ti.com> References: <20210310112745.3445-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add bindings for AM64 SERDES Wrapper. Signed-off-by: Kishon Vijay Abraham I --- .../bindings/phy/ti,phy-j721e-wiz.yaml | 4 ++++ include/dt-bindings/phy/phy-ti.h | 21 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 include/dt-bindings/phy/phy-ti.h diff --git a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml index bbbd85501ada..57e1d013a502 100644 --- a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml +++ b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml @@ -15,6 +15,7 @@ properties: enum: - ti,j721e-wiz-16g - ti,j721e-wiz-10g + - ti,am64-wiz-10g power-domains: maxItems: 1 @@ -42,6 +43,9 @@ properties: "#reset-cells": const: 1 + "#clock-cells": + const: 1 + ranges: true assigned-clocks: diff --git a/include/dt-bindings/phy/phy-ti.h b/include/dt-bindings/phy/phy-ti.h new file mode 100644 index 000000000000..ad955d3a56b4 --- /dev/null +++ b/include/dt-bindings/phy/phy-ti.h @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * This header provides constants for TI SERDES. + */ + +#ifndef _DT_BINDINGS_TI_SERDES +#define _DT_BINDINGS_TI_SERDES + +/* Clock index for output clocks from WIZ */ + +/* MUX Clocks */ +#define TI_WIZ_PLL0_REFCLK 0 +#define TI_WIZ_PLL1_REFCLK 1 +#define TI_WIZ_REFCLK_DIG 2 + +/* Reserve index here for future additions */ + +/* MISC Clocks */ +#define TI_WIZ_PHY_EN_REFCLK 16 + +#endif /* _DT_BINDINGS_TI_SERDES */ -- 2.17.1