Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1610500

Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT
Date 2017-03-28 11:50 +0200
Message-ID <tpVVh-5DA-29@gated-at.bofh.it> (permalink)
References <todMB-4Je-3@gated-at.bofh.it> <todMB-4Je-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 23, 2017 at 5:27 PM, Neil Armstrong <narmstrong@baylibre.com> wrote:

> When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges
> is needed when gpiochip_add_data() is called but in the current implementation
> the ranges are added from the driver afterwards.
>
> A simple solution is to rely on the DR gpio-ranges attribute and remove the
> call to gpiochip_add_pin_range().
>
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

Patch applied.

Yours,
Linus Walleij

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT Neil Armstrong <narmstrong@baylibre.com> - 2017-03-23 17:30 +0100
  Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT Martin Blumenstingl <martin.blumenstingl@googlemail.com> - 2017-03-23 21:20 +0100
    Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT Neil Armstrong <narmstrong@baylibre.com> - 2017-03-24 18:00 +0100
  Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT Neil Armstrong <narmstrong@baylibre.com> - 2017-03-28 11:40 +0200
    Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT Kevin Hilman <khilman@baylibre.com> - 2017-03-28 17:10 +0200
  Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT Linus Walleij <linus.walleij@linaro.org> - 2017-03-28 11:50 +0200
  Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT Linus Walleij <linus.walleij@linaro.org> - 2017-03-28 11:50 +0200

csiph-web