OpenCloudOS-Kernel/arch/arm/mach-at91
Linus Torvalds 06b49ea43c This is the bulk of GPIO changes for the v3.17 development
cycle, and this time we got a lot of action going on and
 it will continue:
 
 - The core GPIO library implementation has been split up in
   three different files:
   - gpiolib.c for the latest and greatest and shiny GPIO
     library code using GPIO descriptors only
   - gpiolib-legacy.c for the old integer number space API
     that we are phasing out gradually
   - gpiolib-sysfs.c for the sysfs interface that we are
     not entirely happy with, but has to live on for
     ABI compatibility
 
 - Add a flags argument to *gpiod_get* functions, with some
   backward-compatibility macros to ease transitions. We
   should have had the flags there from the beginning it
   seems, now we need to clean up the mess. There is a plan
   on how to move forward here devised by Alexandre Courbot
   and Mark Brown.
 
 - Split off a special <linux/gpio/machine.h> header for the
   board gpio table registration, as per example from the
   regulator subsystem.
 
 - Start to kill off the return value from gpiochip_remove()
   by removing the __must_check attribute and removing all
   checks inside the drivers/gpio directory. The rationale
   is: well what were we supposed to do if there is an error
   code? Not much: print an error message. And gpiolib already
   does that. So make this function return void eventually.
 
 - Some cleanups of hairy gpiolib code, make some functions
   not to be used outside the library private and make sure
   they are not exported, remove gpiod_lock/unlock_as_irq()
   as the existing function is for driver-internal use and
   fine as it is, delete gpio_ensure_requested() as it is
   not meaningful anymore.
 
 - Support the GPIOF_ACTIVE_LOW flag from gpio_request_one()
   function calls, which is logical since this is already
   supported when referencing GPIOs from e.g. device trees.
 
 - Switch STMPE, intel-mid, lynxpoint and ACPI (!) to use
   the gpiolib irqchip helpers cutting down on GPIO irqchip
   boilerplate a bit more.
 
 - New driver for the Zynq GPIO block.
 
 - The usual incremental improvements around a bunch of
   drivers.
 
 - Janitorial syntactic and semantic cleanups by Jingoo Han,
   and Rickard Strandqvist especially.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJT5Ji9AAoJEEEQszewGV1zch8QAKp67+8ScxRBf/7RCSV6U/dy
 i7kt+nP4au/TScwtjbX264DM8hroW7BzN+GqF10NEFeGkYDR+42lMav9PrNjtKtk
 ojQPWdoGWzwwL0wa4j9rsuG/pRnbAEgDWPb+EkFdHQsLl6h71fyVoLOK+gKwJFyn
 aPYGXyNbT1FN38oj1rarENiOUxM7VMXvcJFfvDYFdDDhCS4PLYPOMw0lrsGtsHMZ
 epDa4z3yt4zHgYiUIT578nQ7EkIbGN3goywk3NQ+9WDQG+sLFHh4BdqcRKg6b9VM
 I64+47uNQxkyvWCvcLma5ziqvtNQk113986g+cv5YeTh18Ajyio1kxEIZM181eBk
 ITUPGrAorWHPLGNbe3psLmtK3+/BwmWIurPmHpckuW8d2JWWSVe0oepkUuqDwu/w
 lUB5KtM0joFOr5k61fj5tCKxH344jc1zvHJ/N+bVYilbOMvunWzuMJlc4hADIGC2
 1uxUAcPbYUAphGaxhdMBca9ellm0lWG19Gj5TtdGbRtNgp6R2qrwI66DDzk+1kLR
 8Szx6KHQdEHFTlCLKSIAMv33p1ClfmNikhdicT3urwR8PeXmmTR1pD7kGmVTDDZa
 gXSU5EilgGpak+77j/GZ2Ivp0Qt5M97UwWlZ7zTp++T1ZY+wwTHJI/09qcoWYjdz
 IpZRIqrQchalbscpn3LY
 =e+d6
 -----END PGP SIGNATURE-----

Merge tag 'gpio-v3.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio

Pull GPIO update from Linus Walleij:
 "This is the bulk of GPIO changes for the v3.17 development cycle, and
  this time we got a lot of action going on and it will continue:

   - The core GPIO library implementation has been split up in three
     different files:
     - gpiolib.c for the latest and greatest and shiny GPIO library code
       using GPIO descriptors only
     - gpiolib-legacy.c for the old integer number space API that we are
       phasing out gradually
     - gpiolib-sysfs.c for the sysfs interface that we are not entirely
       happy with, but has to live on for ABI compatibility

   - Add a flags argument to *gpiod_get* functions, with some
     backward-compatibility macros to ease transitions.  We should have
     had the flags there from the beginning it seems, now we need to
     clean up the mess.  There is a plan on how to move forward here
     devised by Alexandre Courbot and Mark Brown

   - Split off a special <linux/gpio/machine.h> header for the board
     gpio table registration, as per example from the regulator
     subsystem

   - Start to kill off the return value from gpiochip_remove() by
     removing the __must_check attribute and removing all checks inside
     the drivers/gpio directory.  The rationale is: well what were we
     supposed to do if there is an error code? Not much: print an error
     message.  And gpiolib already does that.  So make this function
     return void eventually

   - Some cleanups of hairy gpiolib code, make some functions not to be
     used outside the library private and make sure they are not
     exported, remove gpiod_lock/unlock_as_irq() as the existing
     function is for driver-internal use and fine as it is, delete
     gpio_ensure_requested() as it is not meaningful anymore

   - Support the GPIOF_ACTIVE_LOW flag from gpio_request_one() function
     calls, which is logical since this is already supported when
     referencing GPIOs from e.g. device trees

   - Switch STMPE, intel-mid, lynxpoint and ACPI (!) to use the gpiolib
     irqchip helpers cutting down on GPIO irqchip boilerplate a bit more

   - New driver for the Zynq GPIO block

   - The usual incremental improvements around a bunch of drivers

   - Janitorial syntactic and semantic cleanups by Jingoo Han, and
     Rickard Strandqvist especially"

* tag 'gpio-v3.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (37 commits)
  MAINTAINERS: update GPIO include files
  gpio: add missing includes in machine.h
  gpio: add flags argument to gpiod_get*() functions
  MAINTAINERS: Update Samsung pin control entry
  gpio / ACPI: Move event handling registration to gpiolib irqchip helpers
  gpio: lynxpoint: Convert to use gpiolib irqchip
  gpio: split gpiod board registration into machine header
  gpio: remove gpio_ensure_requested()
  gpio: remove useless check in gpiolib_sysfs_init()
  gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc
  gpio: move gpio_ensure_requested() into legacy C file
  gpio: remove gpiod_lock/unlock_as_irq()
  gpio: make gpiochip_get_desc() gpiolib-private
  gpio: simplify gpiochip_export()
  gpio: remove export of private of_get_named_gpio_flags()
  gpio: Add support for GPIOF_ACTIVE_LOW to gpio_request_one functions
  gpio: zynq: Clear pending interrupt when enabling a IRQ
  gpio: drop retval check enforcing from gpiochip_remove()
  gpio: remove all usage of gpio_remove retval in driver/gpio
  devicetree: Add Zynq GPIO devicetree bindings documentation
  ...
2014-08-08 18:00:35 -07:00
..
include/mach iio: adc: at91: remove unused include from include/mach 2014-05-07 18:28:40 +02:00
Kconfig ARM: at91: move at91sam9263 SoC to the CCF 2014-07-09 19:05:21 +02:00
Kconfig.non_dt ARM: at91: split out at91x40 into a top-level option 2014-03-21 18:19:27 +01:00
Makefile ARM: at91: switch Calao QIL-A9260 board to DT 2013-12-19 17:27:30 +01:00
Makefile.boot ARM: move all dtb targets out of Makefile.boot 2012-09-14 09:22:04 -05:00
at91_aic.h arm: at91 move at91_aic.h to arch/arm/mach-at91 2012-11-06 20:29:41 +08:00
at91_rstc.h ARM: at91: remove trailing semicolon from macros 2013-04-08 17:47:44 +02:00
at91_shdwc.h ARM: at91: remove trailing semicolon from macros 2013-04-08 17:47:44 +02:00
at91_tc.h arn: at91: move at91_tc.h to arch/arm/mach-at91 2012-11-06 20:29:44 +08:00
at91rm9200.c ARM: at91: prepare common clk transition for rm9200 2014-07-09 19:05:11 +02:00
at91rm9200_devices.c gpio: split gpiod board registration into machine header 2014-07-28 12:23:35 +02:00
at91rm9200_time.c This cleanup series gets rid of <mach/timex.h> for platforms not using 2014-02-18 22:19:33 -08:00
at91sam9_alt_reset.S arm: at91: move reset controller header to arm/arm/mach-at91 2012-11-06 20:30:48 +08:00
at91sam9g45.c ARM: SoC driver changes for 3.17 2014-08-08 11:34:32 -07:00
at91sam9g45_devices.c ARM: at91: at91sam9g45: switch to generic PWM framework 2014-07-09 15:13:27 +02:00
at91sam9g45_reset.S ARM: at91: sam9g45: shutdown ddr1 too when rebooting 2013-09-30 09:58:44 -07:00
at91sam9n12.c ARM: at91: prepare common clk transition for sam9n12 SoC 2014-05-22 18:03:15 +02:00
at91sam9rl.c ARM: at91: at91sam9rl: switch to generic PWM framework 2014-07-09 15:13:30 +02:00
at91sam9rl_devices.c ARM: at91: at91sam9rl: switch to generic PWM framework 2014-07-09 15:13:30 +02:00
at91sam9x5.c ARM: at91: prepare common clk transition for sam9x5 SoCs 2014-05-22 18:03:13 +02:00
at91sam926x_time.c This cleanup series gets rid of <mach/timex.h> for platforms not using 2014-02-18 22:19:33 -08:00
at91sam9260.c ARM: at91: prepare common clk transition for sam9260 2014-07-09 19:05:12 +02:00
at91sam9260_devices.c TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
at91sam9261.c First batch of AT91 cleanup for 3.15 2014-03-17 15:38:07 +01:00
at91sam9261_devices.c TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
at91sam9263.c ARM: SoC driver changes for 3.17 2014-08-08 11:34:32 -07:00
at91sam9263_devices.c ARM: at91: at91sam9263: switch to generic PWM framework 2014-07-09 15:13:28 +02:00
at91x40.c ARM: at91: don't use <mach/timex.h> 2013-12-20 11:44:20 +01:00
at91x40_time.c ARM: at91: don't use <mach/timex.h> 2013-12-20 11:44:20 +01:00
board-1arm.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-afeb-9260v1.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-cam60.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-carmeva.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-cpu9krea.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-cpuat91.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-csb337.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-csb637.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-dt-rm9200.c ARM: at91: remove init_machine() as default is suitable 2013-10-16 15:47:08 +02:00
board-dt-sam9.c ARM: at91: prepare sam9 dt boards transition to common clk 2014-03-12 11:30:44 +01:00
board-dt-sama5.c ARM: at91: prepare sama5 dt boards transition to common clk 2013-12-02 15:31:27 +01:00
board-eb01.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-eb9200.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-ecbat91.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-eco920.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-flexibity.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-foxg20.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-gsia18s.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-kafa.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-kb9202.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-pcontrol-g20.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-picotux200.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-rm9200ek.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-rsi-ews.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-sam9-l9260.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-sam9g20ek.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-sam9m10g45ek.c ARM: at91: sam9m10g45ek: use generic leds_pwm driver 2014-07-09 15:13:28 +02:00
board-sam9rlek.c ARM: at91: sam9rl: switch from atmel_tsadcc to at91_adc 2014-05-07 18:28:40 +02:00
board-sam9260ek.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-sam9261ek.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-sam9263ek.c ARM: at91: sam9263ek: use generic leds_pwm driver 2014-07-09 15:13:29 +02:00
board-snapper9260.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-stamp9g20.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-yl-9200.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board.h ARM: at91: remove useless at91_pwm_leds() 2014-07-09 15:13:30 +02:00
clock.c ARM: at91: remove AT91_PROGRAMMABLE_CLOCKS configuration option 2013-12-12 09:57:42 -08:00
clock.h ARM: at91: introduce SAMA5 support 2013-03-26 12:18:04 +01:00
generic.h ARM: at91: add Kconfig options for common clk support 2013-12-02 15:22:52 +01:00
gpio.c TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
gpio.h ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
gsia18s.h arm: at91: move board header to arch/arm/mach-at91 2012-11-06 20:29:48 +08:00
irq.c ARM: at91: fix at91_extern_irq usage for non-dt boards 2013-06-21 16:35:26 +02:00
leds.c ARM: at91: remove useless at91_pwm_leds() 2014-07-09 15:13:30 +02:00
pm.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
pm.h ARM: at91: fixed unresolved symbol "at91_pm_set_standby" when built without CONFIG_PM 2013-12-02 14:24:40 +01:00
pm_slowclock.S ARM: at91: move at91_pmc.h to include/linux/clk/at91_pmc.h 2013-12-02 15:22:15 +01:00
sam9_smc.c ARM: at91: export sam9_smc interfaces 2014-03-21 18:19:29 +01:00
sam9_smc.h ARM: at91: add accessor to manage SMC 2012-02-13 18:31:36 +01:00
sama5d3.c ARM: at91/dt: remove old clk material 2013-12-02 15:31:29 +01:00
setup.c ARM: at91: don't provide dt init code for at91x40 2014-03-21 18:19:28 +01:00
soc.h ARM: at91: fix at91_extern_irq usage for non-dt boards 2013-06-21 16:35:26 +02:00
stamp9g20.h arm: at91: move board header to arch/arm/mach-at91 2012-11-06 20:29:48 +08:00
sysirq_mask.c ARM: at91: fix at91_sysirq_mask_rtc for sam9x5 SoCs 2014-06-06 16:08:08 -07:00