[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MN2PR07MB6160DC5FC5F9C3F63FC21C08C56C9@MN2PR07MB6160.namprd07.prod.outlook.com>
Date: Mon, 15 Mar 2021 05:51:23 +0000
From: Swapnil Kashinath Jakhade <sjakhade@...ence.com>
To: Kishon Vijay Abraham I <kishon@...com>,
Vinod Koul <vkoul@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Philipp Zabel <p.zabel@...gutronix.de>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Lokesh Vutla <lokeshvutla@...com>
Subject: RE: [PATCH v6 08/13] phy: cadence-torrent: Use a common header file
for Cadence SERDES
> -----Original Message-----
> From: Kishon Vijay Abraham I <kishon@...com>
> Sent: Wednesday, March 10, 2021 9:16 PM
> To: Kishon Vijay Abraham I <kishon@...com>; Vinod Koul
> <vkoul@...nel.org>; Rob Herring <robh+dt@...nel.org>; Philipp Zabel
> <p.zabel@...gutronix.de>; Swapnil Kashinath Jakhade
> <sjakhade@...ence.com>
> Cc: linux-kernel@...r.kernel.org; devicetree@...r.kernel.org; Lokesh Vutla
> <lokeshvutla@...com>
> Subject: [PATCH v6 08/13] phy: cadence-torrent: Use a common header file
> for Cadence SERDES
>
> EXTERNAL MAIL
>
>
> 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 <kishon@...com>
> ---
> 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%)
>
Reviewed-by: Swapnil Jakhade <sjakhade@...ence.com>
Thanks & regards,
Swapnil
> 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 <dt-bindings/phy/phy.h>
> -#include <dt-bindings/phy/phy-cadence-torrent.h>
> +#include <dt-bindings/phy/phy-cadence.h>
> #include <linux/clk.h>
> #include <linux/clk-provider.h>
> #include <linux/delay.h>
> 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
Powered by blists - more mailing lists