22 Nov, 2011

1 commit


16 Nov, 2011

1 commit


29 Oct, 2011

2 commits


14 Oct, 2011

1 commit

  • gpio_base was set to 0 if no system platform data or open firmware
    platform data was provided. This led to conflicts, if any other gpiochip
    with a gpiobase of 0 was instantiated already. Setting it to -1 will
    automatically use the first one available.

    Signed-off-by: Hartmut Knaack
    Signed-off-by: Grant Likely

    Hartmut Knaack
     

17 Jun, 2011

3 commits

  • The property 'polarity' is handled by the GPIO core, and the 'gpio-base'
    should be assigned automatically. It is meaningless in the device-tree,
    since GPIO's are identified by the "chip-name"/offset pair.
    This way, the whole pca953x_get_alt_pdata() can hopefully soon go away.
    We still need to check whether we really want GPIO-interrupt functionality
    by simply looking if the I2C node has an interrupts property defined, since
    this property is not used for anything else.

    Signed-off-by: David Jander
    Signed-off-by: Grant Likely

    David Jander
     
  • In the case that we obtain device-tree data to fill in platform_data, the new
    platform data struct was dynamically allocated, but the pointer to it was not
    used everywhere it should. It seems easier to fix this issue by removing the
    dynamic allocation altogether since its data is only used during driver
    probing.

    Signed-off-by: David Jander
    Signed-off-by: Grant Likely

    David Jander
     
  • It seems that in the normal case, IRQ_NOREQUEST needs to be explicitly
    cleared, otherwise claiming the interrupt fails.
    In the case of sparse interrupts, the descriptor needs to be allocated
    first.

    Signed-off-by: David Jander
    Signed-off-by: Grant Likely

    David Jander
     

09 Jun, 2011

3 commits


07 Jun, 2011

1 commit

  • Sort the gpio makefile and enforce the naming convention gpio-*.c for
    gpio drivers.

    v2: cleaned up filenames in Kconfig and comment blocks
    v3: fixup use of BASIC_MMIO to GENERIC_GPIO for mxc

    Signed-off-by: Grant Likely

    Grant Likely