Skip to content

Commit

Permalink
ARM: dts: sunxi: sun6i-a31s-primo81.dts: add touchscreen axis swappin…
Browse files Browse the repository at this point in the history
…g property

The MSI Primo81 has a display in portrait mode but a touchscreen
in landscape mode.  To have both of them use the same coordinate
system, the touchscreen-swapped-x-y property has to be set
for the touchscreen.

Signed-off-by: Karsten Merker <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
  • Loading branch information
Karsten Merker authored and mripard committed Nov 17, 2015
1 parent 8005c49 commit c65d235
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/sun6i-a31s-primo81.dts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
reg = <0x5d>;
interrupt-parent = <&pio>;
interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>; /* PA3 */
touchscreen-swapped-x-y;
};
};

Expand Down

0 comments on commit c65d235

Please sign in to comment.