Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1579475pxb; Mon, 8 Mar 2021 00:42:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJycfiWbKvZdljLamUgKy3cZOBC6lAzFUxO/RE4dlGsE8mfNraghbU+vcBysW+xH7kQmcFJW X-Received: by 2002:a50:d307:: with SMTP id g7mr20988770edh.204.1615192945160; Mon, 08 Mar 2021 00:42:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615192945; cv=none; d=google.com; s=arc-20160816; b=bYksgmVnvlvL9vuZCRhCWPDYaEr04yIPlOw5IxgpwdLKNwtAEn0JEKg1j8uyoFX06K 2CJho6BeWgsFB4FNQeah3S79ZAgJkgponr7XCsW5pOM8pFig9JmCOAxEM7uEG2DIB1O5 gD9ImJKwNT+3f8CH7DMinoOjqCqMsjgQIlJGJgvQUQolS3wJcP52wp0zva/PhpamuDmQ COEkObV4ADwEeTFmvII8jydb94Q06UhnpsdY50w89qkMEbltp/AOjaXtGq14hs29T5vC h0/3AhZa3FTOi+QqXRtmnEOnTQ32LrVtKLtOIjAf1vfgf88ySOG96Toz8lr1Z3wHDpP1 a1Mw== 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=pRK8XOEkhDdvAT2TMSHqs5UzWg743i9yUsPPhy+2lsc=; b=lsED2Vr8QaRSSffH/fhj59AWiJIYE1xq6rwQZ36EHNWHHeFGTSCiHgAf6PHgh1muop ZKye6THtucPUGZwQkv0k3vRnwManNDtMnE7QocX0L5EzF6a06y6/OZKJVodneZOP7+a/ H0WRcYFIT/icIM8Dd0FAKLzKq1XhclAJjmgQuTh1LI7dM8FaQjTQwRVcTHKDuFpn/vfX I/j2bd9CDY/Plak3BVpCxZjr+7EjFSDRXwn/ghP696gnHUfZmfnZZHUvn0rERJnRbEim izbTnfxHL1IUVLSZNvy7qzIE3HfdbTHrCQBVXWX0BrbwNKN2/HL01kVOFIfcyREJniGg 3vFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eIKJ3yoh; 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 l26si6555692ejc.536.2021.03.08.00.42.02; Mon, 08 Mar 2021 00:42: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=eIKJ3yoh; 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 S234357AbhCHFIs (ORCPT + 99 others); Mon, 8 Mar 2021 00:08:48 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:38052 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234280AbhCHFIP (ORCPT ); Mon, 8 Mar 2021 00:08:15 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12858BcV023628; Sun, 7 Mar 2021 23:08:11 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615180091; bh=pRK8XOEkhDdvAT2TMSHqs5UzWg743i9yUsPPhy+2lsc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eIKJ3yohwZL4crXpkQY/g+noCQiYXp9pdEcLVywBZH9bpfKPJJLr5XfYrsJqOrPhp 8+W/ODjFZRs/0uN0EodANwDTBxv5CBFEyBGj931eBdK5Kkig3z6kYl/fEL3RLC+LN6 URCPDabJg8wbsBjtj2xkifACX4HijOVkVXK6O8Y8= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12858B8d006678 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 7 Mar 2021 23:08:11 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Sun, 7 Mar 2021 23:08:10 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Sun, 7 Mar 2021 23:08:10 -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 12857aL6086547; Sun, 7 Mar 2021 23:08:07 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Philipp Zabel , Swapnil Jakhade CC: , , Lokesh Vutla Subject: [PATCH v5 08/13] phy: cadence-torrent: Use a common header file for Cadence SERDES Date: Mon, 8 Mar 2021 10:37:27 +0530 Message-ID: <20210308050732.7140-9-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210308050732.7140-1-kishon@ti.com> References: <20210308050732.7140-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 No functional change. In order to have a single header file for all Cadence SERDES move phy-cadence-torrent.h to phy-cadence.h. This is in preparation for adding Cadence Sierra SERDES specific macros. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-torrent.c | 2 +- .../phy/{phy-cadence-torrent.h => phy-cadence.h} | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) rename include/dt-bindings/phy/{phy-cadence-torrent.h => phy-cadence.h} (51%) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c index 63ac8a3baeca..4059d36d039f 100644 --- a/drivers/phy/cadence/phy-cadence-torrent.c +++ b/drivers/phy/cadence/phy-cadence-torrent.c @@ -7,7 +7,7 @@ */ #include -#include +#include #include #include #include diff --git a/include/dt-bindings/phy/phy-cadence-torrent.h b/include/dt-bindings/phy/phy-cadence.h similarity index 51% rename from include/dt-bindings/phy/phy-cadence-torrent.h rename to include/dt-bindings/phy/phy-cadence.h index 3c92c6192493..4a5ea52a856f 100644 --- a/include/dt-bindings/phy/phy-cadence-torrent.h +++ b/include/dt-bindings/phy/phy-cadence.h @@ -1,15 +1,16 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* - * This header provides constants for Cadence Torrent SERDES. + * This header provides constants for Cadence SERDES. */ -#ifndef _DT_BINDINGS_TORRENT_SERDES_H -#define _DT_BINDINGS_TORRENT_SERDES_H +#ifndef _DT_BINDINGS_CADENCE_SERDES_H +#define _DT_BINDINGS_CADENCE_SERDES_H +/* Torrent */ #define TORRENT_SERDES_NO_SSC 0 #define TORRENT_SERDES_EXTERNAL_SSC 1 #define TORRENT_SERDES_INTERNAL_SSC 2 #define CDNS_TORRENT_REFCLK_DRIVER 0 -#endif /* _DT_BINDINGS_TORRENT_SERDES_H */ +#endif /* _DT_BINDINGS_CADENCE_SERDES_H */ -- 2.17.1