Skip to content

Commit

Permalink
overlays: Fix resetgpio and ledgpio for hy28a/b
Browse files Browse the repository at this point in the history
Offsets for overlay parameters are specified in bytes, not in access
units.

See: #2344

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  • Loading branch information
Phil Elwell authored and popcornmix committed Feb 5, 2018
1 parent 5fa53af commit f8311bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/overlays/hy28a-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
debug = <&hy28a>,"debug:0";
xohms = <&hy28a_ts>,"ti,x-plate-ohms;0";
resetgpio = <&hy28a>,"reset-gpios:4",
<&hy28a_pins>, "brcm,pins:1";
<&hy28a_pins>, "brcm,pins:4";
ledgpio = <&hy28a>,"led-gpios:4",
<&hy28a_pins>, "brcm,pins:2";
<&hy28a_pins>, "brcm,pins:8";
};
};
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/overlays/hy28b-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@
debug = <&hy28b>,"debug:0";
xohms = <&hy28b_ts>,"ti,x-plate-ohms;0";
resetgpio = <&hy28b>,"reset-gpios:4",
<&hy28b_pins>, "brcm,pins:1";
<&hy28b_pins>, "brcm,pins:4";
ledgpio = <&hy28b>,"led-gpios:4",
<&hy28b_pins>, "brcm,pins:2";
<&hy28b_pins>, "brcm,pins:8";
};
};

0 comments on commit f8311bc

Please sign in to comment.