From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB6E53C65F8 for ; Tue, 24 Mar 2026 08:07:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774339677; cv=none; b=C3NQgu62qQY73hp1kERVGfzx+CVIieYg3dCsqG+xormhbs4geugvjisw3eX5EM3qqAbFbfqbYNU6so7fIknahg+Y0n6D+XrIY4Sw+sELycpPL9s2chcijsFDd8LcwJl2ia/2CpRU2FBDkvR56YL8FmiPyuv9bq8LpSlCEMUs2xw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774339677; c=relaxed/simple; bh=IceAUN0OJIIAbe19yvKfIpOhT3L2MW8JFDntDXdVY0g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HBPxz30FLANRnQVnjiKjCbykeqPn+vLMnoW0UyG2irNcd5B0SQEzQHLNkn2/wWv5+/MUIODi0pX3vA3Rc91N/zby1yqc+rm9/r2Y1iy6zFqxR+MqizpSbDZvl3+NSnxzSz2U18GVk2g7Ua1XtVH+flSXatq514xA1GrAtZJUjQM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nooFF0DD; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nooFF0DD" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-661d20c9787so1377537a12.0 for ; Tue, 24 Mar 2026 01:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774339667; x=1774944467; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hU4A868t/KxQ8kSoseiIZSNGuwyJwQACouL71HeRn80=; b=nooFF0DDlWn3Xwd8OeeEkkhVBO18PJvGJFaweNxgRiO2KJbPXWL7L3SXtnPnoJkEFj 0KXQyGk6VSxP8Domp+J2O83zhz1NEnInV+3hr/qdCsaeVgRy8LmyDY4upSYdZxhpLoVx pICFCvdP4a9lyJIWd0cnJS2n2zVCLdPsV1wWy8FlsDRkcGoSix4Co75yxNgm2Ry2yu3I USs20T7rG5A35iXfNIBhwBEWbqKUfC8dOMZaAPSafiC9ef5CLO/9byt/Pbeoc/cKuxW6 L4CDagq89oyvmU+lmu63q4NGKnt1/oglSvCqnYRJ2BmLFNIrmAI+CqxT3mpNIT/sdbuz qYKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774339667; x=1774944467; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hU4A868t/KxQ8kSoseiIZSNGuwyJwQACouL71HeRn80=; b=gX25bHp0PzVgZqGHkKZeybhdp5aDkn2gbfZQ/U1yqHVdaYdj7OQARMCmbDlPTS8ROm OUxJdILb2Q/2fmt130TViZVfZQJ/2O6gBcnfIYWH6emaEUB/5N/8ZHm+kmIzOtnCrKLq hmsWiiuz4Z/UCVYkdczGkggZO3YYW/SXpYKbzy3vS70ahgc0YhVR6StcW8VaalYZzWYN 1Nd/dN9TwYZrh7SnG6hPCJ8q/QHOOJ7WFKAi1R+qApmQbPppWGx0ed0qP6N7F9JxVr4N 120uly99PeCoFzGozgjI5gybmsESRg3TxvK79wvQ+53JoEGcm2RNdsUNqsbesswjD+mF Vn5A== X-Forwarded-Encrypted: i=1; AJvYcCWDEyCr+IkcF1sf9qfjlpa5C6q50BlYUsJK0kd2YDdCMbhPHBhixTXt4muMgJHylCxXnjYinGsjrjKNef0=@vger.kernel.org X-Gm-Message-State: AOJu0Yzumo3Zdm8Az3tKLwqbHp0xW4ABJ/8mFfdLpySDIUs89HcpS1FR g7E7M1dkwOBntJpmIL7gx2V8Yj9lGhg9hl6OcM3vQW9asfPcU8pedN+/WzRMZpFR X-Gm-Gg: ATEYQzyEHjFC4uE9BhyQ9k8SsUKWmsXSdsXhpsWObXLzbaMwen9AXE4Bbr+zhp2GmtY OHFTQqyj5yG7gfN9GOcqvgXILk64uXpDEyZ+APO/T0T66A3pUZdJKeuc9K6C9bKxj1FmSADyhNH 0IttFQFKgygb4UkVCYEHvvec0O7sa8mvk0EWsXm3oiuT0Hq6TypJAbZ8wxYS94uW81O0779oHxC PuU/FmvafWaBCILsJZcfYOICDF8U3oI53P6JIaIMbCqBDG632v/jxkr2Jfg5pXwHDQfsRPab8VI 5cBKrz7viPx95U5w4izpmJuk/XpH8sA6GmIwnZZd0MbRKeDz6mfeI89bPjg0oLnJTORsvbtW6WS gES2A34XtyonSRMrVMr3SByYGPqLsRYOoHy+HdvcfpCcYgoV69K9tkvcAG76+OJhfd5Pxtjh841 PJpT3WpRZuGjoLeZyIAZDsrB/9JA== X-Received: by 2002:a05:6402:2342:b0:667:2fd:4ead with SMTP id 4fb4d7f45d1cf-668c9b206ffmr10183916a12.27.1774339666291; Tue, 24 Mar 2026 01:07:46 -0700 (PDT) Received: from [192.168.1.31] ([178.230.175.206]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-668d219abf6sm4487923a12.20.2026.03.24.01.07.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Mar 2026 01:07:45 -0700 (PDT) Message-ID: <2fd29380-468a-4f09-853a-f63c67a3a3aa@gmail.com> Date: Tue, 24 Mar 2026 09:07:43 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/2] arm64: dts: qcom: Add Xiaomi 12 Lite 5G (taoyao) DTS To: Val Packett , devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-kernel@vger.kernel.org References: <20260305093941.305122-1-zstaseg@gmail.com> <20260305093941.305122-3-zstaseg@gmail.com> <9ea41e6c-7643-452e-abf4-f35238807a26@packett.cool> <3bb1da4f-f2dc-421d-95f1-5bba9e3e1aec@gmail.com> <02913b5c-ce09-4fb7-a3dd-71bf7330439d@packett.cool> Content-Language: en-US From: Stanislav Zaikin In-Reply-To: <02913b5c-ce09-4fb7-a3dd-71bf7330439d@packett.cool> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/23/26 9:49 PM, Val Packett wrote: > > On 3/23/26 05:04, Stanislav Zaikin wrote: >> On 3/21/26 8:36 AM, Val Packett wrote: >>> Hello again :) >>> >>> On 3/5/26 6:39 AM, Stanislav Zaikin wrote: >>>> Xiaomi 12 Lite 5G is a handset released in 2022 >>>> […] >>>> +    touchscreen@0 { >>>> +        compatible = "goodix,gt9916"; >>>> +        reg = <0>; >>>> + >>>> +        interrupts-extended = <&tlmm 81 IRQ_TYPE_LEVEL_LOW>; >>>> + >>>> +        reset-gpios = <&tlmm 105 GPIO_ACTIVE_LOW>; >>>> + >>>> +        avdd-supply = <&vreg_l7c_3p0>; >>>> +        vddio-supply = <&vreg_l2c_1p8>; >>>> + >>>> +        spi-max-frequency = <5000000>; >>>> + >>>> +        touchscreen-size-x = <10800>; >>>> +        touchscreen-size-y = <24000>; >>>> […] >>> >>> I have noticed this previously and started wondering why the size >>> was 10x higher. Now with my own device (motorola-dubai) I actually >>> found out why… >>> >>> With the actual 1080x2400 size, the mm values reported by libinput >>> are 10x higher than what they should be, e.g. touching the bottom >>> right corner with libinput debug-events: >>> >>>  event3   TOUCH_MOTION              2  +1.493s  0 (0) 98.80/98.75 >>> (1067.00/2370.00mm) >>> >>> (2.4 meter tall phone! :D) which was mooooostly "fine" except >>> Phosh's on-screen keyboard was accidentally detecting super-fast >>> down swipes as I was typing normally, and suddenly closing the >>> keyboard as I was typing. >>> >> I wonder why some other devices with gt9916 (there are a couple in >> mainline) that specifies 1080x2400. I don't think we can make this >> assumption unless there was a mistake already in those mainline dts. >> >> Best regards, >> Stanislav > > Not sure what you meant there.. I meant the existing dts files that use gt9916: sm8550-qrd.dts sm8650-qrd.dts sm8650-hdk-display-card.dtso All of those specify 1080x2400. That means either those boards weren't tested (by physically tapping the touchscreen at least) or that there's something else. > I have not seen other devices do the 10800/24000 thing. Please set > 1080/2400 (actual size not 10x larger). That part I get and I will. Best regards, Stanislav