Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9203130rwl; Wed, 11 Jan 2023 02:52:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXu/qtEzz4M/qMBUBBaC3uTqae2QYHcqrjyhQVc0ts6ABKZbEySYv6XRrmS59XBmTPLWcKV1 X-Received: by 2002:a17:90b:897:b0:226:3a7c:f248 with SMTP id bj23-20020a17090b089700b002263a7cf248mr2098261pjb.24.1673434369672; Wed, 11 Jan 2023 02:52:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673434369; cv=pass; d=google.com; s=arc-20160816; b=qqtt1n61BSL3VE2DuaUrrb4UZGmKFfmdFsQ7ooRL9WFi8npDzAB9V5QyvHomp/hVil nK7SaIHbp7PERVSsiBT6rZ4NaUpXRysv5RckLYlWgApvEeLfIKra5YbG7VLiEfMNzhCp dP7tmBRTJOeKopsBukxaQIt6EzBECyP4/6lJ9ZdZGf63TSGIRYzwnvQDgobseg6mK+NZ mDwlWHKqQAVdHztF4RTPvGlEGU41JnVuHM9VkiEwFymnE4OSZdXFDZyqEmDr/wZOJhna FDWgSmYltKkOzitAhQYt1iHeeP+cz368RYGbwxju5eoJB4XDe+7wY5IG9RNIJyd5xn2g yNvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=wPdutyTNJACletQHQTP1yBHh8lFOxwvU7rdYfe+bHj4=; b=XRThQOATu59Uj7hpYETiMpVho3aJ183JJ5N1aBAi17LnMRcXttdu1mO4iiCvc8BSnW /y0gYFoCnNVRgMfAl8FiApa7BLxLXj9eEFTXjH7a70Ll4aA0tV+WBXCnyzNDGAWxuQXV GiYJTJHHZerXUQ0tw76IMGwm6gQURxmDGXE4TAfwgthTAVxhGYuH5VExj6wGtM09oRpY CvFYT7BQ/f39FNBpaU5BmkG4QSXTNRdrJuMfaBcz7qQG1RVOsYchuZ3LpvJVIlSIfmvH J7l/1LU+EP1Wffzb8EN5SRlpNGSCD4UQArMcBSaBK0Li9SrMzhXjkdgaNwSbC265vxc0 s3FA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@live.com header.s=selector1 header.b=WuWiG+AT; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=live.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p3-20020a17090a868300b00219fb3f72bbsi13683304pjn.172.2023.01.11.02.52.43; Wed, 11 Jan 2023 02:52:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@live.com header.s=selector1 header.b=WuWiG+AT; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=live.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231202AbjAKKMF (ORCPT + 53 others); Wed, 11 Jan 2023 05:12:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233820AbjAKKLA (ORCPT ); Wed, 11 Jan 2023 05:11:00 -0500 Received: from IND01-BMX-obe.outbound.protection.outlook.com (mail-bmxind01olkn2098.outbound.protection.outlook.com [40.92.103.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E52A11C0E; Wed, 11 Jan 2023 02:07:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iVLyCJYnen+Z54lN8R/UqW87j8LBbcHiJYI0WV7ZdW+Lfm/YkrEACFRJKyrlHlOtyfQL+GY4GymloOoHfFAG8dAF6lX83upos61dHThIvKcRXTRV/0pj6emYOtquWD3w03TsP18ceyQ5F7QMYv6a2FkfokqctqA8eJzWOyy1eoCO10DTklgUc+WXrUevToh5rhpkn6HTdDqOpQ6LVNrePE61rna6pIyczUhgxcdtJoX/C7eSBPVzqdYlsiFFEyx7BH4oCJEZTQJdSiTAzc4jf8ck5Xmba2H9CmzCJShopBGpuvSxDm9lCceQDwHPmnZra+eCKJ3V9MY8eLFALsiPRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=wPdutyTNJACletQHQTP1yBHh8lFOxwvU7rdYfe+bHj4=; b=W5JKAXettTd76Hb+vGkMJoQYQxzree7OfTJVrszs8vEvWadfvAr54o9TDAn54jWw5aGZgwHyGxZ6cqEauts1R7xfu/KnAwuNhpeGKEg1JoxpuG0DgTPfaxLqEOOUwQT9xoi3K+95AxH7QAJPjL4dMQMtoAIIDErX4nKDyqOR/9zTfuqFzMk3zZtSrs9At3GyPDggFYaHF+uni7LH86ITNQGcyXbB4Y8MnASFCLFxltz5+bjy+dBxV+PIYjW8GoyXMNHWLd6c7PSZSdNwy64+UNsRJJ1hyg3WmfLlsglsI6F4/rDD8n3n2595tWvMFH/QGrE1+G6TjCRbd90yjOOCZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wPdutyTNJACletQHQTP1yBHh8lFOxwvU7rdYfe+bHj4=; b=WuWiG+ATfmYRF3az4CUIOlSMwhJxcZY1uj0o3dfpEr9cJSGY6Dl3Ly5kMKaZn1mQ2Umo52ADQXXwjsxbKqc0meDTSxVUVaD98X+1cVA5fweT0Ve38g3NTv35opFecgIxqHcT+Mj4e41zUjjwWOxpvd1HBa7kPgbhWGTpqu75hAb4+az8+xA4LiY8v9lnu6xJucADxMCt7HoXXaJ9p6FMWTWrqd8hSJ9CmTWaole0vfQe7v1ItnZ27fAKrLhK4dDK+Lat9GZPzaUGLMJUSpm8YJTg0LI2pW07fJMEUWObcakZyiTpwV27uwIIL/LRxo3sTBYZF+VJFcvutQ3miDN5dw== Received: from BM1PR01MB0931.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2::9) by MA0PR01MB6359.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:7f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Wed, 11 Jan 2023 10:07:36 +0000 Received: from BM1PR01MB0931.INDPRD01.PROD.OUTLOOK.COM ([fe80::f2f0:34b5:eb58:bb5a]) by BM1PR01MB0931.INDPRD01.PROD.OUTLOOK.COM ([fe80::f2f0:34b5:eb58:bb5a%6]) with mapi id 15.20.6002.013; Wed, 11 Jan 2023 10:07:36 +0000 From: Aditya Garg To: Jiri Kosina , "jkosina@suse.cz" , "benjamin.tissoires@redhat.com" , "jic23@kernel.org" , "srinivas.pandruvada@linux.intel.com" , "linux-input@vger.kernel.org" , LKML , "linux-iio@vger.kernel.org" CC: "orlandoch.dev@gmail.com" , "ronald@innovation.ch" Subject: [PATCH v3] HID: Recognize sensors with application collections Thread-Topic: [PATCH v3] HID: Recognize sensors with application collections Thread-Index: AQHZJaSHSs9iTHSJpkmT7tm87pMIXg== Date: Wed, 11 Jan 2023 10:07:36 +0000 Message-ID: <9E66CF6F-99A0-4CC5-9FA0-3A9DCFCA0388@live.com> References: <8DA00FF4-DB08-4CEC-A5B4-47A71DC09C13@live.com> <01D620E2-18CA-40F6-A330-454CBC20C542@live.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [HX2B4FhKqfK1L+oHwPfYMEzPp3oXMZa7yZ81HyH2FRYXHEuJgRJ831Zv2510oATV] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BM1PR01MB0931:EE_|MA0PR01MB6359:EE_ x-ms-office365-filtering-correlation-id: ea75e6fe-dd48-4bf4-ba40-08daf3bbaa45 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 02yrKjJugzjWQ3GD8Gxm5w6TovvBQnKpe7rQ19obTRjzhTUVaphCF0Qoli4I4BhJpWRDn6S1l0CdeXUQgTfmaX5ysayxEM6aWkTiXelRjDmHkhhpt6TAP7hHBm4UxhpWajNAM5wAslq2SDevTScEWb+vKPwALoiwvsjrxjbLK4/WOySnmWxwYLfuyABkr6WpGq5sf6wCv5aShgnDM2CvzIRCXV8Ji6OUQUp9flpul1eYZmReKcPmpoyCJOPbs5Qe6KzvEn4mszQ8tEiBORSOQdX/taymqEHQrDxdOmbaqm4JNlq0HRb9cCsmURFwLP0v+jTeU/orTENY5VDWDc0lYyuvbM+PKoCgDHeE6XLx68QXjIYW/ADD7Qd9MWd2jtSjVnNcGyVkIZTad/JQ237ovhwZWS/VjvIwifdRHKx487c9xy8TkVzC52vq61OmHN1htrbyi+pqHSLUDhyW7cChOVRHLh3NQ6mCflXYS1D01fIbgWTqNq6j0CqKUD9WUi7QAUad0Z0SQk+BCf2XMxFxo7ioeHEaXQJMQehE0wzQmcKO5ek+vhOI+d7JIEDeqH0fID2k6wp5spkr2ymoy1djg3nZ1C45fx5t2mCDuNecJ6U= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-ant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Eb2hlM3Z3SzFTWTVQVENJRmRsaXRNYmNmbUNs?= =?utf-8?B?VW1hL2k2UWN3azZsZVkydz09?= Content-Type: text/plain; charset="utf-8" Content-ID: <181F55D8A09EE44D978B411E2F196849@INDPRD01.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-42ed3.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BM1PR01MB0931.INDPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: ea75e6fe-dd48-4bf4-ba40-08daf3bbaa45 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2023 10:07:36.7164 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MA0PR01MB6359 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogUm9uYWxkIFRzY2hhbMOkciA8cm9uYWxkQGlubm92YXRpb24uY2g+DQoNCkFjY29yZGlu ZyB0byBIVVRSUjM5IGxvZ2ljYWwgc2Vuc29yIGRldmljZXMgbWF5IGJlIG5lc3RlZCBpbnNpZGUN CnBoe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