Skip to content

Commit

Permalink
arm64: dts: sdm845-mtp: Reserve reserved gpios
Browse files Browse the repository at this point in the history
With the introduction of commit 3edfb7b ("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 <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Andy Gross <[email protected]>
  • Loading branch information
andersson authored and Andy Gross committed Nov 9, 2018
1 parent 6510223 commit 5f8d3ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/qcom/sdm845-mtp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@
status = "okay";
};

&tlmm {
gpio-reserved-ranges = <0 4>, <81 4>;
};

&uart9 {
status = "okay";
};
Expand Down

0 comments on commit 5f8d3ab

Please sign in to comment.