ARM: mvebu: add SAR frequency values for 1.8/2.0GHz
Subsystems (3)
PATCH 1/1 ARM: mvebu: add SAR frequency values for 1.8/2.0GHz
The Armada-38x has 1.8GHz and 2.0GHz variants. Add entries for these variants to the sar_freq_tab.
---
arch/arm/mach-mvebu/cpu.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)
arch/arm/mach-mvebu/cpu.c +9 -7
@@ -112,13 +112,15 @@ static const struct sar_freq_modes sar_freq_tab[] = {#elif defined(CONFIG_ARMADA_38X )/* SAR frequency values for Armada 38x */ static const struct sar_freq_modes sar_freq_tab[] = { - {0x0 ,0x0 ,666 ,333 ,333 }, - {0x2 ,0x0 ,800 ,400 ,400 }, - {0x4 ,0x0 ,1066 ,533 ,533 }, - {0x6 ,0x0 ,1200 ,600 ,600 }, - {0x8 ,0x0 ,1332 ,666 ,666 }, - {0xc ,0x0 ,1600 ,800 ,800 }, - {0xff ,0xff ,0 ,0 ,0 }/* 0xff marks end of array */ + {0x0 ,0x0 ,666 ,333 ,333 }, + {0x2 ,0x0 ,800 ,400 ,400 }, + {0x4 ,0x0 ,1066 ,533 ,533 }, + {0x6 ,0x0 ,1200 ,600 ,600 }, + {0x8 ,0x0 ,1332 ,666 ,666 }, + {0xc ,0x0 ,1600 ,800 ,800 }, + {0x10 ,0x0 ,1866 ,933 ,933 }, + {0x13 ,0x0 ,2000 ,1000 ,933 }, + {0xff ,0xff ,0 ,0 ,0 }/* 0xff marks end of array */ };#else /* SAR frequency values for Armada XP */
Signature · 1 line
2.14.1
PATCH 1/1 ARM: mvebu: add SAR frequency values for 1.8/2.0GHz
Quoted 37 lines · Chris Packham
The Armada-38x has 1.8GHz and 2.0GHz variants. Add entries for these variants to the
sar_freq_tab.Signed-off-by Chris Packham <[email protected]>---
arch/arm/mach-mvebu/cpu.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)arch/arm/mach-mvebu/cpu.c +9
-8@@ -112,13 +112,15 @@ static const struct sar_freq_modes sar_freq_tab[] = {#elif defined(CONFIG_ARMADA_38X )/* SAR frequency values for Armada 38x */ static const struct sar_freq_modes sar_freq_tab[] = { - {0x0 ,0x0 ,666 ,333 ,333 }, - {0x2 ,0x0 ,800 ,400 ,400 }, - {0x4 ,0x0 ,1066 ,533 ,533 }, - {0x6 ,0x0 ,1200 ,600 ,600 }, - {0x8 ,0x0 ,1332 ,666 ,666 }, - {0xc ,0x0 ,1600 ,800 ,800 }, - {0xff ,0xff ,0 ,0 ,0 }/* 0xff marks end of array */ + {0x0 ,0x0 ,666 ,333 ,333 }, + {0x2 ,0x0 ,800 ,400 ,400 }, + {0x4 ,0x0 ,1066 ,533 ,533 }, + {0x6 ,0x0 ,1200 ,600 ,600 }, + {0x8 ,0x0 ,1332 ,666 ,666 }, + {0xc ,0x0 ,1600 ,800 ,800 }, + {0x10 ,0x0 ,1866 ,933 ,933 }, + {0x13 ,0x0 ,2000 ,1000 ,933 }, + {0xff ,0xff ,0 ,0 ,0 }/* 0xff marks end of array */ };#else /* SAR frequency values for Armada XP */ --
Quoted 2 lines
2.14.1
Ping?
PATCH 1/1 ARM: mvebu: add SAR frequency values for 1.8/2.0GHz
Hi Chris,
Quoted 34 lines · Chris Packham
Quoted 33 lines · Chris Packham
The Armada-38x has 1.8GHz and 2.0GHz variants. Add entries for these variants to the
sar_freq_tab.Signed-off-by Chris Packham <[email protected]>---
arch/arm/mach-mvebu/cpu.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)arch/arm/mach-mvebu/cpu.c +9
-7@@ -112,13 +112,15 @@ static const struct sar_freq_modes sar_freq_tab[] = {#elif defined(CONFIG_ARMADA_38X )/* SAR frequency values for Armada 38x */ static const struct sar_freq_modes sar_freq_tab[] = { - {0x0 ,0x0 ,666 ,333 ,333 }, - {0x2 ,0x0 ,800 ,400 ,400 }, - {0x4 ,0x0 ,1066 ,533 ,533 }, - {0x6 ,0x0 ,1200 ,600 ,600 }, - {0x8 ,0x0 ,1332 ,666 ,666 }, - {0xc ,0x0 ,1600 ,800 ,800 }, - { 0xff, 0xff, 0, 0, 0 } /* 0xff marks end of array */ + {0x0 ,0x0 ,666 ,333 ,333 }, + {0x2 ,0x0 ,800 ,400 ,400 }, + {0x4 ,0x0 ,1066 ,533 ,533 }, + {0x6 ,0x0 ,1200 ,600 ,600 }, + {0x8 ,0x0 ,1332 ,666 ,666 }, + {0xc ,0x0 ,1600 ,800 ,800 }, + {0x10 ,0x0 ,1866 ,933 ,933 }, + {0x13 ,0x0 ,2000 ,1000 ,933 }, + { 0xff, 0xff, 0, 0, 0 } /* 0xff marks end of array */
Quoted 8 lines
Quoted 6 lines
arch/arm/mach-mvebu/cpu.c +0
-1};#else /* SAR frequency values for Armada XP */ --2.14.1
Ping?
I've been waiting for some patch updates, which have broken compilation for MVEBU boards. I'll pull hopefully today.
Sorry for the delay.
Thanks,
Stefan
PATCH 1/1 ARM: mvebu: add SAR frequency values for 1.8/2.0GHz
In reply to Chris PackhamQuoted 4 lines · Chris Packham
The Armada-38x has 1.8GHz and 2.0GHz variants. Add entries for these variants to the
sar_freq_tab.Signed-off-by Chris Packham <[email protected]>
Applied to u-boot-marvell/master.
Thanks,
Stefan