1. 13 Jul, 2018 2 commits
  2. 09 Jul, 2018 8 commits
  3. 02 Jul, 2018 27 commits
  4. 26 Jun, 2018 1 commit
  5. 18 Jun, 2018 2 commits
    • Linus Walleij's avatar
      gpio: Add API to explicitly name a consumer · 90b39402
      Linus Walleij authored
      The GPIO (descriptor) API registers a "label" naming what is
      currently using the GPIO line. Typically this is taken from
      things like the device tree node, so "reset-gpios" will result
      in he line being labeled "reset".
      
      The technical effect is pretty much zero: the use is for
      debug and introspection, such as "lsgpio" and debugfs files.
      
      However sometimes the user want this cuddly feeling of
      listing all GPIO lines and seeing exactly what they are for
      and it gives a very fulfilling sense of control. Especially
      in the cases when the device tree node doesn't provide a
      good name, or anonymous GPIO lines assigned just to
      "gpios" in the device tree because the usage is implicit.
      
      For these cases it may be nice to be able to label the
      line directly and explicitly.
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      90b39402
    • Zhouyang Jia's avatar
      gpio: max732x: add error handling for i2c_new_dummy · f3a049e7
      Zhouyang Jia authored
      When i2c_new_dummy fails, the lack of error-handling code may
      cause unexpected results.
      
      This patch adds error-handling code after calling i2c_new_dummy.
      Signed-off-by: default avatarZhouyang Jia <jiazhouyang09@gmail.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      f3a049e7