Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp359092pxf; Wed, 10 Mar 2021 07:48:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJykkp2yHtmY5sq27hJ6MGjErTpEcokDyIp7nz7H6rRxeTRiCEAClUnj4FseiYLh/dBbv+Sp X-Received: by 2002:a17:906:1a44:: with SMTP id j4mr4398369ejf.401.1615391314262; Wed, 10 Mar 2021 07:48:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615391314; cv=none; d=google.com; s=arc-20160816; b=GGZAk8n9dOkszD+KpTyyKeLXYbONkh8/8PIHV4Q6Msw7QjB1Zj1vh/3NdZbbU7ZsC/ MDhklDX4HOeP9bEHiamevsDeK/Q2CoSAeRZhCZdjQCJLGM9qc/a0vj2TVz1s5eWjRQys 9u/QF81jXW1KUGN1j4hDTp4SRKYfxo4HRGur8oRn1x11Qq/RXc1lNivEpbOdY4ea04ku DkPIALBrskroGe2fEboPnNrQCqTbwILUK0+qyq0sg60f3x+nE4bvAolxjoT2TbL74+01 5xuh3jSBM7tQWM8TOJgXueoFFnIzNDqQ9AZ5hcl0QUxallFRqLA6/NVuJkUpVjLqB9tl k7ig== 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=b/DzK/OVkHvhBbFGSmADjB5vUAf2yqv0XLb99ZB5ISvYuo8g3sWyhlgPHLx9aY0YaH nqYFnQu36e/eqf9useNvvXsJiHaEeiEN+fVNjebsXgLLg2ioT23lLxvb6ThOP6Sg2fja XYZ10Tt1wVmdGVU3/JdTTZ9V3WRlXZOKKXmOWnzCirz1zEtjJ8DHjB2s7wqDJ6zTosEE OSzU70lODOMZfp+eTMRox9oPqM+mNzzZw5EB9iqzlPmZE840Itulsf4BYz23nx+3V5R1 shzQ8hJMKfZ0AxhLhx+/fCXmBGfBn47qSwjemrB6kz8Z/LbLofJrJWpaBOF1jsiazMkm xT6A== 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 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 s25si12121233ejy.8.2021.03.10.07.48.11; Wed, 10 Mar 2021 07:48:34 -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=l0ofe4C8; 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 S233310AbhCJPqv (ORCPT + 99 others); Wed, 10 Mar 2021 10:46:51 -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 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 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 */ -- 2.17.1