From d6e15fc66d141792e881414d6b536ca0edd9aa6a Mon Sep 17 00:00:00 2001 From: Satya Rama Aditya Pinapala Date: Tue, 2 Jun 2020 12:05:44 -0700 Subject: [PATCH] ARM: dts: msm: add x-flip and y-flip properties for ST touch driver node The touch panel on Lahaina CDP V2.2 is inverted. This change adds st,x-flip and st,y-flip properties to support the inverted touch panel. Change-Id: I63e508071720d738fcc10a6ae1eb34c31afdc19a --- qcom/lahaina-cdp-v2.2.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qcom/lahaina-cdp-v2.2.dtsi b/qcom/lahaina-cdp-v2.2.dtsi index fdf9ed58..e27511ba 100644 --- a/qcom/lahaina-cdp-v2.2.dtsi +++ b/qcom/lahaina-cdp-v2.2.dtsi @@ -1 +1,8 @@ #include "lahaina-cdp.dtsi" + +&qupv3_se4_i2c { + st_fts@49 { + st,x-flip = <1>; + st,y-flip = <1>; + }; +};