From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed2-f32.google.com (mail-ed2-f32.google.com [74.125.228.96]) (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 22F9C409114 for ; Sun, 4 Oct 2026 20:30:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.96 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791145813; cv=none; b=QUVqaeMG/ZSINtE058kKoOFWP+l/FZy3UVnu/XiVcYGiAv2rHS1+us09ryNVseA97JMmApCkxjvOh8Iiqoi2vYH2rWBwqTvwHHfo3g2eTAKN3D42hwAbqXKX22vNHi5FxGCZA92gYEgN5GtjwoAnyJHMBN4VJppxX+zkFTMsDJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791145813; c=relaxed/simple; bh=NjrYE4by8IUGX+jLXXoEkanz9j2cBCv2snn0lRwRYoI=; h=Mime-Version:Content-Type:Date:Message-Id:To:Subject:From: References:In-Reply-To; b=un5n8wmvlxDbktPYBkQe4oq0+qkjzho9qQCAhDdvzwXaAxJb9JSU9bCLvFox7tibSO4iC5cXOHdzHviTJqPUKVlmcnTx0PBoR4Gt/QEQhBO3zyFDS+yVfawj70TUrP6PaOlBPCJ3hMIGutQmWy53fonHcotAHhoTcSy6Kazo6so= 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=EUpxe+fO; arc=none smtp.client-ip=74.125.228.96 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="EUpxe+fO" Received: by mail-ed2-f32.google.com with SMTP id 4fb4d7f45d1cf-6af7d408b51so775299a12.1 for ; Sun, 04 Oct 2026 13:30:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791145809; x=1791750609; darn=vger.kernel.org; h=in-reply-to:references:from:subject:to:message-id:date:content-type :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to:content-type; bh=NjrYE4by8IUGX+jLXXoEkanz9j2cBCv2snn0lRwRYoI=; b=EUpxe+fOtf9EksVMIs6LJzFRu9HdFznWGj9BciYZ+KiHDySiC4iCh6ahHGO52Zn5sc ehlvUPwCv8sMKa7CfsTLvolTKpOHt++VXeJT+EtmyyG7rdZdRS9TjhVq5/SlNwb0WYnJ 2XQmk+0meesqS23m18pUgWwCJYMx/SnLnF9EhaebBVKHS2QdgJ9MMKTJzXBf5bA4Xgjb u2IAXM5AKHTtvD6qv2YuWF2ynMztRZqXTYwnqAbY15lkOCCTJl8LHssFRgY25+M8aEbp TDEiMay/OwBILtxX2fScUZh6fmPD/WbjcoBDWoCl4CmKhMv6MiWAiYuhEP4hhOZppXs+ herQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791145809; x=1791750609; h=in-reply-to:references:from:subject:to:message-id:date:content-type :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to:content-type; bh=NjrYE4by8IUGX+jLXXoEkanz9j2cBCv2snn0lRwRYoI=; b=JzJIBdYkfTK1h51d6tYiSdkZVYJ1C/FJxuVNkKOzoSJVlILB07/AbbGTF283kx1Pk1 W/PT3xT8NenTdq2zmzi/obyQGy9m/tTWb9s3Q1MvHIfU3U6MHr00V48ZtJ/GkChqIa+S fwpfTAORi4L4/m25J6U0B0xrkT5KFYS1PpOo0ePG3Yxwu4Ds5clXZUlSrFMjy8ykz8aq +oKQcUNiL0nhvS/arLCgu5xlP2UaD43qBNblvc+lY+Rr38EORElHzZBMaRXqpmdPngFh /6z55NZILWoKx2XlLVQ/q+aZ+8SEYWdeAIQJmgOU2BDYmVVZ/5Fevlgn4NXDcPArsYgZ wAlw== X-Forwarded-Encrypted: i=1; AKwUvBxqU0LB0V6QP8ypE6QPCLk/ymhXT67lidtVHnbV7DqVbIjsokIv534lWtnfUasF5uJOroohBBAwqDPGT14=@vger.kernel.org X-Gm-Message-State: AFq9FYJUuB+X0+xxpt/a82JukhhgnV7F3t3jl5VPf+zrDFPFL0Ch1LjE kF7pJW3tqWU11KrnPF2E6kH5qVrPY6fhTYe9o+gganVXcw+sAvTtSPLX X-Gm-Gg: AYBFou2/lBJz2aTIR9R7gynytnNRz6+I3i/9Q+bnsp8uZGFkwjatU/LopWgGE85qROV 4Rudlh7YGBPz6HTAL+3Befr6tTYokPeAsuZsDaqqtOaDp6VQYBX4s44H35KSRFGBnXqzcvWSws2 aBXadMST2Ut0VfbaoeOwA+riChFP5QWG6482Klsqu+c9/tDv0qBpSj5Q1G9J2Bl4F1zu7/swG7t 5tPJsIovb4uNNFuUW4GCUqzyPWb0hrufufaly1ciwOLF41vQ4aAcEoPriNXOAfiRjl2ziyvSnce JWGPoe5xedjj1kaBZYT/9Lbq/pNhSSQut/uwZ6rCb26SDKxojzTmTRbUXlajigscFrGuZiFK7Mw 6iIhM875xVoMldbnREylTwGzc2CiqzaI0fym6UDopofdeFqoYHNh4eYzJ8acrv++XweRvWvsg56 36lFqWE+pjOTLYT2st92H7IAXlZFHiHUGdUAjtCaZEPeqWzJtKY3BpaUWnIlmR0cuWEuHSFEb/w ScsnEQ= X-Received: by 2002:a05:6402:3819:b0:6ac:7d58:dbed with SMTP id 4fb4d7f45d1cf-6af9e2cb07bmr8078237a12.3.1791145808710; Sun, 04 Oct 2026 13:30:08 -0700 (PDT) Received: from localhost ([46.205.201.71]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6afb01e592csm2343641a12.6.2026.10.04.13.30.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 04 Oct 2026 13:30:07 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 04 Oct 2026 22:30:05 +0200 Message-Id: To: "Daniel Golle" , "Dmitry Torokhov" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Hendrik Noack" , "Arnd Bergmann" , "Ferass El Hafidi" , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , , , Subject: Re: [PATCH v2 2/5] Input: hynitron-cst816x: respect touchscreen DT properties From: "Oleh Kuzhylnyi" X-Mailer: aerc 0.17.0 References: <75b8436b900ecdce7f29513a7403b851986a3a1b.1790944534.git.daniel@makrotopia.org> In-Reply-To: <75b8436b900ecdce7f29513a7403b851986a3a1b.1790944534.git.daniel@makrotopia.org> On Fri Oct 2, 2026 at 2:47 PM CEST, Daniel Golle wrote: > Parse common touchscreen properties and use touchscreen_report_pos() > instead of reporting raw absolute position. > > This makes the driver respect the touchscreen-min-x/y, > touchscreen-size-x/y, touchscreen-fuzz-x/y, touchscreen-inverted-x/y > and touchscreen-swapped-x-y properties. > > Signed-off-by: Daniel Golle > --- > v2: > - name all the properties the parser honours, no functional change Tested on Raspberry Pi 4B with CST816S panel, with and without touchscreen-swapped-x-y. Reported coordinates are valid. Tested-by: Oleh Kuzhylnyi Best regards, Oleh Kuzhylnyi