]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
remoteproc: xlnx: Remove binding header dependency
authorTanmay Shah <tanmay.shah@amd.com>
Fri, 8 May 2026 17:40:06 +0000 (10:40 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 27 May 2026 14:29:05 +0000 (08:29 -0600)
Bindings can be deprecated and driver should not include bindings
headers directly. Instead define needed constants in the driver.

Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
Link: https://lore.kernel.org/r/20260508174006.3783082-1-tanmay.shah@amd.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/xlnx_r5_remoteproc.c

index 45a62cb980725ea77b1e9c2c4658613ea8b4e4a4..f5b736fa3cb4a6478855533c18c89736dc52c12c 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <dt-bindings/power/xlnx-zynqmp-power.h>
 #include <linux/dma-mapping.h>
 #include <linux/firmware/xlnx-zynqmp.h>
 #include <linux/kernel.h>
 
 #include "remoteproc_internal.h"
 
+#define                PD_R5_0_ATCM    15
+#define                PD_R5_0_BTCM    16
+#define                PD_R5_1_ATCM    17
+#define                PD_R5_1_BTCM    18
+
 /* IPI buffer MAX length */
 #define IPI_BUF_LEN_MAX        32U