arm: omap: Move PRM I2C channel frequency to vc.c

PRM_VC_I2C_CHANNEL_FREQ_KHZ is defined in omap5/clock.h but isn't really
related to clocks.

Since it's only used by mach-omap2/vc.c, move its definition there.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
This commit is contained in:
Bastien Curutchet
2026-06-17 09:50:35 -06:00
committed by Tom Rini
parent 4433253ecf
commit bc93b4bcb3
2 changed files with 2 additions and 3 deletions
-3
View File
@@ -204,9 +204,6 @@
/* Clock frequencies */
#define OMAP_SYS_CLK_IND_38_4_MHZ 6
/* PRM_VC_VAL_BYPASS */
#define PRM_VC_I2C_CHANNEL_FREQ_KHZ 400
/* CTRL_CORE_SRCOMP_NORTH_SIDE */
#define USB2PHY_DISCHGDET (1 << 29)
#define USB2PHY_AUTORESUME_EN (1 << 30)
+2
View File
@@ -46,6 +46,8 @@
#define PRM_VC_VAL_BYPASS_DATA_SHIFT 16
#define PRM_VC_VAL_BYPASS_DATA_MASK 0xFF
#define PRM_VC_I2C_CHANNEL_FREQ_KHZ 400
/**
* omap_vc_init() - Initialization for Voltage controller
* @speed_khz: I2C buspeed in KHz