]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt-bindings: phy: Sync phy.h with Linux kernel
authorMichal Simek <michal.simek@xilinx.com>
Thu, 24 Mar 2022 09:17:51 +0000 (10:17 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 29 Mar 2022 07:17:49 +0000 (09:17 +0200)
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>
Link: https://lore.kernel.org/r/06dbc03d4c9ac5d621341d8fb8cc16f489062b39.1648113469.git.michal.simek@xilinx.com
include/dt-bindings/phy/phy.h

index d3714edd4bd499f8171fa881e8626f130764d84d..f48c9acf251eb82e354634102c3e4a8542d7bca2 100644 (file)
@@ -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 */