Skip to contentSkip to conversation

sh: fix USBF resource for sh7722

PATCH In review Magnus Damm 2 participants 2 messages May 22, 2008 – May 23, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: fix USBF resource for sh7722

The USBF function on sh7722 is currently not working with the m66592_udc driver. The driver is using platform_get_resource_byname() so my commit a0d29798e568116aa6c32aef7bab2d9e620c88ad broke sh7722 support.

The long term fix is to replace platform_get_resource_byname() in the driver with platform_get_resource(), but this helps until that happens.

---

 arch/sh/kernel/cpu/sh4a/setup-sh7722.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/kernel/cpu/sh4a/setup-sh7722.c +1 -1
@@ -16,7 +16,7 @@
 
 static struct resource usbf_resources[] = {
 	[0] = {
-		.name	= "USBF",
+		.name	= "m66592_udc",
 		.start	= 0x04480000,
 		.end	= 0x044800FF,
 		.flags	= IORESOURCE_MEM,
#1 lore raw
Quoted 6 lines · Magnus Damm

The USBF function on sh7722 is currently not working with the m66592_udc driver. The driver is using platform_get_resource_byname() so my commit a0d29798e568116aa6c32aef7bab2d9e620c88ad broke sh7722 support.

The long term fix is to replace platform_get_resource_byname() in the driver with platform_get_resource(), but this helps until that happens.

Quoted 2 lines · Magnus Damm

This patch fixes a VPU vector typo for sh7723. The correct value is 0x980, the same as for sh7722.

Quoted 1 line · Magnus Damm

This patch adds support for sh7723 silicon with a prr value of 0x51.

Quoted 4 lines · Magnus Damm

Make use of recently added sm501 8250 uart support, commit 61711f8fd8180e458cfb6846bcf4fc636a95f3db makes the mfd code handle 8250 uarts so there is no longer need to do it from the r2d board code.

Quoted 2 lines · Magnus Damm

Update the Migo-R defconfig to include support for KEYSC, I2C, RTC and NAND and NOR MTD devices.

I'll add these to the 2.6.26 queue, thanks.