diff options
| author | Michal Simek <michal.simek@amd.com> | 2025-02-03 19:39:11 +0300 |
|---|---|---|
| committer | Michal Simek <michal.simek@amd.com> | 2025-02-21 09:58:35 +0300 |
| commit | f0ceedd52a69a8bf63778b1fe9e1c10e02ecd3fd (patch) | |
| tree | 1beb60e3e58dfc81ff016878b26a1f49fd1380b2 /include | |
| parent | 01a86031fb02b5bc2a8b71ab36fff2d1ff3fb1f0 (diff) | |
| download | linux-f0ceedd52a69a8bf63778b1fe9e1c10e02ecd3fd.tar.xz | |
dt-bindings: xilinx: Deprecate header with firmware constants
Firmware contants do not fit the purpose of bindings because they are not
independent IDs for abstractions. They are more or less just contants which
better to wire via header with DT which is using it.
That's why add deprecated message to dt binding header and also update
existing dt bindings not to use macros from the header and replace them by
it's value. Actually value is not relevant because it is only example.
The similar changes have been done by commit 9d9292576810 ("dt-bindings:
pinctrl: samsung: deprecate header with register constants").
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/2a6f0229522327939e6893565e540b75f854a37b.1738600745.git.michal.simek@amd.com
Diffstat (limited to 'include')
| -rw-r--r-- | include/dt-bindings/clock/xlnx-zynqmp-clk.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/xlnx-zynqmp-clk.h b/include/dt-bindings/clock/xlnx-zynqmp-clk.h index cdc4c0b9a374..f0f7ddd3dcbd 100644 --- a/include/dt-bindings/clock/xlnx-zynqmp-clk.h +++ b/include/dt-bindings/clock/xlnx-zynqmp-clk.h @@ -9,6 +9,13 @@ #ifndef _DT_BINDINGS_CLK_ZYNQMP_H #define _DT_BINDINGS_CLK_ZYNQMP_H +/* + * These bindings are deprecated, because they do not match the actual + * concept of bindings but rather contain pure firmware values. + * Instead include the header in the DTS source directory. + */ +#warning "These bindings are deprecated. Instead use the header in the DTS source directory." + #define IOPLL 0 #define RPLL 1 #define APLL 2 |
