summaryrefslogtreecommitdiff
path: root/include/dt-bindings/mux
diff options
context:
space:
mode:
authorJayesh Choudhary <j-choudhary@ti.com>2023-07-21 18:27:32 +0530
committerNishanth Menon <nm@ti.com>2023-07-25 06:30:03 -0500
commit5438d75fb9d7bb863ddc5ef28b242ca50c9879ff (patch)
treeb54a387f47ed10c0f97e251fe96c07b7ffcb1cee /include/dt-bindings/mux
parent8d08d7aac7f620b5d298fad0ba0e6e431ea132a9 (diff)
dt-bindings: ti-serdes-mux: Deprecate header with constants
The constants to define the idle state of SERDES MUX were defined in bindings header. They are used only in DTS and driver uses the dt property to set the idle state making it unsuitable for bindings. The constants are moved to header next to DTS ("arch/arm64/boot/dts/ti/") and all the references to bindings header are removed. So add a warning to mark this bindings header as deprecated. Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Roger Quadros <rogerq@kernel.org> Acked-by: Peter Rosin <peda@axentia.se> Link: https://lore.kernel.org/r/20230721125732.122421-3-j-choudhary@ti.com Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include/dt-bindings/mux')
-rw-r--r--include/dt-bindings/mux/ti-serdes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dt-bindings/mux/ti-serdes.h b/include/dt-bindings/mux/ti-serdes.h
index 669ca2d6abce..b0b1091aad6d 100644
--- a/include/dt-bindings/mux/ti-serdes.h
+++ b/include/dt-bindings/mux/ti-serdes.h
@@ -6,6 +6,14 @@
#ifndef _DT_BINDINGS_MUX_TI_SERDES
#define _DT_BINDINGS_MUX_TI_SERDES
+/*
+ * These bindings are deprecated, because they do not match the actual
+ * concept of bindings but rather contain pure constants values used only
+ * in DTS board files.
+ * Instead include the header in the DTS source directory.
+ */
+#warning "These bindings are deprecated. Instead, use the header in the DTS source directory."
+
/* J721E */
#define J721E_SERDES0_LANE0_QSGMII_LANE1 0x0