03 Jan, 2018

1 commit


01 Apr, 2016

1 commit


28 Aug, 2013

1 commit

  • Include "linux/export.h" to avoid following warnings during compilation:

    /***
    pinctrl/pinctrl-utils.c:53:1: warning: data definition has no type or storage class [enabled by default]
    pinctrl/pinctrl-utils.c:53:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Wimplicit-int]
    pinctrl/pinctrl-utils.c:53:1: warning: parameter names (without types) in function declaration [enabled by default]
    pinctrl/pinctrl-utils.c:70:1: warning: data definition has no type or storage class [enabled by default]
    pinctrl/pinctrl-utils.c:70:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Wimplicit-int]
    pinctrl/pinctrl-utils.c:70:1: warning: parameter names (without types) in function declaration [enabled by default]
    pinctrl/pinctrl-utils.c:98:1: warning: data definition has no type or storage class [enabled by default]
    pinctrl/pinctrl-utils.c:98:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Wimplicit-int]
    pinctrl/pinctrl-utils.c:98:1: warning: parameter names (without types) in function declaration [enabled by default]
    pinctrl/pinctrl-utils.c:122:1: warning: data definition has no type or storage class [enabled by default]
    pinctrl/pinctrl-utils.c:122:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Wimplicit-int]
    pinctrl/pinctrl-utils.c:122:1: warning: parameter names (without types) in function declaration [enabled by default]
    pinctrl/pinctrl-utils.c:135:1: warning: data definition has no type or storage class [enabled by default]
    pinctrl/pinctrl-utils.c:135:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Wimplicit-int]
    pinctrl/pinctrl-utils.c:135:1: warning: parameter names (without types) in function declaration [enabled by default]
    **/

    Signed-off-by: Laxman Dewangan
    Signed-off-by: Linus Walleij

    Laxman Dewangan
     

23 Aug, 2013

1 commit

  • Add support to pass the config type like GROUP or PIN when using
    the utils or generic pin configuration APIs. This will make the
    APIs more generic.

    Added additional inline APIs such that it can be use directly as
    callback for the pinctrl_ops.

    Changes from V1:
    - Remove separate implementation for pins and group for
    pinctrl_utils_dt_free_map and improve this function
    to support both i.e. PINS and GROUPs.

    Signed-off-by: Laxman Dewangan
    Reviewed-by: Stephen Warren
    Tested-by: Stephen Warren
    Signed-off-by: Linus Walleij

    Laxman Dewangan
     

15 Aug, 2013

1 commit

  • Some of pincontrol driver needs the utility function to create map
    list. The utility function needed for adding mux, configs etc.

    In place of duplicating this in each driver, add the common utility
    function in common file and use from device specific driver. This will
    reduce the duplicating of code across drivers.

    Changes from V1:
    - Add this files in this patch and add common utility APIs to here.

    Changes from V2:
    - Nothing in code.
    - Added Reviewed by Stephen.

    Signed-off-by: Laxman Dewangan
    Reviewed-by: Stephen Warren
    Signed-off-by: Linus Walleij

    Laxman Dewangan