05 Jun, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms and conditions of the gnu general public license
    version 2 as published by the free software foundation

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 101 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190531190113.822954939@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

09 Nov, 2018

1 commit

  • Clang warns when one enumerated type is implicitly converted to another:

    drivers/pinctrl/pinctrl-max77620.c:56:12: warning: implicit conversion
    from enumeration type 'enum max77620_pinconf_param' to different
    enumeration type 'enum pin_config_param' [-Wenum-conversion]
    .param = MAX77620_ACTIVE_FPS_SOURCE,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~

    It is expected that pinctrl drivers can extend pin_config_param because
    of the gap between PIN_CONFIG_END and PIN_CONFIG_MAX so this conversion
    isn't an issue. Most drivers that take advantage of this define the
    PIN_CONFIG variables as constants, rather than enumerated values. Do the
    same thing here so that Clang no longer warns.

    Link: https://github.com/ClangBuiltLinux/linux/issues/139
    Signed-off-by: Nathan Chancellor
    Signed-off-by: Linus Walleij

    Nathan Chancellor
     

08 Nov, 2017

1 commit


26 Jan, 2017

1 commit

  • The current pinconf packed format allows only 16-bit argument limiting
    the maximum value 65535. For most types this is enough. However,
    debounce time can be in range of hundreths of milliseconds in case of
    mechanical switches so we cannot represent the worst case using the
    current format.

    In order to support larger values change the packed format so that the
    lower 8 bits are used as type which leaves 24 bits for the argument.
    This allows representing values up to 16777215 and debounce times up to
    16 seconds.

    We also convert the existing users to use 32-bit integer when extracting
    argument from the packed configuration value.

    Signed-off-by: Mika Westerberg
    Reviewed-by: Andy Shevchenko
    Signed-off-by: Linus Walleij

    Mika Westerberg
     

15 Jun, 2016

1 commit


30 May, 2016

1 commit

  • MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO pins
    which also act as the special function in alternate mode. Also
    there is configuration like push-pull, open drain, FPS timing
    etc for these pins.

    Add pin control driver to configure these parameters through
    pin control APIs.

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

    Laxman Dewangan