From nobody Tue Nov 26 22:24:12 2024 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2099.outbound.protection.outlook.com [40.107.104.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BFB618A93F; Wed, 16 Oct 2024 04:02:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.99 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729051381; cv=fail; b=uQ/PY4Q0Saby45GWDLFu1D9NO47d0hY3XYS6m31qDRkoO3zmzYM8V9mN4tC+QAik9UdehZ4BZidUlsxa0B/mMqmW/gPm1kf6+eCHf3cT8S6hQ2mglrHwAKsp8vrJH/ncGz3b2ac5a5sB4Sw9LjeJfOhOkIvKow7kPVN+jlvcfJg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729051381; c=relaxed/simple; bh=XWHXrVKqE2CO9WPWm0JSgomvOBlZ7nKTdoLdXMwhYpk=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=C4RXWm3WkRt8hRiGJkyQG6b03TkXWCHdrC5D75HNfSvvYlz/9akx5fHYC9Imvui9HxnEPBFTVqe6ERSDgbuGgL3PipvcjMYRrsPvU4RgyNxJ6HCeJZUb06IyrLcFR3GJ0AhU+SAQzB4AdeIVjPTY//54EoqmvFAU95xxTZoVcVQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net; spf=pass smtp.mailfrom=wolfvision.net; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b=jf2RBX6B; arc=fail smtp.client-ip=40.107.104.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wolfvision.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b="jf2RBX6B" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=SefXL8PbzSJGaEcsJyLW/nOx2c0rK3o1l+3qYa+tr2RO/vqqHDnVm4FMne5J2LsLK+Ccf12Zt25uATW6voOoJnROuHJBCIenEvy5AVVodTXJ81/5JgwCx6BMfaSp8DkucaDqffFBx59ObrBbuXq4VuyYkB/OTjfZZJwHuntybUyFfgNWObhTK6KeOvJGnx1FQK7c1F2Xyp+uCtPEA4bG1yVkl0xD87wZ7+nshMAUoSALOmQv/4hM8q6nbfVXol05yVL8W6eM62L+KRHMmNElxegSzTnGx9J13agxKl9HQCmooD6AdDUsNjL3+6CbSXaiZQMXfaRD4aA9U4lZ+JRw6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OMAGtTuTnOUoFkDvbGTrc/5C9LZDKdMlTNViTlbiSRQ=; b=ZlYlwRhA5CBmXd+Caz5IKQY9rO5ddLjJ4DDvSu0MP6NsGsfZha2ZeiR0BjcB6aRxyRjcdU1nGL1csshz3zAaRYJmbC3mdfJ4YkMta3caOwzn31vkljGQvgEhPMXqHukAeNs2snyZdJrF7Elxx1fjRfTatjvd7EqeVuaM3lBQIHcXl77/rhzCkvS+wMzNjW4WaIXDaaMId0WmjgtEfJe7i6SqGE4z6KD5cE1znLyfczljNZWpH0URvIGtSOdGd021QawLs/wI3VkT3j8P5EFisU2xVZiG/I1CA1pSsuGNipCixC4ObOZhtqhxp8cu2+2CZAJPw4tUaqeXQgOCdNcNug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OMAGtTuTnOUoFkDvbGTrc/5C9LZDKdMlTNViTlbiSRQ=; b=jf2RBX6BHtDskvUB84e/9hSOUaVFCe27VjQBmAPeeT2q1OFHTeeGxZSjfo7aFsQsqTm76mH+gg8M7qtRLx/kXtEpMSlHcDjN7V6TspMCu2sw+RVIm0xUgO05QnRYxGUjhJHKoAqLyyk6Z2Dm+BqjDeuZbGxWb/GA/u3QuI7vaHc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from DB4PR08MB9190.eurprd08.prod.outlook.com (2603:10a6:10:3fd::21) by PAWPR08MB10183.eurprd08.prod.outlook.com (2603:10a6:102:368::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.27; Wed, 16 Oct 2024 04:02:51 +0000 Received: from DB4PR08MB9190.eurprd08.prod.outlook.com ([fe80::c7a:6978:9afa:19a4]) by DB4PR08MB9190.eurprd08.prod.outlook.com ([fe80::c7a:6978:9afa:19a4%6]) with mapi id 15.20.8048.020; Wed, 16 Oct 2024 04:02:51 +0000 From: Javier Carrasco Date: Wed, 16 Oct 2024 06:02:42 +0200 Subject: [PATCH v11 3/4] dt-bindings: input: touchscreen: st1232: add touch-overlay example Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241016-feature-ts_virtobj_patch-v11-3-b292a1bbb0a1@wolfvision.net> References: <20241016-feature-ts_virtobj_patch-v11-0-b292a1bbb0a1@wolfvision.net> In-Reply-To: <20241016-feature-ts_virtobj_patch-v11-0-b292a1bbb0a1@wolfvision.net> To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bastian Hecht , Michael Riesch Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1729051368; l=2517; i=javier.carrasco@wolfvision.net; s=20240617; h=from:subject:message-id; bh=XWHXrVKqE2CO9WPWm0JSgomvOBlZ7nKTdoLdXMwhYpk=; b=ZDQYS1QI2o5Q8E4/PyNeXvhlm9If7BAMd/TUA+C7PmIhqysNISDC1G1uIyi5U32OzS+Uzm+nk eMFaSVC7kOYA3U6IrYf5eXe2myZnGrjFuOE5+SNibonzNpotXgobvWK X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=hfASRUP6l4lf3Lo2mjLM085/h37dT3m0Qj1HejXDPDc= X-ClientProxiedBy: VI1PR07CA0154.eurprd07.prod.outlook.com (2603:10a6:802:16::41) To DB4PR08MB9190.eurprd08.prod.outlook.com (2603:10a6:10:3fd::21) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB4PR08MB9190:EE_|PAWPR08MB10183:EE_ X-MS-Office365-Filtering-Correlation-Id: ffe7a1a6-adb2-452e-d2ef-08dced9767b3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|1800799024|366016|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?M2xQdXF1MWZ3dWVBK05zVFhuclpzZEFoc1RNV2UwR3A1UTUzY2ZpM1lFeGF6?= =?utf-8?B?U3RqcW95bitUTDNrQlhqM3lJTkJJSjRJYUx4OGVERTRNOGFxUnJtR2RlZW81?= =?utf-8?B?dFo4TVJRNnRnakV3ZzNkN00xSStmbTRUTE0yTXlRRG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13230040)(52116014)(1800799024)(366016)(376014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RGF0VkYrdStpRngwZTJHNzhqZnFqYnNxY1krN3VUVUxBaXRBMnN3VzA4SVJT?= =?utf-8?B?WDM1MmxmMTBvcmE4elBYcFB3d09IdnhESURDbU9kZGxJLzhvWkRYbno4cVRS?= =?utf-8?B?aTNyeFI1YW51d0o1YlhjN1pHU3hGZTViUzYyRnNUSms4eTNpT3ZvUzBNZHJk?= =?utf-8?B?b09JVjNWRGJmb0JHVjBHdFc1TDN5NUlvbWdRdkQyKzdDYWRWUW1SN2xMTWxx?= =?utf-8?B?UFUxRTAwNS9aN1FWWFgwTGxVY1VvdkE0NlpVbGpFYyt5UGhPai9lNVBIYTQ0?= =?utf-8?B?RHIrR0VvME52V0NxU09GaGZtcUxOZ1krTGtGRkczelpncUFjSitQMXVEbjla?= =?utf-8?B?cmZEYnhnVStyZ3lBYnJFZko2bWQ4K0lYdmtkQ1ZTQzg3Smsvby82S3lJenpB?= =?utf-8?B?ckZiZFhxSFBWUmtTNTZhVDMxY0NVRFAvRGRtZk4vWmpibGptSDdxZU5hU3VJ?= =?utf-8?B?SWphNjE0ZTV0Qnh3QXBhbEkvZzMzN1JrcjdVaExlOHFzSlVsQzZ5Z05uZUVG?= =?utf-8?B?ZVV1STg0aHdaa0VjMEFTYlcrby82NE1kdVFUczlCTUI2WWk5WjZrYVA1UlNS?= =?utf-8?B?enZtYk9vL3dWUnhWelBMVGIyaWtBM3l6b2w5cjJ6OHdNVjhwVWNUVzVEdjg4?= =?utf-8?B?eU1lcUR4cWNRRWIrL3FIdCtNNzQvOW5CSzdjVkEzRHkyS2VsZVdvRUdydGU5?= =?utf-8?B?NjZybXBibnRoaERSM0FXN211SjJhY2E2RW9NWThrdU9ORjdUYXVWODVwNTNM?= =?utf-8?B?L0I5QmtLekFpQ1RzNVJBK0Fi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bGJpcjZVWjBjWnAxN0hsL095S09hdlZCZ2JacjBzN1No?= =?utf-8?B?YXFydGN4WnFnQisrS3cwTW9RZDhKTDJsNUU1ZlhkN09RR1puZUNuT1dFMjFW?= =?utf-8?B?V2k0L29TdDM3YnFxak1rNmFGdnNrZjk4bnhoMjBXUmEzRjIyYnFDekVubkcz?= =?utf-8?B?cDdJSVQrQ05WcndzU1JLaHlkcHZnNGR1ZzU1ZDZMelRBYXFQS1RsQjhMNkFq?= =?utf-8?B?K29Yc2tUZ2l3dHlZSVVRbEFINmdxMTJUM2tScnBFTTZvQ3d1ZDJJVWNyM1Rs?= =?utf-8?B?TjNHcEF3WGNiSDRGcVZpL3I2QW9kakFmYkUyMTNpL1V5dXFPRHE1a1Y5UjBU?= =?utf-8?B?VDczczRyN3U1eHgwLzVzWVhyOFU2UXhLaUgxckpHdGQ0dFhPc2swNXZkd1dO?= =?utf-8?B?RGFwUUhPYkpKa0J5NFlIb1lDUXhNVWhqL2l3emJ5dkw1Z3A1TFY1Z3ZJa2Ir?= =?utf-8?Q?XCWEs0Tc6BmsHltzw8WNXew=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: ffe7a1a6-adb2-452e-d2ef-08dced9767b3 X-MS-Exchange-CrossTenant-AuthSource: DB4PR08MB9190.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2024 04:02:51.6074 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: omwnKBAkm0hcze/gc9WIS4qfke7pZ+TzE3n1LjZ7A9F8Oev9DN5MkMildkH6QunHxmmEuBMMFFRD1DMxWkk+QH5rrtRvxK2lum/ZGPjO92g= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB10183 The touch-overlay feature adds support for segments (touch areas) on the touchscreen surface that represent overlays with clipped touchscreen areas and printed buttons. Add nodes for a clipped touchscreen and overlay buttons to the existing example. Reviewed-by: Rob Herring Signed-off-by: Javier Carrasco --- .../input/touchscreen/sitronix,st1232.yaml | 29 ++++++++++++++++++= ++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/sitronix,s= t1232.yaml b/Documentation/devicetree/bindings/input/touchscreen/sitronix,s= t1232.yaml index 1d8ca19fd37a..e7ee7a0d74c4 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/sitronix,st1232.y= aml +++ b/Documentation/devicetree/bindings/input/touchscreen/sitronix,st1232.y= aml @@ -37,6 +37,7 @@ unevaluatedProperties: false =20 examples: - | + #include i2c { #address-cells =3D <1>; #size-cells =3D <0>; @@ -46,5 +47,33 @@ examples: reg =3D <0x55>; interrupts =3D <2 0>; gpios =3D <&gpio1 166 0>; + + touch-overlay { + segment-0 { + label =3D "Touchscreen"; + x-origin =3D <0>; + x-size =3D <240>; + y-origin =3D <40>; + y-size =3D <280>; + }; + + segment-1a { + label =3D "Camera light"; + linux,code =3D ; + x-origin =3D <40>; + x-size =3D <40>; + y-origin =3D <0>; + y-size =3D <40>; + }; + + segment-2a { + label =3D "Power"; + linux,code =3D ; + x-origin =3D <160>; + x-size =3D <40>; + y-origin =3D <0>; + y-size =3D <40>; + }; + }; }; }; --=20 2.43.0