From 4eea76574062e9079b6a267229962d6ec0be910a Mon Sep 17 00:00:00 2001
From: Tom Rini <trini@konsulko.com>
Date: Sat, 19 Nov 2022 18:45:18 -0500
Subject: [PATCH] pwm: imx: Remove unused references to CONFIG_IMX6_PWM_PER_CLK

On platforms that use DM_PWM, we do not need to define this value
anymore, so remove it from config files.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 include/configs/aristainetos2.h | 2 --
 include/configs/ge_b1x5v2.h     | 3 ---
 include/configs/ge_bx50v3.h     | 2 --
 include/configs/mx53ppd.h       | 3 ---
 4 files changed, 10 deletions(-)

diff --git a/include/configs/aristainetos2.h b/include/configs/aristainetos2.h
index c1eec5d06c..b1ec8ef269 100644
--- a/include/configs/aristainetos2.h
+++ b/include/configs/aristainetos2.h
@@ -424,8 +424,6 @@
 /* check this console not needed, after test remove it */
 #define CONFIG_IMX_VIDEO_SKIP
 
-#define CONFIG_IMX6_PWM_PER_CLK	66000000
-
 #define CONFIG_ENV_FLAGS_LIST_STATIC "ethaddr:mw,serial#:sw,board_type:sw," \
 		"sysnum:dw,panel:sw,ipaddr:iw,serverip:iw"
 
diff --git a/include/configs/ge_b1x5v2.h b/include/configs/ge_b1x5v2.h
index 97fe76cfa8..a8a6229f52 100644
--- a/include/configs/ge_b1x5v2.h
+++ b/include/configs/ge_b1x5v2.h
@@ -12,9 +12,6 @@
 
 #include "mx6_common.h"
 
-/* PWM */
-#define CONFIG_IMX6_PWM_PER_CLK		66000000
-
 /* UART */
 #define CONFIG_MXC_UART_BASE		UART3_BASE
 
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index cbaf03c2a2..705cb763a6 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -106,6 +106,4 @@
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
 
-#define CONFIG_IMX6_PWM_PER_CLK	66000000
-
 #endif	/* __GE_BX50V3_CONFIG_H */
diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h
index 913bc1996d..963dd92dd7 100644
--- a/include/configs/mx53ppd.h
+++ b/include/configs/mx53ppd.h
@@ -102,9 +102,6 @@
 
 /* FLASH and environment organization */
 
-/* Backlight Control */
-#define CONFIG_IMX6_PWM_PER_CLK 66666000
-
 #define CONFIG_IMX_VIDEO_SKIP
 
 #endif				/* __CONFIG_H */
-- 
2.39.5