0173-BCM270X_DT-rpi-display-overlay-add-swapxy-param.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From d74ae60dde1069e18d717bfe9362caa5d3aa8660 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Wed, 9 Mar 2016 21:28:52 +0000
  4. Subject: [PATCH] BCM270X_DT: rpi-display overlay - add swapxy param
  5. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  6. ---
  7. arch/arm/boot/dts/overlays/README | 5 +----
  8. arch/arm/boot/dts/overlays/rpi-display-overlay.dts | 1 +
  9. 2 files changed, 2 insertions(+), 4 deletions(-)
  10. --- a/arch/arm/boot/dts/overlays/README
  11. +++ b/arch/arm/boot/dts/overlays/README
  12. @@ -644,14 +644,11 @@ Name: rpi-display
  13. Info: RPi-Display - 2.8" Touch Display by Watterott
  14. Load: dtoverlay=rpi-display,<param>=<val>
  15. Params: speed Display SPI bus speed
  16. -
  17. rotate Display rotation {0,90,180,270}
  18. -
  19. fps Delay between frame updates
  20. -
  21. debug Debug output level {0-7}
  22. -
  23. xohms Touchpanel sensitivity (X-plate resistance)
  24. + swapxy Swap x and y axis
  25. Name: rpi-ft5406
  26. --- a/arch/arm/boot/dts/overlays/rpi-display-overlay.dts
  27. +++ b/arch/arm/boot/dts/overlays/rpi-display-overlay.dts
  28. @@ -78,5 +78,6 @@
  29. fps = <&rpidisplay>,"fps:0";
  30. debug = <&rpidisplay>,"debug:0";
  31. xohms = <&rpidisplay_ts>,"ti,x-plate-ohms;0";
  32. + swapxy = <&rpidisplay_ts>,"ti,swap-xy?";
  33. };
  34. };