Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'at91-ab-4.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux into fixes

Fixes for 4.11:

- Fix USB host for sama5d2
- Fix cpuidle on sama5

* tag 'at91-ab-4.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
ARM: at91: pm: cpu_idle: switch DDR to power-down mode
Revert "ARM: at91/dt: sama5d2: Use new compatible for ohci node"

Signed-off-by: Olof Johansson <olof@lixom.net>

+18 -2
+1 -1
arch/arm/boot/dts/sama5d2.dtsi
··· 266 266 }; 267 267 268 268 usb1: ohci@00400000 { 269 - compatible = "atmel,sama5d2-ohci", "usb-ohci"; 269 + compatible = "atmel,at91rm9200-ohci", "usb-ohci"; 270 270 reg = <0x00400000 0x100000>; 271 271 interrupts = <41 IRQ_TYPE_LEVEL_HIGH 2>; 272 272 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
+17 -1
arch/arm/mach-at91/pm.c
··· 289 289 at91_ramc_write(1, AT91_DDRSDRC_LPR, saved_lpr1); 290 290 } 291 291 292 + static void sama5d3_ddr_standby(void) 293 + { 294 + u32 lpr0; 295 + u32 saved_lpr0; 296 + 297 + saved_lpr0 = at91_ramc_read(0, AT91_DDRSDRC_LPR); 298 + lpr0 = saved_lpr0 & ~AT91_DDRSDRC_LPCB; 299 + lpr0 |= AT91_DDRSDRC_LPCB_POWER_DOWN; 300 + 301 + at91_ramc_write(0, AT91_DDRSDRC_LPR, lpr0); 302 + 303 + cpu_do_idle(); 304 + 305 + at91_ramc_write(0, AT91_DDRSDRC_LPR, saved_lpr0); 306 + } 307 + 292 308 /* We manage both DDRAM/SDRAM controllers, we need more than one value to 293 309 * remember. 294 310 */ ··· 339 323 { .compatible = "atmel,at91rm9200-sdramc", .data = at91rm9200_standby }, 340 324 { .compatible = "atmel,at91sam9260-sdramc", .data = at91sam9_sdram_standby }, 341 325 { .compatible = "atmel,at91sam9g45-ddramc", .data = at91_ddr_standby }, 342 - { .compatible = "atmel,sama5d3-ddramc", .data = at91_ddr_standby }, 326 + { .compatible = "atmel,sama5d3-ddramc", .data = sama5d3_ddr_standby }, 343 327 { /*sentinel*/ } 344 328 }; 345 329