arm: arria10: Add correct mask bits for RTRIM and PU_DRV_STRG
Subsystems (3)
PATCH 1/1 arm: arria10: Add correct mask bits for RTRIM and PU_DRV_STRG
From: Dinesh Maniyam <[email protected]>
The current mask bits of RTRIM and PU_DRV_STRG are mismatched with the configuration register of arria10. The correct register for RTRIM and PU_DRV_STRG should be 0x7 and 0x1f respectively.
Signed-off-by Dinesh Maniyam <[email protected]>
--- arch/arm/mach-socfpga/qts-filter-a10.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-socfpga/qts-filter-a10.sh +2 -2
@@ -106,11 +106,11 @@ EOF echo echo "/* Macro for Config IO bit mapping */" echo -n "#define CONFIG_IO_MACRO(NAME) " - echo "(((NAME ## _RTRIM & 0xff) << 19) | \\" + echo "(((NAME ## _RTRIM & 0x7) << 19) | \\" echo " ((NAME ## _INPUT_BUF_EN & 0x3) << 17) | \\" echo " ((NAME ## _WK_PU_EN & 0x1) << 16) | \\" echo " ((NAME ## _PU_SLW_RT & 0x1) << 13) | \\" - echo " ((NAME ## _PU_DRV_STRG & 0xf) << 8) | \\" + echo " ((NAME ## _PU_DRV_STRG & 0x1f) << 8) | \\" echo " ((NAME ## _PD_SLW_RT & 0x1) << 5) | \\" echo " (NAME ## _PD_DRV_STRG & 0x1f))"
Signature · 1 line
2.43.7
Quoted 19 lines · On 4/3/2026 12:12 pm, [email protected] wrote:
From: Dinesh Maniyam<[email protected]>
The current mask bits of RTRIM and
PU_DRV_STRGare mismatched with the configuration register of arria10. The correct register for RTRIM andPU_DRV_STRGshould be0x7and0x1frespectively.Signed-off-by Dinesh Maniyam<[email protected]>--- arch/arm/mach-socfpga/qts-filter-a10.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm/mach-socfpga/qts-filter-a10.sh +0
-0@@ -106,11 +106,11 @@ EOF echo echo "/* Macro for Config IO bit mapping */" echo -n "#define CONFIG_IO_MACRO(NAME) "
arch/arm/mach-socfpga/qts-filter-a10.sh EOF · line 116
Quoted 10 lines
arch/arm/mach-socfpga/qts-filter-a10.sh +2
-2- echo "(((NAME ## _RTRIM & 0xff) << 19) | \\" + echo "(((NAME ## _RTRIM & 0x7) << 19) | \\" echo " ((NAME ## _INPUT_BUF_EN & 0x3) << 17) | \\" echo " ((NAME ## _WK_PU_EN & 0x1) << 16) | \\" echo " ((NAME ## _PU_SLW_RT & 0x1) << 13) | \\" - echo " ((NAME ## _PU_DRV_STRG & 0xf) << 8) | \\" + echo " ((NAME ## _PU_DRV_STRG & 0x1f) << 8) | \\" echo " ((NAME ## _PD_SLW_RT & 0x1) << 5) | \\" echo " (NAME ## _PD_DRV_STRG & 0x1f))"