]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge branches 'heads/clock-cleanup-for-v3.16', 'heads/r8a7740-cleanup-for-v3.16...
authorSimon Horman <horms+renesas@verge.net.au>
Sun, 11 May 2014 12:00:44 +0000 (21:00 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Sun, 11 May 2014 12:00:44 +0000 (21:00 +0900)
1  2  3  4  5  6 
arch/arm/boot/dts/r8a7740.dtsi
arch/arm/mach-shmobile/board-armadillo800eva.c
arch/arm/mach-shmobile/clock-r8a7740.c
arch/arm/mach-shmobile/setup-r8a7740.c
arch/arm/mach-shmobile/setup-r8a7790.c
arch/arm/mach-shmobile/setup-r8a7791.c
arch/arm/mach-shmobile/setup-sh7372.c

Simple merge
index a177a7b3bdbd9bfecb281b90a5dc1087a7492ad3,b7a09bb45fc970b8dcda16e93382d7c5d8a20789,eaec04346ea65e082bf852d2e7932ff3d1649976,8f3c68101d59d7f3423e59ee98eb361e73b6a856,8f3c68101d59d7f3423e59ee98eb361e73b6a856,8f3c68101d59d7f3423e59ee98eb361e73b6a856..c96099e3638c123882c0ebd63852db3e908b11ae
@@@@@@@ -269,94 -257,25 -269,94 -269,94 -269,94 -269,94 +257,25 @@@@@@@ static struct platform_device cmt1_devi
      };
      
      /* TMU */
- ----static struct sh_timer_config tmu00_platform_data = {
- ----  .name = "TMU00",
- ----  .channel_offset = 0x4,
- ----  .timer_bit = 0,
- ----  .clockevent_rating = 200,
+ ++++static struct sh_timer_config tmu0_platform_data = {
+ ++++  .channels_mask = 7,
      };
      
- ----static struct resource tmu00_resources[] = {
- ----  [0] = {
- ----          .name   = "TMU00",
- ----          .start  = 0xfff80008,
- ----          .end    = 0xfff80014 - 1,
- ----          .flags  = IORESOURCE_MEM,
- ----  },
- ----  [1] = {
- ----          .start  = gic_spi(198),
- ----          .flags  = IORESOURCE_IRQ,
- ----  },
+ ++++static struct resource tmu0_resources[] = {
+ ++++  DEFINE_RES_MEM(0xfff80000, 0x2c),
+ ++++  DEFINE_RES_IRQ(gic_spi(198)),
+ ++++  DEFINE_RES_IRQ(gic_spi(199)),
+ ++++  DEFINE_RES_IRQ(gic_spi(200)),
      };
      
- ----static struct platform_device tmu00_device = {
- ----  .name           = "sh_tmu",
+ ++++static struct platform_device tmu0_device = {
+ ++++  .name           = "sh-tmu",
        .id             = 0,
        .dev = {
- ----          .platform_data  = &tmu00_platform_data,
- ----  },
- ----  .resource       = tmu00_resources,
- ----  .num_resources  = ARRAY_SIZE(tmu00_resources),
- ----};
- ----
- ----static struct sh_timer_config tmu01_platform_data = {
- ----  .name = "TMU01",
- ----  .channel_offset = 0x10,
- ----  .timer_bit = 1,
- ----  .clocksource_rating = 200,
- ----};
- ----
- ----static struct resource tmu01_resources[] = {
- ----  [0] = {
- ----          .name   = "TMU01",
- ----          .start  = 0xfff80014,
- ----          .end    = 0xfff80020 - 1,
- ----          .flags  = IORESOURCE_MEM,
- ----  },
- ----  [1] = {
- ----          .start  = gic_spi(199),
- ----          .flags  = IORESOURCE_IRQ,
- ----  },
- ----};
- ----
- ----static struct platform_device tmu01_device = {
- ----  .name           = "sh_tmu",
- ----  .id             = 1,
- ----  .dev = {
- ----          .platform_data  = &tmu01_platform_data,
  -     },
  -     .resource       = tmu01_resources,
  -     .num_resources  = ARRAY_SIZE(tmu01_resources),
  -   };
  -   
  -   static struct sh_timer_config tmu02_platform_data = {
  -     .name = "TMU02",
  -     .channel_offset = 0x1C,
  -     .timer_bit = 2,
  -     .clocksource_rating = 200,
  -   };
  -   
  -   static struct resource tmu02_resources[] = {
  -     [0] = {
  -             .name   = "TMU02",
  -             .start  = 0xfff80020,
  -             .end    = 0xfff8002C - 1,
  -             .flags  = IORESOURCE_MEM,
  -     },
  -     [1] = {
  -             .start  = gic_spi(200),
  -             .flags  = IORESOURCE_IRQ,
  -     },
  -   };
  -   
  -   static struct platform_device tmu02_device = {
  -     .name           = "sh_tmu",
  -     .id             = 2,
  -     .dev = {
  -             .platform_data  = &tmu02_platform_data,
+ ++++          .platform_data  = &tmu0_platform_data,
        },
-  ---  .resource       = tmu01_resources,
-  ---  .num_resources  = ARRAY_SIZE(tmu01_resources),
-  ---};
-  ---
-  ---static struct sh_timer_config tmu02_platform_data = {
-  ---  .name = "TMU02",
-  ---  .channel_offset = 0x1C,
-  ---  .timer_bit = 2,
-  ---  .clocksource_rating = 200,
-  ---};
-  ---
-  ---static struct resource tmu02_resources[] = {
-  ---  [0] = {
-  ---          .name   = "TMU02",
-  ---          .start  = 0xfff80020,
-  ---          .end    = 0xfff8002C - 1,
-  ---          .flags  = IORESOURCE_MEM,
-  ---  },
-  ---  [1] = {
-  ---          .start  = gic_spi(200),
-  ---          .flags  = IORESOURCE_IRQ,
-  ---  },
-  ---};
-  ---
-  ---static struct platform_device tmu02_device = {
-  ---  .name           = "sh_tmu",
-  ---  .id             = 2,
-  ---  .dev = {
-  ---          .platform_data  = &tmu02_platform_data,
-  ---  },
- ----  .resource       = tmu02_resources,
- ----  .num_resources  = ARRAY_SIZE(tmu02_resources),
+ ++++  .resource       = tmu0_resources,
+ ++++  .num_resources  = ARRAY_SIZE(tmu0_resources),
      };
      
      /* IPMMUI (an IPMMU module for ICB/LMB) */
Simple merge