08 Oct, 2013

1 commit

  • The data structure of_match_ptr() protects is always compiled in.
    Hence of_match_ptr() is not needed.

    This is a squash commit of:
    pinctrl: at91: Remove redundant of_match_ptr
    pinctrl: exynos5440: Remove redundant of_match_ptr
    pinctrl: imx35: Remove redundant of_match_ptr
    pinctrl: imx51: Remove redundant of_match_ptr
    pinctrl: imx53: Remove redundant of_match_ptr
    pinctrl: imx6dl: Remove redundant of_match_ptr
    pinctrl: imx6q: Remove redundant of_match_ptr
    pinctrl: samsung: Remove redundant of_match_ptr
    pinctrl: vf610: Remove redundant of_match_ptr
    pinctrl: imx6sl: Remove redundant of_match_ptr
    pinctrl: plgpio: Remove redundant of_match_ptr

    Acked-by: Viresh Kumar
    Signed-off-by: Sachin Kamat
    Signed-off-by: Linus Walleij

    Sachin Kamat
     

09 Apr, 2013

1 commit

  • Currently, all imx pinctrl drivers maintain a big array of struct
    imx_pin_reg which hard-codes data like register offset and mux mode
    setting for each pin function. Every time a new imx SoC support is
    added, we need to add such a big mount of data. With moving to single
    kernel build, it's only matter of time to be blamed on memory consuming.

    With DTC pre-processor support in place, the patch moves all these data
    into device tree by redefining the PIN_FUNC_ID in imxXX-pinfunc.h and
    changing the PIN_FUNC_ID parsing code a little bit.

    The pin id gets re-numbered based on mux register offset, or config
    register offset if the pin has no mux register, so that kernel can
    identify the pin id from register offsets provided by device tree.

    As a bonus point of the change, those arbitrary magic numbers standing
    for particular PIN_FUNC_ID in device tree sources are now replaced by
    macros to improve the readability of dts files.

    Signed-off-by: Shawn Guo
    Acked-by: Dong Aisheng
    Acked-by: Linus Walleij

    Shawn Guo
     

04 Jan, 2013

2 commits

  • Pull driver core __dev* removal patches - take 3 - from Greg Kroah-Hartman:
    "Here are the remaining __dev* removal patches against the 3.8-rc2
    tree. All of these patches were previously sent to the subsystem
    maintainers, most of them were picked up and pushed to you, but there
    were a number that fell through the cracks, and new drivers were added
    during the merge window, so this series cleans up the rest of the
    instances of these markings.

    Third time's the charm...

    Signed-off-by: Greg Kroah-Hartman "

    Fixed up trivial conflict with the pinctrl pull in pinctrl-sirf.c.

    * tag 'driver-core-3.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (54 commits)
    misc: remove __dev* attributes.
    include: remove __dev* attributes.
    Documentation: remove __dev* attributes.
    Drivers: misc: remove __dev* attributes.
    Drivers: block: remove __dev* attributes.
    Drivers: bcma: remove __dev* attributes.
    Drivers: char: remove __dev* attributes.
    Drivers: clocksource: remove __dev* attributes.
    Drivers: ssb: remove __dev* attributes.
    Drivers: dma: remove __dev* attributes.
    Drivers: gpu: remove __dev* attributes.
    Drivers: infinband: remove __dev* attributes.
    Drivers: memory: remove __dev* attributes.
    Drivers: mmc: remove __dev* attributes.
    Drivers: iommu: remove __dev* attributes.
    Drivers: power: remove __dev* attributes.
    Drivers: message: remove __dev* attributes.
    Drivers: macintosh: remove __dev* attributes.
    Drivers: mfd: remove __dev* attributes.
    pstore: remove __dev* attributes.
    ...

    Linus Torvalds
     
  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Linus Walleij
    Cc: Jean-Christophe Plagniol-Villard
    Cc: Stephen Warren
    Cc: Srinidhi Kasagar
    Cc: Barry Song
    Cc: Viresh Kumar
    Cc: Thomas Petazzoni
    Cc: Jason Cooper
    Cc: Sebastian Hesselbarth
    Cc: Andrew Lunn
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

26 Dec, 2012

1 commit


29 Nov, 2012

2 commits


03 Sep, 2012

1 commit

  • Unlike imx6q pinctrl driver that starts nubmering pad from 0, imx5
    pinctrl drivers number pad from 1. It causes problem/confusion when
    driver accesses imx51_pinctrl_pads array using pin ID as the index.

    Change imx51_pads and imx53_pads numbering start from 0.

    Signed-off-by: Shawn Guo
    Signed-off-by: Linus Walleij

    Shawn Guo
     

21 May, 2012

1 commit