From patchwork Wed Mar 10 15:45:53 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: 396737 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp483375jai; Wed, 10 Mar 2021 07:47:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwynf00c8AZkmGQhjQueX/F2nLMvtuQXaPhjhazPp5Teb4+q/hB850K++dvhHUuymNfKChQ X-Received: by 2002:aa7:c9c8:: with SMTP id i8mr3966446edt.193.1615391241316; Wed, 10 Mar 2021 07:47:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615391241; cv=none; d=google.com; s=arc-20160816; b=DuWOc1T1yQ8m7sfEv6hshs0L9fiq/s0tZe4s8VNS39AfHrrG/ZCWi1GuWO8Q3SITfr 38MUzHdDbs08zK+SqaCYRuIdqlpTiNaG8I/2+y59pAFOn6BDFtFnGcrtbOLwIJrn1NJH gaN/kZMEoQPeo1cdJIquCSylh9R37979nPsTyDHqOEI2ALUmsencTGE+uPswZUYaA+/2 SGmUtUs3Rub+Uk75VKHtb4l+8TY+avKgjvNuABVGYOG+ZMqgGgdL7T5v3Cw7AchwfDIO vlPFTr8zXB+aQzKc3QUBArZrXtnQtdx+AE+FJ4ovMwMaRJyWeQPuj4jEIpKP4zhxzHR5 Neiw== 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=08awkQMHZbwl1D2ulSCiSIn5Be2/Hn1dBDPsOOeP4no=; b=05s0jYSjLdRi/2+BE2Dkh7ZR0kKlR1JhvjruIw4L1LClC6CfdSAXfayA0pbtYCFQiq O4N+A88Y9m10T+2enLaAsjXttEK8G3hUQ3PTRUgoGFEr5xKsY0gExGMqnlkWama9kqo1 FKe5X85qGRohBg2pns/0yOoEtaI4KIWLfKC2rCetjm0xoTvX3SUOu5pHWuYyJVoDccFg Usw9py+x/Z1muyy2sWjltUFEljNMYcNyIM99tBtbdtCZ/1jDG8yAjunTQooHPjtpuE/z +set51qpSlIzFnjdwwaCyhwms8vEZFX4ZcHno3suQVWMpm9q1ck+SXp0oO3O/gw691hf C5Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=l0ofe4C8; 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 t3si4576077ejy.142.2021.03.10.07.47.21; Wed, 10 Mar 2021 07:47:21 -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=l0ofe4C8; 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 S233249AbhCJPqo (ORCPT + 6 others); Wed, 10 Mar 2021 10:46:44 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:47776 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233227AbhCJPqf (ORCPT ); Wed, 10 Mar 2021 10:46:35 -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 12AFkUHd067859; Wed, 10 Mar 2021 09:46:30 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615391190; bh=08awkQMHZbwl1D2ulSCiSIn5Be2/Hn1dBDPsOOeP4no=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=l0ofe4C8/+QewwS9pD+Kpvx4d/jO8MV54IJO75jPInwH0Okyl0ufL5XhhWxrVcMj5 kQYoIZSAJQEDRgf+39Y9/gmEve2KWakhmSTqQpqSAqZZipiwX4KG5bPedKwngUQAGK WtPYlBNlpBOEYOqQdlMRUz5C+iernrTdH6cR0Ip8= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12AFkU0T088402 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Mar 2021 09:46:30 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE104.ent.ti.com (10.64.6.25) 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 09:46:30 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE109.ent.ti.com (10.64.6.30) 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 09:46:30 -0600 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 12AFk2KW066370; Wed, 10 Mar 2021 09:46:27 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Philipp Zabel , Swapnil Jakhade CC: , , Lokesh Vutla Subject: [PATCH v6 08/13] phy: cadence-torrent: Use a common header file for Cadence SERDES Date: Wed, 10 Mar 2021 21:15:53 +0530 Message-ID: <20210310154558.32078-9-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210310154558.32078-1-kishon@ti.com> References: <20210310154558.32078-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 Reviewed-by: Swapnil Jakhade diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c index 95160da3e667..3fdab0d288c4 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 */