Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1737489
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] pinctrl: single: Allow indicating loss of pin states during low-power |
| Date | 2017-09-22 15:10 +0200 |
| Message-ID | <usvSq-6uj-17@gated-at.bofh.it> (permalink) |
| References | <urYa5-2kx-9@gated-at.bofh.it> <urYa6-2kx-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Sep 21, 2017 at 3:04 AM, Florian Fainelli <f.fainelli@gmail.com> wrote: > Some platforms (e.g: Broadcom STB: BMIPS_GENERIC/ARCH_BRCMSTB) will lose > their register contents when entering their lower power state. In such a > case, the pinctrl-single driver that is used will not be able to restore > the power states without telling the core about it and having > pinctrl_select_state() check for that. > > This patch adds a new optional boolean property that Device Tree can > define in order to obtain exactly that and having the core pinctrl code > take that into account. > > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> If we use this per-controller approach rather than the per-state approach I discuss in reply to patch 1/2, we should probably make it a generic property for pin controllers and not just a pinctrl-single business. So patch pinctrl-bindings.txt and put the code somewhere in core. But that is more of a detail, first we need to figure out how to handle this business in general. Yours, Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/2] pinctrl: single: Allow indicating loss of pin states during low-power Florian Fainelli <f.fainelli@gmail.com> - 2017-09-21 03:10 +0200
Re: [PATCH 2/2] pinctrl: single: Allow indicating loss of pin states during low-power Linus Walleij <linus.walleij@linaro.org> - 2017-09-22 15:10 +0200
Re: [PATCH 2/2] pinctrl: single: Allow indicating loss of pin states during low-power Florian Fainelli <f.fainelli@gmail.com> - 2017-09-25 21:20 +0200
csiph-web