]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: lantiq: gphy: Drop reboot/remove reset asserts
authorMathias Kresin <dev@kresin.me>
Sun, 8 Apr 2018 08:30:03 +0000 (10:30 +0200)
committerJames Hogan <jhogan@kernel.org>
Thu, 24 May 2018 12:22:56 +0000 (13:22 +0100)
commit8c5db48aab61bd4d0b3d93418484951ae0413ff3
tree311751c8055c4da024fd6cab9a43d42f2fb547fe
parentf230f0a155a99094c652e44e8126fdda49a643a6
MIPS: lantiq: gphy: Drop reboot/remove reset asserts

While doing a global software reset, these bits are not cleared and let
some bootloader fail to initialise the GPHYs. The bootloader don't
expect the GPHYs in reset, as they aren't during power on.

The asserts were a workaround for a wrong syscon-reboot mask. With a
mask set which includes the GPHY resets, these resets aren't required
any more.

Fixes: c49677b4e70c ("MIPS: lantiq: Add a GPHY driver which uses the RCU syscon-mfd")
Signed-off-by: Mathias Kresin <dev@kresin.me>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 4.14+
Patchwork: https://patchwork.linux-mips.org/patch/19003/
[jhogan@kernel.org: Fix build warnings]
Signed-off-by: James Hogan <jhogan@kernel.org>
drivers/soc/lantiq/gphy.c