From patchwork Mon Mar 8 05:07:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 395336 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1422540jai; Sun, 7 Mar 2021 21:10:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhBgMCTqyzOYFdf7ygCqpQxEtfw3S0rsXIExd144K4kuLYRpHKFtAs9G12nDN1iZKZ/VWs X-Received: by 2002:a17:906:eb89:: with SMTP id mh9mr13569879ejb.122.1615180224992; Sun, 07 Mar 2021 21:10:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615180224; cv=none; d=google.com; s=arc-20160816; b=Ni6Glbj/LTvVrAL3oRD79d+L2SweTh8L6oEdZtpmXY2cO8Oyd4qH+YqlZTCMPo0iYJ l4WWMhPwVrEpqqbv0EY5KMe/9e5Jrba70IN+/KRlueKZvlFAEIhBwXWyfWuZNBgVK/it RTiCk+b110Zom9mH2N0XknP/31wv+qTBhiAJTaAa9LvCimZIpT60eS/lRGvjbvDlbcQ0 mBb2W1NtUG1lIPgVy+Yw1REspk4Yacdncd1yidyLKp6m0yzTgyThmPImUtHTIJW5CWXs 7hidmDaJYLPWu1awqSrIlN2YG3edZBUM28rQqgGc+hmgsEyTUdQcj5ZX0vh/DlNzxZQl RIjQ== 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=yDYG9omEX2EVc0/mY0JVN8lgqO9BZzlnB/QpmZxFAPOao+mtuX/fCmH7ZPYlZ5FwTs zHh94C5W+42wC52B6A2dAyXumZ9yBZojMPAE/DQCb8vroMhNrZJm2fOSqlp2OjYpJiJZ olXbnvpv2eeQYgFlGtJfr2mPqx4lCJo2SogQgEZPJ9dFIsVvSRrVt3wHiKgmU0qmrqyg Ps7+7TsBA/xivDivw7WQCVrAReT0mkuEs+nlwZ1JhISTEgU2aq48xmJAWrZuYSTCyjyy b8vkBXiPZS46YynZvvK/O+89b5tbRM6s8H/qRGJPeoRivOIV1OFko9N3RjH0Btedg5wk sb8w== 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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 dg23si6340931edb.519.2021.03.07.21.10.24; Sun, 07 Mar 2021 21:10:24 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S234354AbhCHFIr (ORCPT + 6 others); Mon, 8 Mar 2021 00:08:47 -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 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@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%) -- 2.17.1 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 */