diff mbox series

dt-bindings: phy: Sync phy.h with Linux kernel

Message ID 06dbc03d4c9ac5d621341d8fb8cc16f489062b39.1648113469.git.michal.simek@xilinx.com
State Accepted
Commit 7ce9d921bd560d00a601bd751ced32f71f9bbd28
Delegated to: Michal Simek
Headers show
Series dt-bindings: phy: Sync phy.h with Linux kernel | expand

Commit Message

Michal Simek March 24, 2022, 9:17 a.m. UTC
Make sure that both files are in sync to have the same values in DTs.
The patch is fixing SPDX license as is used in the kernel and adding new
values for PHY_TYPE_DPHY and PHY_TYPE_CPHY.

SPDX license change was done by:
Link: https://lkml.kernel.org/r/20190528170027.447718015@linutronix.de
and new value added by:
Link: https://lore.kernel.org/r/20210617144349.28448-3-jonathan@marek.ca

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 include/dt-bindings/phy/phy.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Michal Simek March 29, 2022, 7:18 a.m. UTC | #1
čt 24. 3. 2022 v 10:17 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> Make sure that both files are in sync to have the same values in DTs.
> The patch is fixing SPDX license as is used in the kernel and adding new
> values for PHY_TYPE_DPHY and PHY_TYPE_CPHY.
>
> SPDX license change was done by:
> Link: https://lkml.kernel.org/r/20190528170027.447718015@linutronix.de
> and new value added by:
> Link: https://lore.kernel.org/r/20210617144349.28448-3-jonathan@marek.ca
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  include/dt-bindings/phy/phy.h | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/include/dt-bindings/phy/phy.h b/include/dt-bindings/phy/phy.h
> index d3714edd4bd4..f48c9acf251e 100644
> --- a/include/dt-bindings/phy/phy.h
> +++ b/include/dt-bindings/phy/phy.h
> @@ -1,10 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   *
>   * This header provides constants for the phy framework
>   *
>   * Copyright (C) 2014 STMicroelectronics
>   * Author: Gabriel Fernandez <gabriel.fernandez@st.com>
> - * License terms:  GNU General Public License (GPL), version 2
>   */
>
>  #ifndef _DT_BINDINGS_PHY
> @@ -20,5 +20,7 @@
>  #define PHY_TYPE_XPCS          7
>  #define PHY_TYPE_SGMII         8
>  #define PHY_TYPE_QSGMII                9
> +#define PHY_TYPE_DPHY          10
> +#define PHY_TYPE_CPHY          11
>
>  #endif /* _DT_BINDINGS_PHY */
> --
> 2.35.1
>

Applied.
M
diff mbox series

Patch

diff --git a/include/dt-bindings/phy/phy.h b/include/dt-bindings/phy/phy.h
index d3714edd4bd4..f48c9acf251e 100644
--- a/include/dt-bindings/phy/phy.h
+++ b/include/dt-bindings/phy/phy.h
@@ -1,10 +1,10 @@ 
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
  * This header provides constants for the phy framework
  *
  * Copyright (C) 2014 STMicroelectronics
  * Author: Gabriel Fernandez <gabriel.fernandez@st.com>
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #ifndef _DT_BINDINGS_PHY
@@ -20,5 +20,7 @@ 
 #define PHY_TYPE_XPCS		7
 #define PHY_TYPE_SGMII		8
 #define PHY_TYPE_QSGMII		9
+#define PHY_TYPE_DPHY		10
+#define PHY_TYPE_CPHY		11
 
 #endif /* _DT_BINDINGS_PHY */