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


Groups > linux.kernel > #1705401

Re: [PATCH 1/2] pinctrl: armada-37xx: Fix the pin 23 on south bridge

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] pinctrl: armada-37xx: Fix the pin 23 on south bridge
Date 2017-08-07 14:00 +0200
Message-ID <ubORs-7Id-31@gated-at.bofh.it> (permalink)
References <u9HKq-5Q8-19@gated-at.bofh.it> <u9HU6-68E-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 1, 2017 at 5:57 PM, Gregory CLEMENT
<gregory.clement@free-electrons.com> wrote:

> Pin 23 on South bridge does not belong to the rgmii group. It belongs to
> a separate group which can have 3 functions.
>
> Due to this the fix also have to update the way the functions are
> managed. Until now each groups used NB_FUNCS(which was 2) functions. For
> the mpp23, 3 functions are available but it is the only group which needs
> it, so on the loop involving NB_FUNCS an extra test was added to handle
> only the functions added.
>
> The bug was visible with the merge of the commit 07d065abf93d "arm64:
> dts: marvell: armada-3720-db: Add vqmmc regulator for SD slot", the gpio
> regulator used the gpio 23, due to this the whole rgmii group was setup
> to gpio which broke the Ethernet support on the Armada 3720 DB
> board. Thanks to this patch, the UHS SD cards (which need the vqmmc)
> _and_ the Ethernet work again.
>
> Cc: stable@vger.kernel.org
> Fixes: 87466ccd9401 ("pinctrl: armada-37xx: Add pin controller support
> for Armada 37xx")
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>

Patch applied for fixes.

Yours,
Linus Walleij

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


Thread

[PATCH 0/2] Few fix on armada-37xx pinctrl for v4.13 Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-08-01 18:00 +0200
  [PATCH 1/2] pinctrl: armada-37xx: Fix the pin 23 on south bridge Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-08-01 18:10 +0200
    Re: [PATCH 1/2] pinctrl: armada-37xx: Fix the pin 23 on south bridge Linus Walleij <linus.walleij@linaro.org> - 2017-08-07 14:00 +0200
  [PATCH 2/2] pinctrl: armada-37xx: Fix number of pin in south bridge Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-08-01 18:10 +0200
    Re: [PATCH 2/2] pinctrl: armada-37xx: Fix number of pin in south bridge Linus Walleij <linus.walleij@linaro.org> - 2017-08-07 14:00 +0200

csiph-web