Skip to contentSkip to conversation

ARM: pxa: hx4700: Initialize DS1WM clock_rate

PATCH RESEND Superseded Paul Parsons 3 participants 3 messages Apr 28, 2012 – May 2, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 ARM: pxa: hx4700: Initialize DS1WM clock_rate

The asic3 driver now sets the DS1WM clock_rate from the newly added asic3_platform_data clock_rate field.

This patch initializes the asic3_platform_data clock_rate field on the hx4700 platform.

---
 arch/arm/mach-pxa/hx4700.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-pxa/hx4700.c +1 -0
index 00a00a9..6bd692d 100644
@@ -295,6 +295,7 @@ static struct asic3_platform_data asic3_platform_data = {
 	.gpio_config_num = ARRAY_SIZE(asic3_gpio_config),
 	.irq_base        = IRQ_BOARD_START,
 	.gpio_base       = HX4700_ASIC3_GPIO_BASE,
+	.clock_rate      = 4000000,
 	.leds            = asic3_leds,
 };
 
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH RESEND 1/1 ARM: pxa: hx4700: Initialize DS1WM clock_rate

I don't know who's intending to take this, but I'd have thought Haojian would have...

Quoted 27 lines · Paul Parsons

The asic3 driver now sets the DS1WM clock_rate from the newly added asic3_platform_data clock_rate field.

This patch initializes the asic3_platform_data clock_rate field on the hx4700 platform.

---
 arch/arm/mach-pxa/hx4700.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-pxa/hx4700.c +1 -0
index 00a00a9..6bd692d 100644
@@ -295,6 +295,7 @@ static struct asic3_platform_data asic3_platform_data = {
 	.gpio_config_num = ARRAY_SIZE(asic3_gpio_config),
 	.irq_base        = IRQ_BOARD_START,
 	.gpio_base       = HX4700_ASIC3_GPIO_BASE,
+	.clock_rate      = 4000000,
 	.leds            = asic3_leds,
 };
 
Signature · 1 line
1.7.3.4
maintainer
#2 lore raw

PATCH RESEND 1/1 ARM: pxa: hx4700: Initialize DS1WM clock_rate

Quoted 28 lines · Russell King - ARM Linux

I don't know who's intending to take this, but I'd have thought Haojian would have...

Quoted 24 lines · Paul Parsons

The asic3 driver now sets the DS1WM clock_rate from the newly added asic3_platform_data clock_rate field.

This patch initializes the asic3_platform_data clock_rate field on the hx4700 platform.

---
?arch/arm/mach-pxa/hx4700.c | ? ?1 +
?1 files changed, 1 insertions(+), 0 deletions(-)

arch/arm/mach-pxa/hx4700.c +1 -0
index 00a00a9..6bd692d 100644
@@ -295,6 +295,7 @@ static struct asic3_platform_data asic3_platform_data = {
 ? ? ? .gpio_config_num = ARRAY_SIZE(asic3_gpio_config),
 ? ? ? .irq_base ? ? ? ?= IRQ_BOARD_START,
 ? ? ? .gpio_base ? ? ? = HX4700_ASIC3_GPIO_BASE,
+ ? ? .clock_rate ? ? ?= 4000000,
 ? ? ? .leds ? ? ? ? ? ?= asic3_leds,
 ?};
 
Quoted 3 lines
Quoted 3 lines

--
1.7.3.4

Yes, I'll handle it. I required Paul to resend the patches since the format of content is corrupted.

Paul,
Are you using copy & paste with html format to send patch? '=0A' is CR, '=' is connecting character
between two lines. There's two much special characters, and I don't want to handle them all.

I prefer you can use git-send-email to send patches. Or you can send them as attachment.

Thanks
Haojian