Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1362471pxf; Fri, 19 Mar 2021 05:45:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7t3ltKad6aTC8kwURlaZuZESMaJD+ymRVw2u1XC02hSLBXokNaHRfwygsnkUcketiNmGN X-Received: by 2002:aa7:d4cb:: with SMTP id t11mr9159849edr.202.1616157953252; Fri, 19 Mar 2021 05:45:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616157953; cv=none; d=google.com; s=arc-20160816; b=XBdcTmLXDF4dXnjSxM088nDBC1DVCKChM7RtYkTUdUCbCpnOwvzzb3kLD+nqDaGKU1 bg17ydszL2VqAHqU17SQjkF47X9FioBhL5fxgSqqSUZOLLOedynCiA+9VPPVd66a9mL0 eGVyjeyypELfYybGpt4pGtOFsn9yHBz5aCscEOubxjhBly9+7wYAVcbJTQ4wyHhrcx6a zDiILwyid1raXDmOS1zg+mLnVStOA7A6O0tarcSlumFaYDQhXR5AtKHoCIzkJUAnIoSH E2Vv+rXyoD5z7omLkleN7P4NmPq6q2t3uVZsdE4RZ7GkibyQVrDQEPGfDxxN1B6k7l6e Q9Og== 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=6gVouj1wfT7NmKqwlRzK5EWKNIMHLpD+W/lGt6dO6EE=; b=wzPyxNsL396cImRmDp6jh7RXqbePMMPTrcYK6+OyWB6RBoZkmPZZF1P/P1lAaPpAkp 9xME1cML8t5V79RKRAD6KX4C268lLjFd/dR9rXE8+ws8RbULAFVE0xgetGHLDHxr7g4n xQrvQQvO08ZgVa5yymOi/N4a2xcstScCrp6Lew1iMJIQ30AC/0hSzPn83T6EpVnmA+zK vgMWknc2XhQBhHzJ0z0jxibgFyxWx31s0ueQZsVQ9CJVFMUN5U6XswG3rnf8tsZ7vBQx hAFPaOKrP9aX6PieipTC780MShL5C7kvWEkLWv5Eyo1YzTNH3tUJg9t55fJ5oBlIACCe 7/lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=S3PmYqTy; 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 j22si4117848ejb.269.2021.03.19.05.45.29; Fri, 19 Mar 2021 05:45:53 -0700 (PDT) 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=S3PmYqTy; 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 S230324AbhCSMoc (ORCPT + 99 others); Fri, 19 Mar 2021 08:44:32 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:37512 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230178AbhCSMoO (ORCPT ); Fri, 19 Mar 2021 08:44:14 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12JCg6mQ048368; Fri, 19 Mar 2021 07:42:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1616157726; bh=6gVouj1wfT7NmKqwlRzK5EWKNIMHLpD+W/lGt6dO6EE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=S3PmYqTyYsCKgWK1gxJquy2lWghpc+kJBQNH1h34v5EcTrOzpMd7Bl2OBbmbMW6mC 7zVS6FiTgO7qbTqoH+gna5zOa7KzZ6CTekbMocFz22EjpCiBNlmQfSOrhzR1wEZQlX 6BEnEE6LxO6w+tBsDDotfNSAjWxdZpqvuFjQfsHc= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12JCg6TH125164 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 19 Mar 2021 07:42:06 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 19 Mar 2021 07:42:05 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE101.ent.ti.com (157.170.170.31) 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; Fri, 19 Mar 2021 07:42:04 -0500 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 12JCfTf9011913; Fri, 19 Mar 2021 07:42:01 -0500 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Philipp Zabel , Swapnil Jakhade CC: , , , Lokesh Vutla Subject: [PATCH v7 08/13] phy: cadence-torrent: Use a common header file for Cadence SERDES Date: Fri, 19 Mar 2021 18:11:23 +0530 Message-ID: <20210319124128.13308-9-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210319124128.13308-1-kishon@ti.com> References: <20210319124128.13308-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 Reviewed-by: Swapnil Jakhade --- .../devicetree/bindings/phy/phy-cadence-torrent.yaml | 2 +- drivers/phy/cadence/phy-cadence-torrent.c | 2 +- .../phy/{phy-cadence-torrent.h => phy-cadence.h} | 9 +++++---- 3 files changed, 7 insertions(+), 6 deletions(-) rename include/dt-bindings/phy/{phy-cadence-torrent.h => phy-cadence.h} (51%) diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml index 4608599a31d8..01dcd14e7b2a 100644 --- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml +++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml @@ -184,7 +184,7 @@ examples: }; - | #include - #include + #include bus { #address-cells = <2>; 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