mirror of
https://github.com/torvalds/linux.git
synced 2025-04-06 09:13:43 +00:00
platform: mellanox: mlx-platform: Change register name
Register 0xd9 was repurposed on new systems. Change its name to correctly reflect the new functionality. Reviewed-by: Felix Radensky <fradensky@nvidia.com> Signed-off-by: Vadim Pasternak <vadimp@nvidia.com> Link: https://lore.kernel.org/r/20250124172632.22437-4-vadimp@nvidia.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
parent
749d3e00ec
commit
e75394bbf4
@ -145,7 +145,7 @@
|
||||
#define MLXPLAT_CPLD_LPC_REG_WD3_TMR_OFFSET 0xd1
|
||||
#define MLXPLAT_CPLD_LPC_REG_WD3_TLEFT_OFFSET 0xd2
|
||||
#define MLXPLAT_CPLD_LPC_REG_WD3_ACT_OFFSET 0xd3
|
||||
#define MLXPLAT_CPLD_LPC_REG_DBG_CTRL_OFFSET 0xd9
|
||||
#define MLXPLAT_CPLD_LPC_REG_CPLD6_MVER_OFFSET 0xd9
|
||||
#define MLXPLAT_CPLD_LPC_REG_I2C_CH1_OFFSET 0xdb
|
||||
#define MLXPLAT_CPLD_LPC_REG_I2C_CH2_OFFSET 0xda
|
||||
#define MLXPLAT_CPLD_LPC_REG_I2C_CH3_OFFSET 0xdc
|
||||
@ -5050,7 +5050,6 @@ static bool mlxplat_mlxcpld_writeable_reg(struct device *dev, unsigned int reg)
|
||||
case MLXPLAT_CPLD_LPC_REG_WD3_TMR_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_WD3_TLEFT_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_WD3_ACT_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_DBG_CTRL_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_I2C_CH1_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_I2C_CH2_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_I2C_CH3_OFFSET:
|
||||
@ -5186,7 +5185,7 @@ static bool mlxplat_mlxcpld_readable_reg(struct device *dev, unsigned int reg)
|
||||
case MLXPLAT_CPLD_LPC_REG_WD3_TMR_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_WD3_TLEFT_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_WD3_ACT_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_DBG_CTRL_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_CPLD6_MVER_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_I2C_CH1_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_I2C_CH2_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_I2C_CH3_OFFSET:
|
||||
@ -5343,7 +5342,7 @@ static bool mlxplat_mlxcpld_volatile_reg(struct device *dev, unsigned int reg)
|
||||
case MLXPLAT_CPLD_LPC_REG_WD2_TLEFT_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_WD3_TMR_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_WD3_TLEFT_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_DBG_CTRL_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_CPLD6_MVER_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_I2C_CH1_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_I2C_CH2_OFFSET:
|
||||
case MLXPLAT_CPLD_LPC_REG_I2C_CH3_OFFSET:
|
||||
|
Loading…
x
Reference in New Issue
Block a user