From patchwork Thu Apr 13 09:36:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 673019 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3AD6C77B6F for ; Thu, 13 Apr 2023 09:37:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230219AbjDMJhR (ORCPT ); Thu, 13 Apr 2023 05:37:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230235AbjDMJhO (ORCPT ); Thu, 13 Apr 2023 05:37:14 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D81FD5FF7 for ; Thu, 13 Apr 2023 02:36:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681378591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=oDKp2Xyyw5rHxzcbbfIs0OX+Ff8kvK/t4Gbctzff9+Y=; b=iI7KouE+aWs+O1AfDi01GJPEm63Is9lrtufzB4f89ytiyw3Ho1NRsAZs0baWKaU64Sevpv 8fp5N1dvWhhSp3yrDY6h3tR+jJm4EIs/BNgM2KUZzw3XUnNUYJzcK+NxbPx2NZ0fId9d/i Hscrhk6rth0/EZVvbxDcKUefG5kqfkk= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-527-w1dyJE2iMKiI3WOcgH1GaQ-1; Thu, 13 Apr 2023 05:36:27 -0400 X-MC-Unique: w1dyJE2iMKiI3WOcgH1GaQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4B30D3C0F22E; Thu, 13 Apr 2023 09:36:27 +0000 (UTC) Received: from shalem.redhat.com (unknown [10.39.195.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 827F2C1602A; Thu, 13 Apr 2023 09:36:26 +0000 (UTC) From: Hans de Goede To: Jiri Kosina , Benjamin Tissoires Cc: Hans de Goede , Douglas Anderson , linux-input@vger.kernel.org Subject: [PATCH v2 0/3] HID: i2c-hid-of: Allow using i2c-hid-of on non OF platforms Date: Thu, 13 Apr 2023 11:36:22 +0200 Message-Id: <20230413093625.71146-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Hi Benjamin, Here is a v2 of my series to allow using i2c-hid-of on non OF platforms to allow I2C-HID devices which are not enumerated by ACPI to work on ACPI platforms (by manual i2c_client instantiation using i2c_client_id matching). Changes in v2: - As discussed Drop the patches to consolidate all the i2c-hid-of* drivers into one - Add a comment to the "post-reset-deassert-delay-ms" property reading, that it is a kernel internal (non public) property used between x86 platform code and the i2c-hid driver. Regards, Hans Hans de Goede (3): HID: i2c-hid-of: Consistenly use dev local variable in probe() HID: i2c-hid-of: Allow using i2c-hid-of on non OF platforms HID: i2c-hid-of: Add reset GPIO support to i2c-hid-of drivers/hid/i2c-hid/Kconfig | 6 +++-- drivers/hid/i2c-hid/i2c-hid-of.c | 38 ++++++++++++++++++++++++-------- 2 files changed, 33 insertions(+), 11 deletions(-)