lkml.org 
[lkml]   [2013]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 04/14] mfd: ab8500: allow AB9540 based devices to use ABX500 pinctrl
    Date
    From: Lee Jones <lee.jones@linaro.org>

    The old AB8500 GPIO driver has been un-BROKEN and converted into a
    multi-platform pinctrl driver. If any AB9540 based devices wish to
    request any GPIO pins that it offers, they can after this patch.

    Cc: Samuel Ortiz <sameo@linux.intel.com>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    ---
    Sam, it'd be nice if you could ACK these first four patches,
    the series basically simplifies things a lot by not cascading
    the AB8500 IRQs and duplicate code in the pinctrl driver.
    ---
    drivers/mfd/ab8500-core.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
    index bad3fe2..a0a3f72 100644
    --- a/drivers/mfd/ab8500-core.c
    +++ b/drivers/mfd/ab8500-core.c
    @@ -1097,7 +1097,8 @@ static struct mfd_cell ab8500_devs[] = {

    static struct mfd_cell ab9540_devs[] = {
    {
    - .name = "ab8500-gpio",
    + .name = "pinctrl-ab9540",
    + .of_compatible = "stericsson,ab9540-gpio",
    },
    {
    .name = "ab9540-usb",
    --
    1.7.11.3


    \
     
     \ /
      Last update: 2013-02-05 21:21    [W:3.198 / U:0.168 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site