linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] at91: drivers for 3.16 #1
@ 2014-06-02 16:35 Nicolas Ferre
  2014-06-02 16:37 ` Olof Johansson
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Ferre @ 2014-06-02 16:35 UTC (permalink / raw)
  To: Arnd Bergmann, Olof Johansson, arm
  Cc: egtvedt, gregkh, thierry.reding, Nicolas Ferre,
	Linux Kernel list, linux-arm-kernel, Alexandre Belloni,
	Boris BREZILLON, Jean-Christophe PLAGNIOL-VILLARD,
	Ludovic Desroches

Arnd, Olof, Kevin,

Here is an additional AT91 pull-request for 3.16 about drivers and
particularly focused on PWM.
Alexandre did a great job replacing the existing calls to the older,
non-standard drivers by the use of the newer "pwm-atmel" which takes
advantage of the PWM framework.
In addition of removing three obsolete drivers, it also solves an issue with
non existing Kconfig symbols introduced by (misc: atmel_pwm: only build for
supported platforms) which was trying to avoid a build failure... so, all in 
all, a pretty good thing!

The drawback is that this series depends on two git trees:

Obviously, one from Thierry:
git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm

And as well the one from Greg who took Arnd's patch for Kconfig:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc

Tell me if you feel it is the proper way to deal with this or if it is too late
for this round (look at the diffstat, yummy ;-))

Thanks, best regards,

The following changes since commit fa264e615338c423e344d34621f992858b957097:

  Merge branch 'char-misc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc into at91-3.16-drivers (2014-06-02 18:02:18 +0200)

are available in the git repository at:


  git://github.com/at91linux/linux-at91.git tags/at91-drivers

for you to fetch changes up to 0108e8f47ffb12b2543db62cc6745a33127c712e:

  misc: atmel_pwm: remove obsolete driver (2014-06-02 18:02:27 +0200)

----------------------------------------------------------------
Atmel PWM driver update for 3.16
- move to the new PWM driver which uses PWM framework
- remove 3 obsolete drivers (atmel-pwm-bl.c, leds-atmel-pwm.c and atmel_pwm.c)

----------------------------------------------------------------
Alexandre Belloni (15):
      ARM: at91: at91sam9g45: switch to generic PWM framework
      ARM: at91: sam9m10g45ek: use generic leds_pwm driver
      ARM: at91: at91sam9263: switch to generic PWM framework
      ARM: at91: sam9263ek: use generic leds_pwm driver
      ARM: at91: at91sam9rl: switch to generic PWM framework
      ARM: at91: remove useless at91_pwm_leds()
      PWM: atmel: allow building for AVR32
      avr32/at32ap: switch to the generic PWM framework
      avr32: MRMT: use generic leds_pwm driver
      avr32: merisc: use generic leds_pwm driver
      avr32: favr-32: use generic pwm_bl driver
      avr32: update defconfig to use the generic PWM framework
      backlight: atmel-pwm-bl: remove obsolete driver
      leds: atmel-pwm: remove obsolete driver
      misc: atmel_pwm: remove obsolete driver

 arch/arm/mach-at91/at91sam9263.c           |   1 +
 arch/arm/mach-at91/at91sam9263_devices.c   |  11 +-
 arch/arm/mach-at91/at91sam9g45.c           |   1 +
 arch/arm/mach-at91/at91sam9g45_devices.c   |  11 +-
 arch/arm/mach-at91/at91sam9rl.c            |   1 +
 arch/arm/mach-at91/at91sam9rl_devices.c    |  11 +-
 arch/arm/mach-at91/board-sam9263ek.c       |  55 +++-
 arch/arm/mach-at91/board-sam9m10g45ek.c    |  42 ++-
 arch/arm/mach-at91/board.h                 |   1 -
 arch/arm/mach-at91/leds.c                  |  37 ---
 arch/avr32/boards/atngw100/mrmt.c          |  34 ++-
 arch/avr32/boards/favr-32/setup.c          |  48 ++--
 arch/avr32/boards/merisc/setup.c           |  34 ++-
 arch/avr32/configs/atngw100_mrmt_defconfig |   5 +-
 arch/avr32/configs/atstk1002_defconfig     |   5 +-
 arch/avr32/configs/atstk1003_defconfig     |   5 +-
 arch/avr32/configs/atstk1004_defconfig     |   5 +-
 arch/avr32/configs/atstk1006_defconfig     |   5 +-
 arch/avr32/configs/favr-32_defconfig       |   6 +-
 arch/avr32/configs/merisc_defconfig        |   5 +-
 arch/avr32/mach-at32ap/at32ap700x.c        |   7 +-
 drivers/leds/Kconfig                       |   8 -
 drivers/leds/Makefile                      |   1 -
 drivers/leds/leds-atmel-pwm.c              | 149 -----------
 drivers/misc/Kconfig                       |  10 -
 drivers/misc/Makefile                      |   1 -
 drivers/misc/atmel_pwm.c                   | 402 -----------------------------
 drivers/pwm/Kconfig                        |   2 +-
 drivers/video/backlight/Kconfig            |  11 -
 drivers/video/backlight/Makefile           |   1 -
 drivers/video/backlight/atmel-pwm-bl.c     | 223 ----------------
 include/linux/atmel-pwm-bl.h               |  43 ---
 include/linux/atmel_pwm.h                  |  70 -----
 33 files changed, 186 insertions(+), 1065 deletions(-)
 delete mode 100644 drivers/leds/leds-atmel-pwm.c
 delete mode 100644 drivers/misc/atmel_pwm.c
 delete mode 100644 drivers/video/backlight/atmel-pwm-bl.c
 delete mode 100644 include/linux/atmel-pwm-bl.h
 delete mode 100644 include/linux/atmel_pwm.h

-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] at91: drivers for 3.16 #1
  2014-06-02 16:35 [GIT PULL] at91: drivers for 3.16 #1 Nicolas Ferre
@ 2014-06-02 16:37 ` Olof Johansson
  2014-06-02 17:07   ` Alexandre Belloni
  2014-06-17  8:42   ` [GIT PULL] at91: fixes for 3.16 (drivers) #1 Nicolas Ferre
  0 siblings, 2 replies; 5+ messages in thread
From: Olof Johansson @ 2014-06-02 16:37 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Arnd Bergmann, arm, egtvedt, Greg Kroah-Hartman, Thierry Reding,
	Linux Kernel list, linux-arm-kernel, Alexandre Belloni,
	Boris BREZILLON, Jean-Christophe PLAGNIOL-VILLARD,
	Ludovic Desroches

Hi,

On Mon, Jun 2, 2014 at 9:35 AM, Nicolas Ferre <nicolas.ferre@atmel.com> wrote:
> Arnd, Olof, Kevin,
>
> Here is an additional AT91 pull-request for 3.16 about drivers and
> particularly focused on PWM.
> Alexandre did a great job replacing the existing calls to the older,
> non-standard drivers by the use of the newer "pwm-atmel" which takes
> advantage of the PWM framework.
> In addition of removing three obsolete drivers, it also solves an issue with
> non existing Kconfig symbols introduced by (misc: atmel_pwm: only build for
> supported platforms) which was trying to avoid a build failure... so, all in
> all, a pretty good thing!
>
> The drawback is that this series depends on two git trees:
>
> Obviously, one from Thierry:
> git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
>
> And as well the one from Greg who took Arnd's patch for Kconfig:
> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
>
> Tell me if you feel it is the proper way to deal with this or if it is too late
> for this round (look at the diffstat, yummy ;-))
>
> Thanks, best regards,
>
> The following changes since commit fa264e615338c423e344d34621f992858b957097:
>
>   Merge branch 'char-misc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc into at91-3.16-drivers (2014-06-02 18:02:18 +0200)
>
> are available in the git repository at:
>
>
>   git://github.com/at91linux/linux-at91.git tags/at91-drivers

The 3.16 merge window is open, please resend after -rc1.


-Olof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] at91: drivers for 3.16 #1
  2014-06-02 16:37 ` Olof Johansson
@ 2014-06-02 17:07   ` Alexandre Belloni
  2014-06-17  8:42   ` [GIT PULL] at91: fixes for 3.16 (drivers) #1 Nicolas Ferre
  1 sibling, 0 replies; 5+ messages in thread
From: Alexandre Belloni @ 2014-06-02 17:07 UTC (permalink / raw)
  To: Olof Johansson
  Cc: Nicolas Ferre, Arnd Bergmann, arm, egtvedt, Greg Kroah-Hartman,
	Thierry Reding, Linux Kernel list, linux-arm-kernel,
	Boris BREZILLON, Jean-Christophe PLAGNIOL-VILLARD,
	Ludovic Desroches

Hi,

On 02/06/2014 at 09:37:01 -0700, Olof Johansson wrote :
> On Mon, Jun 2, 2014 at 9:35 AM, Nicolas Ferre <nicolas.ferre@atmel.com> wrote:
> > Arnd, Olof, Kevin,
> >
> > Here is an additional AT91 pull-request for 3.16 about drivers and
> > particularly focused on PWM.
> > Alexandre did a great job replacing the existing calls to the older,
> > non-standard drivers by the use of the newer "pwm-atmel" which takes
> > advantage of the PWM framework.
> > In addition of removing three obsolete drivers, it also solves an issue with
> > non existing Kconfig symbols introduced by (misc: atmel_pwm: only build for
> > supported platforms) which was trying to avoid a build failure... so, all in
> > all, a pretty good thing!
> >
> > The drawback is that this series depends on two git trees:
> >
> > Obviously, one from Thierry:
> > git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
> >
> > And as well the one from Greg who took Arnd's patch for Kconfig:
> > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
> >
> > Tell me if you feel it is the proper way to deal with this or if it is too late
> > for this round (look at the diffstat, yummy ;-))
> >
> > Thanks, best regards,
> >
> > The following changes since commit fa264e615338c423e344d34621f992858b957097:
> >
> >   Merge branch 'char-misc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc into at91-3.16-drivers (2014-06-02 18:02:18 +0200)
> >
> > are available in the git repository at:
> >
> >
> >   git://github.com/at91linux/linux-at91.git tags/at91-drivers
> 
> The 3.16 merge window is open, please resend after -rc1.
> 

Hopefully, this will solve our dependency issues :)

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [GIT PULL] at91: fixes for 3.16 (drivers) #1
  2014-06-02 16:37 ` Olof Johansson
  2014-06-02 17:07   ` Alexandre Belloni
@ 2014-06-17  8:42   ` Nicolas Ferre
  2014-06-25 10:13     ` Nicolas Ferre
  1 sibling, 1 reply; 5+ messages in thread
From: Nicolas Ferre @ 2014-06-17  8:42 UTC (permalink / raw)
  To: Arnd Bergmann, Olof Johansson, arm
  Cc: Nicolas Ferre, Linux Kernel list, linux-arm-kernel,
	Alexandre Belloni, Boris BREZILLON,
	Jean-Christophe PLAGNIOL-VILLARD, egtvedt, gregkh,
	thierry.reding, Ludovic Desroches

Arnd, Olof, Kevin,

As advised by Olof, here is the interesting updated on PWM drivers for AT91
resent after 3.16-rc1 release. Delaying the inclusion of this material has
solved all the issues with dependecies that previous pull-request had ([GIT
PULL] at91: drivers for 3.16 #1).

I remind you what it's about: Alexandre did a great job replacing the existing
calls to the older, non-standard drivers by the use of the newer "pwm-atmel"
which takes advantage of the PWM framework.
In addition of removing three obsolete drivers, it also solves an issue with
non existing Kconfig symbols introduced by (misc: atmel_pwm: only build for
supported platforms) which was trying to avoid a build failure... so, all in 
all, a pretty good thing!
The diffstat is pretty nice as well ;-)

Thanks, best regards,

The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f:

  Linux 3.16-rc1 (2014-06-15 17:45:28 -1000)

are available in the git repository at:

  git://github.com/at91linux/linux-at91.git tags/at91-fixes

for you to fetch changes up to be6ef50d11bfeec5cce3cf6b463f9094fad1de14:

  misc: atmel_pwm: remove obsolete driver (2014-06-17 10:24:08 +0200)

----------------------------------------------------------------
Atmel PWM driver update for 3.16
- move to the new PWM driver which uses PWM framework
- remove 3 obsolete drivers (atmel-pwm-bl.c, leds-atmel-pwm.c and atmel_pwm.c)

----------------------------------------------------------------
Alexandre Belloni (15):
      ARM: at91: at91sam9g45: switch to generic PWM framework
      ARM: at91: sam9m10g45ek: use generic leds_pwm driver
      ARM: at91: at91sam9263: switch to generic PWM framework
      ARM: at91: sam9263ek: use generic leds_pwm driver
      ARM: at91: at91sam9rl: switch to generic PWM framework
      ARM: at91: remove useless at91_pwm_leds()
      PWM: atmel: allow building for AVR32
      avr32/at32ap: switch to the generic PWM framework
      avr32: MRMT: use generic leds_pwm driver
      avr32: merisc: use generic leds_pwm driver
      avr32: favr-32: use generic pwm_bl driver
      avr32: update defconfig to use the generic PWM framework
      backlight: atmel-pwm-bl: remove obsolete driver
      leds: atmel-pwm: remove obsolete driver
      misc: atmel_pwm: remove obsolete driver

 arch/arm/mach-at91/at91sam9263.c           |   1 +
 arch/arm/mach-at91/at91sam9263_devices.c   |  11 +-
 arch/arm/mach-at91/at91sam9g45.c           |   1 +
 arch/arm/mach-at91/at91sam9g45_devices.c   |  11 +-
 arch/arm/mach-at91/at91sam9rl.c            |   1 +
 arch/arm/mach-at91/at91sam9rl_devices.c    |  11 +-
 arch/arm/mach-at91/board-sam9263ek.c       |  55 +++-
 arch/arm/mach-at91/board-sam9m10g45ek.c    |  42 ++-
 arch/arm/mach-at91/board.h                 |   1 -
 arch/arm/mach-at91/leds.c                  |  37 ---
 arch/avr32/boards/atngw100/mrmt.c          |  34 ++-
 arch/avr32/boards/favr-32/setup.c          |  48 ++--
 arch/avr32/boards/merisc/setup.c           |  34 ++-
 arch/avr32/configs/atngw100_mrmt_defconfig |   5 +-
 arch/avr32/configs/atstk1002_defconfig     |   5 +-
 arch/avr32/configs/atstk1003_defconfig     |   5 +-
 arch/avr32/configs/atstk1004_defconfig     |   5 +-
 arch/avr32/configs/atstk1006_defconfig     |   5 +-
 arch/avr32/configs/favr-32_defconfig       |   6 +-
 arch/avr32/configs/merisc_defconfig        |   5 +-
 arch/avr32/mach-at32ap/at32ap700x.c        |   7 +-
 drivers/leds/Kconfig                       |   8 -
 drivers/leds/Makefile                      |   1 -
 drivers/leds/leds-atmel-pwm.c              | 149 -----------
 drivers/misc/Kconfig                       |  10 -
 drivers/misc/Makefile                      |   1 -
 drivers/misc/atmel_pwm.c                   | 402 -----------------------------
 drivers/pwm/Kconfig                        |   2 +-
 drivers/video/backlight/Kconfig            |  11 -
 drivers/video/backlight/Makefile           |   1 -
 drivers/video/backlight/atmel-pwm-bl.c     | 223 ----------------
 include/linux/atmel-pwm-bl.h               |  43 ---
 include/linux/atmel_pwm.h                  |  70 -----
 33 files changed, 186 insertions(+), 1065 deletions(-)
 delete mode 100644 drivers/leds/leds-atmel-pwm.c
 delete mode 100644 drivers/misc/atmel_pwm.c
 delete mode 100644 drivers/video/backlight/atmel-pwm-bl.c
 delete mode 100644 include/linux/atmel-pwm-bl.h
 delete mode 100644 include/linux/atmel_pwm.h

-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] at91: fixes for 3.16 (drivers) #1
  2014-06-17  8:42   ` [GIT PULL] at91: fixes for 3.16 (drivers) #1 Nicolas Ferre
@ 2014-06-25 10:13     ` Nicolas Ferre
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Ferre @ 2014-06-25 10:13 UTC (permalink / raw)
  To: Arnd Bergmann, Olof Johansson, arm
  Cc: Linux Kernel list, linux-arm-kernel, Alexandre Belloni,
	Boris BREZILLON, Jean-Christophe PLAGNIOL-VILLARD, egtvedt,
	gregkh, thierry.reding, Ludovic Desroches

On 17/06/2014 10:42, Nicolas Ferre :
> Arnd, Olof, Kevin,
> 
> As advised by Olof, here is the interesting updated on PWM drivers for AT91
> resent after 3.16-rc1 release. Delaying the inclusion of this material has
> solved all the issues with dependecies that previous pull-request had ([GIT
> PULL] at91: drivers for 3.16 #1).
> 
> I remind you what it's about: Alexandre did a great job replacing the existing
> calls to the older, non-standard drivers by the use of the newer "pwm-atmel"
> which takes advantage of the PWM framework.
> In addition of removing three obsolete drivers, it also solves an issue with
> non existing Kconfig symbols introduced by (misc: atmel_pwm: only build for
> supported platforms) which was trying to avoid a build failure... so, all in 
> all, a pretty good thing!
> The diffstat is pretty nice as well ;-)
> 
> Thanks, best regards,

After talking to Arnd on IRC. I'll re-spin this series for 3.17, so you
can forget it for now on...

Bye,


> The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f:
> 
>   Linux 3.16-rc1 (2014-06-15 17:45:28 -1000)
> 
> are available in the git repository at:
> 
>   git://github.com/at91linux/linux-at91.git tags/at91-fixes
> 
> for you to fetch changes up to be6ef50d11bfeec5cce3cf6b463f9094fad1de14:
> 
>   misc: atmel_pwm: remove obsolete driver (2014-06-17 10:24:08 +0200)
> 
> ----------------------------------------------------------------
> Atmel PWM driver update for 3.16
> - move to the new PWM driver which uses PWM framework
> - remove 3 obsolete drivers (atmel-pwm-bl.c, leds-atmel-pwm.c and atmel_pwm.c)
> 
> ----------------------------------------------------------------
> Alexandre Belloni (15):
>       ARM: at91: at91sam9g45: switch to generic PWM framework
>       ARM: at91: sam9m10g45ek: use generic leds_pwm driver
>       ARM: at91: at91sam9263: switch to generic PWM framework
>       ARM: at91: sam9263ek: use generic leds_pwm driver
>       ARM: at91: at91sam9rl: switch to generic PWM framework
>       ARM: at91: remove useless at91_pwm_leds()
>       PWM: atmel: allow building for AVR32
>       avr32/at32ap: switch to the generic PWM framework
>       avr32: MRMT: use generic leds_pwm driver
>       avr32: merisc: use generic leds_pwm driver
>       avr32: favr-32: use generic pwm_bl driver
>       avr32: update defconfig to use the generic PWM framework
>       backlight: atmel-pwm-bl: remove obsolete driver
>       leds: atmel-pwm: remove obsolete driver
>       misc: atmel_pwm: remove obsolete driver
> 
>  arch/arm/mach-at91/at91sam9263.c           |   1 +
>  arch/arm/mach-at91/at91sam9263_devices.c   |  11 +-
>  arch/arm/mach-at91/at91sam9g45.c           |   1 +
>  arch/arm/mach-at91/at91sam9g45_devices.c   |  11 +-
>  arch/arm/mach-at91/at91sam9rl.c            |   1 +
>  arch/arm/mach-at91/at91sam9rl_devices.c    |  11 +-
>  arch/arm/mach-at91/board-sam9263ek.c       |  55 +++-
>  arch/arm/mach-at91/board-sam9m10g45ek.c    |  42 ++-
>  arch/arm/mach-at91/board.h                 |   1 -
>  arch/arm/mach-at91/leds.c                  |  37 ---
>  arch/avr32/boards/atngw100/mrmt.c          |  34 ++-
>  arch/avr32/boards/favr-32/setup.c          |  48 ++--
>  arch/avr32/boards/merisc/setup.c           |  34 ++-
>  arch/avr32/configs/atngw100_mrmt_defconfig |   5 +-
>  arch/avr32/configs/atstk1002_defconfig     |   5 +-
>  arch/avr32/configs/atstk1003_defconfig     |   5 +-
>  arch/avr32/configs/atstk1004_defconfig     |   5 +-
>  arch/avr32/configs/atstk1006_defconfig     |   5 +-
>  arch/avr32/configs/favr-32_defconfig       |   6 +-
>  arch/avr32/configs/merisc_defconfig        |   5 +-
>  arch/avr32/mach-at32ap/at32ap700x.c        |   7 +-
>  drivers/leds/Kconfig                       |   8 -
>  drivers/leds/Makefile                      |   1 -
>  drivers/leds/leds-atmel-pwm.c              | 149 -----------
>  drivers/misc/Kconfig                       |  10 -
>  drivers/misc/Makefile                      |   1 -
>  drivers/misc/atmel_pwm.c                   | 402 -----------------------------
>  drivers/pwm/Kconfig                        |   2 +-
>  drivers/video/backlight/Kconfig            |  11 -
>  drivers/video/backlight/Makefile           |   1 -
>  drivers/video/backlight/atmel-pwm-bl.c     | 223 ----------------
>  include/linux/atmel-pwm-bl.h               |  43 ---
>  include/linux/atmel_pwm.h                  |  70 -----
>  33 files changed, 186 insertions(+), 1065 deletions(-)
>  delete mode 100644 drivers/leds/leds-atmel-pwm.c
>  delete mode 100644 drivers/misc/atmel_pwm.c
>  delete mode 100644 drivers/video/backlight/atmel-pwm-bl.c
>  delete mode 100644 include/linux/atmel-pwm-bl.h
>  delete mode 100644 include/linux/atmel_pwm.h
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-25 10:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-02 16:35 [GIT PULL] at91: drivers for 3.16 #1 Nicolas Ferre
2014-06-02 16:37 ` Olof Johansson
2014-06-02 17:07   ` Alexandre Belloni
2014-06-17  8:42   ` [GIT PULL] at91: fixes for 3.16 (drivers) #1 Nicolas Ferre
2014-06-25 10:13     ` Nicolas Ferre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).