arm64: dts: sdm845-mtp: Reserve reserved gpios
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 2 Nov 2018 21:45:32 +0000 (14:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:24:30 +0000 (09:24 +0100)
commit1eb8dd51887bbcdd08220828f693105e9e3459fe
tree34354d1d2648cfad7c5650d68dcd28236d51d970
parent411b321f0ff5856a244660997678957013ca4644
arm64: dts: sdm845-mtp: Reserve reserved gpios

[ Upstream commit 5f8d3ab136d0ccb59c4d628d8f85e0d8f2761d07 ]

With the introduction of commit 3edfb7bd76bd ("gpiolib: Show correct
direction from the beginning") the gpiolib will attempt to read the
direction of all pins, which triggers a read from protected register
regions.

The pins 0 through 3 and 81 through 84 are protected, so mark these as
reserved.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-mtp.dts