Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1909642rwl; Fri, 31 Mar 2023 20:28:08 -0700 (PDT) X-Google-Smtp-Source: AKy350ZrnQeMWep50Vn1BrFgkgZCBS29P7h3daOgqX39Y+qkURqpsonTSOK+qPQBaqCU8/J8z9UT X-Received: by 2002:a05:6a20:8e19:b0:dd:dfe4:f06a with SMTP id y25-20020a056a208e1900b000dddfe4f06amr9018090pzj.3.1680319688377; Fri, 31 Mar 2023 20:28:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680319688; cv=pass; d=google.com; s=arc-20160816; b=hosZjrz2rvaOPZFR68qy/urVe90bXnYe63l9gwNjIOkwazldxoOVLFSkITw4VKDeOv 3qpmyqHGZPlsUw5Drty9oe7ZtjY8mHX78kjxVDsK1qU/9yu+NDbeEIsEEUNy9K3HYn51 UBHy3JkrqWzdtAC412qiXVa+Z6l/3rLKWEgeYMdmNSUObUFT/dKrA7tbgLzN1YZDC/jd y3ZhS6V66gbOemlTKuMDqEq0+anBmq7gUiYvfnGWITYJ3TfSFmCZyh5ZAw3/88XIsHsK QdjYXQNL32IwvqJXWr1jPqxT7xCMfU5nvJKFDczkgQV+emLzzkbdCNE/KnyUcH857qWZ aofg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=8vC+TcVf7biSaXXbs809HuUKxokujMPoBfi1gFjlvMk=; b=gSlMqUvP1wT3/CvEO9g6GxE5QXYjl2GKgCBFA6CWcriPSV0E++VYe77ELzsbl6+wl+ 0KPdxso9YdpWb7WnUg7ucr40S227Jcq/KtnB1QtKcKsm/DXINnrrau2buD2gU+fxLJky SNeg1kSWCkmUBRHYYmc4gTW/LQHlvkYEM7RCPs5v5fp2CHfBbUX6GKA/d9Ro/p+nkhee Rf2JOhJs8OL6Dv4SXvNaHGAHEmkhS3kkJ7QuVE8PpVlvCkuyKz2B79/0lqkIrnGt7MNx Yzy6eKinqjGwDrX6wXkJqIuopJxomvRZ+Czr03qX/XkiwG+4/qYhBnDEwPTYUYXFI+oE AHjg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=FUJ94L1t; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e66-20020a636945000000b0050c10b43533si3953826pgc.60.2023.03.31.20.27.57; Fri, 31 Mar 2023 20:28:08 -0700 (PDT) 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=@Nvidia.com header.s=selector2 header.b=FUJ94L1t; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233822AbjDADWS (ORCPT + 99 others); Fri, 31 Mar 2023 23:22:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233621AbjDADWI (ORCPT ); Fri, 31 Mar 2023 23:22:08 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6011CDBF0; Fri, 31 Mar 2023 20:22:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PR/Eb0Uo9Em57k61eJYHhJskmlU7a8EmjqNFZIoR844feO768WAZ7gHPobflTzGpXRIChWKfmUqUv96tpqO/gEPjRQ4KFdNHLpmOCrckunL2fFWODBrQ+N6E3m1N7fjjdUdGpUoXBLK0jPrPO6//1UlhWZcvgqVrAAfE+XxuQVuab9AEot9IgeyRuCRjpf+R0bMj9fFxiJTRiKHBAlBYTZyUjuVrB8S1xsaI/q4S1G/jZsIHnql9ARkgOPcqwLIe1BspgLW+QE2b6kniVYKlXq/a+OhkF+Elf5JIAxDxKNFRgzMRZeIWva+QjVRQJkZneOo5CvBYLCGoLubRTakwVw== 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=8vC+TcVf7biSaXXbs809HuUKxokujMPoBfi1gFjlvMk=; b=M1Mbeq1ObzpInWC1gyRrGcR1F/gqnOdvV55J+fgWImfFQU+uWr64BTUCAxh3kvNt8XWX7wPAzyCXktLKI0BbiSzyCSrCjLBynxSBr2hbu/mwVo3S3KeK2JbItISvZfOHqEbMlNLv7nxPkUG81AjGnrzBrRg3+EKL584k9QAwcd8Wn30Ij2fHxP1Yr5If7sMhIdkvFHoJ6T4g4T4QT0ow0kPGmxJbbIWiuIT1OE8qolSXh2tfiZAGobQba7FujbmO+eAhBvlz0GAb5+tDDDO/7inZ18KCRXGzqJUksG9/Oo+ESjkmn2XVSkz/fYchVCIkmeuYTUj5E47le/1A/iGIPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8vC+TcVf7biSaXXbs809HuUKxokujMPoBfi1gFjlvMk=; b=FUJ94L1tqZxKxyKR/2SZ7ngIYVqWuuYOUxXBWRbZyWrVGDzfjwopzpK6XaoQkpP5ktQlXtV8tKquzXsQXZOfB8ENMdjkE9NIuSk344rHcIx2oL5VJy7Q+vgt+EPo/zj/1oAFoqz70IRP9QuuVywlXkB0mxxweZA9a9EevJIiaqt3r13LFfw9WZGc61WJj9QRx5x13pSdQPaDMraj5keRLifSEXPYOKR/pRLcmGLMSUGGjT5ySKt6xMz9Ac24Rwc2IahIJ2uxWKFa0IryEpUQ3MD1dL6ECQWSXDQCtFHJDzGy/zhYccw1nLTduL1t5do+ED8KoQpyPj8hRLziChHDCQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BYAPR12MB2743.namprd12.prod.outlook.com (2603:10b6:a03:61::28) by BL0PR12MB4914.namprd12.prod.outlook.com (2603:10b6:208:1c4::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.23; Sat, 1 Apr 2023 03:22:03 +0000 Received: from BYAPR12MB2743.namprd12.prod.outlook.com ([fe80::3559:931:66c6:7507]) by BYAPR12MB2743.namprd12.prod.outlook.com ([fe80::3559:931:66c6:7507%3]) with mapi id 15.20.6254.024; Sat, 1 Apr 2023 03:22:02 +0000 From: Rahul Rameshbabu To: Jiri Kosina , Benjamin Tissoires Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Rahul Rameshbabu Subject: [PATCH v1 RESEND 0/1] HID: shield Date: Fri, 31 Mar 2023 20:21:50 -0700 Message-Id: <20230401032150.7424-1-rrameshbabu@nvidia.com> X-Mailer: git-send-email 2.38.4 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR03CA0103.namprd03.prod.outlook.com (2603:10b6:a03:333::18) To BYAPR12MB2743.namprd12.prod.outlook.com (2603:10b6:a03:61::28) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR12MB2743:EE_|BL0PR12MB4914:EE_ X-MS-Office365-Filtering-Correlation-Id: 92bbce5c-5d48-4dc8-de1e-08db32604326 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +ioATjfPOM8j9tHAtJxcvQ9OFHGHZJe9L+bLhbBIKomiKqOOPkLZMjl+S7dnaf8WgEUdYuqXGSdkG3o0qzn9NZqDK5MZyglU+NSzCjhr/klgVkQF3Sc/foKx+qGLm0ADMRMVz7kIpKC5mIo9a9vWqTDekGRqSiAD4N1nXzUcg0Kb//2fBC/flvV3zh+zgHNHdrd+mP8UzKIp5vUPmXWDCQSfY8W42NfVuXDVMw7HZwzRGs7rrsvSXUZOcm+361oNCqE6zs6DnEoPsgZWsHjfZmcWqylwrvCdeEzHy5ivSTV3yfqjnKe7TMcr9coPoPr+xuJ2f7P/HQpjyfeUkE2Pw7YguH84ziGZaaH6yUhZDExKwSLUBYh0nRJqsfeflunuH9/znWrCYG9ZriQ4GgkhXGJthGZwHJUY8+U8VQHfMC6xLM+FOUJkWNPklr41omcOZmr+uAQJ4ykyFOYIbf6zwHxoQqHNBV0fHwtBIuhO8inn20MASbV9GxDZ4smW6RJYiC8LvHcSmih2J5pltAL0lVSa/GmcHvroYn1CtS1U3WUuugYaiD1rYG9xcDe96lTLMKics4TBMlDNIwYrA0BBxDsughtwa2Yk/eEsILjsvaI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR12MB2743.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(376002)(366004)(39860400002)(136003)(451199021)(5660300002)(38100700002)(41300700001)(8936002)(8676002)(86362001)(4744005)(2906002)(107886003)(66556008)(6512007)(1076003)(6506007)(6486002)(6666004)(966005)(2616005)(36756003)(66476007)(4326008)(66946007)(316002)(478600001)(110136005)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?p6ExYi98D0lZCi/u9zsShj2gNSn468nQ8AjjxWecfohlTFru8cnGd4WDWqXf?= =?us-ascii?Q?m1KWomzxU4zg52Vk20roRhMAe49RDjZsbVRVw8UAt2kw/k+ESg8yAu2h0q+7?= =?us-ascii?Q?cN4Kr8ATyw0KQvqd/75or9brhQNtDRXZGGyy/rxZbKooeH1Gha7wP40uuayZ?= =?us-ascii?Q?I1AEQe6vmUU7icM6NUHm/MknBuNfgzt4QFQ0PpL62ADL1VfH4Jcp1Vj9NFv7?= =?us-ascii?Q?F9Tu/EiLWmGyWmvwR45AHhX0QFv7ylANuf2s97iQdaoJhkx9kYi7iwKg7d1I?= =?us-ascii?Q?CLkjVn7PkrCmBkS8Gkn8AhD93iWjy0UQtXqG6hu/Yw4cBIAFYVCgMv0LHjpF?= =?us-ascii?Q?XzeRrjAR+zb84r9TayKfibf1GcB5mlHJvcIgf/YPesVsNZi9IgR93/gARN1R?= =?us-ascii?Q?zm0inqak/H38Fndzf1Fme9gnPrk8nYkKyznvx0Ru2sV+MSb0od0T5nOX9hSt?= =?us-ascii?Q?Sa6QakeFYmEUIERj4vd3MNYqbaF311fraI/pc4yy+tPfAuAaIL3WV+cuWjYI?= =?us-ascii?Q?JVBIWwGM/3/eOIqjtAg/Efc9wM2Y8DoLCOHzglfym8geBxCRSUVeHG8kxhiT?= =?us-ascii?Q?pwnJEANO2q6SK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?ZerzxKweE9CouZpfrM4H9GbSp5cmmjycEyV3yQJs+8nwAOXcytzrWWERtRy/?= =?us-ascii?Q?aP9CrSToMM5+ioK2lPUzfIJ+LEeX6IqR45tNHk+0Xw5GDrKyWI63hrXSK8BY?= =?us-ascii?Q?EExMlIY31nu7kZvPuNEZHUzaDfS0J9VMIT+8luW9dYpCP5ii9ErimFfeNjBT?= =?us-ascii?Q?C6nvOg=3D=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92bbce5c-5d48-4dc8-de1e-08db32604326 X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB2743.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Apr 2023 03:22:02.9220 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2ZlIinl40vFjoBTmASlwdk9LCZFZ1j+qNq3lKdmiote4zQTsbN5RCeUJutDRypc4wAJQwv9volM+hBf+OVXX3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB4914 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=unavailable 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 Hi. This is an initial driver implementation for supporting NVIDIA SHIELD peripherals. Currently supports the following functionality for the THUNDERSTRIKE (SHIELD 2017) controller. - Haptics (ff_memless) - Serial number query (sysfs) - Hardware information query (sysfs) - Firmware version query (sysfs) Rahul Rameshbabu (1): HID: shield: Initial driver implementation with Thunderstrike support MAINTAINERS | 6 + drivers/hid/Kconfig | 18 ++ drivers/hid/Makefile | 1 + drivers/hid/hid-ids.h | 3 + drivers/hid/hid-shield.c | 587 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 615 insertions(+) create mode 100644 drivers/hid/hid-shield.c Link: https://lore.kernel.org/linux-input/20230311010940.57585-1-rrameshbabu@nvidia.com/ -- 2.38.3