diff options
| author | Olof Johansson <olof@lixom.net> | 2013-06-07 21:10:42 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2013-06-07 21:11:02 -0400 |
| commit | fb565ff7c885893dd33ba48f730d32b50aa350ea (patch) | |
| tree | 0a7e3d2b2a90637e354f0dfbf48a7580d9c61eba | |
| parent | 437d8ac510b90610da814ae25a7b79aaf3b4910f (diff) | |
| parent | 5600a8485603b240790005b9b58de4c4f6ada69d (diff) | |
Merge tag 'renesas-fixes-for-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into fixes
From Simon Horman, Renesas ARM based SoC fixes for v3.10:
- Correction to USB OVC and PENC pin groupings on r8a7779 SoC.
This avoids conflicts when the USB_OVCn pins are used by another function.
This has been observed to be a problem in v3.10-rc1.
- Update CMT clock rating for sh73a0 SoC to resolve boot failure
on kzm9g-reference. This resolves a regression between v3.9 and v3.10-rc1.
* tag 'renesas-fixes-for-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
ARM: shmobile: sh73a0: Update CMT clockevent rating to 80
sh-pfc: r8a7779: Don't group USB OVC and PENC pins
Signed-off-by: Olof Johansson <olof@lixom.net>
| -rw-r--r-- | arch/arm/mach-shmobile/setup-sh73a0.c | 2 | ||||
| -rw-r--r-- | drivers/pinctrl/sh-pfc/pfc-r8a7779.c | 45 |
2 files changed, 37 insertions, 10 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c index fdf3894b1cc3..9696f3646864 100644 --- a/arch/arm/mach-shmobile/setup-sh73a0.c +++ b/arch/arm/mach-shmobile/setup-sh73a0.c | |||
| @@ -252,7 +252,7 @@ static struct sh_timer_config cmt10_platform_data = { | |||
| 252 | .name = "CMT10", | 252 | .name = "CMT10", |
| 253 | .channel_offset = 0x10, | 253 | .channel_offset = 0x10, |
| 254 | .timer_bit = 0, | 254 | .timer_bit = 0, |
| 255 | .clockevent_rating = 125, | 255 | .clockevent_rating = 80, |
| 256 | .clocksource_rating = 125, | 256 | .clocksource_rating = 125, |
| 257 | }; | 257 | }; |
| 258 | 258 | ||
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7779.c b/drivers/pinctrl/sh-pfc/pfc-r8a7779.c index 791a6719d8a9..8cd90e7e945a 100644 --- a/drivers/pinctrl/sh-pfc/pfc-r8a7779.c +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7779.c | |||
| @@ -2357,27 +2357,48 @@ static const unsigned int sdhi3_wp_mux[] = { | |||
| 2357 | }; | 2357 | }; |
| 2358 | /* - USB0 ------------------------------------------------------------------- */ | 2358 | /* - USB0 ------------------------------------------------------------------- */ |
| 2359 | static const unsigned int usb0_pins[] = { | 2359 | static const unsigned int usb0_pins[] = { |
| 2360 | /* OVC */ | 2360 | /* PENC */ |
| 2361 | 150, 154, | 2361 | 154, |
| 2362 | }; | 2362 | }; |
| 2363 | static const unsigned int usb0_mux[] = { | 2363 | static const unsigned int usb0_mux[] = { |
| 2364 | USB_OVC0_MARK, USB_PENC0_MARK, | 2364 | USB_PENC0_MARK, |
| 2365 | }; | ||
| 2366 | static const unsigned int usb0_ovc_pins[] = { | ||
| 2367 | /* USB_OVC */ | ||
| 2368 | 150 | ||
| 2369 | }; | ||
| 2370 | static const unsigned int usb0_ovc_mux[] = { | ||
| 2371 | USB_OVC0_MARK, | ||
| 2365 | }; | 2372 | }; |
| 2366 | /* - USB1 ------------------------------------------------------------------- */ | 2373 | /* - USB1 ------------------------------------------------------------------- */ |
| 2367 | static const unsigned int usb1_pins[] = { | 2374 | static const unsigned int usb1_pins[] = { |
| 2368 | /* OVC */ | 2375 | /* PENC */ |
| 2369 | 152, 155, | 2376 | 155, |
| 2370 | }; | 2377 | }; |
| 2371 | static const unsigned int usb1_mux[] = { | 2378 | static const unsigned int usb1_mux[] = { |
| 2372 | USB_OVC1_MARK, USB_PENC1_MARK, | 2379 | USB_PENC1_MARK, |
| 2380 | }; | ||
| 2381 | static const unsigned int usb1_ovc_pins[] = { | ||
| 2382 | /* USB_OVC */ | ||
| 2383 | 152, | ||
| 2384 | }; | ||
| 2385 | static const unsigned int usb1_ovc_mux[] = { | ||
| 2386 | USB_OVC1_MARK, | ||
| 2373 | }; | 2387 | }; |
| 2374 | /* - USB2 ------------------------------------------------------------------- */ | 2388 | /* - USB2 ------------------------------------------------------------------- */ |
| 2375 | static const unsigned int usb2_pins[] = { | 2389 | static const unsigned int usb2_pins[] = { |
| 2376 | /* OVC, PENC */ | 2390 | /* PENC */ |
| 2377 | 125, 156, | 2391 | 156, |
| 2378 | }; | 2392 | }; |
| 2379 | static const unsigned int usb2_mux[] = { | 2393 | static const unsigned int usb2_mux[] = { |
| 2380 | USB_OVC2_MARK, USB_PENC2_MARK, | 2394 | USB_PENC2_MARK, |
| 2395 | }; | ||
| 2396 | static const unsigned int usb2_ovc_pins[] = { | ||
| 2397 | /* USB_OVC */ | ||
| 2398 | 125, | ||
| 2399 | }; | ||
| 2400 | static const unsigned int usb2_ovc_mux[] = { | ||
| 2401 | USB_OVC2_MARK, | ||
| 2381 | }; | 2402 | }; |
| 2382 | 2403 | ||
| 2383 | static const struct sh_pfc_pin_group pinmux_groups[] = { | 2404 | static const struct sh_pfc_pin_group pinmux_groups[] = { |
| @@ -2501,8 +2522,11 @@ static const struct sh_pfc_pin_group pinmux_groups[] = { | |||
| 2501 | SH_PFC_PIN_GROUP(sdhi3_cd), | 2522 | SH_PFC_PIN_GROUP(sdhi3_cd), |
| 2502 | SH_PFC_PIN_GROUP(sdhi3_wp), | 2523 | SH_PFC_PIN_GROUP(sdhi3_wp), |
| 2503 | SH_PFC_PIN_GROUP(usb0), | 2524 | SH_PFC_PIN_GROUP(usb0), |
| 2525 | SH_PFC_PIN_GROUP(usb0_ovc), | ||
| 2504 | SH_PFC_PIN_GROUP(usb1), | 2526 | SH_PFC_PIN_GROUP(usb1), |
| 2527 | SH_PFC_PIN_GROUP(usb1_ovc), | ||
| 2505 | SH_PFC_PIN_GROUP(usb2), | 2528 | SH_PFC_PIN_GROUP(usb2), |
| 2529 | SH_PFC_PIN_GROUP(usb2_ovc), | ||
| 2506 | }; | 2530 | }; |
| 2507 | 2531 | ||
| 2508 | static const char * const du0_groups[] = { | 2532 | static const char * const du0_groups[] = { |
| @@ -2683,14 +2707,17 @@ static const char * const sdhi3_groups[] = { | |||
| 2683 | 2707 | ||
| 2684 | static const char * const usb0_groups[] = { | 2708 | static const char * const usb0_groups[] = { |
| 2685 | "usb0", | 2709 | "usb0", |
| 2710 | "usb0_ovc", | ||
| 2686 | }; | 2711 | }; |
| 2687 | 2712 | ||
| 2688 | static const char * const usb1_groups[] = { | 2713 | static const char * const usb1_groups[] = { |
| 2689 | "usb1", | 2714 | "usb1", |
| 2715 | "usb1_ovc", | ||
| 2690 | }; | 2716 | }; |
| 2691 | 2717 | ||
| 2692 | static const char * const usb2_groups[] = { | 2718 | static const char * const usb2_groups[] = { |
| 2693 | "usb2", | 2719 | "usb2", |
| 2720 | "usb2_ovc", | ||
| 2694 | }; | 2721 | }; |
| 2695 | 2722 | ||
| 2696 | static const struct sh_pfc_function pinmux_functions[] = { | 2723 | static const struct sh_pfc_function pinmux_functions[] = { |
