From f666b9c4b528533e5661e01c78062c95a5594aab Mon Sep 17 00:00:00 2001 From: Vadim Pasternak Date: Fri, 4 Aug 2023 16:19:54 +0000 Subject: [PATCH] hw-mgmt: patches: Add fix to FPGA patches Fix mux selector in v5.10 #0317 and v6.1 #0057 patches. Reviewed-by: Felix Radensky Signed-off-by: Vadim Pasternak --- ...7-platform-mellanox-Introduce-support-for-switches-equ.patch | 2 +- ...7-platform-mellanox-Introduce-support-for-switches-equ.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/linux/linux-5.10/0317-platform-mellanox-Introduce-support-for-switches-equ.patch b/recipes-kernel/linux/linux-5.10/0317-platform-mellanox-Introduce-support-for-switches-equ.patch index d3b64a8c6..dec533c3a 100644 --- a/recipes-kernel/linux/linux-5.10/0317-platform-mellanox-Introduce-support-for-switches-equ.patch +++ b/recipes-kernel/linux/linux-5.10/0317-platform-mellanox-Introduce-support-for-switches-equ.patch @@ -87,7 +87,7 @@ index c4a4afff7..e303b8e5a 100644 + .parent = 1, + .chan_ids = mlxplat_default_regmap_mux_chan, + .num_adaps = ARRAY_SIZE(mlxplat_default_regmap_mux_chan), -+ .sel_reg_addr = MLXPLAT_CPLD_LPC_REG_I2C_CH3_OFFSET, ++ .sel_reg_addr = MLXPLAT_CPLD_LPC_REG_I2C_CH2_OFFSET, + .reg_size = 1, + }, + diff --git a/recipes-kernel/linux/linux-6.1/0057-platform-mellanox-Introduce-support-for-switches-equ.patch b/recipes-kernel/linux/linux-6.1/0057-platform-mellanox-Introduce-support-for-switches-equ.patch index 4e078bd6c..df3aa221d 100644 --- a/recipes-kernel/linux/linux-6.1/0057-platform-mellanox-Introduce-support-for-switches-equ.patch +++ b/recipes-kernel/linux/linux-6.1/0057-platform-mellanox-Introduce-support-for-switches-equ.patch @@ -87,7 +87,7 @@ index 04be8aeb23e9..bf1fc139e397 100644 + .parent = 1, + .chan_ids = mlxplat_default_regmap_mux_chan, + .num_adaps = ARRAY_SIZE(mlxplat_default_regmap_mux_chan), -+ .sel_reg_addr = MLXPLAT_CPLD_LPC_REG_I2C_CH3_OFFSET, ++ .sel_reg_addr = MLXPLAT_CPLD_LPC_REG_I2C_CH2_OFFSET, + .reg_size = 1, + }, +